R31531-6 Purchase Order - Set Payment Account (Recalc)

Code 31531-6
Entity Logistics.Procurement.PurchaseOrders Entity
Name SetPaymentAccount
Attribute PaymentAccount
Layer Front-End
Events AttributeChanged(Supplier, PaymentType)
Priority Early
Modify YES
Applicable Legislations ALL // no condition needed
Action Supplier.DefaultPaymentAccount.IfNullThen(PaymentType.GetDefaultPaymentAccount())
Description When Supplier or Payment Type is changed, Payment Account is changed to the Supplier's Default Payment Account, or if it is null, to the Payment Type's determined default Payment Account.
Message
Version
Revocable YES

* This is auto generated code. Don't change it.