+------------------------------+---------------------------------------------------------------------------------------+
| Code | R30152 |
+------------------------------+---------------------------------------------------------------------------------------+
| Entity | @Finance.Payments.PaymentTransactions |
+------------------------------+---------------------------------------------------------------------------------------+
| Name | PaymentTypeRequired |
+------------------------------+---------------------------------------------------------------------------------------+
| Attribute | PaymentType |
+------------------------------+---------------------------------------------------------------------------------------+
| Layer | Back-End |
+------------------------------+---------------------------------------------------------------------------------------+
| Events | Releasing + |
+------------------------------+---------------------------------------------------------------------------------------+
| Priority | Normal |
+------------------------------+---------------------------------------------------------------------------------------+
| Modify | NO |
+------------------------------+---------------------------------------------------------------------------------------+
| Applicable Legislations | BG |
| | (EnterpriseCompany |
| | .Company) |
+------------------------------+---------------------------------------------------------------------------------------+
| Action | If ((PosLocation != Null) §§ (RequiresAllocation = True) §§ (Direction = Income) |
| |
|
| | , then PaymentType != Null |
+------------------------------+---------------------------------------------------------------------------------------+
| Description | If PosLocation have value then PaymentType must have value too. |
| |
|
| | Bulgarian revenue agency requires reports which include PaymentType in locations that |
| | have active PosLocations. These location always have PosLocations, filled in |
| | documents. |
+------------------------------+---------------------------------------------------------------------------------------+
| Message | The field 'Payment Type' in document '{DocumentText}' is empty. |
| |
|
| | The payment type is mandatory field for income payment transactions which require |
| | allocation and are created in a POS Location. |
| |
|
| | Please enter a payment type. |
+------------------------------+---------------------------------------------------------------------------------------+
| Version | Introduced: 2019.1 |
| |
|
| | Updated: 2019.1 SP9 - added condition by RequiresAllocation and Direction |
+------------------------------+---------------------------------------------------------------------------------------+
| Revocable | NO |
+------------------------------+---------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.