VCHR_DST_OK_VW1

(SQL View)
Index Back

Voucher Line Edit View


SELECT %subrec(VCHR_LN_SBR, a) , a.voucher_id_related FROM PS_VOUCHER_LINE a WHERE NOT EXISTS ( SELECT 'x' FROM ps_distrib_line b WHERE a.business_unit = b.business_unit AND a.voucher_id = b.voucher_id AND a.voucher_line_num = b.voucher_line_num AND b.error_flag = 'Y') AND error_flag = 'Y'

# 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_FS

2 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID

Prompt Table: VOUCHER

3 VOUCHER_LINE_NUM Number(5,0) INTEGER NOT NULL Voucher Line Number

Default Value: 1

4 TOTAL_DISTRIBS Number(5,0) INTEGER NOT NULL Total Number of Distributions
5 MAX_DISTRIB_LINE Number(5,0) INTEGER NOT NULL Highest Distribution Line
6 BUSINESS_UNIT_PO Character(5) VARCHAR2(5) NOT NULL PO Business Unit

Prompt Table: BUS_UNIT_PM_VW

7 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order

Prompt Table: %EDITTABLE14

8 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]

Prompt Table: %EDITTABLE15

9 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number

Prompt Table: %EDITTABLE16

10 DESCR Character(30) VARCHAR2(30) NOT NULL Description
11 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
12 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label
13 MERCH_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Base Merchandise Amount
14 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
15 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: %EDITTABLE13

16 QTY_VCHR Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity Vouchered
17 STATISTIC_AMOUNT Signed Number(17,2) DECIMAL(15,2) NOT NULL Specifies the amount associated with a statistical account on a journal line or a distribution line. It represents a quantity rather than a monetary amount and is qualified by the Unit of Measure associated with the STATISTICS_CODE or statistics ACCOUNT.
18 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage

Prompt Table: UNITS_TBL

19 UNIT_PRICE Signed Number(17,5) DECIMAL(15,5) NOT NULL Unit Price
20 FRGHT_PRORATE_FLG Character(1) VARCHAR2(1) NOT NULL Prorate Freight Charges

Y/N Table Edit

Default Value: Y

21 DSCNT_APPL_FLG Character(1) VARCHAR2(1) NOT NULL Apply Discount

Y/N Table Edit

Default Value: Y

22 ERROR_FLAG Character(1) VARCHAR2(1) NOT NULL Error Flag

Y/N Table Edit

Default Value: N

23 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
24 WTHD_SW Character(1) VARCHAR2(1) NOT NULL Withholding Applicable Flag
B=Global and 1099
G=Global
T=1099

Y/N Table Edit

Default Value: VENDOR.WTHD_SW

25 TAX_CD_VAT Character(8) VARCHAR2(8) NOT NULL Defines the VAT (Value Added Tax) percentage (via link to the Tax Authority) and is used to retrieve VAT accounting ChartFields. The VAT code determines how the VAT amount is calculated on a transaction and how that amount is accounted and reported for.

Prompt Table: VAT_HEADER_VW

26 VAT_RECOVERY_PCT Signed Number(7,2) DECIMAL(5,2) NOT NULL VAT Recovery Percent
27 FINAL_REF_IND Character(1) VARCHAR2(1) NOT NULL Final Reference Indicator

Y/N Table Edit

28 BUSINESS_UNIT_RECV Character(5) VARCHAR2(5) NOT NULL Receiving Business Unit

Prompt Table: BUS_UNIT_PM_VW

29 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number

Prompt Table: %EDITTABLE12

30 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line

Prompt Table: %EDITTABLE8

31 RECV_SHIP_SEQ_NBR Number(3,0) SMALLINT NOT NULL Receiver Shipping Sequence

Prompt Table: %EDITTABLE9

32 MATCH_LINE_OPT Character(1) VARCHAR2(1) NOT NULL Match Line Option
E=ERS
F=Full Match
N=Don't Match

Default Value: N

33 DISTRIB_MTHD_FLG Character(1) VARCHAR2(1) NOT NULL Distribute by
A=Amount
Q=Quantity

Default Value: A

34 VCHR_AMT_FORCE_FLG Character(1) VARCHAR2(1) NOT NULL Force Unit Price
35 AMT_ONLY_FLG Character(1) VARCHAR2(1) NOT NULL Amount Only
N=No
Y=Yes
36 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
37 BASE_CURRENCY Character(3) VARCHAR2(3) NOT NULL "Specifies the primary currency for a general ledger business unit, and is sometimes referred to as the ""book"" currency. Each business unit has one base currency. which is usually, but not always, the local currency for the organization. Journal entries are posted to a business unit in its base currency. "
38 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
39 VAT_TXN_TYPE_CD Character(4) VARCHAR2(4) NOT NULL Specifies a user-defined category of business transaction that is subject to VAT accounting and reporting. The VAT code and the VAT transaction type are used in conjunction with the VAT account type to obtain the ChartFields for accounting entries. Some examples of VAT Transaction Types are Exempt Sales Exempt Purchases Triangulation EU Sales and Domestic Sales.

