+----------------------+-----------------------------------------------------------------------------------------------+
| Code | R28287 |
+----------------------+-----------------------------------------------------------------------------------------------+
| Entity | @Applications.Rental.LeaseContracts |
+----------------------+-----------------------------------------------------------------------------------------------+
| Name | EndDate |
+----------------------+-----------------------------------------------------------------------------------------------+
| Attribute | EndDate |
+----------------------+-----------------------------------------------------------------------------------------------+
| Layer | Back-End |
+----------------------+-----------------------------------------------------------------------------------------------+
| Events | First Releasing |
| |
|
| |
|
+----------------------+-----------------------------------------------------------------------------------------------+
| Modify | NO |
+----------------------+-----------------------------------------------------------------------------------------------+
| Action | For each line validate that LeaseContractLines.EndDate =< LeaseContract.EndDate |
+----------------------+-----------------------------------------------------------------------------------------------+
| Description | The value in the field End Date for each line from panel Lease Contract Lines must be less or |
| | equal than the value in the field End Date in panel Lease Contract (if both have value) |
+----------------------+-----------------------------------------------------------------------------------------------+
| Message | In line with number {LineNo} in lease contract '{DocumentType} {DocumentNo}' the value in |
| | the field End Date must be less or equal than the value in the field End Date in panel Lease |
| | Contract. |
| |
|
| | Sort Messages By Attribute: LineNo |
+----------------------+-----------------------------------------------------------------------------------------------+
| Introduced In | 2018 |
| Version | |
+----------------------+-----------------------------------------------------------------------------------------------+
| Revocable | NO |
+----------------------+-----------------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.