R30316-6 InvoiceOrder - Set To Party

Code 30316-6
Entity Crm.Invoicing.InvoiceOrders Entity
Name SetToParty
Attribute ToParty
Layer Front-End
Events AttributeChanged(Customer)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action IF(Customer!=null)

ToParty=Customer.Party

ELSE

ToParty=null
Description When the Customer has changed, if it's not empty, the document's To Party should be changed to the Party of the customer. If Customer has no value, To Party should become 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.