ARSADJUST – Cash Application Adjust Select

System
Accounts Receivable (AR)
Prefix
ASJ
Primary key
COMPANY, TRANS-TYPE, INVOICE, PAYMENT-SEQ, BATCH-NBR, ADJ-SEQ
Fields
24
Updated by
1 program
Referenced by
1 program

ARSADJUST is the Cash Application Adjust Select table in Lawson Accounts Receivable (prefix ASJ). It is indexed by COMPANY, TRANS-TYPE, INVOICE, PAYMENT-SEQ, BATCH-NBR, ADJ-SEQ (ASJSET1); alternate indexes: ASJSET2 and ASJSET3. It is related 1:1 to ARSAPPLIED. It is updated by CB06.2 and referenced by CB191. The table has 24 fields, 3 indexes and 1 documented relation.

About ARSADJUST

The Cash Application Adjustment Select file contains adjustment information for open items that have been selected for cash application, but not yet processed, thereby creating application adjustment records.

Fields (24)

Column = COBOL field name without the ASJ- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
ASJ-COMPANY PK
COMPANY
Numeric 4The number representing an AR company.
ASJ-TRANS-TYPE PK
TRANS_TYPE
Alpha 1The transaction type the adjustment is associated with. Valid values are:
  • C Credit memo
  • D Debit Memo
  • I Invoice
ASJ-INVOICE PK
INVOICE
Alpha 22Used to identify the invoice, debit memo, or credit memo.
ASJ-PAYMENT-SEQ PK
PAYMENT_SEQ
Numeric 6A unique number assigned to each transaction to be interfaced into the Lawson system.
ASJ-ADJ-SEQ PK
ADJ_SEQ
Numeric 3The sequence number of the adjustment.
ASJ-ADJ-AMT
ADJ_AMT
Signed 18.2The amount of the adjustment in company base currency.
ASJ-ORIG-ADJ-AMT
ORIG_ADJ_AMT
Signed 18.2The amount of the adjustment in transaction currency.
ASJ-CR-ORIG-AJ-AMT
CR_ORIG_AJ_AMT
Signed 18.2The amount of the credit adjustment in the payment currency.
ASJ-REASON-CODE
REASON_CODE
Alpha 4The reason code for the adjustment.
ASJ-ACCT-UNIT
ACCT_UNIT
Alpha 15The General Ldger accounting unit.
ASJ-ACCOUNT
ACCOUNT
Numeric 6The General Ledger account.
ASJ-SUB-ACCT
SUB_ACCT
Numeric 4The General Ledger subaccount
ASJ-DESC
DESC
Alpha 30 (Lower Case)The description of the adjustment.
ASJ-MEMO-COMPANY
MEMO_COMPANY
Numeric 4This is the company which will own the memo chargeback once it is generated.
ASJ-MEMO-CUSTOMER
MEMO_CUSTOMER
Alpha 9 (Right Justified)This is the customer which will own the memo chargeback once it is generated.
ASJ-MEMO-PROC-LEV
MEMO_PROC_LEV
Alpha 5This is the process level which will own the chargeback once it is generated.
ASJ-MEMO-INDIC
MEMO_INDIC
Alpha 1Indicates if the adjustment select record for a payment is for a chargeback memo. Valid values are:
  • Blank Not a memo chargeback memo
  • M Chargeback memo
ASJ-MEMO-XREF-NBR
MEMO_XREF_NBR
Alpha 22 (Right Justified)This will contain the cross reference number entered to memo chargeback creation.
ASJ-GL-DATE
GL_DATE
Numeric 8 (yyyymmdd)This field contains the general ledger posting date.
ASJ-OPR-CODE
OPR_CODE
Alpha 10 (Lower Case)This field contains the operator code. This is the user ID of the person who last maintained this record.
ASJ-JRNL-BOOK-NBR
JRNL_BOOK_NBR
Alpha 12This is the journal book number for the adjustment record.
ASJ-ACTIVITY
ACTIVITY
Alpha 15The Activity associated with the adjustment.
ASJ-ACCT-CATEGORY
ACCT_CATEGORY
Alpha 5The Account Category associated with the Activity of the adjustment.
ASJ-BATCH-NBR PK
BATCH_NBR
Numeric 6This identifies the batch the entered invoices, debit memos, and credit memos are a part of.

Indexes (3)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
ASJSET1COMPANY, TRANS-TYPE, INVOICE, PAYMENT-SEQ, BATCH-NBR, ADJ-SEQPrimaryCB06.2, CB191
ASJSET2COMPANY, TRANS-TYPE, INVOICE, PAYMENT-SEQ, MEMO-INDIC, BATCH-NBR, ADJ-SEQCB191
ASJSET3COMPANY, BATCH-NBR, PAYMENT-SEQ, ADJ-SEQSubsetWhere TRANS-TYPE = "P"

Relations

One to one (1) — lookups and parents

RelationTableRulesConditionField map
ArsappliedARSAPPLIEDRequiredASJ-COMPANYASG-COMPANY (ASGSET2), ASJ-TRANS-TYPEASG-TRANS-TYPE, ASJ-INVOICEASG-INVOICE, ASJ-PAYMENT-SEQASG-PAYMENT-SEQ

Programs

Updated by (1)

Referenced by (1)