PdsComdPricingRunLine::copyRun Method
Copies the lines of one pricing run to another pricing run.
Syntax
server public static void copyRun(
PdsComdPricingRunId _destId,
PdsComdPricingRunId _srcId,
[SysOperationProgress _progress])
Run On
Server
Parameters
- _destId
Type: PdsComdPricingRunId Extended Data Type
The destination pricing run ID.
- _srcId
Type: PdsComdPricingRunId Extended Data Type
The source pricing run ID.
- _progress
Type: SysOperationProgress Class
An optional progress indicator to use to show the copy progress.
Remarks
This will copy all run lines from the source run to the destination run. This should only be used if the destination run has no lines because there is no check for duplicate lines.After all lines are copied, this will update the cost on all lines that use standard cost. If the cost value changes, any dependent lines will also be updated. If the progress indicator is given, this will update the progress. The total is set to the number of line records in the source run.