Skip to content

Latest commit

 

History

History
42 lines (40 loc) · 4.23 KB

R30383-28.md

File metadata and controls

42 lines (40 loc) · 4.23 KB
erp.type erp.entity
front-end-business-rule
Crm.Invoicing.InvoiceLines

R30383-28 InvoiceLine - Clear Sales Order Amount

+----------------------+-----------------------------------------------------------------------------------------------+ | Code | 30383-28 | +----------------------+-----------------------------------------------------------------------------------------------+ | Entity | @Crm.Invoicing.InvoiceLines | +----------------------+-----------------------------------------------------------------------------------------------+ | Name | ClearSalesOrderAmount | +----------------------+-----------------------------------------------------------------------------------------------+ | Attribute | SalesOrderAmount | +----------------------+-----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+-----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(Product, SalesOrder, ParentSalesOrderLine) | +----------------------+-----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+-----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+-----------------------------------------------------------------------------------------------+ | **Applicable | ALL // no condition needed | | Legislations** | | +----------------------+-----------------------------------------------------------------------------------------------+ | Action | IF(AttributeChanged.OldValue!=AttributeChanged.newValue) | | |

| | | SalesOrderAmount=null | +----------------------+-----------------------------------------------------------------------------------------------+ | Description | When the value in Product, SalesOrder or ParentSalesOrderLine is changed to a different than | | | the previous value in the same field, SalesOrder Amount should become null. | +----------------------+-----------------------------------------------------------------------------------------------+ | Message | | +----------------------+-----------------------------------------------------------------------------------------------+ | Version | Introduced: 2020 | +----------------------+-----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+-----------------------------------------------------------------------------------------------+

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.