ARICOMMENT – Comment Conversion/Interface

System
Accounts Receivable (AR)
Prefix
AIM
Primary key
COMPANY, CUSTOMER, TRANS-TYPE, INVOICE, PAYMENT-SEQ, SEQ-NBR
Fields
12
Updated by
1 program
Referenced by
0 programs

ARICOMMENT is the Comment Conversion/Interface table in Lawson Accounts Receivable (prefix AIM). It is indexed by COMPANY, CUSTOMER, TRANS-TYPE, INVOICE, PAYMENT-SEQ, SEQ-NBR (AIMSET1); alternate indexes: AIMSET2. It is updated by ARLL.1. The table has 12 fields, 2 indexes and 0 documented relations.

About ARICOMMENT

No description in the Lawson data dictionary.

Fields (12)

Column = COBOL field name without the AIM- 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
#AIM-COMPANY PK
COMPANY
Numeric 4Required. The transaction company number.ARLL.1
#AIM-CUSTOMER PK
CUSTOMER
Alpha 9 (Right Justified)Required. The customer number.ARLL.1
#AIM-TRANS-TYPE PK
TRANS_TYPE
Alpha 1Required. Transaction type of record that has comments. Valid values are:
  • C Credit Memo
  • D Debit Memo
  • I Invoice
ARLL.1
#AIM-INVOICE PK
INVOICE
Alpha 22Used to identify the invoice.ARLL.1
#AIM-PAYMENT-SEQ PK
PAYMENT_SEQ
Numeric 6Payment obligation sequence. Used for transaction types C, D and I.ARLL.1
#AIM-SEQ-NBR PK
SEQ_NBR
Numeric 4Required. Sequence number for record uniqueness.ARLL.1
#AIM-COMMENT
COMMENT
Alpha 40 (Lower Case)This field contains the comment narrative. Required field.ARLL.1
#AIM-BEG-DATE
BEG_DATE
Numeric 8 (yyyymmdd)The beginning date that the comment will be effective for displays and reports.ARLL.1
#AIM-END-DATE
END_DATE
Numeric 8 (yyyymmdd)The ending date the comment will be effective for displays and reporting.ARLL.1
#AIM-SYS-DATE
SYS_DATE
Numeric 8 (yyyymmdd)The system date that the comment was created.ARLL.1
#AIM-SYS-TIME
SYS_TIME
Numeric 6 (hhmmss)The system time that the comment was created.ARLL.1
#AIM-PRINT-CODE
PRINT_CODE
Alpha 1The Print Code defines where the comment displays and/or prints. Valid values are:
  • B Both display and print
  • D Display only
  • P Print only
ARLL.1

Indexes (2)

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
AIMSET1
  1. COMPANY
  2. CUSTOMER
  3. TRANS-TYPE
  4. INVOICE
  5. PAYMENT-SEQ
  6. SEQ-NBR
Primary—
AIMSET2
  1. COMPANY
  2. CUSTOMER
  3. INVOICE
  4. TRANS-TYPE
  5. PAYMENT-SEQ
  6. SEQ-NBR
KeyChange—

Programs

Updated by (1)