SO_LINES_DISCOUNTS
Virtual table for sales lines update related MP discounts.
tablevirtualFINSOsince 5.1
SO_LINES_DISCOUNTS — Virtual table for sales lines update related MP discounts.. FIN virtual table in the standard Ross ERP 8.0 and 8.1 schema: 28 columns, used by 2 programs. Its fields, data types, and the programs and web services that fill it.
Open SO_LINES_DISCOUNTS in the interactive Data Dictionary →Part of Other tables & objects · all tables, views & procedures
A GEMBASE virtual table: a record layout programs fill in memory. Ross ERP creates no SQL table for it.
Columns
| # | Column | Type | Key | Description |
|---|---|---|---|---|
| 1 | DOCUMENT_NUMBER | varchar(13) | Originating Document Number | |
| 2 | MP_AGREEMENT_SEQUENCE | smallint | Sequence Number | |
| 3 | MP_APPLICATION_SEQUENCE | smallint | Discount calculated and applied in this order | |
| 4 | MP_AWARD_AMOUNT | numeric(20,2) | Award Amount | |
| 5 | MP_AWARD_MANDATORY | varchar(1) | Award Mandatory | |
| 6 | MP_AWARD_PART_CODE | varchar(15) | Award Product | |
| 7 | MP_AWARD_PERCENT | numeric(10,2) | Award Percent | |
| 8 | MP_AWARD_PRICE_QUANTITY | numeric(20,6) | Award Quantity | |
| 9 | MP_AWARD_PRODUCT_PRICE | numeric(20,4) | Standard Sales Price | |
| 10 | MP_AWARD_QUANTITY | numeric(20,6) | Award Quantity (added in 5.7) | |
| 11 | MP_AWARD_TYPE | smallint | MP Award Type | |
| 12 | MP_AWARD_UNIT | varchar(4) | Award Unit | |
| 13 | MP_AWARD_UNIT_DISCOUNT | numeric(20,4) | Award Unit Discount | |
| 14 | MP_AWARD_WAREHOUSE | varchar(2) | Award Warehouse | |
| 15 | MP_CALCULATE_ON_SEQUENCE | smallint | Discount calculated on result the specified sequence | |
| 16 | MP_CALCULATION_LINE_TYPE | smallint | MP calculation Line Type | |
| 17 | MP_CALCULATION_TYPE | smallint | MP Calculation Type | |
| 18 | MP_CHILD_ORDER_LINE_NUMBER | int | Order Line Number | |
| 19 | MP_DISCOUNT_REDEEM_METHOD | smallint | MP Discount Redemption Method | |
| 20 | MP_ON_INVOICE_DISCOUNT | numeric(20,2) | Line Discount | |
| 21 | MP_OTHER_DISCOUNT | numeric(20,2) | Line Discount | |
| 22 | MP_PRICE_LESS_ON_INVOICE | numeric(20,4) | Standard Sales Price | |
| 23 | MP_PRICE_LESS_TOTAL | numeric(20,4) | Standard Sales Price | |
| 24 | MP_PROMOTION_ENFORCEABILITY | smallint | MP Promotion Enforceability | |
| 25 | MP_TOTAL_ALL_DISCOUNT | numeric(20,2) | Line Discount | |
| 26 | MP_TOTAL_ON_INVOICE_DISCOUNT | numeric(20,2) | Line Discount | |
| 27 | ORDER_LINE_NUMBER | int | Order Line Number | |
| 28 | SYS_STATUS_FLAG | smallint | Status Flag |