RJCONTROL – Recurring Journal Control

System
General Ledger (GL)
Prefix
RJC
Primary key
COMPANY, JE-TYPE, REC-GROUP
Fields
47
Updated by
46 programs
Referenced by
28 programs

RJCONTROL is the Recurring Journal Control table in Lawson General Ledger (prefix RJC). It is indexed by COMPANY, JE-TYPE, REC-GROUP (RJCSET1). It is related 1:1 to APAPDHIST, APDISTRIB, GLSYSTEM, GLTRANS and RJBRIDGE and 1:M to RJCNTRLAU, RJSCHEDULE and RJTRANS. It is updated by AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 and 38 more and referenced by CA00.1, CA00.2, CA05.1, CA05.2, CA10.1, CA10.2, CA10.4, CA10.6 and 20 more. The table has 47 fields, 1 index and 8 documented relations.

About RJCONTROL

This file contains recurring journal entry control information defined in GL70.1 (Recurring Journal). This information is used to process the recurring journal entry detail records.

Fields (47)

Column = COBOL field name without the RJC- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.

Field / columnTypeDescription & valuesUpdated by
#RJC-COMPANY PK
COMPANY
Numeric 4The company number as defined in GL10.1 (Company).AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +33 more
#RJC-JE-TYPE PK
JE_TYPE
Alpha 1The type of journal entry. Valid values are Normal and Intercompany.
  • N Normal
  • I Intercompany
AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +32 more
#RJC-REC-GROUP PK
REC_GROUP
Numeric 8The recurring journal entry number.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +32 more
#RJC-STATUS
STATUS
Numeric 1This field displays the status of the transaction.
  • 1 Released
  • 0 Unreleased
AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-LINE-NBR
LINE_NBR
Numeric 6This field contains the line number.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +33 more
#RJC-NBR-LINES
NBR_LINES
Numeric 6This is the number of detail lines.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +33 more
#RJC-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)The recurring journal description.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-AUTO-ZERO
AUTO_ZERO
Alpha 1This field is used to determine if amounts are to be zeroed out after processing.
  • N No
  • Y Yes
  • R Rates Only
AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-POST-PERIOD
POST_PERIOD
Alpha 1 Occurs 13 Times ×13The accounting periods you want to process the recurring journal entry in.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-LP-PERIOD
LP_PERIOD
Numeric 2The period the transaction was last processed.GL170, GL500, GL70.1, GL70.2, GL70.3, GL70.5, GL70.6, GL75.1
#RJC-LP-YEAR
LP_YEAR
Numeric 4Contains the fiscal year for the data stored on this record.GL170, GL500, GL70.1, GL70.2, GL70.3, GL70.5, GL70.6, GL75.1
#RJC-BEG-PERIOD
BEG_PERIOD
Numeric 2This is the beginning period that the transaction is posted to.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-BEG-YEAR
BEG_YEAR
Numeric 4This is the beginning year that the transaction is posted to.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-END-PERIOD
END_PERIOD
Numeric 2This is the ending period that the transaction is posted to.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-END-YEAR
END_YEAR
Numeric 4This is the ending year that the transaction is posted to.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-ENTRY-DEBITS
ENTRY_DEBITS
Signed 18.2—AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-ENTRY-CREDITS
ENTRY_CREDITS
Signed 18.2—AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-TRAN-ND
TRAN_ND
Numeric 1The number of decimals assigned to a particular account as determined by the account currency.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-UNIT-DEBITS
UNIT_DEBITS
Signed 15.2The total positive detail unit amounts.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-UNIT-CREDITS
UNIT_CREDITS
Signed 15.2The total negative detail unit amounts.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-AUTO-DEBITS
AUTO_DEBITS
Signed 18.2—AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-AUTO-CREDITS
AUTO_CREDITS
Signed 18.2—AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-AUTO-UNIT-DB
AUTO_UNIT_DB
Signed 15.2The total positive detail auto reversing amounts.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +33 more
#RJC-AUTO-UNIT-CR
AUTO_UNIT_CR
Signed 15.2The total negative detail auto reversing amounts.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +33 more
#RJC-POSTING-DAY
POSTING_DAY
Numeric 2This is the day the transaction is posted in the Lawson General Ledger system. If this field is left blank, the period end-date defaults.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-OPERATOR
OPERATOR
Alpha 10This field is used to store the login ID of the person who entered the record.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-LAST-CMT-SEQ
LAST_CMT_SEQ
Numeric 4The sequence number of the last comment for the journal entry.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +29 more
#RJC-BASE-ZONE
BASE_ZONE
Alpha 15The zone within the Lawson General Ledger system where the transaction originates.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-BASE-DEBITS
BASE_DEBITS
Signed 18.2—AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-BASE-CREDITS
BASE_CREDITS
Signed 18.2—AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-BASE-AUTO-DB
BASE_AUTO_DB
Signed 18.2—AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-BASE-AUTO-CR
BASE_AUTO_CR
Signed 18.2—AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +36 more
#RJC-BASE-ND
BASE_ND
Numeric 1The number of decimal positions defined for the company base currency.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-CURRENCY-CODE
CURRENCY_CODE
Alpha 5This is the recurring journal entry base currency code. If left blank, the company base currency defaults.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-BASERATE
BASERATE
Signed 14.7The exchange rate at the time the journal entry was made. If left blank, the current exchange rate will default.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +37 more
#RJC-SOURCE-CODE
SOURCE_CODE
Alpha 2A two-character code assigned to a transaction that identifies where the transaction was created.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +30 more
#RJC-AUTO-REV
AUTO_REV
Alpha 1When the Auto Reversal field is set to "Y," the Lawson General Ledger Closing program GL199 creates an opposite entry for this transaction in the next period.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +30 more
#RJC-REFERENCE
REFERENCE
Alpha 10 (Lower Case)The reference number associated with the transaction.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +31 more
#RJC-DOCUMENT-NBR
DOCUMENT_NBR
Alpha 27The document number assigned to the recurring journal entry.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +30 more
#RJC-NET-BASE-AMT
NET_BASE_AMT
DerivedThe net base amount.—
#RJC-NET-BASE-AREV
NET_BASE_AREV
DerivedNet base auto-reversed amount.—
#RJC-JRNL-BOOK-NBR
JRNL_BOOK_NBR
Alpha 12The journal book assigned to the transaction.AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +30 more
#RJC-BRIDGE-FLAG
BRIDGE_FLAG
Alpha 1This field determines the origin of the Recurring Entry. A No value represents that the entry was created through GL70 (Recurring Journal). A Yes value represents that the entry originated from another system.
  • Y Yes
  • N No
