R30316-15 InvoiceOrderLine - Set Sales Order

Code 30316-15
Entity Crm.Invoicing.InvoiceOrderLines Entity
Name SetSalesOrder
Attribute SalesOrder
Layer Front-End
Events AttributeChanged(SalesOrderLine)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action if(SalesOrderLine != null)

SalesOrder = SalesOrderLine.SalesOrder

BusinessReason = Shipment

if(SalesOrderLine==null)

SalesOrder = null
Description If Sales Order Line has changed, the Sales Order field should be changed to the Sales order line's document and Business Reason should be changed to Business reason Shipment. If Sales Order Line is null, Sales Order should be null, too.
Message
Version Introduced: 2020.1
Revocable YES

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