Create a New Revision of the Document

Available from version 14.0

You can create new revisions of the document by using the CLIC module. A button (link alternatively) can be configured using the targetPageAction or tpAction parameter with a NEW_REVISION value. This action can be used for:

Examples

Quotes

def controller = api.newController() controller.addHTML("<h2>New Revision: P-2147494497</h2><br/><span>Creates new revision for Quote P-2147494497.</span><br/><br/>") controller.addButton("Create New Revision", controller.QC_DETAILS_PAGE, [ id: "P-2147494497", tpAction: "NEW_REVISION" ]) return controller

Rebates

def controller = api.newController() controller.addHTML("<h2>New Revision: R-2147483898</h2><br/><span>Creates new revision for Rebate R-2147483898.</span><br/><br/>") controller.addButton("Create New Revision", controller.RM_DETAILS_PAGE, [ id: "R-2147483898", tpAction: "NEW_REVISION" ]) return controller

Contracts (Agreements & Promotions)

def controller = api.newController() controller.addHTML("<h2>New Revision: C-181</h2><br/><span>Creates new revision for Contract C-181.</span><br/><br/>") controller.addButton("Create New Revision", controller.PM_CONTRACTS_PAGE, [ id: "C-181", targetPageAction: "NEW_REVISION" ]) return controller

Sales Compensation

 

The page names are defined as values of constants available in the AppPages interface.

See also the Pricefx Interceptor API documentation:

 

Found an issue in documentation? Write to us.

Â