MP_INVOICE_LINE_DISCOUNTS
Invoice Line Discounts
tableFINMP
MP_INVOICE_LINE_DISCOUNTS — Invoice Line Discounts. FIN table in the standard Ross ERP 8.0 schema: 30 columns, used by 10 programs. Columns, data types, keys, foreign keys and relationships.
Open MP_INVOICE_LINE_DISCOUNTS in the interactive Data Dictionary →Part of MP tables & objects · all tables, views & procedures
Columns
| # | Column | Type | Key | Description |
|---|---|---|---|---|
| 1 | GEM_DBKEY | int | GEMBASE internal surrogate primary key: a system-generated unique row identifier (the database key). Not a business field; every table carries one. | |
| 2 | COMPANY_CODE | varchar(10) | PK | Company Code |
| 3 | DIVISION | varchar(2) | PK | Division |
| 4 | INVOICE_NUMBER | int | PK | Invoice Number |
| 5 | INVOICE_LINE_NUMBER | int | PK | Invoice Line Number |
| 6 | MP_APPLICATION_SEQUENCE | smallint | PK | Discount calculated and applied in this order |
| 7 | MP_CALCULATE_ON_SEQUENCE | smallint | Discount calculated on result the specified sequence | |
| 8 | MP_CALCULATION_LINE_TYPE | smallint | MP calculation Line Type | |
| 9 | MP_CALCULATION_TYPE | smallint | MP Calculation Type | |
| 10 | MP_AWARD_TYPE | smallint | MP Award Type | |
| 11 | MP_AWARD_WAREHOUSE | varchar(2) | Award Warehouse | |
| 12 | MP_AWARD_PART_CODE | varchar(15) | Award Product | |
| 13 | MP_AWARD_UNIT | varchar(4) | Award Unit | |
| 14 | MP_AWARD_PRICE_QUANTITY | numeric(20,6) | ||
| 15 | MP_AWARD_PRODUCT_PRICE | numeric(20,4) | ||
| 16 | MP_AWARD_AMOUNT | numeric(20,2) | Award Amount | |
| 17 | MP_AWARD_UNIT_DISCOUNT | numeric(20,4) | Award Unit Discount | |
| 18 | MP_AWARD_PERCENT | numeric(10,2) | Award Percent | |
| 19 | MP_ON_INVOICE_DISCOUNT | numeric(20,2) | ||
| 20 | MP_OTHER_DISCOUNT | numeric(20,2) | ||
| 21 | MP_TOTAL_ON_INVOICE_DISCOUNT | numeric(20,2) | ||
| 22 | MP_TOTAL_ALL_DISCOUNT | numeric(20,2) | ||
| 23 | MP_PRICE_LESS_ON_INVOICE | numeric(20,4) | ||
| 24 | MP_PRICE_LESS_TOTAL | numeric(20,4) | ||
| 25 | MP_DISCOUNT_REDEEM_METHOD | smallint | MP Discount Redemption Method | |
| 26 | DOCUMENT_NUMBER | varchar(13) | Originating Document Number | |
| 27 | MP_AGREEMENT_SEQUENCE | smallint | ||
| 28 | MP_DISCOUNT_REDEEMED | smallint | Discount redeemed with transaction | |
| 29 | MP_AWARD_QUANTITY | numeric(20,6) | Award Quantity | |
| 30 | GEM_ARCHIVE_FLAG | varchar(20) | System flag indicating whether the row has been archived by the GEMBASE archive process. |