Prompt Table: VAT_TXN_CD

40 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)
41 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.
42 ECTRANSINOUTSW Character(1) VARCHAR2(1) NOT NULL Electronic Commerce Inbound/Outbound Switch. Used in EDI Manager. One of three(3) Key Fields(ECTRANSID, ECTRANSINOUTSW, ECQUEUEINSTANCE) used in Electronic Commerce(EC) Staging Tables. The field value is "I" for Inbound Transactions, and "O" for Outbound.
I=Inbound
O=Outbound
43 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location

Prompt Table: SHIPTO_TBL

44 SUT_BASE_ID Character(10) VARCHAR2(10) NOT NULL Sales/Use Tax Destination

Prompt Table: SHIPTO_TBL

45 TAX_CD_SUT Character(8) VARCHAR2(8) NOT NULL Tax Code - Sales and Use Tax

Prompt Table: TAX_AUTHORITY

46 ULTIMATE_USE_CD Character(8) VARCHAR2(8) NOT NULL Ultimate Use Code
47 SUT_EXCPTN_TYPE Character(1) VARCHAR2(1) NOT NULL Sales/Use Tax Exception Type
D=Direct Pay
E=Exempt/Exonerated
N=None
48 SUT_EXCPTN_CERTIF Character(20) VARCHAR2(20) NOT NULL Sales/Use Tax Exception Certif
49 SUT_APPLICABILITY Character(1) VARCHAR2(1) NOT NULL Sales/Use Tax Applicability
D=Direct Pay
E=Item is Exempt
S=Sales Tax Applicable
U=Use Tax Applicable
X=Purchaser Is Exonerated
50 WTHD_SETID Character(5) VARCHAR2(5) NOT NULL Setid for the Withholding Code

Prompt Table: SP_SETID_NONVW

51 WTHD_CD Character(5) VARCHAR2(5) NOT NULL Withholding Code

Prompt Table: WTHD_CD_HDR

52 NATURE_OF_TXN1 Character(1) VARCHAR2(1) NOT NULL Nature of Transaction 1
53 NATURE_OF_TXN2 Character(1) VARCHAR2(1) NOT NULL Nature of Transaction 2
54 VAT_APPLICABILITY Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not a transaction is eligible for VAT (Value Added Tax) taxation or why it is not eligible.
E=Exempt
N=Not Applicable
O=Outside of Scope of VAT
S=Suspended
T=Taxable
V=VAT Only
X=Exonerated
55 VAT_USE_ID Character(6) VARCHAR2(6) NOT NULL VAT Use Type
56 VAT_ENTITY Character(20) VARCHAR2(20) NOT NULL Specifies an organizational entity that is responsible for VAT reporting and that is registered in one or more countries that require VAT reporting. A single VAT entity is linked to one or more General Ledger Business Units depending on the reporting requirements.
57 BUSINESS_UNIT_RTV Character(5) VARCHAR2(5) NOT NULL RTV Business Unit
58 RTV_ID Character(10) VARCHAR2(10) NOT NULL Return To Vendor ID
59 RTV_LN_NBR Number(5,0) INTEGER NOT NULL Return To Vendor Line
60 FISCAL_REGIME Character(6) VARCHAR2(6) NOT NULL Fiscal Regime
61 APPR_STATUS Character(1) VARCHAR2(1) NOT NULL Approval status flag used on appr_inst_log and derived records to track virtual approver status
A=Approved
D=Denied
P=Pending

Default Value: P

62 TAX_DSCNT_FLG Character(1) VARCHAR2(1) NOT NULL Include Discount

Default Value: N

63 TAX_FRGHT_FLG Character(1) VARCHAR2(1) NOT NULL Include Freight

Default Value: N

64 TAX_MISC_FLG Character(1) VARCHAR2(1) NOT NULL Include Misc Charges

Default Value: N

65 TAX_VAT_FLG Character(1) VARCHAR2(1) NOT NULL Include VAT
N=No
Y=Yes

Default Value: N

