R30316-14 InvoiceOrderLine - Clear Line Discount If Line Standard Discount Percent
Code | 30316-14 |
Entity | Crm.Invoicing.InvoiceOrderLines Entity |
Name | ClearLineDiscountIfLineStandardDiscountPercent |
Attribute | LineDiscount |
Layer | Front-End |
Events | AttributeChanged(LineStandardDiscountPercent ) |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | if (LineDiscount != null AND LineDiscount.DiscountPercent !=
LineStandardDiscountPercent)
LineDiscount=null |
Description | If LineStandardDiscountPercent has changed, but it is not set from the Line Discount definition, the Line Discount should be emptied. |
Message | |
Version | Introduced: 2020.1 |
Revocable | YES |