erp.type | erp.entity |
---|---|
front-end-business-rule |
Crm.Invoicing.InvoiceLines |
+----------------------+-----------------------------------------------------------------------------------------------+
| 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.