R30383-17 Invoice - Set To Party

Code 30383-17
Entity Crm.Invoicing.Invoices 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
Revocable YES

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