R30505-5 ReceivingOrder - Set To Party

Code 30505-5
Entity Logistics.Procurement.ReceivingOrders Entity
Name SetToParty
Attribute ToParty
Layer Front-End
Events AttributeChanged(Supplier)
Priority Normal
Modify YES
Applicable Legislations ALL // no condition needed
Action if (ToParty != Supplier?.Party) ToParty = Supplier?.Party
Description When the Supplier is changed, To Party should be changed to the supplier's Party. If Supplier is null, To Party 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.