TP_LINE_DISCOUNTS_VT
Current Line's Discounts
tablevirtualFINTPsince 5.9
TP_LINE_DISCOUNTS_VT — Current Line's Discounts. FIN virtual table in the standard Ross ERP 8.0 and 8.1 schema: 24 columns, used by 14 programs. Its fields, data types, and the programs and web services that fill it.
Open TP_LINE_DISCOUNTS_VT in the interactive Data Dictionary →Part of TP 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 | COMPANY_CODE | varchar(10) | Company Code | |
| 2 | DESCRIPTION | varchar(30) | Description | |
| 3 | PART_CODE | varchar(15) | Product | |
| 4 | TP_APPLY_DISCOUNT | varchar(1) | ||
| 5 | TP_BOOK_ONLY_IND | smallint | Book Only Discount Indicator (added in 6.2) | |
| 6 | TP_CALCULATION_BASIS | smallint | Calculation basis | |
| 7 | TP_CALCULATION_TYPE | smallint | Discount calculation type | |
| 8 | TP_DISCOUNT_AMOUNT | numeric(20,4) | Discount Amount | |
| 9 | TP_DISCOUNT_TYPE | smallint | Discount return type | |
| 10 | TP_DISCOUNT_VALUE | numeric(20,2) | Discount value | |
| 11 | TP_MANDATORY_DISCOUNT | smallint | Mandatory Discount | |
| 12 | TP_MAX_DISCOUNT_AMOUNT | numeric(20,4) | Maximum discount amount | |
| 13 | TP_MIN_DISCOUNT_AMOUNT | numeric(20,4) | Minimum discount amount | |
| 14 | TP_ORIGINAL_DISCOUNT | numeric(20,4) | Discount Amount | |
| 15 | TP_PER_UNIT_CAP_UOM | varchar(4) | Unit of Measure (Sales) | |
| 16 | TP_PER_UNIT_DISCOUNT_CAP | numeric(20,4) | Per Unit Discount Capacity | |
| 17 | TP_PLATEAU_UOM_TYPE | smallint | Plateau Unit Type | |
| 18 | TP_PROMOTION_CODE | varchar(10) | Promotion Code | |
| 19 | TP_SEQUENCE_NUMBER | smallint | Sequence Number | |
| 20 | TP_STATUS | varchar(1) | Status of the discount line (added in 6.2) | |
| 21 | TP_SUBSTITUTE_FOR | varchar(10) | Promotion Code (added in 6.2) | |
| 22 | TP_VALUE_TYPE | smallint | Discount value type | |
| 23 | TP_WITHIN_GRACE | varchar(1) | Within grace period | |
| 24 | UNIT_SALES | varchar(4) | Unit of Measure (Sales) |