EM_PO_LNSHIP_VW

(SQL View)
Index Back

PO Line & PO Line Ship


SELECT A.BUSINESS_UNIT , A.PO_ID , A.LINE_NBR , A.SCHED_NBR , B.CATEGORY_ID , B.ITM_SETID , B.INV_ITEM_ID , A.CANCEL_STATUS , A.BAL_STATUS , A.CHANGE_STATUS , A.CHNG_ORD_SEQ , A.PRICE_PO , A.PRICE_PO_BSE , A.CUSTOM_PRICE , A.ZERO_PRICE_IND , A.DUE_DT , A.DUE_TIME , A.SHIPTO_SETID , A.SHIPTO_ID , A.ORIG_PROM_DT , A.QTY_PO , B.UNIT_OF_MEASURE , B.RECV_REQ , A.CURRENCY_CD , A.MERCHANDISE_AMT , A.CURRENCY_CD_BASE , A.MERCH_AMT_BSE , A.FREIGHT_TERMS , A.SHIP_TYPE_ID , A.DISTRIB_MTHD_FLG , A.UNIT_PRC_TOL , A.UNIT_PRC_TOL_BSE , A.PCT_UNIT_PRC_TOL , A.EXT_PRC_TOL , A.EXT_PRC_TOL_BSE , A.PCT_EXT_PRC_TOL , A.QTY_RECV_TOL_PCT , A.PCT_UNDER_QTY , A.MATCH_STATUS_LN_PO , A.MATCH_LINE_OPT , A.BUSINESS_UNIT_OM , A.ORDER_NO , A.ORDER_INT_LINE_NO , A.SCHED_LINE_NBR , A.SHIP_TO_CUST_ID , A.BUSINESS_UNIT_IN , A.PRODUCTION_ID , A.OP_SEQUENCE , A.FROZEN_FLG , A.PLAN_CHANGE_FLG , A.NET_CHANGE_EP , A.CARRIER_ID , A.SUT_BASE_ID , A.TAX_CD_SUT , A.ULTIMATE_USE_CD , A.SUT_EXCPTN_TYPE , A.SUT_EXCPTN_CERTIF , A.SUT_APPLICABILITY , A.VAT_RCRD_INPT_FLG , A.VAT_RCRD_OUTPT_FLG , A.VAT_DCLRTN_POINT , A.VAT_CALC_GROSS_NET , A.VAT_CALC_FRGHT_FLG , A.VAT_CALC_MISC_FLG , A.VAT_RECALC_FLG , A.VAT_EXCPTN_TYPE , A.VAT_EXCPTN_CERTIF , A.COUNTRY_SHIP_TO , A.COUNTRY_SHIP_FROM , A.COUNTRY_VAT_SHIPTO , A.COUNTRY_VAT_BILLTO , A.COUNTRY_VAT_BILLFR , A.VAT_RGSTRN_SELLER , A.VAT_TXN_TYPE_CD , A.VAT_APPLICABILITY , A.TAX_CD_VAT , A.VAT_USE_ID , A.IST_TXN_FLG , A.VAT_CALC_TYPE , A.BUSINESS_UNIT_RTV , A.RTV_ID , A.RTV_LN_NBR , A.RTV_VERIFIED , A.SHIP_DATE , A.UNIT_PRC_TOL_L , A.PCT_UNIT_PRC_TOL_L , A.EXT_PRC_TOL_L , A.PCT_EXT_PRC_TOL_L , A.UNIT_PRC_TOL_BSE_L , A.EXT_PRC_TOL_BSE_L , A.RJCT_OVER_TOL_FLAG , A.REJECT_DAYS , A.TAX_VAT_FLG , A.TAX_FRGHT_FLG , A.TAX_MISC_FLG , A.TRFT_RULE_CD , A.QTY_RFQ , A.SHIP_ID_EST , A.X_VENDOR_SETID , A.X_VENDOR_ID , A.X_VNDR_LOC , A.FRT_CHRG_METHOD , A.FRT_CHRG_OVERRIDE , A.VAT_ROUND_RULE , A.REVISION , A.PUBLISHED_SHIPTO , A.BCKORD_ORG_SCHED FROM PS_PO_LINE_SHIP A , PS_PO_LINE B WHERE %Join(COMMON_KEYS, PO_LINE_SHIP A, PO_LINE B)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
3 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
4 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
5 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
6 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
7 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
8 CANCEL_STATUS Character(1) VARCHAR2(1) NOT NULL Cancel Status
A=Active
C=Closed
D=Denied
H=Hold
O=Open
P=Pending Approval
X=Canceled

Default Value: A

9 BAL_STATUS Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not the control totals for a deposit match the entered totals. A deposit is considered "balanced" when the two sets of totals are equal.
I=Balanced
O=Not Balanced

Default Value: I

10 CHANGE_STATUS Character(1) VARCHAR2(1) NOT NULL Change Order Status
C=Changed
U=Unchanged

Default Value: U

11 CHNG_ORD_SEQ Number(3,0) SMALLINT NOT NULL Change Order Sequence Number

Default Value: 0

