+----------------------+----------------------------------------------------------------------------------------------+ | Code | 31422-6 | +----------------------+----------------------------------------------------------------------------------------------+ | Entity | @Finance.Payments.PaymentTransactions | +----------------------+----------------------------------------------------------------------------------------------+ | Name | SetPaymentAccount | +----------------------+----------------------------------------------------------------------------------------------+ | Attribute | PaymentAccount | +----------------------+----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(PaymentType, PaymentAccount) | +----------------------+----------------------------------------------------------------------------------------------+ | Priority | Early | +----------------------+----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+----------------------------------------------------------------------------------------------+ | Applicable | ALL // no condition needed | | Legislations | | +----------------------+----------------------------------------------------------------------------------------------+ | 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.