Skip to content

Latest commit

 

History

History
40 lines (39 loc) · 4.16 KB

R31422-4.md

File metadata and controls

40 lines (39 loc) · 4.16 KB

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

R31422-4 Payment Transaction - Set To Party

+----------------------+-----------------------------------------------------------------------------------------------+ | Code | 31422-4 | +----------------------+-----------------------------------------------------------------------------------------------+ | Entity | @Finance.Payments.PaymentTransactions | +----------------------+-----------------------------------------------------------------------------------------------+ | Name | SetToParty | +----------------------+-----------------------------------------------------------------------------------------------+ | Attribute | ToParty | +----------------------+-----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+-----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(Party) | +----------------------+-----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+-----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+-----------------------------------------------------------------------------------------------+ | **Applicable | ALL // no condition needed | | Legislations** | | +----------------------+-----------------------------------------------------------------------------------------------+ | Action | if (Party == null) { if (ToParty != null) ToParty = null; } | | | else { if (ToParty != Party) ToParty = Party; } | +----------------------+-----------------------------------------------------------------------------------------------+ | Description | When Party is changed, if Party is null but To Party has a value, To Party is changed to | | | null. If Party is not null and To Party is different from Party, To Party is set to Party. | +----------------------+-----------------------------------------------------------------------------------------------+ | Message | | +----------------------+-----------------------------------------------------------------------------------------------+ | Version | Introduced: 21 | | |

| | |

| +----------------------+-----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+-----------------------------------------------------------------------------------------------+