R28212 ServiceAgreement - Services Quantity Unit
Code | R28212 |
Entity | Applications.Service.ServiceAgreements Entity |
Name | ServicesQuantityUnit |
Attribute | QuantityUnit |
Layer | Back-End |
Events | Commit |
Modify | NO |
Action | If ServiceAgreementLine.Service != "NULL" and ServiceAgreementLine.QuantityUnit != "NULL" and ServiceAgreementLine.ServiceProduct = "NULL" validate that ServiceAgreementLine.QuantityUnit = Service.MeasurementUnit |
Description | If the fields Service and Quantity Unit have value but the field Service Product is empty then value of Quantity Unit must be equal to Measurement Unit of the Service. |
Message | "The quantity measurement unit in service line [LineNo] in {DocumentType} {DocumentNo} is
different than the measurement unit for the specified service."
Sort Messages By Attribute: LineNo |
Introduced In Version | 2018 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.