The following automatic variables are available in the Groovy logic elements:
|
Formula Nature |
Availability |
Allow data update? |
Variable |
Data Type |
Notes |
|---|---|---|---|---|---|
|
Any
|
Anywhere |
No |
|
PublicGroovyAPI |
|
|
|
Map |
Map of input values sent to the logic. |
|||
|
|
Map |
Map of values of previously calculated elements. |
|||
|
|
|
Calls a function defined in a different element of the logic. |
|||
|
Deprecated: |
|
Calls a function from a Groovy Library logic named __LIBRARY__. This call does not allow nesting of library calls. |
|||
|
|
|
Calls a function from a Groovy Library logic of a given name. This call allows nesting of library calls. |
|||
|
rebateAgreementHeader |
Rebate record |
? |
|
Map |
|
|
rebateAgreementEntitlementFilter |
|
No |
|
Map
|
|
|
contractHeader |
Only in ContractBuilder logic |
? |
|
ContractBuilder |
|
|
quoteHeader |
Only in Admin > Configuration > QuoteConfigurator > Quote Header Logics |
? |
|
QuoteBuilder |
|
|
|
Only in Admin > Configuration > RebateManager > Rebate Agreement Template Logics |
? |
|
RATBuilder |
|
|
rebateAgreementHeader |
Only in Admin > RebateManager > Rebate Agreement Header Logics |
? |
|
RebateAgreementBuilder |
|
|
rebateAgreement |
IRebateRecordManager |
? |
|
IRebateRecordManager |
|
|
contractTermTypeFilter
|
|
No |
|
Map |
|
|
customerInputFilter productInputFilter sellerInputFilter |
Customer input filter Product input filter Seller input filter |
No |
|
String |
String parameter value that can be passed from the builder, e.g.: api.inputBuilderFactory() .createProductGroupEntry("...") .setFilterFormulaName("...") .setFilterFormulaParam(param) |
|
customFormHeader |
|
? |
|
CustomFormCollectionBuilder |
|
|
calculationFlow |
CalculationFlowActionBuilder |
Yes |
|
CalculationFlowActionBuilder |
|
|
parameterizedCalculationFlow |
CalculationFlowActionBuilder |
Yes |
|
CalculationFlowActionBuilder |
|
|
triggeredObj |
Map<String, Object> |
Object that triggered CF Only used for PriceGrids |
|||
|
triggeredObjTypedId |
String |
TypedId of the object that triggered CF
|
|||
|
paDataLoad |
|
Yes |
|
|
|
|
distPACalc |
|
? |
|
DistFormulaContext |
|
|
model model_calculation model_evaluation |
Model |
? |
|
ModelEvaluationFormulaContext ModelParallelCalculationFormulaInitContext |
|
|
|
WorkflowBuilderManager |
? |
|
WorkflowDTO |
API for defining approval or watcher steps |
|
|
Map |
|
|||
|
One of
|
Map |
Document submitted for an approval |
|||
|
wfStepLogic |
Post step |
Yes |
|
Map |
Document submitted for an approval |
|
|
WorkflowInfo |
API for getting the information on approval steps |
|||
|
|
InsertWorkflowStepsDTO |
API for adding an additional approval or watcher step |