erp.type | erp.entity |
---|---|
business-rule |
Finance.Payments.PaymentTransactions |
+-------------------+--------------------------------------------------------------------------------------------------+
| Code | R27105 |
+-------------------+--------------------------------------------------------------------------------------------------+
| Entity | @Finance.Payments.PaymentTransactions |
+-------------------+--------------------------------------------------------------------------------------------------+
| Name | LinePaymentOrderParty |
+-------------------+--------------------------------------------------------------------------------------------------+
| Attribute | Line.PaymentOrder |
+-------------------+--------------------------------------------------------------------------------------------------+
| Layer | Back-End |
+-------------------+--------------------------------------------------------------------------------------------------+
| Events | Released + |
+-------------------+--------------------------------------------------------------------------------------------------+
| Modify | NO |
+-------------------+--------------------------------------------------------------------------------------------------+
| Action | For each PaymentTransactionLine: |
| |
|
| | If (PaymentTransaction.Party != PaymentTransactionLine.PaymentOrder.Party) |
| |
|
| | Throw an error |
+-------------------+--------------------------------------------------------------------------------------------------+
| Description | The selected payment orders in the PaymentTransaction lines must contain the party from the |
| | PaymentTransaction header. |
+-------------------+--------------------------------------------------------------------------------------------------+
| Message | "Party of transaction '{0}' is different from payment order party. Please remove transaction |
| | line for payment order '{1}'.", [DocumentText], |
| | [PaymentLine.PaymentOrder]//[PaymentLine.PaymentOrder] is the first line with payment order |
| | with incorrect party |
+-------------------+--------------------------------------------------------------------------------------------------+
| Introduced In | 2017 |
| Version | |
+-------------------+--------------------------------------------------------------------------------------------------+
| Revocable | NO |
+-------------------+--------------------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.