Calculated journals
Use this function to calculate a journal amount based on the total of movements, on the balance of a general account or on an account class. An accounting entry is then generated based on a template.
Examples:
- Provision of doubtful customers
- After sales
- Revaluation of the expenses or revenues
You can specify a discount date if necessary.
After setting up the calculated journal, use Calculated journal generation to generate journals in accounting.
Prerequisites
Refer to documentation Implementation
Screen management
Entry screen
Header
Calculated journal (field COD) |
Enter a unique code that is comprised of 1 to 10 alphanumeric characters. |
field DESTRA |
Short description (field SHOTRA) |
Characteristics
Generation type (field TYPGEN) | ||||||||
Select a generation type. Global
By BP
|
||||||||
Carryforwards (field PERNEW) | ||||||||
Select this check box to include the carry-forward amounts in the calculation of the entry amount if the generation start date matches the first period of the account fiscal year. |
||||||||
Closing period (field PERCLO) | ||||||||
Select this check box to include the closing period for the calculation of the entry amount. |
||||||||
Template journal (field TYP) | ||||||||
Entry type for the template. |
||||||||
Number (field REFNUM) | ||||||||
This template journal is used as a model when generating actual or simulated journals depending on how the calculated entries are processed. The template journal must be created on journal entry (see the Journal entry documentation). On this journal, you can define the:
The Debit and Credit fields of this entry must be filled in as follows: Example: A Miscellaneous operation is allocated on two expense accounts: 75% for the first account and 25% for the second. The lines of the template journal can be entered as follows:
If the calculated entry generates journals where only two accounts are balanced, a coefficient of 1 can be used. |
||||||||
|
||||||||
Select the ledger where to search for the debit or credit total or the debit or credit balance of the account(s) or account root. The account(s) is/are defined in the calculation base. |
||||||||
|
||||||||
Specify the accounts or account classes to be used for calculating the journal amount. |
||||||||
|
||||||||
Specify the calculation formula to be applied for calculating the journal amount. |
Actual generation
Entry type (field TYP1) |
Select the entry type and the journal that will be used for the generation of the accounting entries in actual mode. The entry type and journal can differ according to the template entry. |
Journal (field JOU1) |
Formulas
Reference (field FORREF) |
You can define a reference or title (or both) using a formula. They will be used by default when generating the entry (displayed in journal entry or inquiry). If these fields are not entered, the reference and title will be recopied from the template journal. In formulas, you can use all the variables of the GACCENT0, GACCENT1 and GACCENT2 screens that make up the STD entry structure. They are open using the abbreviations HAE0, HAE1 and HAE2. The global variables and system variables (datesyst) are also used, as well as the NEWDAT variable, that determines the generation date of the current journal. As for the title, it represents the line number (0...N-1). If the reference or title is made of text, you must enter the description between quotation marks. You can also resort to formulas and use information from other fields. |
Description (field FORDES) |
Last documents
Last actual entry (field LASTYPDEF) |
This field displays the entry type for the last journal generated in actual mode. |
Entry (field LASNUMDEF) |
This field displays the number of the last journal generated in actual mode. |
Accounting date (field LASDATDEF) |
Last simulated entry (field LASTYPSIM) |
This field displays the entry type for the last journal generated in simulation mode. |
Entry (field LASNUMSIM) |
This field displays the number of the last journal generated in simulation mode. |
Accounting date (field LASDATSIM) |
Specific Buttons
Actual |
Use this button to view the last journal generated in actual mode. |
Simulation |
Use this button to view the last journal generated in simulation mode. |
Error messages
In addition to the generic error messages, the following messages can appear during the entry :
Journal in manual numbering
The journal being used must have an automatic numbering sequence.
Journal prohibited in simulation or in actual mode
The journal type used for the generation must be compatible with the generation type.
The formula does not contain any variable code
The formula to be applied for the calculation of the journal amount must contain at least one of the six pre-defined variables (TD, TC, SD, SC, SD' ou SC').