This routine is used at the time of period close. It is used for adjusting foreign liabilities to the base equivalent using the latest exchange rates. This function is run interactively. The program reviews all outstanding invoices for the month and adjusts the exchange differences to the unrealized exchange fluctuations account. If the invoice was paid that month, it will post the difference to realized exchange fluctuations account.
The adjustment is the difference between the EOM rate and the payment rate entered when payment is made. TMSAP/EXC-GALO is used by the exchange rate adjustment program.
TMSAP/EXC-ACCT contains the General Ledger account to which translation fluctuations are posted, that is the difference between what is posted to the profit and loss account and the Balance Sheet account. This calculation is performed when the invoice is entered.
TMSGL/FCTA is used when reporting in a foreign currency. This control file contains the General Ledger account to which exchange translation variances are posted. In order to convert the ledger to various foreign currencies, the following must be done.
- The applicable General Ledger accounts must be flagged for automatic conversion in the General Ledger masterfile. Balance sheet accounts are converted using the EOM rate, profit & loss accounts are converted using the average rate.
- The total of all account balances in the foreign currency is reverse posted to the foreign translation account number.
- After month end processes have been run, the foreign currency conversion programs are run. This converts all flagged accounts to auto conversion.
Following is an example using two (2) accounts established in TMSAP/EXC-GALO exchange currency gains/losses accounts.
- One for Unrealized Gain/Loss
- One for Realized Gain/Loss
- The invoice is entered for $1000.00 (Trade Currency) $1666.67 (Base Currency) at exchange rate 0.600.
- The exchange rate has been changed (A/P masterfile) to 0.500.
- The exchange rate adjustment option has been taken (Period Close). This has generated a debit adjustment journal for $333.33 (Base Currency) to the Unrealized Gain/Loss Account.
- The exchange rate has been changed to 0.550.
- The exchange rate adjustment option has been taken. This has generated a credit adjustment journal for $18.182- (Base Currency) to the Unrealized Gain/Loss Account.
- The payment has been made $1000.00 (Trade Currency) $2,500.00 (Base Currency) for the invoice at exchange rate 0.400.
- The exchange rate adjustment option has been taken. This has generated a credit adjustment journal for $151.51- (Base Currency) to the Unrealized Gain/Loss Account and a debit adjustment journal for $833.33 to the Realized Gain/Loss Account.
| Line | Task | G/L Account | Description | Trade | Exchange | Base |
| 1 | Invoice amount | 100.5175 | Insurance | 1000.00 | 0.600 | 1666.67 |
| 2 | Exchange rate | Changed | 0.500 | |||
| 3 | Adjustment | 000.5126 | Unrealized Gain/Loss | 0.500 | 333.33 | |
| 4 | Exchange Rate | Changed | 0.550 | |||
| 5 | Adjustment | 000.5126 | Unrealized Gain/Loss | 0.550 | 181.82- | |
| 6 | Cheque | 100.5175 | Insurance | 1000.00 | 0.400 | 2500.00- |
| 7 | Adjustment | 000.5126 | Unrealized Gain/Loss | 0.550 | 151.51- | |
| 000.5125 | Realized Gain/Loss | 0.550 | 833.33 |
Following is an example when using one (1) account for Unrealized and Realized Gain/Loss Account established in TMSAP/EXC-GALO exchange currency gains/losses accounts.
- The invoice is entered for $100.00 (Trade Currency) $142.86 (Base Currency) at exchange rate 0.700.
- The Exchange rate has been changed (A/P masterfile) to 0.680.
- The Exchange rate adjustment option has been taken (Period Close). This has generated a debit adjustment journal for $4.20 (Base Currency) to the Unrealized Gain/Loss Account.
- The Payment has been made $100.00 (Trade Currency) $166.67 (Base Currency) for the invoice at exchange rate 0.600.
- The Exchange rate adjustment option has been taken. This has generated a debit adjustment journal for $19.61 to the Realized Gain/Loss Account.
| Line | Task | G/L Account | Description | Trade | Exchange | Base |
| 1 | Invoice amount | 100.5175 | Insurance | 100.00 | 0.700 | 142.86 |
| 2 | Exchange rate | Change | 0.680 | |||
| 3 | Adjustment | 000.5125 | Unrealized Gain/Loss | 0.680 | 4.20 | |
| 4 | Cheque | 100.5175 | Insurance | 100.00 | 0.600 | 166.67- |
| 5 | Adjustment | Realized Gain/Loss | 0.600 | 19.61 |
