Description: Finds all runs that use any inactive material charge and currently have the In definition - OK status, then changes them to In definition - Not OK.
Calling convention: CIP_RaceLab_Call_UpdateRunsStatusForInactiveCharges(): Integer
Parameters: None.
Returns: Number of run records updated, or 0 when no matching run exists. Configuration and SQL errors may raise exceptions.
Availability: Conditional: available only in builds compiled with CIP_RACELAB. Requires write access and the RaceLab/Chemspeed configuration.
Example:
UpdatedCount := CIP_RaceLab_Call_UpdateRunsStatusForInactiveCharges();