Logic Types Cheatsheet

#TypeFor Objectapi.currentItem()UsageWhere to CreateWhere to Set UpInputOutput
1Calculation Flow
nullScheduled TaskAdministration > Logics > Calculation Logic > Calculation FlowsAdministration > Configuration > System Configuration > Calculation FlowsVariable actionBuilder
2Configurator
nullProduct ConfigurationAdministration > Logics > Calculation Logic > Generic Logicapi.configurator()

3Agreement/Promotion – Header LogicCTnullTo find out classification of the contract or calculate summary results for the Agreement/Promotion.Administration > Logics > Header Logics > Agreements & Promotions
Variable "cProcessor"
4Agreement/Promotion – Condition Type Filter LogicCTnullTo show only filtered set of the Condition Types to the user when creating new lines in the Agreement/Promotion.Administration > Logics > Filter Logics > Agreements & Promotions - Condition Types
Variable "contract"Filter for the Condition Types. The logic can have multiple elements; for the resulting filter they are joined using the AND operator.
5Agreement/Promotion – Entitlement FilterCTnullTo limit access to the object detail screen.Administration > Logics > Calculation Logic > Generic LogicAdministration > Configuration > Agreements & Promotions > General SettingsVariable "contract"When all elements return true, the user is allowed to view/edit details of the object.
6Agreement/Promotion – Condition TypeCTLICTLITo calculate one Agreement/Promotion line.Administration > Logics > Calculation Logic > Agreements & Promotions


7Customer – Detail LogicCCTo show additional information on the Customer Detail screen.Administration > Logics > Calculation Logic > Customer Detail LogicsCan be displayed on the "Customer Detail View" screen.

8Customer – Input FilterQ, CT, RBAnullIn the Customer Input, to show only customers relevant for the logged-in user.Administration > Logics > Calculation Logic > Generic Logicapi.customer(attributeName, customerId, defaultFromParent, filterFormulaName, filterFormulaParam)Variable filterFormulaParamA single element must return Filter (which will work on the Customer table).
9Dashboard
nullTo provide analysis overview, …Administration > Logics > Calculation Logic > Generic LogicAdministration > DashboardsFor Embedded dashboards use api.dashboard()Every visible element can return either Matrix or Chart (those will be displayed in the separate Portlets).
10Dashboard Wizard
?To provide user guidance – how to use the system step by step.Administration > Logics > Calculation Logic > Generic LogicAdministration > Access Admin > User Adminapi.newController()Every visible element returns a controller (those various HTMLs will be displayed in the separate sections of the wizard).
11Feeder LogicRR?To provide a list of RR to be allocated to transactions. Used for Rebate Allocation process.Administration > Logics > Calculation Logic > Generic LogicAnalytics > Data Manager > Data Loads

12Inline Details ViewP, PX, C, CX, PL, PG, MPL?To create a pop-up window with line details over which you hover your mouse.Administration > Logics > Calculation Logic > Generic LogicAdministration > Configuration > Price Setting > Inline Details Configuration (in the Classic UI)

13Live Price GridPGLI, XPGLIPGLI, XPGLITo calculate a PG line.Administration > Logics > Calculation Logic > Generic Logic


14Matrix LogicPL, PGPLI, XPLI, PGLI, XPGLITo provide values for second dimension of a Price List. Administration > Logics > Calculation Logic > Generic Logic
api.product("sku")A visible element must return a list of strings.
15Analytics LogicDF, DS, DMDL
Administration > Logics > Calculation Logic > AnalyticsAnalytics > Data Manager > Data Loads

16Price ListPLIPLI
Administration > Logics > Calculation Logic > Generic Logic
api.userEntry()Values of visible elements
17Product Detail LogicPPTo show additional information (in the form of a portlet) on the Product Detail screen.Administration > Logics > Calculation Logic > Product Detail LogicsCan be displayed on the "Product Detail View" screen.

18Quote – Line LogicQLIQLI
Administration > Logics > Calculation Logic > Generic Logic


19Quote – Header LogicQnull
Administration > Logics > Header Logics > Quotes
Variable "quoteProcessor"
20Quote – Product Filter LogicQnull

To limit the set of products the user can see when adding a new product to a Quote.

Administration > Logics > Filter Logics > Quotes Product
Variable "quote"Filter for Products
21Quote – Entitlement FilterQnullTo limit access to the object detail screen.Administration > Logics > Calculation Logic > Generic LogicAdministration > Configuration > Quoting > Quoting General SettingsVariable "quote"When all elements return true, the user is allowed to view/edit details of the object.
22Rebate Agreement – Entitlement FilterRAnullTo limit access to the object detail screen.Administration > Logics > Calculation Logic > Generic LogicAdministration > Configuration > Rebates > Rebates General SettingsVariable "rebateagreement"When all elements return true, the user is allowed to view/edit details of the object.
23Rebate Agreement – HeaderRAnull
Administration > Logics > Header Logics > Rebate Agreements
Variable "raProcessor"
24Rebate Agreement – Template LogicRA?
Administration > Logics > Template Logics > Rebate Template Logics
variable "ratBuilder"
25Rebate TypeRA LI, RRRA LI, RR
Administration > Logics > Calculation Logic > Rebate Agreements
Variables "calculationBase", "rebaterecords"
26Word Template Pre-processing LogicQ, CT, RBA, PL, LPG, PR, RR?To prepare data for the Word template. Intended for export to PDF.Administration > Logics > Calculation Logic > Generic LogicAdministration > Configuration > Templates > Publishing Templates

27WorkflowQ, Contract, PGI, RA, RR, DCR, PL, PolicyRecord?
Administration > Logics > Workflow Logics > General Workflow Logics
Variables "workflow", "submitter" and one of the following: quote, pricegriditem, rebateagreement, contract, dcr, pricelist, rebaterecord.


28Workflow Post StepThe same as workflow?
Administration > Logics > Workflow Logics > Workflow Post Step Logics
The same as workflow + approvable (generic name for all approvables).
29Document Creation WorkflowQ, CT, RBA?Allows more users to cooperate on document creation.Administration > Logics > Calculation Logic > Generic Logic (Nature: "Creation Workflow")Administration > Configuration > System Configuration > My Workflows > Enable creation workflow for document type 

30

Workflow Delegation User Filter

(available in 3.5 Salty Dog)


?Allows administrators to narrow down the list of users available for workflow delegation.Administration > Logics > Calculation Logic > Generic Logic


31Data Analyzer Table/Chart Series FormulaRows of the series?

When you need to enrich the data of the series in the chart (or table) in Data Analyzer.

The results can be used in the chart definition in the control pane.

Usage:

  • Additional columns for the series.
  • Summary of the rows (SUM, AVG or any calculation) can be used e.g., for the auxiliary line.
Administration > Logics > Calculation Logic > AnalyticsWhen you create a chart, and display the chart series table, it is at the top right.
  • Query result
  • Row data, e.g., sourceRow[MaterialId]

Depends on the context of the logic element:

  • As a column of the series
    or
  • Summary on the right side next to the series data table.

Found an issue in documentation? Write to us.