GetNextCounter
4 min
instructs the application to increment the specified counter and then returns the incremented value of a counter for information on counters, see using counters docid\ olke 5 axeqr hqijyeae syntax getnextcounter(countername) enabled for for a description of the business object categories, see notes on "enabled for" docid\ u26v9fecfs6ilwa0 pvjd business object category yes/no business rules before save rules yes business rules calculation rules (after save, with or without also recalculate on load) yes business rules calculation rules (before save or always, without also recalculate on load) yes business rules calculation rules (before save or always, with recalculate on load) yes business rules editing rules yes1 business rules initialization rules yes business rules read only rules no business rules required rules yes1 business rules validation rules yes client expressions no object permissions no services yes ldap yes mobile yes quick actions (except ui quick actions) yes ui quick actions no reports yes search/dashboard without field references yes search/dashboard with field references no 1 except when this field appears on a form or is triggered by such a field parameter parameter description countername the name of the counter to increment return value text value example $(getnextcounter("accountnumbercounter")) in the above example, if the value of the accountnumbercounter counter is 1003 and the increment is 1, then the application updates the counter and returns 1004
