erp.type | erp.entity |
---|---|
business-rule |
Finance.Cost.Distributions |
+-------------------+--------------------------------------------------------------------------------------------------+
| Code | R27578 |
+-------------------+--------------------------------------------------------------------------------------------------+
| Entity | @Finance.Cost.Distributions |
+-------------------+--------------------------------------------------------------------------------------------------+
| Name | ResultOutputLineNo |
+-------------------+--------------------------------------------------------------------------------------------------+
| Attribute | DistributionResult.OutputLineNo |
+-------------------+--------------------------------------------------------------------------------------------------+
| Layer | Back-End |
+-------------------+--------------------------------------------------------------------------------------------------+
| Events | Planning + |
+-------------------+--------------------------------------------------------------------------------------------------+
| Modify | NO |
+-------------------+--------------------------------------------------------------------------------------------------+
| Action | For each DistributionResult line validate that: |
| |
|
| | DistributionResult.OutputLineNo.CostDistribution == DistributionResult.CostDistribution |
+-------------------+--------------------------------------------------------------------------------------------------+
| Description | The results of one cost distribution document should direct to Output record which is part of |
| | the current document. The current validation provides that one Cost Distribution document will |
| | only distribute cost to its outputs. |
+-------------------+--------------------------------------------------------------------------------------------------+
| Message | "Result Line No.{LineNo} of Document '{DocumentText}' has invalid Output Line No. No such |
| | Output Line number exists in the document." |
+-------------------+--------------------------------------------------------------------------------------------------+
| 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.