APCRMEMO – Credit Memo Application

System
Accounts Payable (AP)
Prefix
CRM
Primary key
COMPANY, VENDOR, CR-MEMO-NBR, CR-MEMO-SUFFIX, CR-SEQ-NBR, INVOICE, SUFFIX, SEQ-NBR
Fields
9
Updated by
11 programs
Referenced by
2 programs

APCRMEMO is the Credit Memo Application table in Lawson Accounts Payable (prefix CRM). It is indexed by COMPANY, VENDOR, CR-MEMO-NBR, CR-MEMO-SUFFIX, CR-SEQ-NBR, INVOICE, SUFFIX, SEQ-NBR (CRMSET1); alternate indexes: CRMSET2 and CRMSET3. It is updated by AP180, AP181, AP190, AP198, AP28.1, AP28.2, AP30.4, AP300 and 3 more and referenced by AP213 and AP284. The table has 9 fields, 3 indexes and 0 documented relations.

About APCRMEMO

The Credit Memo file contains credit memo application records.

Fields (9)

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

Field / columnTypeDescription & valuesUpdated by
CRM-COMPANY PK
COMPANY
Numeric 4The company number. Must be a valid record in the Accounts Payable Company file.AP180, AP181, AP190, AP28.1, AP28.2, AP35.1, AP45.1
CRM-VENDOR PK
VENDOR
Alpha 9 (Right Justified)The vendor number. Must be a valid record in the Vendor file.AP180, AP181, AP190, AP28.1, AP28.2, AP35.1, AP45.1
CRM-CR-MEMO-NBR PK
CR_MEMO_NBR
Alpha 22The credit memo number.AP180, AP181, AP190, AP28.1, AP28.2, AP35.1, AP45.1
CRM-CR-MEMO-SUFFIX PK
CR_MEMO_SUFFIX
Numeric 3The credit memo suffix number. Assigned by the system to a system generated credit memo.AP180, AP181, AP190, AP28.1, AP28.2, AP35.1, AP45.1
CRM-CR-SEQ-NBR PK
CR_SEQ_NBR
Numeric 4The unique sequence number assigned to the credit memo application.AP180, AP181, AP190, AP28.1, AP28.2, AP35.1, AP45.1
CRM-INVOICE PK
INVOICE
Alpha 22The invoice to which the credit memo is applied. Must be a valid record in the Accounts Payable Invoice file.AP180, AP181, AP190, AP28.1, AP28.2, AP35.1, AP45.1
CRM-SUFFIX PK
SUFFIX
Numeric 3The occurrence value of the invoice to which the credit memo is applied. This value is created by the system for recurring invoices and system-generated credit memos.AP180, AP181, AP190, AP28.1, AP28.2, AP35.1, AP45.1
CRM-SEQ-NBR PK
SEQ_NBR
Numeric 4A unique sequence number assigned to the invoice.AP180, AP181, AP190, AP28.1, AP28.2, AP35.1, AP45.1
CRM-AMT-APPLIED
AMT_APPLIED
Signed 18.2The amount of the invoice that is applied to the credit memo.AP180, AP181, AP190, AP28.1, AP28.2, AP35.1, AP45.1

Indexes (3)

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

IndexKeysFlagsConditionUsed in
CRMSET1COMPANY, VENDOR, CR-MEMO-NBR, CR-MEMO-SUFFIX, CR-SEQ-NBR, INVOICE, SUFFIX, SEQ-NBRPrimaryAP213, AP284, AP30.4, AP305, AP35.1
CRMSET2COMPANY, VENDOR, INVOICE, SUFFIX, SEQ-NBR, CR-MEMO-NBR, CR-MEMO-SUFFIX, CR-SEQ-NBRAP198, AP213, AP284, AP30.4, AP300, AP35.1
CRMSET3COMPANY, VENDOR, CR-MEMO-NBR, CR-MEMO-SUFFIX, INVOICE, SUFFIX, SEQ-NBR, CR-SEQ-NBRAP35.1

Programs

Updated by (11)

Referenced by (2)