TP_POST_INVOICE_DISCS_VT

VT to store Post Invoice Discounts

tablevirtualFINTPsince 5.9

TP_POST_INVOICE_DISCS_VT — VT to store Post Invoice Discounts. FIN virtual table in the standard Ross ERP 8.0 and 8.1 schema: 41 columns, used by 3 programs. Its fields, data types, and the programs and web services that fill it.

Open TP_POST_INVOICE_DISCS_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

#ColumnTypeKeyDescription
1AP_DIVISIONvarchar(2)Division
2AR_CUSTOMERvarchar(8)Customer Number (added in 7.0)
3AR_DIVISIONvarchar(2)Division (added in 7.0)
4AR_INVOICE_ADDRESSvarchar(10)Invoice Address Code (added in 7.0)
5AR_PAYMENT_CUSTOMERvarchar(8)Customer Number
6BROKER_CODEvarchar(10)Broker Code
7COMPANY_CODEvarchar(10)Company Code
8COST_CENTERvarchar(3)Cost Center Code
9CUSTOMER_NUMBERvarchar(8)Customer Number
10DIVISIONvarchar(2)Division
11INVOICE_ADDRESS_CODEvarchar(10)Invoice Address Code
12PART_CODEvarchar(15)Product
13PAYEE_NUMBERvarchar(12)Payee Number (or ID)
14SALESPERSON_CODEvarchar(8)Salesperson Code
15SEQUENCEsmallintSequence Number
16SYS_CURRENCY_CODEvarchar(6)Currency Code
17TP_ACCRUAL_ACCOUNTvarchar(50)Accrual account for promotion discounts
18TP_ACCRUAL_SHORT_CODEvarchar(6)Accrual short code for promotion discounts
19TP_APPROVED_FLAGsmallintApproved Flag
20TP_APPROVE_NOWsmallintApprove Now Indicator
21TP_AR_OR_APsmallintPost invoice discount destination (AR/AP)
22TP_AUTO_APPROVEsmallintAllow Auto Approval
23TP_BASE_VALUE_TO_UPDATEnumeric(20,2)Value to Update in Base Currency
24TP_EXPENSE_ACCOUNTvarchar(50)Expense account for promotion discounts
25TP_EXPENSE_SHORT_CODEvarchar(6)Expense short code for promotion discounts
26TP_GL_ALLOCATION_PERCENTnumeric(10,2)Allocation Percent
27TP_INITIAL_VALUEnumeric(20,2)Value to Approve (added in 6.2)
28TP_LINE_VALUE_TO_UPDATEnumeric(20,2)Value to Update for the Line
29TP_PAYMENT_PERCENTAGEnumeric(10,4)Payment percentage
30TP_PAYMENT_TOLERANCEnumeric(10,2)Payment Tolerance Percent
31TP_PROGRAM_IDvarchar(10)Program Id
32TP_PROMOTION_CODEvarchar(10)Promotion Code
33TP_TRANS_DISCOUNT_VALUEnumeric(20,2)Discount value
34TP_VALUE_TO_APPROVEnumeric(20,2)Value to Approve
35TP_VALUE_TO_BE_PAIDnumeric(20,2)Value to be Paid to AR/AP
36TP_VALUE_TO_UPDATEnumeric(20,2)Value to Update
37TRANSACTION_DATEdatetimeTransaction Date
38TRANSACTION_LINE_NUMBERintTransaction line number used for tax reporting purposes
39TRANSACTION_NUMBERintTransaction Number
40TRANSACTION_TYPEvarchar(2)Transaction Type
41VENDOR_NUMBERvarchar(12)Supplier Number (or ID)

Programs that reference it · 1

tp_u_update_post_invoice

See TP_POST_INVOICE_DISCS_VT in the Knowledge Graph →