VCHR_HDR_AIA

(SQL Table)
Index Back

EC Voucher Header

Voucher Header Staging Record

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: BUS_UNIT_TBL_AP

2 AP_VCHR_AIA_GUID Character(36) VARCHAR2(36) NOT NULL Voucher GUID from AIA
3 AP_RETL_DOC_ID Character(25) VARCHAR2(25) NOT NULL Retail Document Id
4 VOUCHER_STYLE Character(4) VARCHAR2(4) NOT NULL Voucher Style
ADJ=Adjustments
AMR=Amortization Voucher
CLBK=Claim Voucher
CORR=Reversal Voucher
JRNL=Journal Voucher
PPAY=Prepaid Voucher
REG=Regular Voucher
RGTR=Register Voucher
SGLP=Single Payment Voucher
THRD=Third Party Voucher
TMPL=Template Voucher
5 INVOICE_ID Character(30) VARCHAR2(30) NOT NULL Invoice Number
6 INVOICE_DT Date(10) DATE Invoice Date
7 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
8 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
9 AP_VNDR_PSFT_GUID Character(36) VARCHAR2(36) NOT NULL Vendor GUID from AIA
10 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
11 AP_VNLC_PSFT_GUID Character(36) VARCHAR2(36) NOT NULL Vendor Location GUID from AIA
12 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
13 GRP_AP_ID Character(10) VARCHAR2(10) NOT NULL Control Group ID
14 ORIGIN Character(3) VARCHAR2(3) NOT NULL Origin
15 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
16 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
17 POST_VOUCHER Character(1) VARCHAR2(1) NOT NULL Post Voucher Now
D=Post Later
N=Do Not Post
P=Post Immediately
18 DST_CNTRL_ID Character(10) VARCHAR2(10) NOT NULL Accounting Template
19 VOUCHER_ID_RELATED Character(8) VARCHAR2(8) NOT NULL Related Voucher
20 GROSS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Gross Invoice Amount
21 DSCNT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Discount Amount
22 TAX_EXEMPT Character(1) VARCHAR2(1) NOT NULL Tax Exempt Flag
23 SALETX_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Sales Tax Amount
24 FREIGHT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Freight Amount
25 MISC_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Misc. Amount
26 AP_PYTR_PSFT_GUID Character(36) VARCHAR2(36) NOT NULL GUID Common Identifier for Payment Terms
27 PYMNT_TERMS_CD Character(5) VARCHAR2(5) NOT NULL Specifies how the payment due date and discount due date are calculated. A payment terms code is associated with various business units bill-to customers vendors as well as sales orders purchase orders and vouchers.
28 ENTERED_DT Date(10) DATE Entered on
29 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
30 RT_TYPE Character(5) VARCHAR2(5) NOT NULL Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical.
31 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
32 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor
33 VAT_ENTRD_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Entered VAT Amount
34 MATCH_ACTION Character(1) VARCHAR2(1) NOT NULL Match Action
N=No Match
Y=Standard
35 CUR_RT_SOURCE Character(1) VARCHAR2(1) NOT NULL Exchange Rate Source
T=Use Exchange Rate Tables
U=User Specified
36 DSCNT_AMT_FLG Character(1) VARCHAR2(1) NOT NULL Discount Amount Control
T=Controlled by Payment Terms
U=User Specified
37 DUE_DT_FLG Character(1) VARCHAR2(1) NOT NULL Due Date Control
T=Controlled by Terms
U=User Specified
38 VCHR_APPRVL_FLG Character(1) VARCHAR2(1) NOT NULL Voucher Approval Flag
D=Default from Higher Level
P=Pre-Approved
S=Virtual Approver
W=Approval Framework
39 BUSPROCNAME Character(30) VARCHAR2(30) NOT NULL Business Process Name (see PSBUSPROCDEFN).
40 APPR_RULE_SET Character(30) VARCHAR2(30) NOT NULL Approval Rule Set
41 VAT_DCLRTN_POINT Character(1) VARCHAR2(1) NOT NULL A flag that specifies when VAT information for sales or purchase transaction is recognized for reporting to the appropriate VAT authority. VAT is declared at invoice time, delivery time, accounting date or the time of payment.
A=At Accounting Date
D=At Delivery Time
I=At Invoice Time
P=At Payment Time
42 VAT_CALC_TYPE Character(1) VARCHAR2(1) NOT NULL "A flag that indicates how VAT is stated and determines how the system performs the relevant VAT calculations. If ""Exclusive"", the VAT amount is stated separately from the merchandise amount. If ""Inclusive"", the VAT is not stated separately but is included with the merchandise amount."
E=Exclusive
I=Inclusive
43 VAT_CALC_GROSS_NET Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether VAT calculation should be done on the Gross (G) amount or on the Net (N) amount of sales or purchase transaction. When calculating VAT at net the early payment discount is applied to the goods amount before calculating the VAT. When calculating VAT at gross the VAT is initially calculated based on the gross transaction amount.
G=Calculate at Gross
N=Calculate at Net
44 VAT_RECALC_FLG Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not the VAT discount amount is recalculated at payment time. This field is only used if the VAT Calculation Type (VAT_CAL_GROSS_NET) is gross.
45 VAT_CALC_FRGHT_FLG Character(1) VARCHAR2(1) NOT NULL Include Freight
46 VAT_TREATMENT_GRP Character(4) VARCHAR2(4) NOT NULL VAT Treatment Group
47 COUNTRY_SHIP_FROM Character(3) VARCHAR2(3) NOT NULL Specifies the country from which the invoice contents were shipped (for VAT processing only).
48 STATE_SHIP_FROM Character(6) VARCHAR2(6) NOT NULL Ship From State
49 COUNTRY_SHIP_TO Character(3) VARCHAR2(3) NOT NULL Specifies the country to which the invoice contents were shipped (for VAT processing only).
50 STATE_SHIP_TO Character(6) VARCHAR2(6) NOT NULL Ship To State
51 COUNTRY_VAT_BILLFR Character(3) VARCHAR2(3) NOT NULL Specifies the country where an invoice is generated (for VAT processing only).
52 COUNTRY_VAT_BILLTO Character(3) VARCHAR2(3) NOT NULL Specifies the country where an invoice is sent (for VAT processing only).
53 VAT_EXCPTN_CERTIF Character(20) VARCHAR2(20) NOT NULL Specifies the VAT exception certificate number. This identifier serves as proof of customer's exemption from VAT.
54 VAT_ROUND_RULE Character(1) VARCHAR2(1) NOT NULL " Rounding rule to be applied to VAT calculations. Options are 'Natural'
D=Round Down
N=Natural Round
U=Round Up
55 COUNTRY_LOC_SELLER Character(3) VARCHAR2(3) NOT NULL Seller's Location Country - May be either the VAT Entity or the Trading Partner
56 STATE_LOC_SELLER Character(6) VARCHAR2(6) NOT NULL Seller's Location State - May be either the VAT Entity or the Trading Partner
57 COUNTRY_LOC_BUYER Character(3) VARCHAR2(3) NOT NULL Buyer's Location Country - May be either the VAT Entity or the Trading Partner
58 STATE_LOC_BUYER Character(6) VARCHAR2(6) NOT NULL Buyer's Location State - May be either the VAT Entity or the Trading Partner
59 COUNTRY_VAT_SUPPLY Character(3) VARCHAR2(3) NOT NULL VAT Place of Supply Country
60 STATE_VAT_SUPPLY Character(6) VARCHAR2(6) NOT NULL VAT Place of Supply State
61 COUNTRY_VAT_PERFRM Character(3) VARCHAR2(3) NOT NULL Country Where Service Physically Performed
62 STATE_VAT_PERFRM Character(6) VARCHAR2(6) NOT NULL State Where Service Physically Performed
63 STATE_VAT_DEFAULT Character(6) VARCHAR2(6) NOT NULL VAT Defaulting State
64 PREPAID_REF Character(10) VARCHAR2(10) NOT NULL Prepayment Reference
65 PREPAID_AUTO_APPLY Character(1) VARCHAR2(1) NOT NULL Automatically Apply Prepayment
66 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
67 EIN_FEDERAL Character(9) VARCHAR2(9) NOT NULL EIN Federal
68 EIN_STATE_LOCAL Character(20) VARCHAR2(20) NOT NULL EIN State Local
69 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
70 IN_PROCESS_FLG Character(1) VARCHAR2(1) NOT NULL In process flag
71 BUSINESS_UNIT_PO Character(5) VARCHAR2(5) NOT NULL PO Business Unit
72 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
73 PACKSLIP_NO Character(22) VARCHAR2(22) NOT NULL Packing Slip Number
74 PAY_TRM_BSE_DT_OPT Character(1) VARCHAR2(1) NOT NULL Payment Terms Basis Date Type
A=Acct Date
C=Doc Date
I=Inv Date
R=Recpt Date
S=Ship Date
U=User Date
75 VAT_CALC_MISC_FLG Character(1) VARCHAR2(1) NOT NULL Include Miscellaneous
76 IMAGE_REF_ID Character(12) VARCHAR2(12) NOT NULL Image Reference ID
77 IMAGE_DATE Date(10) DATE Image Date
78 PAY_SCHEDULE_TYPE Character(3) VARCHAR2(3) NOT NULL Pay Schedule Type
MAN=Manual
OTH=Other Non Transportation
TRN=Transportation
79 TAX_GRP Character(4) VARCHAR2(4) NOT NULL Tax Group Code
80 TAX_PYMNT_TYPE Character(5) VARCHAR2(5) NOT NULL Tax Payment Type Code
81 INSPECT_DT Date(10) DATE Inspection Date
82 INV_RECPT_DT Date(10) DATE Invoice Receipt Date
83 RECEIPT_DT Date(10) DATE Received Date
84 BILL_OF_LADING Character(30) VARCHAR2(30) NOT NULL Specifies a bill of lading number associated with a Receivables item.
85 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID
86 DOC_TYPE Character(8) VARCHAR2(8) NOT NULL Specifies the business purpose of a financial transaction in countries that require all financial transactions to be tracked as "documents". A Document Type is associated with one and only one Journal Code.
87 DSCNT_DUE_DT Date(10) DATE Discount Due Date
88 DSCNT_PRORATE_FLG Character(1) VARCHAR2(1) NOT NULL Prorate Discount
89 DUE_DT Date(10) DATE Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received.
90 ECQUEUEINSTANCE Number(9,0) DECIMAL(9) NOT NULL Electronic Commerce Queue Instance ID. Used in EDI Manager. One of three(3) Key Fields(ECTRANSID, ECTRANSINOUTSW, ECQUEUEINSTANCE) used in Electronic Commerce(EC) Staging Tables.
91 ECTRANSID Character(15) VARCHAR2(15) NOT NULL Electronic Commerce Transaction ID. Used in EDI Manager. One of three(3) Key Fields(ECTRANSID, ECTRANSINOUTSW, ECQUEUEINSTANCE) used in Electronic Commerce(EC) Staging Tables. ECTRANSID in EDI Manager identifies a transaction type(like "PO" for Purchase Orders)
92 FRGHT_CHARGE_CODE Character(10) VARCHAR2(10) NOT NULL 10/8/98 ebn CN#CM800-2.0 : Added for Landed Cost Enhancement
93 LC_ID Character(12) VARCHAR2(12) NOT NULL Treasury Letter of Credit Number Assigned by the System
94 MISC_CHARGE_CODE Character(10) VARCHAR2(10) NOT NULL 10/8/98 ebn CN#CM800-2.0 : Added for Landed Cost Enhancement
95 REMIT_ADDR_SEQ_NUM Number(5,0) INTEGER NOT NULL Remitting Location
96 SALETX_CHARGE_CODE Character(10) VARCHAR2(10) NOT NULL 10/8/98 ebn CN#CM800-2.0 : Added for Landed Cost Enhancement
97 VCHR_BLD_CODE Character(6) VARCHAR2(6) NOT NULL Voucher Build Code
98 VCHR_SRC Character(4) VARCHAR2(4) NOT NULL Voucher Source
99 VAT_EXCPTN_TYPE Character(1) VARCHAR2(1) NOT NULL A flag that specifies the reason for a VAT exemption for a customer. Suspension (S) and Exoneration (X) are examples of Exception Type.
N=None
S=Suspended
X=Exonerated
100 TERMS_BASIS_DT Date(10) DATE Payment Terms Basis Date