Description: Copies product-to-scenario records and their campaign lines from a source scenario into the scenario selected on the active DBForm.
Calling convention: CIP_HC_CopyScenario (SourceScenarioID)
Parameters:
SourceScenarioID: source scenario; NULL silently defaults to scenario ID 5.
Returns: Boolean TRUE is set before copying and remains the result if execution completes; database errors propagate.
Availability: Default registration, but specific to the legacy HC schema and an active DBForm containing Szenarien_Data_id; performs multi-table inserts.
Example:
Success := CIP_HC_CopyScenario (2);