R30383-20 InvoiceLine - Set Business Reason
| Code | 30383-20 |
| Entity | Crm.Invoicing.InvoiceLines Entity |
| Name | SetBusinessReason |
| Attribute | BusinessReason |
| Layer | Front-End |
| Events | AttributeChanged(SalesOrder) |
| Priority | Normal |
| Modify | YES |
| Applicable Legislations | ALL // no condition needed |
| Action | IF(SalesOrder!=null)
BusinessReason = InvoicingBusinessReason.Shipment |
| Description | When SalesOrder is changed, if it has e value, Business Reason should be set to Shipment. |
| 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.