12 PRICE_PO Signed Number(17,5) DECIMAL(15,5) NOT NULL Purchase Order Price
13 PRICE_PO_BSE Signed Number(17,5) DECIMAL(15,5) NOT NULL Price Base
14 CUSTOM_PRICE Character(1) VARCHAR2(1) NOT NULL Custom Price - No Override

Y/N Table Edit

Default Value: N

15 ZERO_PRICE_IND Character(1) VARCHAR2(1) NOT NULL Zero Price Indicator

Y/N Table Edit

Default Value: N

16 DUE_DT Date(10) DATE NOT NULL 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.
17 DUE_TIME Time(15) TIMESTAMP Due Time
18 SHIPTO_SETID Character(5) VARCHAR2(5) NOT NULL ShipTo SetID
19 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
20 ORIG_PROM_DT Date(10) DATE Original Promise Date
21 QTY_PO Number(16,4) DECIMAL(15,4) NOT NULL Purchase Order Quantity
22 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
23 RECV_REQ Character(1) VARCHAR2(1) NOT NULL Receiving Required
N=Optional
X=Do Not
Y=Required

Y/N Table Edit

Default Value: N

24 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
25 PO_AMT_TTL Signed Number(28,3) DECIMAL(26,3) NOT NULL PO Total Amount
26 CURRENCY_CD_BASE Character(3) VARCHAR2(3) NOT NULL Business Unit Base Currency
27 MERCH_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Base Merchandise Amount
28 FREIGHT_TERMS Character(10) VARCHAR2(10) NOT NULL Freight Terms Code

Prompt Table: FREIGHT_TERMS

29 SHIP_TYPE_ID Character(10) VARCHAR2(10) NOT NULL Ship Via Code

Prompt Table: SHIP_METHOD

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

Default Value: Q

31 UNIT_PRC_TOL Number(14,5) DECIMAL(13,5) NOT NULL Unit Price Tolerance
32 UNIT_PRC_TOL_BSE Number(14,5) DECIMAL(13,5) NOT NULL Base Unit Price Tolerance
33 PCT_UNIT_PRC_TOL Number(6,2) DECIMAL(5,2) NOT NULL % Unit Price Tolerance
34 EXT_PRC_TOL Number(14,5) DECIMAL(13,5) NOT NULL Ext Price Tolerance
35 EXT_PRC_TOL_BSE Number(14,5) DECIMAL(13,5) NOT NULL Base Ext Price Tolerance
36 PCT_EXT_PRC_TOL Number(6,2) DECIMAL(5,2) NOT NULL % Ext Price Tolerance
37 QTY_RECV_TOL_PCT Number(6,2) DECIMAL(5,2) NOT NULL Qty Rcvd Tolerance %
38 PCT_UNDER_QTY Signed Number(4,0) DECIMAL(3) NOT NULL Close PO Under Qty Pct Tol
39 MATCH_STATUS_LN_PO Character(1) VARCHAR2(1) NOT NULL Match Status PO
M=Matched
N=Not Matched
P=Partially Matched

Default Value: N

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

Default Value: F

41 BUSINESS_UNIT_OM Character(5) VARCHAR2(5) NOT NULL Order Management Business Unit
42 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
43 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
44 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
45 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
46 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit

Default Value: SHIPTO_TBL.BUSINESS_UNIT_IN

47 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
48 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
49 FROZEN_FLG Character(1) VARCHAR2(1) NOT NULL Frozen Flag
B=Both
N=No
Y=Yes

Y/N Table Edit

Default Value: N

50 PLAN_CHANGE_FLG Character(1) VARCHAR2(1) NOT NULL Change Indicator (Planning)
51 NET_CHANGE_EP Character(1) VARCHAR2(1) NOT NULL Enterprise Planning Net Change
52 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID
53 SUT_BASE_ID Character(10) VARCHAR2(10) NOT NULL Sales/Use Tax Destination

Prompt Table: SUT_BASE_VW

54 TAX_CD_SUT Character(8) VARCHAR2(8) NOT NULL Tax Code - Sales and Use Tax
55 ULTIMATE_USE_CD Character(8) VARCHAR2(8) NOT NULL Ultimate Use Code

Prompt Table: SUT_USE_CD

56 SUT_EXCPTN_TYPE Character(1) VARCHAR2(1) NOT NULL Sales/Use Tax Exception Type
D=Direct Pay
E=Exempt/Exonerated
N=None
57 SUT_EXCPTN_CERTIF Character(20) VARCHAR2(20) NOT NULL Sales/Use Tax Exception Certif
58 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
59 VAT_RCRD_INPT_FLG Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not (Y or N) a business unit will pay the VAT and recover it later from the VAT tax authority. VAT input is usually associated with purchase transactions.

Y/N Table Edit

Default Value: Y

60 VAT_RCRD_OUTPT_FLG Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not (Y or N) VAT will be collected by the vendor on behalf of the government. VAT output is usually associated with sales transactions.

Y/N Table Edit

Default Value: N

61 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

Default Value: P

62 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

Default Value: N

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

