Skip to main content

Celonis Product Documentation

Knowledge Models in the Open Credit Memo app

The app comes with one Knowledge Model (KM) called “Open Credit Memo Knowledge Model”.

Note

The KM is pointing to the Base KMs stored in the Marketplace. You will not be able to update the Base KM. You can overwrite the PQL, names, formatting etc. using the KM’s visual editor. In case you prefer working with the yaml editor, please copy the IDs from the Base KMs (see final model) and overwrite them in the KMs that are accessible to you in the YAML Editor.

To start with, please go to the AP KM package and open the Knowledge Model (it should be the only asset inside the app). Go through the variables section in the view mode and validate whether the input used for the variables is correct. To view all variables in use, you can navigate to the Variables section of the KM (see below). For the apps, only non-auto generated configurations are used, so you can disable the auto generated definitions image1.png .

Tip

You can see which objects refer to a variable by copying the Variable ID, going into the yaml editor into the View mode (“Final Model without variable replacement”) and search for the copied variable.

Variables

The app comes with a few Knowledge Model Variables for setting the Alias for the table names. So in case a different alias is defined in the data model, it can be adjusted here.

For updating the runtime variables, please refer to the settings view.

KPIs

The KPIs in Knowledge Model are used for KPIs shown to the business user and for storing business logic reused in various KPIs and records, such as for the Credit Memo status. Such Formulas mainly used as internal functions have the prefix “FORMULA_” in the ID. Often, those formulas return a (binary) value which are then re-used in other KPIs.

Records

The OCM Knowledge Model comes with three records:

  • CREDIT_MEMO (BSEG, BKPF) - mainly used in the Action View Tables and Credit Memo Details

  • INVOICE (BSEG, BKPF) - used in the Credit Memo Details

  • VENDOR_MASTER_GENERAL (LFA1)

Variables

The app comes with a few Knowledge Model Variables for setting the Alias for the table names. So in case a different alias is defined in the data model, it can be adjusted here.

For updating the runtime variables, please refer to the settings view.

KPIs

The KPIs in Knowledge Model are used for KPIs shown to the business user and for storing business logic reused in various KPIs and records, such as for the Credit Memo status. Such Formulas mainly used as internal functions have the prefix “FORMULA_” in the ID. Often, those formulas return a (binary) value which are then re-used in other KPIs.

Records

The OCM Knowledge Model comes with three records:

  • CREDIT_MEMO (BSEG, BKPF) - mainly used in the Action View Tables and Credit Memo Details

  • INVOICE (BSEG, BKPF) - used in the Credit Memo Details

  • VENDOR_MASTER_GENERAL (LFA1)