Description: Loads the launch runs and their material/container data and checks whether every dispenser has zero remaining required amount.
Calling convention: CIP_RaceLab_CheckBillOfMaterial("LaunchID": Integer): Boolean
Parameters:
LaunchID: database identifier of the launch to check.
Returns: TRUE when the launch has at least one run and all dispenser remaining amounts are zero; FALSE when it has no runs, the check fails or the argument is invalid. Configuration and SQL errors may raise exceptions.
Availability: Conditional: available only in builds compiled with CIP_RACELAB. Requires the RaceLab/Chemspeed configuration.
Example:
BillOfMaterialIsComplete := CIP_RaceLab_CheckBillOfMaterial(LaunchID);