TP_INVOICE_LINE_DISCOUNTS
Invoice Line Discounts
tableFINTP
TP_INVOICE_LINE_DISCOUNTS — Invoice Line Discounts. FIN table in the standard Ross ERP 8.0 schema: 17 columns, used by 9 programs. Columns, data types, keys, foreign keys and relationships.
Open TP_INVOICE_LINE_DISCOUNTS in the interactive Data Dictionary →Part of TP 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 | TP_PROMOTION_CODE | varchar(10) | PK | Promotion Code |
| 7 | TP_DISCOUNT_TYPE | smallint | Discount return type | |
| 8 | TP_DISCOUNT_VALUE | numeric(20,2) | Discount value | |
| 9 | TP_APPLY_DISCOUNT | varchar(1) | ||
| 10 | TP_SEQUENCE_NUMBER | smallint | Trading-partner sequence number for an EDI/interface record. | |
| 11 | TP_DISCOUNT_AMOUNT | numeric(20,4) | Discount Amount | |
| 12 | TP_DISCOUNT_PERCENT | numeric(10,4) | Discount percent | |
| 13 | TP_WITHIN_GRACE | varchar(1) | Within grace period | |
| 14 | TP_STATUS | varchar(1) | Status of the discount line | |
| 15 | TP_BOOK_ONLY_IND | smallint | Book Only Discount Indicator | |
| 16 | GEM_MODIFY_DATE | datetime | System timestamp of the most recent modification to the row, maintained by GEMBASE. | |
| 17 | GEM_ARCHIVE_FLAG | varchar(20) | System flag indicating whether the row has been archived by the GEMBASE archive process. |