+----------------------+----------------------------------------------------------------------------------------------+
| Code | 30316-16 |
+----------------------+----------------------------------------------------------------------------------------------+
| Entity | @Crm.Invoicing.InvoiceOrderLines |
+----------------------+----------------------------------------------------------------------------------------------+
| Name | SetLineAmount |
+----------------------+----------------------------------------------------------------------------------------------+
| Attribute | LineAmount |
+----------------------+----------------------------------------------------------------------------------------------+
| Layer | Front-End |
+----------------------+----------------------------------------------------------------------------------------------+
| Events | AttributeChanged(Quantity, UnitPrice, LineCustomDiscountPercent, |
| | LineStandardDiscountPercent, InvoiceOrder, DocumentCurrency) |
+----------------------+----------------------------------------------------------------------------------------------+
| Priority | Normal |
+----------------------+----------------------------------------------------------------------------------------------+
| Modify | YES |
+----------------------+----------------------------------------------------------------------------------------------+
| Applicable | ALL // no condition needed |
| Legislations | |
+----------------------+----------------------------------------------------------------------------------------------+
| Action | CalculateLineAmount(Quantity, UnitPrice, Convert(LineCustomDiscountPercent, Nullable1), | | | Convert(LineStandardDiscountPercent, Nullable
1), InvoiceOrder.DocumentCurrency) |
+----------------------+----------------------------------------------------------------------------------------------+
| Description | |
+----------------------+----------------------------------------------------------------------------------------------+
| Message | |
+----------------------+----------------------------------------------------------------------------------------------+
| Version | |
+----------------------+----------------------------------------------------------------------------------------------+
| Revocable | YES |
+----------------------+----------------------------------------------------------------------------------------------+
* This is auto generated code. Don't change it.