Table of Contents

R31397-1 Type Work Type - Check Billed With Product MU

Code R31397-1
Entity Projects.TypeWorkTypes Entity
Name CheckBilledWithProductMU
Attribute BilledWithProduct
Layer Front-End
Events AttributeChanging(BilledWithProduct)
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action if (BilledWithProduct != null AND BilledWithProduct.MeasurementUnit.SystemUnit != MeasurementUnitsRepository.SystemUnit.TimeHours) throw Exception
Description Checks if the System Unit of the Billed With Product's Measurement unit is Time.
Message The measurement unit of product '{PartNumber}' must be defined as Time system unit measured in hours.
Version Introduced: 21

Updated: -
Revocable YES

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.