+----------------------+----------------------------------------------------------------------------------------------+
| Code | 33144 |
+----------------------+----------------------------------------------------------------------------------------------+
| Entity | @Finance.Excise.ExciseStampOperationLines |
+----------------------+----------------------------------------------------------------------------------------------+
| Name | SetEndNumber |
+----------------------+----------------------------------------------------------------------------------------------+
| Attribute | EndNumber |
+----------------------+----------------------------------------------------------------------------------------------+
| Layer | Front-End |
+----------------------+----------------------------------------------------------------------------------------------+
| Events | AttributeChanged(StartNumber, Quantity) |
+----------------------+----------------------------------------------------------------------------------------------+
| Priority | Normal |
+----------------------+----------------------------------------------------------------------------------------------+
| Modify | YES |
+----------------------+----------------------------------------------------------------------------------------------+
| Applicable | ALL // no condition needed |
| Legislations | |
+----------------------+----------------------------------------------------------------------------------------------+
| Action | Format("{0}", Convert(((Convert(Parse(StartNumber), Nullable1) + Convert(Quantity, | | | Nullable
1)) - Convert(Convert(1, Int64), Nullable`1)), Object)).PadLeft(StartNumber.Trim(). |
| | Length, 0) |
+----------------------+----------------------------------------------------------------------------------------------+
| Description | Calculate EndNumber based on StartNumber and Quantity |
+----------------------+----------------------------------------------------------------------------------------------+
| Message | |
+----------------------+----------------------------------------------------------------------------------------------+
| Version | |
+----------------------+----------------------------------------------------------------------------------------------+
| Revocable | YES |
+----------------------+----------------------------------------------------------------------------------------------+
* This is auto generated code. Don't change it.