BLINVHDR – AR Transaction Batch

System
Accounts Receivable (AR)
Prefix
BLH
Primary key
COMPANY, BATCH-NBR
Fields
20
Updated by
0 programs
Referenced by
0 programs

BLINVHDR is the AR Transaction Batch table in Lawson Accounts Receivable (prefix BLH). It is indexed by COMPANY, BATCH-NBR (BLHSET1); alternate indexes: BLHSET2 and BLHSET3. It is related 1:1 to ARCODE, ARCOMP, AROPTR and ARPROCLEVL and 1:M to AROIHDR. The table has 20 fields, 3 indexes and 5 documented relations.

About BLINVHDR

The AR Transaction Batch file contains transaction header records for manually entered transactions in AR42.1 Transaction Header. Each transaction within the batch will reference or contain values of this transaction header record.

Fields (20)

Column = COBOL field name without the BLH- 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
#BLH-COMPANY PK
COMPANY
Numeric 4The number representing an AR company.—
#BLH-BATCH-NBR PK
BATCH_NBR
Numeric 6This identifies the batch the entered transactions are part of.—
#BLH-PROCESS-LEVEL SET2
PROCESS_LEVEL
Alpha 5This field contains the process level, which is the reporting hierarchy below company.—
#BLH-STATUS
STATUS
Numeric 1Indicates the status of the batch. Valid values are:
  • 0 Unreleased
  • 1 Released
—
#BLH-OPR-CODE
OPR_CODE
Alpha 10 (Lower Case)Operator ID code that was entered when adding the batch of invoices. This will either be a valid operator code (if the corresponding company requires operator control for transaction input), or the user's signon identification.—
#BLH-BATCH-DATE
BATCH_DATE
Numeric 8 (yyyymmdd)Date of the batch.—
#BLH-GL-DATE
GL_DATE
Numeric 8 (yyyymmdd)This field contains the general ledger posting date.—
#BLH-AR-CODE
AR_CODE
Alpha 4AR code indicating what accounts receivable general ledger account will be debited (or credited if the batch has more credits than invoices and debit memos) for this batch of manual transactions.—
#BLH-ORIG-CURRENCY
ORIG_CURRENCY
Alpha 5Currency code representing the currency of the batch.—
#BLH-CURR-MUDV
CURR_MUDV
Alpha 1Currency Multiplier or Divider. Mathematical technique used in conjunction with the currency rate to convert the transaction currency amount to the company base currency amount.—
#BLH-ORIG-ND
ORIG_ND
Numeric 1The number of decimals assigned to a particular account as determined by the account currency.—
#BLH-ORIG-RATE
ORIG_RATE
Signed 14.7Exchange Rate. The rate used to convert a transaction amount from a non-base currency to the company base currency. The rate is maintained in the Currency Relationship file and there is an option at the company level to allow an override of the default rate at entry time.—
#BLH-INV-ENTRY
INV_ENTRY
Signed 18.2The total invoice amount for the batch.—
#BLH-INV-TOTAL
INV_TOTAL
Signed 18.2The invoice control total for the batch.—
#BLH-CREDIT-ENTRY
CREDIT_ENTRY
Signed 18.2The total credit memo amount for the batch.—
#BLH-CREDIT-TOTAL
CREDIT_TOTAL
Signed 18.2The credit memo control total for the batch.—
#BLH-DEBIT-ENTRY
DEBIT_ENTRY
Signed 18.2The total debit memo amount for the batch.—
#BLH-DEBIT-TOTAL
DEBIT_TOTAL
Signed 18.2The debit memo control total for the batch.—
#BLH-COUNT-ENTRY
COUNT_ENTRY
Numeric 5The total number of transactions in the batch.—
#BLH-COUNT-TOTAL
COUNT_TOTAL
Numeric 5The control total for the number of transactions in the batch.—

Indexes (3)

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
BLHSET1
  1. COMPANY
  2. BATCH-NBR
PrimaryAR01.1, ARLL.1
BLHSET2
  1. COMPANY
  2. PROCESS-LEVEL
  3. BATCH-NBR
SubsetWhere STATUS = Zeroes—
BLHSET3
  1. COMPANY
  2. BATCH-NBR
SubsetWhere STATUS = Zeroes—

Relations

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

One to one (4) — lookups and parents

RelationTableRulesConditionField map
ArcodesARCODERequired
BLH-COMPANY→RCD-COMPANY (RCDSET1)
BLH-AR-CODE→RCD-AR-CODE
CompanyARCOMPRequired
BLH-COMPANY→ACO-COMPANY
OperatorAROPTRRequiredWhen BLH-OPR-CODE != Spaces
BLH-COMPANY→AOP-COMPANY
BLH-OPR-CODE→AOP-OPR-CODE
Proces LevelARPROCLEVLRequired
BLH-COMPANY→APV-COMPANY
BLH-PROCESS-LEVEL→APV-PROCESS-LEVEL

One to many (1) — child tables

RelationTableRulesConditionField map
AroihdrAROIHDRDelete Restricted
BLH-COMPANY→ARH-COMPANY
BLH-BATCH-NBR→ARH-BATCH-NBR
—→ARH-CUSTOMER
—→ARH-TRANS-TYPE
—→ARH-INVOICE

Programs

No Lawson programs are documented as updating or referencing this table.