RTV_LN_DIST_VW

(SQL View)
Index Back

RTV Line Distribution


SELECT DISTINCT A.BUSINESS_UNIT , A.RTV_ID , A.RTV_LN_NBR , A.RTV_DISTRIB_NUM , A.ACCOUNT , A.ALTACCT , A.BUSINESS_UNIT_AM , A.BUSINESS_UNIT_GL , A.BUSINESS_UNIT_IN , A.BUSINESS_UNIT_PO , A.BUSINESS_UNIT_RECV , A.CONTAINER_ID , A.CURRENCY_CD , A.CURRENCY_CD_BASE , A.DISTRIB_LINE_NUM , A.DISTRIB_SEQ_NUM , A.INSPECTION_SW , A.LINE_NBR , A.LOT_ID , A.MERCH_AMT_BSE , A.MERCH_AMT_PO_BSE , A.MERCHANDISE_AMT , A.MERCHANDISE_AMT_PO , A.MISC_AMT , A.PO_DIST_LINE_NUM , A.PO_ID , A.PRICE_PO_BSE , A.QTY_AM_RETRN_SUOM , A.QTY_AM_RETRN_VUOM , A.QTY_AM_SHIP_SUOM , A.QTY_AM_SHIP_VUOM , A.QTY_RECV_INTFC , A.RATE_DIV , A.RATE_MULT , A.RECEIVER_ID , A.RECV_LN_NBR , A.RECV_SHIP_SEQ_NBR , A.REQUEST_DATE , A.RT_TYPE , A.RTV_DIST_STATUS , A.SCHED_NBR , A.SERIAL_ID , A.SHIP_DATE , A.STAGED_DATE , A.STATISTICS_CODE , A.STATISTIC_AMOUNT , A.STORAGE_AREA , A.STOR_LEVEL_1 , A.STOR_LEVEL_2 , A.STOR_LEVEL_3 , A.STOR_LEVEL_4 , A.DEPTID , %subrec(CF16_AN_SBR, A) , %subrec(PC_CF1_N_SBR, A) , %subrec(PUR_USR_DST_SBR, A) FROM PS_RTV_LN_DISTRIB A , PS_RTV_LN B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.RTV_ID = B.RTV_ID AND A.RTV_LN_NBR = B.RTV_LN_NBR AND B.RTV_INV_OPTION = '1'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 RTV_ID Character(10) VARCHAR2(10) NOT NULL Return To Vendor ID
3 RTV_LN_NBR Number(5,0) INTEGER NOT NULL Return To Vendor Line
4 RTV_DISTRIB_NUM Number(5,0) INTEGER NOT NULL RTV Distribution Number
5 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account

Prompt Table: %EDIT_ACCOUNT

6 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account

Prompt Table: %EDIT_ALTACCT

7 BUSINESS_UNIT_AM Character(5) VARCHAR2(5) NOT NULL AM Business Unit

Prompt Table: SP_BU_AM_NONVW

8 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit

Default Value: BUS_UNIT_TBL_PM.BUSINESS_UNIT_GL

Prompt Table: SP_BUPRCR_NONVW

9 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit

Prompt Table: %EDIT_BU_IN

10 BUSINESS_UNIT_PO Character(5) VARCHAR2(5) NOT NULL PO Business Unit
11 BUSINESS_UNIT_RECV Character(5) VARCHAR2(5) NOT NULL Receiving Business Unit
12 CONTAINER_ID Character(10) VARCHAR2(10) NOT NULL Container ID
13 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
14 CURRENCY_CD_BASE Character(3) VARCHAR2(3) NOT NULL Business Unit Base Currency
15 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
16 DISTRIB_SEQ_NUM Number(5,0) INTEGER NOT NULL Distribution Sequence
17 INSPECTION_SW Character(1) VARCHAR2(1) NOT NULL Inspection Required
N=Not Inspected
Y=Inspected

Default Value: N

18 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
19 LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID

Prompt Table: SF_PRDN_LOT_VW

