Calc/Red transaction batch update (FMR06001)

Related topics

In this routine you create calculation and redistribution transactions in batch from a selection of base transactions. The automatic postings are created based on the entries in the two Calculation/Redistribution files. One file uses a fixed percentage, and the other file uses dynamic distributions to create the postings.

If your company uses direct creation of calculations and redistributions, this routine need never be run. It is defined in the G/L control file when the automatic postings should be created.

The routine

Be sure to update the percentage distributions for the Dynamic calculation/redistribution file before you run this program. You can select to simulate the creation before you do the actual update, to see if the accounting is correct. A work list will be printed, showing details for each created automatic posting. If there are any errors, you maintain the Calculation/Redistribution files, and print the work list again.

In the G/L control file there are two fields for reporting currency – Period and Level – that control from which period and level the exchange rate should be picked up for a reporting currency with variable exchange rate. If these fields include a period or level without an entered exchange rate an error message will be displayed and you cannot run this routine until these fields have been updated correctly.

Only voucher numbers of the base transactions will be printed on the work list for your information, since the automatic postings will receive their voucher numbers first when the actual update is done, one voucher number per journal. The accounting period will be the same period as for the base transaction, and the voucher date will be the actual date of the update.

Note: It is this date, the voucher date of the created transactions, that is used when selecting which calculation/redistribution rules that are valid, according to the date range of each one.

On the G/L transaction detail journal printed after the update, voucher data for the base transactions will also be printed for your information, if the automatic entries have not been summarised.

When a redistribution transaction is created, one posting is the counter posting to the original account. This posting is automatically stopped for further handling in the calculation/redistribution routine. The other posting can be the base for a new redistribution, and/or for a calculation.

When a calculation transaction is created, both postings can be the base for a new calculation, and/or a new redistribution.

How to create the transactions

There are three ways of creating the transactions in this routine. The method is selected via the One level calc/red and Allow further handling parameters:

  1. If both parameters are NO, the system will create postings for the selected base transactions, and these postings will in their turn become base transactions for new automatic postings, and so on. The system will run the routine until there are no more transactions upon which automatic postings can be based, or until level nine has been reached. All the postings will be in one journal. A limit of nine levels is system defined to avoid loops.
  2. If both parameters are YES, the system will create postings for the selected base transactions in one journal and then stop the routine. When the routine is run again, the created transactions will be the base for a new creation, but only one level is handled per journal, if the parameter setting stays the same. This method makes the postings easier to analyse if there are many levels.
  3. If One level calc/red is YES, and Allow further handling is NO, the system will create postings for the selected base transactions, but these postings will automatically be stopped for further handling.

The reports

When the G/L postings are updated to the G/L, the following reports will be printed, under the following circumstances:

Selection

Accounting period
Selection is mandatory, and you may only select periods within one accounting year. The journal number will be retrieved from the journal number series for that year, and the accounting period of a created automatic posting will be the same as for the base transaction.

Voucher type
If the voucher type selection does not include the voucher type for the automatic postings to create, you may only create calculations and redistributions on one level.

Summary transactions
Indicate if all automatic entries which have been posted to the same account combination in the same period and with the same voucher type should be summarised.
Calc/red simulation
You can select to print a work list for the automatic postings that will be created according to your selections to see if the accounting transactions are correct. If there are any errors, you maintain the Calculation/Redistribution files and simulate the accounting again. The work list will show voucher data for the base transactions for your information. There will be no voucher numbers on the work list for the automatic postings as they are not numbered until the actual update is done. You can simulate for as many times as you wish without having to update the transactions.
Voucher type
Enter a voucher type which is valid for the C/RE routine. The voucher type controls the voucher numbering from the voucher number series defined for the type. The system will select the number after last used in the series for all the G/L postings created in the journal. If calculations and redistributions should be created on more than one level, the voucher type you enter here must be part of the selection of base transaction voucher types.
One level calc/red
Set to YES if the system should only create automatic postings on one level for this journal, i.e. the postings that are created will not result in further calculations and redistributions in this particular run. Set to NO if the automatic postings should be created on more than one level until there are no more rules to apply.
Allow further levels
If One level calc/red is NO, you must also set this field to NO, meaning that all further levels, originating from the base transactions, will be handled in one run of the routine. If One level calc/red is YES, you may set this field to YES to save the further levels to another run, or you may set to NO to stop the created postings from becoming the basis for new automatic postings.