Hello community, we would like to use the autonumbering feature described on the Academy website. However, we want the number to be assigned after a record is saved, not when the record is created. It is important that no number is "wasted" when a record entry is cancelled. Is there an easy way to do this?

Like 0

Like

4 comments

Hello Alexander, 

 

when implementing autonumbering on the back-end, you can choose any action you want in the replacing object. 

In your case, instead of the default "Before record added", you can set the process to be triggered by the "After record saved" event.

 

Best regards,

Max.

Hi Max,



thank you very much for your reply. We tried it, but it wasn't possible. Could it be that the "Invoice" module in the original "Invoice" object blocks the creation of individual event BPs?

Alexander Lovenjak,

 

The original object should not block the creation of the event BP's.

Have you tried using the "Before record updated" event?

 

When an object is saved it basically sends an Update query to the database so this event should work properly.

 

Best regards,

Max.

Hi Max, thank you for your help. It seems, that there is a bug within the invoice object. Creatio consulting tries to find it. The event handling changes doesn't help.

Best regards

Alex

Show all comments