erp.type | erp.entity |
---|---|
business-rule |
Finance.Assets.DepreciationPlans |
+-------------------+--------------------------------------------------------------------------------------------------+
| Code | R26478 |
+-------------------+--------------------------------------------------------------------------------------------------+
| Entity | @Finance.Assets.DepreciationPlans |
+-------------------+--------------------------------------------------------------------------------------------------+
| Name | Line.Asset |
+-------------------+--------------------------------------------------------------------------------------------------+
| Layer | Back-End |
+-------------------+--------------------------------------------------------------------------------------------------+
| Attribute | Line.Asset |
+-------------------+--------------------------------------------------------------------------------------------------+
| Events | Releasing + |
+-------------------+--------------------------------------------------------------------------------------------------+
| Modify | NO |
+-------------------+--------------------------------------------------------------------------------------------------+
| Action | Check if the asset in the row has empty Enterprise Company or if it is not empty - it is equal |
| | to the Enterprise Company of the document. |
+-------------------+--------------------------------------------------------------------------------------------------+
| Description | The current validation checks if all rows contain assets which are defined for the Enterprise |
| | Company of the current document or they are defined for all Enterprise Companies in the database |
| | (the Enterprise Company is empty). |
+-------------------+--------------------------------------------------------------------------------------------------+
| Message | "Line '{LineNo}' of document '{DocumentText}' contains asset '{Asset}' which enterprise |
| | company is other than the enterprise company of the document." |
| |
|
| |
|
| |
|
| | NOTE: The message is repeated for each asset that breaks the validation! |
+-------------------+--------------------------------------------------------------------------------------------------+
| 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.