Description: Builds a Chemspeed XML export for a launch, validates required workflow import content, updates generated label headers and descriptions, and opens a Save As dialog.
Calling convention: CIP_RaceLab_CreateXMLForLaunch("LaunchID": Integer): Boolean
Parameters:
LaunchID: database identifier of the launch to export.
Returns: TRUE when the XML file is saved; FALSE when validation fails or the user declines warnings or cancels the Save As dialog. A read-only connection or invalid argument returns Variant NULL. Label-related database fields may already be updated before the save dialog is shown.
Availability: Conditional: available only in builds compiled with CIP_RACELAB. Requires an interactive desktop session, write access and the RaceLab/Chemspeed configuration.
Example:
FileSaved := CIP_RaceLab_CreateXMLForLaunch(LaunchID);