VCHRHDR_STG_HS(SQL Table) |
Index Back |
---|---|
EC Voucher HeaderVoucher Header Staging Record |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PSARCH_ID | Character(8) | VARCHAR2(8) NOT NULL | Archive ID (see PSARCHTEMPLATE). |
2 | PSARCH_BATCHNUM | Number(30,0) | DECIMAL(30) NOT NULL | Archive Batch Number |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BUS_UNIT_TBL_AP |
4 | VCHR_BLD_KEY_C1 | Character(25) | VARCHAR2(25) NOT NULL | Voucher Build Key Char 1 |
5 | VCHR_BLD_KEY_C2 | Character(25) | VARCHAR2(25) NOT NULL | Voucher Build Key Char 1 |
6 | VCHR_BLD_KEY_N1 | Number(10,0) | DECIMAL(10) NOT NULL | Voucher Build Key Num 1 |
7 | VCHR_BLD_KEY_N2 | Number(10,0) | DECIMAL(10) NOT NULL | Vchr Build Key Num 2 |
8 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
9 | LEASE_PYMNT_DT | Date(10) | DATE | Lease Payment Date |
10 | 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 |
11 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
12 | INVOICE_DT | Date(10) | DATE | Invoice Date |
13 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
14 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
15 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
16 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
17 | GRP_AP_ID | Character(10) | VARCHAR2(10) NOT NULL | Control Group ID |
18 | ORIGIN | Character(3) | VARCHAR2(3) NOT NULL | Origin |
19 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
20 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
21 | POST_VOUCHER | Character(1) | VARCHAR2(1) NOT NULL |
Post Voucher Now
D=Post Later N=Do Not Post P=Post Immediately |
22 | DST_CNTRL_ID | Character(10) | VARCHAR2(10) NOT NULL | Accounting Template |
23 | VOUCHER_ID_RELATED | Character(8) | VARCHAR2(8) NOT NULL | Related Voucher |
24 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
25 | DSCNT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Discount Amount |
26 | TAX_EXEMPT | Character(1) | VARCHAR2(1) NOT NULL | Tax Exempt Flag |
27 | SALETX_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Sales Tax Amount |
28 | FREIGHT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Freight Amount |
29 | MISC_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Misc. Amount |
30 | 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. |
31 | ENTERED_DT | Date(10) | DATE | Entered on |
32 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
33 | 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. |
34 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
35 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |
36 | VAT_ENTRD_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Entered VAT Amount |
37 | MATCH_ACTION | Character(1) | VARCHAR2(1) NOT NULL |
Match Action
N=No Match Y=Standard |
38 | CUR_RT_SOURCE | Character(1) | VARCHAR2(1) NOT NULL |
Exchange Rate Source
T=Use Exchange Rate Tables U=User Specified |
39 | DSCNT_AMT_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Discount Amount Control
T=Controlled by Payment Terms U=User Specified |
40 | DUE_DT_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Due Date Control
T=Controlled by Terms U=User Specified |
41 | 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 |
42 | BUSPROCNAME | Character(30) | VARCHAR2(30) NOT NULL | Business Process Name (see PSBUSPROCDEFN). |
43 | APPR_RULE_SET | Character(30) | VARCHAR2(30) NOT NULL | Approval Rule Set |
44 | 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 |
45 | 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 |
46 | 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 |
47 | 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. |
48 | VAT_CALC_FRGHT_FLG | Character(1) | VARCHAR2(1) NOT NULL | Include Freight |
49 | VAT_TREATMENT_GRP | Character(4) | VARCHAR2(4) NOT NULL | VAT Treatment Group |
50 | COUNTRY_SHIP_FROM | Character(3) | VARCHAR2(3) NOT NULL | Specifies the country from which the invoice contents were shipped (for VAT processing only). |
51 | STATE_SHIP_FROM | Character(6) | VARCHAR2(6) NOT NULL | Ship From State |
52 | COUNTRY_SHIP_TO | Character(3) | VARCHAR2(3) NOT NULL | Specifies the country to which the invoice contents were shipped (for VAT processing only). |
53 | STATE_SHIP_TO | Character(6) | VARCHAR2(6) NOT NULL | Ship To State |
54 | COUNTRY_VAT_BILLFR | Character(3) | VARCHAR2(3) NOT NULL | Specifies the country where an invoice is generated (for VAT processing only). |
55 | COUNTRY_VAT_BILLTO | Character(3) | VARCHAR2(3) NOT NULL | Specifies the country where an invoice is sent (for VAT processing only). |
56 | 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. |
57 | 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 |
58 | COUNTRY_LOC_SELLER | Character(3) | VARCHAR2(3) NOT NULL | Seller's Location Country - May be either the VAT Entity or the Trading Partner |
59 | STATE_LOC_SELLER | Character(6) | VARCHAR2(6) NOT NULL | Seller's Location State - May be either the VAT Entity or the Trading Partner |
60 | COUNTRY_LOC_BUYER | Character(3) | VARCHAR2(3) NOT NULL | Buyer's Location Country - May be either the VAT Entity or the Trading Partner |
61 | STATE_LOC_BUYER | Character(6) | VARCHAR2(6) NOT NULL | Buyer's Location State - May be either the VAT Entity or the Trading Partner |
62 | COUNTRY_VAT_SUPPLY | Character(3) | VARCHAR2(3) NOT NULL | VAT Place of Supply Country |
63 | STATE_VAT_SUPPLY | Character(6) | VARCHAR2(6) NOT NULL | VAT Place of Supply State |
64 | COUNTRY_VAT_PERFRM | Character(3) | VARCHAR2(3) NOT NULL | Country Where Service Physically Performed |
65 | STATE_VAT_PERFRM | Character(6) | VARCHAR2(6) NOT NULL | State Where Service Physically Performed |
66 | STATE_VAT_DEFAULT | Character(6) | VARCHAR2(6) NOT NULL | VAT Defaulting State |
67 | PREPAID_REF | Character(10) | VARCHAR2(10) NOT NULL | Prepayment Reference |
68 | PREPAID_AUTO_APPLY | Character(1) | VARCHAR2(1) NOT NULL | Automatically Apply Prepayment |
69 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
70 | EIN_FEDERAL | Character(9) | VARCHAR2(9) NOT NULL | EIN Federal |
71 | EIN_STATE_LOCAL | Character(20) | VARCHAR2(20) NOT NULL | EIN State Local |
72 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
73 | IN_PROCESS_FLG | Character(1) | VARCHAR2(1) NOT NULL | In process flag |
74 | BUSINESS_UNIT_PO | Character(5) | VARCHAR2(5) NOT NULL | PO Business Unit |
75 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
76 | PACKSLIP_NO | Character(22) | VARCHAR2(22) NOT NULL | Packing Slip Number |
77 | 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 |
78 | VAT_CALC_MISC_FLG | Character(1) | VARCHAR2(1) NOT NULL | Include Miscellaneous |
79 | IMAGE_REF_ID | Character(12) | VARCHAR2(12) NOT NULL | Image Reference ID |
80 | IMAGE_DATE | Date(10) | DATE | Image Date |
81 | PAY_SCHEDULE_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Pay Schedule Type
MAN=Manual OTH=Other Non Transportation TRN=Transportation |
82 | TAX_GRP | Character(4) | VARCHAR2(4) NOT NULL | Tax Group Code |
83 | TAX_PYMNT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Tax Payment Type Code |
84 | INSPECT_DT | Date(10) | DATE | Inspection Date |
85 | INV_RECPT_DT | Date(10) | DATE | Invoice Receipt Date |
86 | RECEIPT_DT | Date(10) | DATE | Received Date |
87 | BILL_OF_LADING | Character(30) | VARCHAR2(30) NOT NULL | Specifies a bill of lading number associated with a Receivables item. |
88 | CARRIER_ID | Character(10) | VARCHAR2(10) NOT NULL | Carrier ID |
89 | 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. |
90 | DSCNT_DUE_DT | Date(10) | DATE | Discount Due Date |
91 | DSCNT_PRORATE_FLG | Character(1) | VARCHAR2(1) NOT NULL | Prorate Discount |
92 | 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. |
93 | 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. |
94 | 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) |
95 | FRGHT_CHARGE_CODE | Character(10) | VARCHAR2(10) NOT NULL | 10/8/98 ebn CN#CM800-2.0 : Added for Landed Cost Enhancement |
96 | LC_ID | Character(12) | VARCHAR2(12) NOT NULL | Treasury Letter of Credit Number Assigned by the System |
97 | MISC_CHARGE_CODE | Character(10) | VARCHAR2(10) NOT NULL | 10/8/98 ebn CN#CM800-2.0 : Added for Landed Cost Enhancement |
98 | REMIT_ADDR_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Remitting Location |
99 | SALETX_CHARGE_CODE | Character(10) | VARCHAR2(10) NOT NULL | 10/8/98 ebn CN#CM800-2.0 : Added for Landed Cost Enhancement |
100 | VCHR_BLD_CODE | Character(6) | VARCHAR2(6) NOT NULL | Voucher Build Code |
101 | BUSINESS_UNIT_AR | Character(5) | VARCHAR2(5) NOT NULL | AR Business Unit |
102 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |
103 | ITEM | Character(30) | VARCHAR2(30) NOT NULL | Uniquely identifies an invoice credit memo or debit memo. The item ID is also called the invoice number. |
104 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |
105 | ERS_INV_SEQ | Number(5,0) | INTEGER NOT NULL | ERS Invoice Sequence |
106 | LS_KEY | Number(15,0) | DECIMAL(15) NOT NULL | Lease Key, Unique Key |
107 | VCHR_SRC | Character(4) | VARCHAR2(4) NOT NULL | Voucher Source |
108 | 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 |
109 | TERMS_BASIS_DT | Date(10) | DATE | Payment Terms Basis Date |
110 | BUSINESS_UNIT_AM | Character(5) | VARCHAR2(5) NOT NULL | AM Business Unit |
111 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
112 | LEASE_ID | Character(30) | VARCHAR2(30) NOT NULL | Lease ID |
113 | CLAIM_NO | Character(30) | VARCHAR2(30) NOT NULL | Claim Number for an item |
114 | POLICY_NUM | Character(30) | VARCHAR2(30) NOT NULL | Policy Information |
115 | ENDORSER_PARTY | Character(40) | VARCHAR2(40) NOT NULL | Endorser Party |
116 | BUSINESS_UNIT_BI | Character(5) | VARCHAR2(5) NOT NULL | Billing Business Unit |
117 | BI_INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Billing Invoice number |
118 | USER_VCHR_CHAR1 | Character(1) | VARCHAR2(1) NOT NULL | User Character Field |
119 | USER_VCHR_CHAR2 | Character(1) | VARCHAR2(1) NOT NULL | User Character Field 2 |
120 | USER_VCHR_DEC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | User Amount Field |
121 | USER_VCHR_DATE | Date(10) | DATE | User Date |
122 | USER_VCHR_NUM1 | Number(3,0) | SMALLINT NOT NULL | User Number field |
123 | USER_HDR_CHAR1 | Character(1) | VARCHAR2(1) NOT NULL | Custom Character 1 |
124 | CUSTOM_C100_A1 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 1 |
125 | CUSTOM_C100_A2 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 2 |
126 | CUSTOM_C100_A3 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 3 |
127 | CUSTOM_C100_A4 | Character(100) | VARCHAR2(100) NOT NULL | Custom Field 4 |
128 | CUSTOM_DATE_A | Date(10) | DATE | Custom Date |
129 | CUSTOM_C1_A | Character(1) | VARCHAR2(1) NOT NULL | Custom Character 2 |
130 | VAT_NRCVR_CHRG_CD | Character(10) | VARCHAR2(10) NOT NULL | ProrateVAT Non-Recovery |
131 | VAT_CF_ANLSYS_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
VAT Chartfield Analysis
E=Use Expense Line Chartfields N=Not Applicable V=Use VAT Accounting Chartfields |
132 | INVOICE_RCPT_DT | Date(10) | DATE | InvoiceRecptDate |