Question

Record Auto Numbering in 5.4

I have created a new Section in BPMonline CRM 5.4 called ‘Documents’ using your SDK and would like to set the records to be numbered automatically somehow. Are there any instructions available or is there an example I can look at?

File attachments
Like 3

Like

2 comments

Hi Ryan,

There are 2 ways to achieve this goal: on the Object process level and on the Card Page process level. In the first case, I recommend for you to take a look at the Invoice Object process:

If you’ll decide to implement this feature on the Card Page logics level, then as an example you can check out the method calling on the event of invoice page initiation.

Using both of the options you will need to create 2 System Settings ...LastNumber  and ...CodeMask and text column in the Object to keep the number of the record. 

Thank you, Olly.

Show all comments