66 ORG_SETID Character(5) VARCHAR2(5) NOT NULL Organization SetID.
67 ORG_CODE Character(6) VARCHAR2(6) NOT NULL Organization Code. This will be unique to an Organization.
68 ORG_TAX_LOC_CD Character(10) VARCHAR2(10) NOT NULL Tax Location Code. An Organization can have multiple Tax Location Codes.
69 EXS_TAX_TXN_TYPE Character(4) VARCHAR2(4) NOT NULL Tax Transaction Type. This field will be used in the Tax determination and calculation of taxes.
DEB=Direct Export With Bond
DEWB=Direct Export Without Bond
DIMP=Direct Import
DOM=Domestic
LEB=Local Export With Bond
LEWB=Local Export Without Bond
LIMP=Local Import
70 EXS_SERV_TAX_FLG Character(1) VARCHAR2(1) NOT NULL Service Tax Indicator
N=Not Service Tax
Y=Service Tax
71 EXD_APPL_FLG Character(1) VARCHAR2(1) NOT NULL Excise Applicablity Flag. This field is used to indicate the applicability of Excise duty with respect to a vendor, customer, item or product. It will have Yes or No values.

Y/N Table Edit

72 EXD_TAX_RATE_CD Character(10) VARCHAR2(10) NOT NULL Excise Tax Calculation Code
73 EXD_TPRTNR_CATG_CD Character(10) VARCHAR2(10) NOT NULL Trading Partner Excise Cat
74 EXD_ITM_CATG_CD Character(10) VARCHAR2(10) NOT NULL Excise Item Category Code
75 EXD_TAX_ITEM_TYPE Character(4) VARCHAR2(4) NOT NULL Tax Item Type
C=Capital Goods
F=Finished Goods
R=Raw Material
S=Service
76 EXD_UOM Character(3) VARCHAR2(3) NOT NULL Excise Unit Of Measure
77 EXD_USE_AV_FLG Character(1) VARCHAR2(1) NOT NULL Excise Use Av Flag
78 EXD_ASSESS_VALUE Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Assessable Value
79 EXD_CONVERSION_RT Signed Number(17,8) DECIMAL(15,8) NOT NULL Conversion Rate
80 EXD_ASSESS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Assessable Amount - Transactio
81 EXD_ASSESS_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Assessable Value - Base
82 EXD_ASSESS_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Assessable Value - Reporting
83 STX_APPL_FLG Character(1) VARCHAR2(1) NOT NULL Sales Tax Applicability.

Y/N Table Edit

84 STX_TAX_RATE_CD Character(10) VARCHAR2(10) NOT NULL Sales Tax Calculation Code
85 STX_TPRTNR_CATG_CD Character(10) VARCHAR2(10) NOT NULL Trading Partner Tax Cat
86 STX_ITM_CATG_CD Character(10) VARCHAR2(10) NOT NULL Sales Item Category Code
87 STX_TAX_AUTH_RATE Character(8) VARCHAR2(8) NOT NULL Tax Authority Rate (India Sales Tax)
88 STX_TAX_AUTH_RPT Character(8) VARCHAR2(8) NOT NULL Reporting Authority (India Sales Tax)
89 STX_FORM_CD Character(8) VARCHAR2(8) NOT NULL Form Code
90 CSD_APPL_FLG Character(1) VARCHAR2(1) NOT NULL Customs Duty applicable flag

Y/N Table Edit

Default Value: N

