Skip to content

Latest commit

 

History

History
49 lines (47 loc) · 5.07 KB

R30149.md

File metadata and controls

49 lines (47 loc) · 5.07 KB

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

R30149 PaymentTransaction - Pos Location Required

+----------------------+-----------------------------------------------------------------------------------------------+ | Code | R30149 | +----------------------+-----------------------------------------------------------------------------------------------+ | Entity | @Finance.Payments.PaymentTransactions | +----------------------+-----------------------------------------------------------------------------------------------+ | Name | PosLocationRequired | +----------------------+-----------------------------------------------------------------------------------------------+ | Attribute | PosLocation | +----------------------+-----------------------------------------------------------------------------------------------+ | Layer | Back-End | +----------------------+-----------------------------------------------------------------------------------------------+ | Events | Commit | +----------------------+-----------------------------------------------------------------------------------------------+ | Priority | Late | +----------------------+-----------------------------------------------------------------------------------------------+ | Modify | NO | +----------------------+-----------------------------------------------------------------------------------------------+ | **Applicable | ALL // no condition | | Legislations** | needed | +----------------------+-----------------------------------------------------------------------------------------------+ | Action | If (PosLocation == NULL && EnterpriseCompanyLocation != NULL) | | |

| | | , validate that: PosLocations[(EnterpriseCompanyLocation = | | | PaymentTransaction.EnterpriseCompanyLocation) && (Active = True)].Count() = 0 | +----------------------+-----------------------------------------------------------------------------------------------+ | Description | The POS Location field of the Payment Transaction could only be empty if the the Payment | | | Transaction is created in a Enterprise Company Location for which there is no active POS | | | Locations. | +----------------------+-----------------------------------------------------------------------------------------------+ | Message | Payment Transaction '{DocumentText}' is created in an Enterprise Company Location that has | | | an active POS Location but the field POS Location in this document does not contain a value. | | |

| | | Please enter a POS Location. | +----------------------+-----------------------------------------------------------------------------------------------+ | Version | Introduced: 2019.1 | | |

| | | Updated: - | +----------------------+-----------------------------------------------------------------------------------------------+ | Revocable | NO | +----------------------+-----------------------------------------------------------------------------------------------+

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.