BPay Customer Reference
Both account and contact have a new field called klevr_bpaycrn.
Functionality
Both account and contact have a new field called klevr_bpaycrn. This field is set to autonumber, with contact being seeded from 100,000 and account 500,000. Feel free to update the seed values and digit count to suit your needs. A product plugin runs on create and update and has a config setting on the step itself to identify the field and the minimum number of digits. By default this is set to 7 (6 for the seed number and one for the checksum digit). The plugin runs on create and update of the bpaycrn field and automatically adds the CRC code to the end of the field to ensure it’s a valid BPAY reference.
To assist applying this to existing implementations, there is also a web resource to generate values for existing records in your system. Browse to <CE url>/webresources/klevr_klevr_populatebpay.html This page allows you to select account or contact, set the initial starting value, and allow you to start seeding. It will update all records that do not have a bpay number yet with an increasing number based on the given seed. Keep in mind that if you use this, you will need to ensure that the autonumber seed is updated to the largest seed assigned for existing record to avoid duplicate BPAY references.
Exclusions
We have specifically not prevented duplicate BPAY references because we know accounts and contacts gets deactivated, merged, etc and there may be situations where the “old” records could have a duplicate value.
We have also not added the fields to any forms or views, as it's not commonly used. Please add it to your forms (read only) if you wish to use it.
Technical
To update the minimum character length applied by the plugin, ask a developer to use the plugin registration tool to modify the “Unsecure Config” json on the klevr.portal.plugins.klevr_BpayChecksumPlugin steps.
Last updated on