AP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +29 more
#RJC-TRAN-DESC-DFLT
TRAN_DESC_DFLT
Alpha 1This field determines the description that appears for each transaction line.
  • J Journal Header
  • P Prior Transaction Line
GL70.2
#RJC-MX-VALUE
MX_VALUE
Alpha 32 Occurs 3 Times ×3The attribute value associated with the recurring journal.GL70.2
#RJC-TRANS-DAY
TRANS_DAY
Numeric 2This field contains the journal entry transaction day.GL70.2, GL70.6
#RJC-BLANK
BLANK
DerivedThis field consists of blank spaces. It is used to provide column headings on Drill Arounds.—

Indexes (1)

Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
RJCSET1
  1. COMPANY
  2. JE-TYPE
  3. REC-GROUP
PrimaryAP125, AP126, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5, AP20.7 +22 more (list truncated in source)

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
APAPDHISTAPDISTRIBGLSYSTEMGLTRANSRJBRIDGERJCNTRLAURJSCHEDULERJTRANSRJCONTROL

One to one (5) — lookups and parents

RelationTableRulesConditionField map
Apapdhist OrigAPAPDHISTRequiredWhen RJB-OBJ-TYPE = "APDST"
RJB-OBJ-ID→AH2-DST-OBJ-ID
Apdistrib OrigAPDISTRIBNot RequiredValid When RJB-OBJ-TYPE = "APDST"
RJB-OBJ-ID→APD-DST-OBJ-ID
CompanyGLSYSTEMRequired
RJC-COMPANY→GLS-COMPANY
Gltrans OrigGLTRANSNot RequiredValid When RJB-OBJ-TYPE = "GLTRN"
RJB-OBJ-ID→GLT-OBJ-ID
RjbridgeRJBRIDGENot Required
RJC-COMPANY→RJB-COMPANY
RJC-JE-TYPE→RJB-JE-TYPE
RJC-REC-GROUP→RJB-REC-GROUP

One to many (3) — child tables

RelationTableRulesConditionField map
Rjcntrlau1RJCNTRLAU
RJC-COMPANY→RCU-COMPANY
RJC-JE-TYPE→RCU-JE-TYPE
RJC-REC-GROUP→RCU-REC-GROUP
—→RCU-ACTION
—→RCU-DATE
—→RCU-TIME
—→RCU-UNIQUE-I-D
RjscheduleRJSCHEDULE
RJB-OBJ-TYPE→RJS-OBJ-TYPE
RJB-OBJ-ID→RJS-OBJ-ID
—→RJS-FISCAL-YEAR
—→RJS-ACCT-PERIOD
RjtransRJTRANSDelete Cascades
RJC-COMPANY→RJT-COMPANY
RJC-REC-GROUP→RJT-REC-GROUP
RJC-JE-TYPE→RJT-JE-TYPE
—→RJT-LINE-NBR

Programs

Updated by (46)

Referenced by (28)