20 MERCH_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Base Merchandise Amount
21 MERCH_AMT_PO_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt PO Base
22 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label
23 MERCHANDISE_AMT_PO Signed Number(28,3) DECIMAL(26,3) NOT NULL PO Merchandise Amount
24 MISC_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Misc. Amount
25 PO_DIST_LINE_NUM Number(5,0) INTEGER NOT NULL PO Distribution Line Number
26 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
27 PRICE_PO_BSE Signed Number(17,5) DECIMAL(15,5) NOT NULL Price Base
28 QTY_AM_RETRN_SUOM Number(16,4) DECIMAL(15,4) NOT NULL Std Returned Qty
29 QTY_AM_RETRN_VUOM Number(16,4) DECIMAL(15,4) NOT NULL Vendor Returned Qty
30 QTY_AM_SHIP_SUOM Number(16,4) DECIMAL(15,4) NOT NULL Returned Base
31 QTY_AM_SHIP_VUOM Number(16,4) DECIMAL(15,4) NOT NULL Supplier Shipped Qty
32 QTY_RECV_INTFC Number(16,4) DECIMAL(15,4) NOT NULL Qty Interfaced - Supp UOM
33 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor

Default Value: 1

34 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier

Default Value: 1

35 RECEIVER_ID Character(10) VARCHAR2(10) NOT NULL Receiver number
36 RECV_LN_NBR Number(5,0) INTEGER NOT NULL Receipt Line
37 RECV_SHIP_SEQ_NBR Number(3,0) SMALLINT NOT NULL Receiver Shipping Sequence
38 REQUEST_DATE Date(10) DATE Requested
39 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.

Default Value: BUS_UNIT_TBL_PM.RT_TYPE

40 RTV_DIST_STATUS Character(1) VARCHAR2(1) NOT NULL RTV Distribution Status
C=Closed
O=Open
S=Shipped
X=Cancelled

Default Value: O

41 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
42 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID

Prompt Table: SF_PRDN_SER_VW

43 SHIP_DATE Date(10) DATE Item Shipping Date
44 STAGED_DATE Date(10) DATE Staged Date
45 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
46 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.
47 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area

Prompt Table: RECV_STOR_VW

48 STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1

Prompt Table: RECV_LEV1_VW

49 STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2

Prompt Table: RECV_LEV2_VW

50 STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3

Prompt Table: RECV_LEV3_VW

51 STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4

Prompt Table: RECV_LEV4_VW

52 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW
Set Control Field: BUSINESS_UNIT_GL

53 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPERUNT_BUGL_VW

54 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: PRODUCT_BUGL_VW

55 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: FUND_BUGL_VW

56 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: CLASSCF_BUGL_VW

57 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: PROGRAM_BUGL_VW

58 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: BUD_REF_BUGL_VW

59 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

60 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

61 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

62 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: CF1_BUGL_VW

63 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: CF2_BUGL_VW

64 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: CF3_BUGL_VW

65 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit

Prompt Table: %EDIT_BU_PC

66 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: %EDIT_PROJECT

67 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

Prompt Table: %EDIT_ACTIVITY

68 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type

Prompt Table: PROJ_RESTYPE_FS
Set Control Field: BUSINESS_UNIT_PC

69 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category

Prompt Table: %EDIT_RES_CAT
Set Control Field: BUSINESS_UNIT_PC

70 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory

Prompt Table: %EDIT_RES_SUB
Set Control Field: BUSINESS_UNIT_PC

71 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type

Prompt Table: %EDIT_ANALYSIS
Set Control Field: BUSINESS_UNIT_PC

72 USER_DIST_CHAR1 Character(1) VARCHAR2(1) NOT NULL Custom Character 1
73 CUSTOM_C100_D1 Character(100) VARCHAR2(100) NOT NULL Custom Field 1
74 CUSTOM_C100_D2 Character(100) VARCHAR2(100) NOT NULL Custom Field 2
75 CUSTOM_C100_D3 Character(100) VARCHAR2(100) NOT NULL Custom Field 3
76 CUSTOM_C100_D4 Character(100) VARCHAR2(100) NOT NULL Custom Field 4
77 CUSTOM_DATE_D Date(10) DATE Custom Date
78 CUSTOM_C1_D Character(1) VARCHAR2(1) NOT NULL Custom Character 2