CBCCTRNJB – Cash Code Journal Book

System
Cash Ledger (CB)
Prefix
CJB
Primary key
COMPANY, CASH-CODE, BANK-INST-CODE
Fields
4
Updated by
1 program
Referenced by
47 programs

CBCCTRNJB is the Cash Code Journal Book table in Lawson Cash Ledger (prefix CJB). It is indexed by COMPANY, CASH-CODE, BANK-INST-CODE (CJBSET1). It is updated by CB05.1 and referenced by AP125, AP126, AP150, AP151, AP155, AP156, AP160, AP161 and 39 more. The table has 4 fields, 1 index and 0 documented relations.

About CBCCTRNJB

The Cash Code Journal Book file contains default journal book numbers for each transaction code that is defined for a company cash code.

Fields (4)

Column = COBOL field name without the CJB- 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
#CJB-COMPANY PK
COMPANY
Numeric 4The company number. Must be a valid record in the General Ledger Company file.CB05.1
#CJB-CASH-CODE PK
CASH_CODE
Alpha 4The cash code. Represents a bank account. Must be a valid record in the Cash Code file and a valid relationship must exist between the company and the cash code in the Company - Cash Code Relationship file.CB05.1
#CJB-BANK-INST-CODE PK
BANK_INST_CODE
Alpha 3The transaction code. Represents a type of cash payment, bill of exchange payment, or bank service transaction. Must be a valid record in the Bank Transaction Code file.CB05.1
#CJB-JRNL-BOOK-NBR
JRNL_BOOK_NBR
Alpha 12The default journal book assigned to the transaction code for the company - cash code relationship. Must be a valid record in the Journal Book Header file.CB05.1

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
CJBSET1
  1. COMPANY
  2. CASH-CODE
  3. BANK-INST-CODE
PrimaryAP125, AP126, AP150, AP151, AP155, AP156, AP160, AP161 +22 more (list truncated in source)

Programs

Updated by (1)

Referenced by (47)