R31422-6 Payment Transaction - Set Payment Account (Recalc)
Code | 31422-6 |
Entity | Finance.Payments.PaymentTransactions Entity |
Name | SetPaymentAccount |
Attribute | PaymentAccount |
Layer | Front-End |
Events | AttributeChanged(PaymentType, PaymentAccount) |
Priority | Early |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | PaymentType.GetDefaultPaymentAccount().IfNullThen(PaymentAccount) |
Description | When Direction is changed or a line is added or deleted, Total Amount should be recalculated from the line's Amounts considering the Direction of the Payment Transaction and the Direction of the Payment Order in the line. |
Message | |
Version | |
Revocable | YES |
* This is auto generated code. Don't change it.