Y/N Table Edit

Default Value: N

64 VAT_CALC_MISC_FLG Character(1) VARCHAR2(1) NOT NULL Include Miscellaneous

Y/N Table Edit

Default Value: N

65 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.

Y/N Table Edit

Default Value: N

66 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

Default Value: N

67 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.
68 COUNTRY_SHIP_TO Character(3) VARCHAR2(3) NOT NULL Specifies the country to which the invoice contents were shipped (for VAT processing only).

Prompt Table: COUNTRY_TBL

69 COUNTRY_SHIP_FROM Character(3) VARCHAR2(3) NOT NULL Specifies the country from which the invoice contents were shipped (for VAT processing only).

Prompt Table: COUNTRY_TBL

70 COUNTRY_VAT_SHIPTO Character(3) VARCHAR2(3) NOT NULL Ship To VAT Rgstrn Country
71 COUNTRY_VAT_BILLTO Character(3) VARCHAR2(3) NOT NULL Specifies the country where an invoice is sent (for VAT processing only).

Prompt Table: VAT_ENT_REG_VW

72 COUNTRY_VAT_BILLFR Character(3) VARCHAR2(3) NOT NULL Specifies the country where an invoice is generated (for VAT processing only).

Prompt Table: COUNTRY_VAT_VW

73 VAT_RGSTRN_SELLER Character(20) VARCHAR2(20) NOT NULL Seller's VAT Registration

Prompt Table: VND_VATRGSTN_VW

74 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

75 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
76 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

77 VAT_USE_ID Character(6) VARCHAR2(6) NOT NULL VAT Use Type

Prompt Table: VAT_USE_TBL

78 IST_TXN_FLG Character(1) VARCHAR2(1) NOT NULL Intrastat Transaction Flag
N=No
Y=Yes

Y/N Table Edit

Default Value: N

79 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

Default Value: E

80 BUSINESS_UNIT_RTV Character(5) VARCHAR2(5) NOT NULL RTV Business Unit

Prompt Table: SP_BU_PM_NONVW

81 RTV_ID Character(10) VARCHAR2(10) NOT NULL Return To Vendor ID

Prompt Table: PO_RTV_VW

82 RTV_LN_NBR Number(5,0) INTEGER NOT NULL Return To Vendor Line

Prompt Table: PO_RTV_LN_VW

83 RTV_VERIFIED Character(1) VARCHAR2(1) NOT NULL RTV Verified
84 SHIP_DATE Date(10) DATE Item Shipping Date
85 UNIT_PRC_TOL_L Number(14,5) DECIMAL(13,5) NOT NULL Unit Price Tolerance - Under
86 PCT_UNIT_PRC_TOL_L Number(6,2) DECIMAL(5,2) NOT NULL % Unit Price Tolerance - Under
87 EXT_PRC_TOL_L Number(14,5) DECIMAL(13,5) NOT NULL Ext Price Tolerance - Under
88 PCT_EXT_PRC_TOL_L Number(6,2) DECIMAL(5,2) NOT NULL % Ext Price Tolerance - Under
89 UNIT_PRC_TOL_BSE_L Number(14,5) DECIMAL(13,5) NOT NULL Base Unit Price Tolerance
90 EXT_PRC_TOL_BSE_L Number(14,5) DECIMAL(13,5) NOT NULL Base Ext Price Tolrnc - Under
91 RJCT_OVER_TOL_FLAG Character(1) VARCHAR2(1) NOT NULL Reject Qty Over Tolerance

Y/N Table Edit

92 REJECT_DAYS Number(3,0) SMALLINT NOT NULL Early Ship Rjct Days
93 TAX_VAT_FLG Character(1) VARCHAR2(1) NOT NULL Include VAT
N=No
Y=Yes

Y/N Table Edit

Default Value: N

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

Y/N Table Edit

Default Value: N

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

Y/N Table Edit

Default Value: N

96 TRFT_RULE_CD Character(10) VARCHAR2(10) NOT NULL Arbitration Rule Code.

Prompt Table: TRFT_RULE

97 QTY_RFQ Number(16,4) DECIMAL(15,4) NOT NULL Qty Request for Quote
98 SHIP_ID_EST Character(10) VARCHAR2(10) NOT NULL Estimated Ship ID
99 X_VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Supplier Set ID
100 X_VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Third Party Supplier
101 X_VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Third Party Supplier Location
102 FRT_CHRG_METHOD Character(2) VARCHAR2(2) NOT NULL Freight Charge Method
01=Order Value
02=Weight
03=Volume
04=Order Quantity
103 FRT_CHRG_OVERRIDE Character(1) VARCHAR2(1) NOT NULL Freight Charge Override

Y/N Table Edit

104 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
105 REVISION Character(4) VARCHAR2(4) NOT NULL 01/27/2000 RML Added "As of" label

Prompt Table: EN_REV_PO_VW

106 PUBLISHED_SHIPTO Character(10) VARCHAR2(10) NOT NULL Ship To Location
107 BCKORD_ORG_SCHED Number(3,0) SMALLINT NOT NULL Original schedule number