Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 3.99 KB

R31422-6.md

File metadata and controls

40 lines (38 loc) · 3.99 KB

erp.type: front-end-business-rule erp.entity: Finance.Payments.PaymentTransactions

R31422-6 Payment Transaction - Set Payment Account (Recalc)

+----------------------+----------------------------------------------------------------------------------------------+ | 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.