User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:extensions:extensions:autonumberprefix [2020/07/23 23:10]
joebordes [Number formatting]
en:extensions:extensions:autonumberprefix [2020/12/27 00:32] (current)
joebordes [Number formatting]
Line 32: Line 32:
 |Module|module multi-list|This is the module that the counter is for.| |Module|module multi-list|This is the module that the counter is for.|
 |Format|string|[[en:​extensions:​extensions:​autonumberprefix#​number_formatting|see below]]| |Format|string|[[en:​extensions:​extensions:​autonumberprefix#​number_formatting|see below]]|
 +|Workflow Expression|checkbox|Indicates if the Format field contains a Workflow Expression that needs to be evaluated.|
 |Active|checkbox|Indicates if the counter is active or not. Any record marked as inactive will not be used by the extension.| |Active|checkbox|Indicates if the counter is active or not. Any record marked as inactive will not be used by the extension.|
 |Current Value|number|This is the current maximum value of the counter.| |Current Value|number|This is the current maximum value of the counter.|
Line 84: Line 85:
  
 <​code>​concat(duedate,​ '​-%'​.06u'​)</​code>​ <​code>​concat(duedate,​ '​-%'​.06u'​)</​code>​
 +
 +This is a real example from a coreBOS install:
 +
 +<​code>​concat(format_date(get_date('​now'​),'​ym'​),​ '​_',​ $(code_shop : (cbShop) code_shop) , '​_%'​.04u'​)</​code>​
  
 ====== Fields ===== ====== Fields =====
Line 93: Line 98:
 |Module|module multi-list| | |Module|module multi-list| |
 |Format|string| | |Format|string| |
 +|Workflow Expression|checkbox| |
 |Active|checkbox| | |Active|checkbox| |
 |Current Value|number| | |Current Value|number| |