PdsComdPricingTemplateLine::copyTemplate Method
Copies all the lines from a source pricing template to a destination template.
Syntax
server public static void copyTemplate(
PdsComdPricingTemplateId _destId,
PdsComdPricingTemplateId _srcId,
[SysOperationProgress _progress])
Run On
Server
Parameters
- _destId
Type: PdsComdPricingTemplateId Extended Data Type
A destination pricing template ID.
- _srcId
Type: PdsComdPricingTemplateId Extended Data Type
A source pricing template ID.
- _progress
Type: SysOperationProgress Class
A progress indicator which will be used to show the status of the copy; optional.
Remarks
This method will copy all line records from the source template to the destination template. Duplicate records are ignored and will not cause an error as the existing record on the destination will not be changed.When the progress indicator is given this method will update the progress. The total is set to the number of line records in the source template.