Package net.pricefx.formulaengine
package net.pricefx.formulaengine
Provides Formula Engine API classes.
-
ClassDescriptionProvides an API to query and load PA data from a formula context.Helper class mainly for working with dates and time periods as used in the PriceAnalyzer module.API for loading data into a
DMDataFeed
orDMTable
from a formula context.A DataSlice defines a set of filters to be applied to a PA DataSet (Datamart, DataSource...).API for building a PA query in a formula context.Provides access to a QueryResult in a formula context.Represents the data of a PA field collection (Data Feed, Data Source, Datamart, etc.) and provides methods to work with it.DistCalcFormulaContext is a groovy api exposed through the 'dist' binding when running a DistributedCalculation DL (PA DataLoad job).DistFormulaContext is a groovy api exposed through the 'dist' binding when evaluating the logic for a DistributedCalculation DL through invocation of the datamart.formulaparams and datamart.distcalcexec endpoints.IRebateRecordGroupManager is the interface that allows you to manipulate a RebateRecordGroup (RRG type code) in a calculation logic.The RebateRecordManager API is exposed to Groovy logic elements in the following contexts: In a RebateAgreement/Compensation calculation (type codes 'RBA' / 'CO'), when the logic context's 'currentItem
' is an individual line item (type codes 'RBALI' / 'COLI'). In a RebateAgreement/Compensation 'read-only' evaluation (when opening an uneditable Rebate Agreement or Compensation); currentItem is 'RBALI'. In a RebateRecordSet/CompensationRecordSet calculation, the formula context's 'currentItem' is an individual RebateRecord (type codes 'RR / COR'). The API can be accessed via therebateRecords
Groovy binding variable.The ModelCalcFormulaContext is exposed to model logics through themodel
binding, when calculating a model.A ModelEvaluator exposes a previously prepared/trained/calculated model to non-PO modules (Groovy logics).Deprecated.The ModelFormulaContext is exposed to model logics through themodel
binding.Representation of a node in a model tree (see for ex.API that can be accessed via the 'payoutRecords' binding (available in the RebateRecord calculation context — i.e., when calculating a RebateRecord in a RebateRecordCalculation task), or via the 'accrualRecords' binding (available in the CompensationRecord calculation context).This class is the central starting point for in-memory data table operations.