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