Table of contents

Official Content

Numbers a Transaction object’s second, third, or another nested level, automatically.


Serial(att1 , att2 , step);


     Is the attribute to be increased.

     Marks the starting value for att1 and is always updated with the last value of att2. This attribute must be included in the structure level that is immediately above the attribute you wish to autonumber. You can delete att2 from the form, but the attribute att1 is required to be on the web form, otherwise the rule will not work on the client-side.

     Is the value to add to each att1. In other words, is the serialization step or increment.


You need to use this rule to automatically number a second, third, or another nested level, as the Autonumber property can only be applied to single primary keys.
This rule requires defining an attribute in the first level of the Transaction, which will save the last value assigned to the lines of the second level.



Last update: November 2023 | © GeneXus. All rights reserved. GeneXus Powered by Globant