Description: Copies campaign-line rows from the preceding campaign number into the requested campaign for one product-to-scenario record.
Calling convention: CIP_HC_CopyPreviousCampaign (CampaignNo, Product2ScenarioDataID)
Parameters:
CampaignNo: target campaign number; must be greater than 1.
Product2ScenarioDataID: campaign-line ident value.
Returns: NULL even after a successful copy. Missing inputs or an invalid campaign number return NULL after an error message.
Availability: Default registration, but specific to the legacy HC schema; inserts database rows and does not remove existing target rows.
Example:
CIP_HC_CopyPreviousCampaign (3, ProductScenarioID);