IncnumOperator Class |
Format: INCNUM('AA01')
Result: 'AA02'
Namespace: Aloe.EnterpriseOne.Model.Systems.Bpm.ExpressionCompiler.Operators
The IncnumOperator type exposes the following members.
Name | Description | |
---|---|---|
![]() | IncnumOperator | Initializes a new instance of the IncnumOperator class |
Name | Description | |
---|---|---|
![]() | Compilation |
Gets or sets the compilation to which this operator belongs.
(Inherited from Operator.) |
![]() | Input |
Gets or sets the expression representing the input object.
(Inherited from Operator.) |
![]() | Name |
Gets the name.
(Inherited from NamedOperator.) |
![]() | OperatorNo |
Gets the operator no within the compilation.
(Inherited from Operator.) |
![]() | Parameters |
Gets or sets the parameters.
(Inherited from Operator.) |
![]() | Result |
Gets the result expression, set by the latest compilation.
It represents the operator, applied over the input object and parameters.
(Inherited from Operator.) |
Name | Description | |
---|---|---|
![]() | Compile |
Compiles this operator and sets the result in Result.
(Inherited from Operator.) |
![]() | ToString |
Returns a String that represents this instance.
(Inherited from Operator.) |
The INCNUM operator increases the value of its parameter by 1.
The operator can be used only for String values whose last character is a number.
For example:
If the user tries to increment the string value 'AA01', the incrementation will be successful and result will be 'AA02';
If the user tries to increment a value whose type is Decimal, Int or Date, the incrementation won't be successful and the Calculated Attribute won't be compiled; Also if the value is a string whose last character is not a number ('AA', for example), the incrementation won't be successful. The INCNUM operator can be used for consecutive numbering of documents and nomenclatures.