Skip to content

Creation of calculation logics to generate result accounts

Introduction

This section describes the process followed by the system to create the calculation logics required to generate the result accounts.

Process of creating calculation logics

This process involves the following main steps:

  1. If the $PL_RESULT, $BS_RESULT, $BS_RESULT_FLOW calculation logics are already present, deletion of the addenda they are made up of.
  2. Creation of the following sets of rules, if not already present:
  3. $PL_RESULT
  4. $BS_RESULT
  5. $BS_RESULT_FLOW
  6. The calculation logics generated are connected to the node of the calculation logic grouping set as default for new calculation logics.
  7. Deployment.

Creation of $PL_RESULT set of rules

If the P&L result account is defined in the result accounts, the system will create a ‘sum’ calculation logic with the following characteristics:

Element Value
Code $PL_RESULT + code for set of result accounts
Description $PL_RESULT + description of set of result accounts
Set Accounts, with the P&L result account
Run (Run on gross amounts option) Run on gross amounts. (Run on journals) Run on journals.

Once the set of rules has been created, insert the accounts relating to the "PL_OT - Profit & Loss - Others" node of the system account hierarchy, with the opposite sign, as the addenda for the calculation logic.

Creation of $BS_RESULT set of rules

If the balance sheet result account is defined in the result accounts, the system will create a ‘sum’ calculation logic with the following characteristics:

Element Value
Code $BS_RESULT + code for set of result accounts
Description $BS_RESULT + description of set of result accounts
Set Accounts, with the balance sheet result account
Run (Run on gross amounts option) Run on gross amounts. (Run on journals) Run on journals.

Once the set of rules has been created, insert the P&L result account, with the opposite sign, as the addenda for the calculation logic.

Creation of $BS_RESULT_FLOW set of rules

If the balance sheet result account and the balance sheet result variation are defined in the result accounts, the system will create a ‘sum’ calculation logic with the following characteristics:

Element Value
Code $BS_RESULT_FLOW + code for set of result accounts
Description $BS_RESULT_FLOW + description of set of result accounts
Set Accounts, with the balance sheet result variation
Run (Run on gross amounts option) Run on gross amounts. (Run on journals) Run on journals.

Once the set of rules has been created, insert the balance sheet result account as the addenda for the calculation logic.