Skip to content

Latest commit

 

History

History
46 lines (44 loc) · 4.69 KB

R27169.md

File metadata and controls

46 lines (44 loc) · 4.69 KB
erp.type erp.entity
business-rule
Finance.Assets.Depreciations

R27169 Depreciation - Check Start Date

+-------------------+--------------------------------------------------------------------------------------------------+ | Code | R27169 | +-------------------+--------------------------------------------------------------------------------------------------+ | Entity | @Finance.Assets.Depreciations | +-------------------+--------------------------------------------------------------------------------------------------+ | Name | CheckStartDate | +-------------------+--------------------------------------------------------------------------------------------------+ | Attribute | StartDate | +-------------------+--------------------------------------------------------------------------------------------------+ | Layer | Back-End | +-------------------+--------------------------------------------------------------------------------------------------+ | Events | Planned + | +-------------------+--------------------------------------------------------------------------------------------------+ | Modify | NO | +-------------------+--------------------------------------------------------------------------------------------------+ | Action | Validate that: | | |

| | | StartDate == IsFirstDayOfAMonth | +-------------------+--------------------------------------------------------------------------------------------------+ | Description | On any document status change, the system checks that the StartDate is a first day of a month. | | | For example "2020/12/01" - this is a correct start date. "2020/12/02" is an incorrect | | | StartDate | +-------------------+--------------------------------------------------------------------------------------------------+ | Message | "The start date or the end date in depreciation '{0}' is invalid. The start date must be | | | first day of month and the end date must be last day of month.", [DocumentText] | | |

| | |

| | |

| | | Message also used in: | | |

| | | R27171 Depreciation - Check End Date | +-------------------+--------------------------------------------------------------------------------------------------+ | 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.