91 CSD_TAX_RATE_CD Character(10) VARCHAR2(10) NOT NULL Customs Tax Rate Code
92 CSD_TPRTNR_CATG_CD Character(10) VARCHAR2(10) NOT NULL Customs Duty Tax Category
93 CSD_ITM_CATG_CD Character(10) VARCHAR2(10) NOT NULL Customs Duty Item Category Code
94 EXS_CURRENCY_RPTG Character(3) VARCHAR2(3) NOT NULL Excise Currency Reporting
95 RATE_MULT_EXS Signed Number(17,8) DECIMAL(15,8) NOT NULL Excise Rt Multiplier
96 RATE_DIV_EXS Number(16,8) DECIMAL(15,8) NOT NULL Excise Rt Divider
97 EXD_TAX_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Tax Amount
98 EXD_TAX_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Duty in Base Currency
99 EXD_TAX_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Duty Amt In Rpt Curr
100 EXD_BASIS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Basis Amt
101 EXD_BASIS_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Basis Amount - Base
102 EXD_BASIS_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Basis Amount
103 EXD_RCVRY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Recovery Amount
104 EXD_RCVRY_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Recovery Amount
105 EXD_RCVRY_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Recovery Amount
106 EXD_NRCVRY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise NonRcvry Amount
107 EXD_NRCVRY_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Non Recovery
108 EXD_NRCVRY_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Excise Non-Recovery
109 STX_TAX_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Sales Tax Amount
110 STX_TAX_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL SALES TAX IN BASE CURR
111 STX_TAX_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL SALES TAX IN REPORT CURR
112 STX_BASIS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Basis Amount
113 STX_BASIS_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Basis Amt in Base Curr
114 STX_BASIS_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Basis Amt in Rpt Curr
115 STX_RCVRY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Recovery Amount
116 STX_RCVRY_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Recovery Amt in Base Curr
117 STX_RCVRY_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Recovery Amt in Rpt Curr
118 STX_NRCVRY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Nonrecovery
119 STX_NRCVRY_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Tx Amt NonRecovery in Bse Curr
120 STX_NRCVRY_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Sales Tax NonRecovery
121 CSD_TAX_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Custom Duty Tax Amount
122 CSD_TAX_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Custom Duty Amount Base
123 CSD_TAX_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Custom Duty Amount Reporting
124 CSD_BASIS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Basis Amount for Customs duty and Sales Tax
125 CSD_BASIS_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Basis Amount for Customs Duty and Sales Tax in Base Currency
126 CSD_BASIS_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Basis Amount for Customs Duty and Sales Tax in Reporting Currency
127 CSD_RCVRY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Custom Duty Recovery Amount
128 CSD_RCVRY_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Custom Duty Recovery Amount
129 CSD_RCVRY_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Custom Duty Recovery Amount
130 CSD_NRCVRY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Custom Duty NonRecovery Amount
131 CSD_NRCVRY_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Custom Duty NonRecovery Amount
132 CSD_NRCVRY_AMT_RPT Signed Number(28,3) DECIMAL(26,3) NOT NULL Custom Duty NonRecovery Amount
133 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
134 TAX_CD_SUT_PCT Number(8,4) DECIMAL(7,4) NOT NULL Sales/Use Tax Code Percent
135 FREIGHT_SUT_PCT Number(8,4) DECIMAL(7,4) NOT NULL Rate
136 TITLE_PASSAGE Character(1) VARCHAR2(1) NOT NULL Title Passage
B=Buyer's Destination-Ship To
I=Intermediate Consignee
S=Seller's Origination-Ship From
137 TAX_TRANS_TYPE Character(1) VARCHAR2(1) NOT NULL Transaction Type
1=Sale
2=Rental
3=Service
4=Purchase
5=Lease
B=Return
138 TAX_TRANS_SUB_TYPE Character(1) VARCHAR2(1) NOT NULL Transaction Sub Type
1=Property
2=Freight
3=Service
4=Rental or Lease
5=Expense
6=Misc
N=None
139 TAX_JOB_NUM Character(10) VARCHAR2(10) NOT NULL Job Number
140 TAX_USER_AREA Character(25) VARCHAR2(25) NOT NULL Used for tax calculation by tax vendor.
141 SALETX_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Sales Tax Amount
142 USETAX_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount
143 FREIGHT_SUT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL SUT Amount on Freight
144 MISC_SUT_BASIS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Misc Charge SUT Basis Amount
145 FRGT_SUT_BASIS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Freight SUT Basis Amount
146 DSCN_SUT_BASIS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Discount SUT Basis Amount
147 SUT_PRODUCT_CD Character(18) VARCHAR2(18) NOT NULL Product Alias
148 SUT_FREIGHT_CD Character(18) VARCHAR2(18) NOT NULL Product Alias
149 SUT_CALC_BASIS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL SUT Calculation Basis Amount
150 SALETX_CALC_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Calculated Sales Tax Amount
151 FREIGHT_TERMS Character(10) VARCHAR2(10) NOT NULL Freight Terms Code
152 SHIP_TYPE_ID Character(10) VARCHAR2(10) NOT NULL Ship Via Code
153 REQUESTOR_ID Character(30) VARCHAR2(30) NOT NULL Requestor id
154 FORM_DISTRIB_STAT Character(1) VARCHAR2(1) NOT NULL Used for Sales Tax Forms tracking
D=Distributed
I=Ignore
N=Not Distributed
U=Undefined

Default Value: N

155 VAT_RECEIPT Character(1) VARCHAR2(1) NOT NULL No VAT Receipt
156 VAT_RGSTRN_SELLER Character(20) VARCHAR2(20) NOT NULL Seller's VAT Registration
157 TRANS_DT Date(10) DATE Transaction Date
158 BUSINESS_UNIT_BI Character(5) VARCHAR2(5) NOT NULL Billing Business Unit
159 BI_INVOICE Character(22) VARCHAR2(22) NOT NULL Billing Invoice number
160 LINE_SEQ_NUM Number(5,0) INTEGER NOT NULL Sequence
161 VOUCHER_ID_RELATED Character(8) VARCHAR2(8) NOT NULL Related Voucher