Table of Contents

R39322 Sales Order Payment Plan - Set Payment Currency (Recalc)

Code 39322
Entity Crm.Sales.SalesOrderPaymentPlans Entity
Name SetPaymentCurrency
Attribute PaymentCurrency
Layer Front-End
Events AttributeChanged(PaymentAccount)
Priority Early
Modify YES
Applicable Legislations ALL // no condition needed
Action IIF((PaymentAccount != null), PaymentAccount.Currency, null)
Description Calculates the value of the PaymentCurrency field when the following field is modified : PaymentAccount. The logic is as follows: If the Payment Account field has a value (i.e., is not empty), then the Payment Currency field must match the Currency value of the selected Payment Account. If the Payment Account field doesn't have a value, then the Payment Currency field should not have a value as well.
Message
Version
Revocable YES

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