CUTRATEREL – Currency Rate Interface
- System
- General Ledger Setup (IF)
- Prefix
CUL- Primary key
CURRENCY-TABLE,SEQ-NUMBER,COMPANY- Fields
- 10
- Updated by
- 3 programs
- Referenced by
- 1 program
CUTRATEREL is the Currency Rate Interface table in Lawson General Ledger Setup (prefix CUL). It is indexed by CURRENCY-TABLE, SEQ-NUMBER, COMPANY (CULSET1); alternate indexes: CULSET2, CULSET3 and CULSET4. It is related 1:1 to CURELAT and CUCODES. It is updated by CU161, CU61.1 and CU61.2 and referenced by CU261. The table has 10 fields, 4 indexes and 3 documented relations.
About CUTRATEREL
The Currency Translation Interface file contains translation rates for a currency table or company. The records are imported from a non-Lawson file into this file to be interfaced to the Lawson Currency system, using CU61 and CU161. Once records in this file are interfaced to the Currency system, they are deleted from this file.
Fields (10)
Column = COBOL field name without the CUL- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
CUL-CURRENCY-TABLE PKCURRENCY_TABLE | Alpha 12 | This field contains the name of the currency table for which the rates are interfaced. | CU161, CU61.1, CU61.2 |
CUL-SEQ-NUMBER PKSEQ_NUMBER | Numeric 6 | This unique number is assigned by the system to keep the records unique. | CU161, CU61.1, CU61.2 |
CUL-FR-CURR-CODEFR_CURR_CODE | Alpha 5 | This is the currency code from which the company balances are translated.. | CU161, CU261, CU61.1, CU61.2 |
CUL-TO-CURR-CODETO_CURR_CODE | Alpha 5 | This is the currency code to which the company balances are translated. | CU161, CU61.1, CU61.2 |
CUL-FISCAL-YEARFISCAL_YEAR | Numeric 4 | This is the fiscal year for which the rates are valid. | CU61.1, CU61.2 |
CUL-BUDGET-NBRBUDGET_NBR | Numeric 3 | This is the budget to which the rates apply. | CU161, CU61.1, CU61.2 |
CUL-COMPANY PKCOMPANY | Numeric 4 | This is the company to which the rates apply. Where applicable, company rates override currency table rates. | CU161, CU61.2 |
CUL-TRANS-CODETRANS_CODE | Alpha 2 | This is the translation code for the currency translation. | CU161, CU61.1, CU61.2 |
CUL-RATE-VALUERATE_VALUE | Signed 14.7 Occurs 13 Times ×13 | This is the translation rate used - one for each period in the fiscal year. | CU61.1, CU61.2 |
CUL-RATE-BEG-BALRATE_BEG_BAL | Signed 14.7 | This is the beginning translation rate used for the fiscal year. | CU61.1, CU61.2 |
Indexes (4)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
CULSET1 | CURRENCY-TABLE, SEQ-NUMBER, COMPANY | Primary | CU161, CU61.1 | |
CULSET2 | COMPANY, SEQ-NUMBER, CURRENCY-TABLE | CU161, CU61.2 | ||
CULSET3 | CURRENCY-TABLE, FR-CURR-CODE, TO-CURR-CODE, FISCAL-YEAR, BUDGET-NBR, TRANS-CODE, SEQ-NUMBER, COMPANY | KeyChange | CU161, CU261, CU61.1 | |
CULSET4 | COMPANY, FR-CURR-CODE, TO-CURR-CODE, FISCAL-YEAR, BUDGET-NBR, TRANS-CODE, SEQ-NUMBER, CURRENCY-TABLE | KeyChange | CU161, CU261, CU61.2 |
Relations
One to one (3) — lookups and parents
Programs
Updated by (3)
- CU161 Interface Translation Rates
- CU61.1 Maintain Translation Rates
- CU61.2 Maintain Company Translation Rates
Referenced by (1)
- CU261 Translation Interface Listing