A_MP_ORDER_LINE_DISCOUNTS

Archive Order Line Discounts

tableFINMP

A_MP_ORDER_LINE_DISCOUNTS — Archive Order Line Discounts. FIN table in the standard Ross ERP 8.0 schema: 32 columns, used by 5 programs. Columns, data types, keys, foreign keys and relationships.

Open A_MP_ORDER_LINE_DISCOUNTS in the interactive Data Dictionary →

Part of MP tables & objects · all tables, views & procedures

Columns

#ColumnTypeKeyDescription
1GEM_DBKEYintGEMBASE internal surrogate primary key: a system-generated unique row identifier (the database key). Not a business field; every table carries one.
2ARCHIVE_IDvarchar(1)PKPrefix Fields for Archive Tables
3COMPANY_CODEvarchar(10)PKCompany Code
4DIVISIONvarchar(2)PKDivision
5ORDER_NUMBERvarchar(9)PKOrder Number
6ORDER_LINE_NUMBERintPKOrder Line Number
7MP_APPLICATION_SEQUENCEsmallintPKDiscount calculated and applied in this order
8MP_CALCULATE_ON_SEQUENCEsmallintDiscount calculated on result the specified sequence
9MP_CALCULATION_LINE_TYPEsmallintMP calculation Line Type
10MP_CALCULATION_TYPEsmallintMP Calculation Type
11MP_AWARD_TYPEsmallintMP Award Type
12MP_AWARD_WAREHOUSEvarchar(2)Award Warehouse
13MP_AWARD_PART_CODEvarchar(15)Award Product
14MP_AWARD_UNITvarchar(4)Award Unit
15MP_AWARD_PRICE_QUANTITYnumeric(20,6)
16MP_AWARD_PRODUCT_PRICEnumeric(20,4)
17MP_AWARD_AMOUNTnumeric(20,2)Award Amount
18MP_AWARD_UNIT_DISCOUNTnumeric(20,4)Award Unit Discount
19MP_AWARD_PERCENTnumeric(10,2)Award Percent
20MP_ON_INVOICE_DISCOUNTnumeric(20,2)
21MP_OTHER_DISCOUNTnumeric(20,2)
22MP_TOTAL_ON_INVOICE_DISCOUNTnumeric(20,2)
23MP_TOTAL_ALL_DISCOUNTnumeric(20,2)
24MP_PRICE_LESS_ON_INVOICEnumeric(20,4)
25MP_PRICE_LESS_TOTALnumeric(20,4)
26MP_DISCOUNT_REDEEM_METHODsmallintMP Discount Redemption Method
27DOCUMENT_NUMBERvarchar(13)Originating Document Number
28MP_AGREEMENT_SEQUENCEsmallint
29MP_CHILD_ORDER_LINE_NUMBERint
30ARCHIVE_DATEdatetimeArchive Date
31ARCHIVE_USERNAMEvarchar(20)Username recorded when the row was moved to the archive.
32GEM_ARCHIVE_FLAGvarchar(20)System flag indicating whether the row has been archived by the GEMBASE archive process.