MAWORKQ – No description in the Lawson data dictionary

System
Matching (MA)
Prefix
WRQ
Primary key
ID, VENDOR-SNAME, VENDOR, COMPANY, INVOICE, SUFFIX, CANCEL-SEQ
Fields
20
Updated by
4 programs
Referenced by
0 programs

MAWORKQ is a Lawson Matching table (prefix WRQ); no description in the lawson data dictionary. It is indexed by ID, VENDOR-SNAME, VENDOR, COMPANY, INVOICE, SUFFIX, CANCEL-SEQ (WRQSET1); alternate indexes: WRQSET2, WRQSET3, WRQSET4 and WRQSET5. It is related 1:1 to APCOMPANY and APINVOICE and 1:M to MAINVDTL, MAPOINV and PORECEIVE. It is updated by MA167, MA67.1, MA67.2 and MA67.3. The table has 20 fields, 5 indexes and 5 documented relations.

About MAWORKQ

No description in the Lawson data dictionary.

Fields (20)

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

Field / columnTypeDescription & valuesUpdated by
WRQ-ID PK
ID
Alpha 15 (Lower Case)MA167, MA67.1
WRQ-COMPANY PK
COMPANY
Numeric 4Identifies the AP company if the resource type = V. Identifies the HR company if the resource type = E. It is blank for type A, P or Q resources.MA167, MA67.1
WRQ-VENDOR PK
VENDOR
Alpha 9 (Right Justified)The vendor's identification code.MA167, MA67.1
WRQ-VENDOR-SNAME PK
VENDOR_SNAME
Alpha 30The requester can enter the recommended vendor's name for the requested items.MA167, MA67.1
WRQ-INVOICE PK
INVOICE
Alpha 22Used to identify the invoice.MA167, MA67.1
WRQ-SUFFIX PK
SUFFIX
Numeric 3This is the suffix for the invoice.MA167, MA67.1
WRQ-CANCEL-SEQ PK
CANCEL_SEQ
Numeric 4An automatically assigned sequence number.MA167, MA67.1
WRQ-PO-NUMBER
PO_NUMBER
Alpha 14 (Right Justified)This field contains the number representing the purchase order.MA167, MA67.1
WRQ-PO-RELEASE
PO_RELEASE
Numeric 4Used to identify a purchase order release (created from a Blanket or Standing order).MA167, MA67.1
WRQ-PO-CODE
PO_CODE
Alpha 4This is the purchase order code.MA167, MA67.1
WRQ-DUE-DATE
DUE_DATE
Numeric 8 (yyyymmdd)The transaction due date.MA167, MA67.1
WRQ-INVOICE-AMT
INVOICE_AMT
Numeric 16MA167, MA67.1
WRQ-INV-COMMENTS
INV_COMMENTS
Alpha 1MA167, MA67.1
WRQ-PO-COMMENTS
PO_COMMENTS
Alpha 1MA167, MA67.1
WRQ-SERVICE-LINES
SERVICE_LINES
Alpha 1This field indicates a transaction is a Service only transaction.MA167, MA67.1
WRQ-BUYER
BUYER
Alpha 3
WRQ-LOCATION
LOCATION
Alpha 5This field contains a valid stocking location within the company inventory.
WRQ-OPERATOR
OPERATOR
Alpha 10This field is used to store the login id of the person who entered the record.
WRQ-EXT-UNIT-WAOC
EXT_UNIT_WAOC
Signed 18.5
WRQ-CB-TYPE
CB_TYPE
Alpha 1

Indexes (5)

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

IndexKeysFlagsConditionUsed in
WRQSET1ID, VENDOR-SNAME, VENDOR, COMPANY, INVOICE, SUFFIX, CANCEL-SEQPrimaryMA167, MA67.1, MA67.2, MA67.3
WRQSET2ID, DUE-DATE, COMPANY, VENDOR, INVOICE, SUFFIX, CANCEL-SEQ
WRQSET3ID, INVOICE-AMT, COMPANY, VENDOR, INVOICE, SUFFIX, CANCEL-SEQMA167, MA67.1
WRQSET4ID, COMPANY, VENDOR-SNAME, VENDOR, INVOICE, SUFFIX, CANCEL-SEQMA67.1
WRQSET5ID, INVOICE, COMPANY, VENDOR, SUFFIX, CANCEL-SEQ

Relations

One to one (2) — lookups and parents

RelationTableRulesConditionField map
ApcompanyAPCOMPANYRequiredWRQ-COMPANYCPY-COMPANY (CPYSET1)
ApinvoiceAPINVOICERequiredWRQ-COMPANYAPI-COMPANY, WRQ-VENDORAPI-VENDOR, WRQ-INVOICEAPI-INVOICE, WRQ-SUFFIXAPI-SUFFIX, WRQ-CANCEL-SEQAPI-CANCEL-SEQ

One to many (3) — child tables

RelationTableRulesConditionField map
MainvdtlMAINVDTLWRQ-COMPANYMAD-COMPANY, WRQ-VENDORMAD-VENDOR, WRQ-INVOICEMAD-INVOICE, WRQ-SUFFIXMAD-SUFFIX, WRQ-PO-NUMBERMAD-PO-NUMBER, WRQ-PO-RELEASEMAD-PO-RELEASE, WRQ-PO-CODEMAD-PO-CODE, MAD-LINE-NBR, MAD-SEQ-NBR
MapoinvMAPOINVWRQ-COMPANYAOI-COMPANY, WRQ-VENDORAOI-VENDOR, WRQ-INVOICEAOI-INVOICE, WRQ-SUFFIXAOI-SUFFIX, AOI-PO-NUMBER, AOI-PO-RELEASE, AOI-PO-CODE
Porset9PORECEIVEWRQ-COMPANYPOR-COMPANY, WRQ-VENDORPOR-VENDOR, WRQ-PO-CODEPOR-PO-CODE, WRQ-PO-NUMBERPOR-PO-NUMBER, WRQ-PO-RELEASEPOR-PO-RELEASE, POR-LOCATION, POR-REC-NUMBER

Programs

Updated by (4)