TP_ORDER_LINE_DISCOUNTS

Sales Order Line Discounts

tableFINTP

TP_ORDER_LINE_DISCOUNTS — Sales Order 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_ORDER_LINE_DISCOUNTS in the interactive Data Dictionary →

Part of TP 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.
2COMPANY_CODEvarchar(10)PKCompany Code
3DIVISIONvarchar(2)PKDivision
4ORDER_NUMBERvarchar(9)PKOrder Number
5ORDER_LINE_NUMBERintPKOrder Line Number
6TP_PROMOTION_CODEvarchar(10)PKPromotion Code
7TP_SEQUENCE_NUMBERsmallintTrading-partner sequence number for an EDI/interface record.
8TP_DISCOUNT_TYPEsmallintDiscount return type
9TP_DISCOUNT_VALUEnumeric(20,2)Discount value
10TP_DISCOUNT_AMOUNTnumeric(20,4)Discount Amount
11TP_DISCOUNT_PERCENTnumeric(10,4)Discount percent
12TP_APPLY_DISCOUNTvarchar(1)
13TP_WITHIN_GRACEvarchar(1)Within grace period
14TP_BOOK_ONLY_INDsmallintBook Only Discount Indicator
15TP_STATUSvarchar(1)Status of the discount line
16GEM_MODIFY_DATEdatetimeSystem timestamp of the most recent modification to the row, maintained by GEMBASE.
17GEM_ARCHIVE_FLAGvarchar(20)System flag indicating whether the row has been archived by the GEMBASE archive process.