MACRECAOC – MA Record Add on Cost

System
Matching (MA)
Prefix
MRA
Primary key
COMPANY, REFERENCE-NO, LINE-NBR, AOC-CODE, SEQ-NBR
Fields
44
Updated by
3 programs
Referenced by
0 programs

MACRECAOC is the MA Record Add on Cost table in Lawson Matching (prefix MRA). It is indexed by COMPANY, REFERENCE-NO, LINE-NBR, AOC-CODE, SEQ-NBR (MRASET1). It is updated by MA53.1, MA53.6 and MA531. The table has 44 fields, 1 index and 0 documented relations.

About MACRECAOC

No description in the Lawson data dictionary.

Fields (44)

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

Field / columnTypeDescription & valuesUpdated by
MRA-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.MA53.1, MA53.6, MA531
MRA-REFERENCE-NO PK
REFERENCE_NO
Alpha 25 (Right Justified)MA53.1, MA53.6, MA531
MRA-VENDOR
VENDOR
Alpha 9 (Right Justified)The vendor's identification code.MA53.1, MA53.6
MRA-LINE-NBR PK
LINE_NBR
Numeric 6This field contains the line number.MA53.1, MA53.6, MA531
MRA-AOC-CODE PK
AOC_CODE
Alpha 2This field contains the identifier for the add on cost associated with this line item.MA53.1, MA53.6, MA531
MRA-SEQ-NBR PK
SEQ_NBR
Numeric 4An automatically assigned sequence number.MA53.1
MRA-REC-TYPE
REC_TYPE
Alpha 1The file record type.
MRA-PO-NUMBER
PO_NUMBER
Alpha 14 (Right Justified)This field contains the number representing the purchase order.
MRA-PO-RELEASE
PO_RELEASE
Numeric 4Used to identify a purchase order release (created from a Blanket or Standing order).
MRA-PO-CODE
PO_CODE
Alpha 4This is the purchase order code.
MRA-PURCH-FR-LOC
PURCH_FR_LOC
Alpha 4The vendor's purchase from location.
MRA-LOCATION
LOCATION
Alpha 5This field contains a valid stocking location within the company inventory.
MRA-AOC-RATE
AOC_RATE
Percent 7.3 (Percent)Add On Cost Percentage Rate. If add on cost is spread by rate, this value times the line unit cost is the unit add on cost for the PO line.
MRA-ENTRY
ENTRY
Alpha 1Amount Entry Method.
MRA-QUANTITY
QUANTITY
Signed 13.4This field contains the desired quantity.MA53.6
MRA-ENT-UNIT-CST
ENT_UNIT_CST
Signed 18.5
MRA-TOTAL-AOC
TOTAL_AOC
Signed 18.2MA53.1, MA53.6, MA531
MRA-TAX-CODE
TAX_CODE
Alpha 10This field contains a code representing specific tax information. This must be valid Tax Code.
MRA-TAXABLE-FLAG
TAXABLE_FLAG
Alpha 1Defines if Taxable.
MRA-AOC-ON-PO
AOC_ON_PO
Alpha 1Indicates if the add-on cost is to appear on the Purchase Order document that is issued to the vendor.
MRA-SUMMARY-FLAG
SUMMARY_FLAG
Alpha 1Defines if add on cost is printed in summary or at a detail level on the Lawson Purchase Order document.
MRA-ZERO-COST-FLG
ZERO_COST_FLG
Alpha 1Defines if this tax record is allowed to have a zero unit cost.
MRA-CLOSED-FL
CLOSED_FL
Alpha 1The Closed Flag.
MRA-ELEMENT-01
ELEMENT_01
Alpha 32
MRA-ELEMENT-02
ELEMENT_02
Alpha 32
MRA-ELEMENT-03
ELEMENT_03
Alpha 32
MRA-ELEMENT-04
ELEMENT_04
Alpha 32
MRA-ELEMENT-05
ELEMENT_05
Alpha 32
MRA-ELEMENT-06
ELEMENT_06
Alpha 32
MRA-ELEMENT-07
ELEMENT_07
Alpha 32
MRA-ELEMENT-08
ELEMENT_08
Alpha 32
MRA-ELEMENT-09
ELEMENT_09
Alpha 32
MRA-ELEMENT-10
ELEMENT_10
Alpha 32
MRA-LANDED-FLAG
LANDED_FLAG
Numeric 1
MRA-FREIGHT-TERMS
FREIGHT_TERMS
Alpha 1Freight terms are used to define who pays for freight costs incurred when goods are shipped. Prepaid, for instance, would normally mean that the vendor would pay for freight. Collect would mean the customer would pay for freight. A freight terms code can be entered on a purchase order, or defaulted by vendor or company.
MRA-VENDOR-GROUP
VENDOR_GROUP
Alpha 4A vendor group represents a group of vendors that can be shared by one or more companies.
MRA-XREF-VENDOR
XREF_VENDOR
Alpha 9 (Right Justified)This is a vendor that is supported on a system outside Lawson. When records are interfaces we will maintain this vendor on the file but we will use the Lawson vendor while in the lawson application.
MRA-MATCH-REF-NBR
MATCH_REF_NBR
Alpha 22
MRA-CURRENCY-CODE
CURRENCY_CODE
Alpha 5This field contains the company base currency code established in Company (GL10.1 ).
MRA-REC-CNV-RATE
REC_CNV_RATE
Signed 14.7Currency conversion rate at Purchase Order entry time.
MRA-VENDOR-GLN
VENDOR_GLN
Alpha 13
MRA-LOCATION-GLN
LOCATION_GLN
Alpha 13
MRA-TRACK-TYPE
TRACK_TYPE
Alpha 1" " = Other AOC
  • I Insurance
  • F Freight
  • C Customs Charges
MA53.1, MA53.6, MA531
MRA-GLBL-LINE-TYPE
GLBL_LINE_TYPE
Alpha 15

Indexes (1)

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

IndexKeysFlagsConditionUsed in
MRASET1COMPANY, REFERENCE-NO, LINE-NBR, AOC-CODE, SEQ-NBRPrimaryMA53.1, MA53.6, MA531

Programs

Updated by (3)