Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following automatic variables are available in the Groovy logic elements:

Formula NatureAvailabilityVariableData TypeNotes
Everywhere


Everywhere

api

PublicGroovyAPI
inputMapMap of input values sent to the logic.
outMapMap of values of previously calculated elements.

<element name>.<function name>


Calls a function defined in a different element of the logic.

Deprecated: lib.<element name>.<function name>


Calls a function from a Groovy Library logic named __LIBRARY__.

This call does not allow nesting of library calls.

libs.<library name>.<element name>.<function name>

Calls a function from a Groovy Library logic of a given name.

This call allows nesting of library calls.

rebateAgreementHeaderRebate record

rebateagreement

Map
rebateAgreementEntitlementFilter

rebateagreement

calculationBase

Map



contractHeaderOnly in ContractBuilder logiccProcessorContractBuilder
quoteHeaderOnly in Admin > Configuration > QuoteConfigurator > Quote Header LogicsquoteProcessorQuoteBuilder

Only in Admin > Configuration > RebateManager > Rebate Agreement Template LogicsratBuilderRATBuilder
rebateAgreementHeaderOnly in Admin > RebateManager > Rebate Agreement Header LogicsraProcessorRebateAgreementBuilder
rebateAgreementIRebateRecordManagerrebateRecordsIRebateRecordManager
contractTermTypeFilter
contractEntitlementFilter

contractMap

customerInputFilter

productInputFilter

sellerInputFilter

Customer input filter

Product input filter

Seller input filter

filterFormulaParamString

String parameter value that can be passed from the builder, e.g.:

api.inputBuilderFactory()
.createProductGroupEntry("...")
.setFilterFormulaName("...")
.setFilterFormulaParam(param)
customFormHeader
customFormProcessorCustomFormCollectionBuilder

calculationFlow

CalculationFlowActionBuilderactionBuilderCalculationFlowActionBuilder
distPACalc
distDistFormulaContext

model

model_calculation

model_evaluation

Modelmodel

ModelEvaluationFormulaContext

ModelParallelCalculationFormulaInitContext



WorkflowBuilderManagerworkflow

WorkflowDTO
submitterMap
quote
pricegriditem
rebateagreement
contract
dcr (DataChangeRequest)
pricelist
rebaterecord
Map
wfStepLogicPost step

approvable

(also calculationgriditem,

claim,

compensation,

compensationrecord,

customform,

dealplan,

model,

modelrecord)currentWorkflow

Map


Document being approved
workflowHistory

Map

InsertWorkflowStepsDTO

WorkflowInfo

Object being approved

WorkflowInfo

API for getting the information on approval steps
currentWorkflow
InsertWorkflowStepsDTOAPI to to add an additional approval or watcher step.