The creation of budgets is a recurrent element of the budgetary function. The budgets can be constructed by disregarding the current situation or they can be based on previous budgets or real elements. This function is used to automatically calculate the elements constituting a budget code by means of formulas indicating the elements to be calculated and from where to start the calculation.

It is within this single function that you can set up all the calculation elements.

Example: the budget for company AAA is calculated each year on a global envelope basis (100,000 EUR). For each dimension, the proportion(%) of the actual N-1 with respect to the N-1 budget, determines the new percentage for the budget obtained for the year N. In this way, the budget N for "Department 1" is equal to the total amount for the Budget N* (Actual for "Department 1" / Total amount for N-1 budget). This case can be defined simply in the following way:

  • a calculation expression formula (for instance: V_BUDN*(F1/F2)
  • its constituting elements: F1 is the actual N-1; F2 is the budgeted N-1; V_BUDN is a constant that indicates the global amount to be distributed. By this simple setup, the calculation to be carried out could be defined.

Prerequisites

SEEREFERTTO Refer to documentation Implementation

Screen management

The setup of budget formulas is performed on two tabs Formulas and Variables and is used to determine the calculation rules of a budget. 

Header

Tab Formulas

The first line defines the budget to be calculated. The following lines define the formulas on which the calculation expression is based.

Type

  • Budget to be calculated: cannot be entered,
  • Amount column: specifies the type of amount to be distributed: Budgeted, Actual, Pre-committed, Committed.

Tab Variables

The use of variables is optional since it is you can directly indicate in the formulas, the budget line to be calculated and/or the budget line to be allocated (e.g.: 607000/SERV01/DIV01). The variables make it possible to launch/relaunch the budgetary calculation while only modifying certain criteria. You can thus factorize the formulas sharing common variables.
 
Example : case of a budget calculation Company representing the total of budgets from multiple sites.
The site budgets have common formulas: by assigning the analytical allocations in the form of variables, it is possible to launch the calculation for all sites in common selections: 607000/SERV01/DIV01; then new execution of the calculation for 608000/SERV01/DIV01 and so on.

  • From the moment that a variable is entered, Sage X3 standardizes its code with the prefix "V_"
  • These variables can contain wildcards ("?" or "*") and account and/or dimension groups for the original budget. When an account/dimension is directly used in the variable, you can directly jump to the chart of Accounts/Dimensions.
  • Each calculation cancels and replaces the previous one.

Finally, let us take the first example, the table below displays the setup to be performed in the tabs Formulas and Variables.
The example was: the budget for company AAA is calculated each year on a global envelope basis (100,000 EUR). For each dimension, the proportion(%) of the actual N-1 with respect to the N-1 budget, determines the new percentage for the budget obtained for the year N. In this way, the budget N for "Department 1" is equal to the total amount for the Budget N* (Actual for "Department 1" / Total amount for N-1 budget). This case can be defined simply in the following way:

  • a calculation expression formula (for instance: V_BUDN*(F1/F2)
  • its constituting elements: F1 is the actual N-1; F2 is the budgeted N-1; V_BUDN is a constant that indicates the global amount to be distributed.
Setup of the Formulas tab:

Formula

Type

Budget

Company

Site

Start

End

Account

Department

Dimension type 2

Dimension type 3

Budget to be calc.

Budgeted

BUD04

001

 

01/01/2004

31/12/2004

601000

V_START

 

 

F1

Actual

BUD03

001

 

01.01.03

31.12.03

601000

V_START

 

 

F2 key

Budgeted

BUD03

001

 

01.01.03

31.12.03

601000

*

 

 

Setup of the Variables tab:
 

Variable

Title

Value

V_BUDN

Envelope to be allocated

100,000

V_START

Department

 

Result: at each calculation execution, the value of the variable V_START is required. It is thus possible to enter "Department 1" and launch the calculation and obtain the budget for BUD04 budget for the combination 601000/Department 1. Successively the variable V_START can take the values "Department2", "Department3" etc.

Reports

Specific Buttons

Run

It runs the calculation

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

Variable not defined XXX 

The assigned budgetary variable does not exist in the table. You need to use the function Selection to search for existing codes or jump to the budget variables setup directly using the associated field. The variables are defined in the variable tab, there is no tunnel or selection.

Incorrect expression, an opening/closing bracket is missing

A Sage X3 function is used in the formula but a bracket is missing.

Incorrect expression - Syntax error

A Sage X3 function is used but an entry error is preventing the correct interpretation of the formula.

ZZZ variable associated with the dimension type code XXX

The budget variables used at the level of the variable and the expression are incompatible because they are not associated with the same analytical dimension type code. It is necessary to replace the erroneous variable with an authorized variable.

Incorrect fiscal year

The fiscal year number entered does not exist in the fiscal year table. It is necessary to use the "selection" function to search for an existing number.

The expression does not contain a variable

To calculate a budget, it is necessary to use at least one variable in the expression.

Tables used

SEEREFERTTO Refer to documentation Implementation