INV_RQLN_DST_VW

(SQL View)
Index Back

Requistion Distribution


SELECT a.business_unit , a.req_id , a.line_nbr , a.sched_nbr , a.distrib_line_num , a.qty_req , a.merchandise_amt , a.location , a.account , a.altacct , A.DEPTID ,%subrec(cf16_an_sbr,a) ,%subrec(pc_cf1_n_sbr,a) , a.chartfield_status , a.business_unit_gl , a.business_unit_req , a.qty_open , a.distrib_ln_status , a.process_instance , a.process_man_close , a.po_post_status , a.po_post_amt , a.close_amount , a.pc_distrib_status , a.pc_distrib_amt , a.business_unit_am , a.profile_id , a.tag_number , a.business_unit_in , a.amt_open , a.statistics_code , a.distrib_type , a.dist_processed_flg , a.financial_asset_sw , a.currency_cd , a.currency_cd_base , a.amt_open_bse , a.pc_distrib_amt_bse , a.close_amt_bse , a.po_post_amt_bse , a.unit_measure_std , a.qty_open_std , a.merch_amt_bse , a.qty_req_std , a.distrib_pct FROM PS_REQ_LN_DISTRIB a

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 REQ_ID Character(10) VARCHAR2(10) NOT NULL Requisition ID

Default Value: NEXT

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

Default Value: 1

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

Default Value: 1

5 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line

Default Value: 1

6 QTY_REQ Number(16,4) DECIMAL(15,4) NOT NULL Requisition Quantity
7 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label
8 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code

Prompt Table: LOCATION_TBL

9 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account

Prompt Table: GL_ACCT_BUGL_VW

10 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
11 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW

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

Prompt Table: OPERUNT_BUGL_VW

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

Prompt Table: PRODUCT_BUGL_VW

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

Prompt Table: FUND_BUGL_VW

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

Prompt Table: CLASSCF_BUGL_VW

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

Prompt Table: PROGRAM_BUGL_VW

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

Prompt Table: BUD_REF_BUGL_VW

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

Prompt Table: AFFILIATE_VW

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

Prompt Table: %EDIT_INTRA01

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

Prompt Table: %EDIT_INTRA02

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

Prompt Table: CF1_BUGL_VW

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

Prompt Table: CF2_BUGL_VW

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

Prompt Table: CF3_BUGL_VW

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

Prompt Table: %EDIT_BU_PC

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

Prompt Table: %EDIT_PROJECT

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

Prompt Table: %EDIT_ACTIVITY

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

Prompt Table: PROJ_RESTYPE_FS
Set Control Field: BUSINESS_UNIT_PC

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

Prompt Table: %EDIT_RES_CAT
Set Control Field: BUSINESS_UNIT_PC

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

Prompt Table: %EDIT_RES_SUB
Set Control Field: BUSINESS_UNIT_PC

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

Prompt Table: %EDIT_ANALYSIS
Set Control Field: BUSINESS_UNIT_PC

31 CHARTFIELD_STATUS Character(1) VARCHAR2(1) NOT NULL Chartfield Status
R=Recycled
V=Valid

Default Value: V

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

Prompt Table: SP_BU_GL_NONVW

33 BUSINESS_UNIT_REQ Character(5) VARCHAR2(5) NOT NULL Requesting Business Unit

Default Value: REQ_HDR.BUSINESS_UNIT

34 QTY_OPEN Number(16,4) DECIMAL(15,4) NOT NULL Open Quantity
35 DISTRIB_LN_STATUS Character(1) VARCHAR2(1) NOT NULL Distribution Line Status
C=Closed
M=Mass Liquidated
O=Open
P=Unavailable for Sourcing
X=Canceled

Default Value: O

36 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
37 PROCESS_MAN_CLOSE Character(1) VARCHAR2(1) NOT NULL Process Manual Close
N=No
P=Processed
Y=Yes

Default Value: N

38 PO_POST_STATUS Character(1) VARCHAR2(1) NOT NULL Post Status
D=Distributed
N=None

Default Value: N

39 PO_POST_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Post Amount
40 CLOSE_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Close Amount
41 PC_DISTRIB_STATUS Character(1) VARCHAR2(1) NOT NULL PC Distribution Status
B=Budget Check
D=Distributed
G=Generated
H=Hold
I=Ignore
M=Modified
N=Not Distributed
S=Staged

Default Value: N

42 PC_DISTRIB_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL PC Distribution Amount
43 BUSINESS_UNIT_AM Character(5) VARCHAR2(5) NOT NULL AM Business Unit

Prompt Table: %EDIT_BU_AM

44 PROFILE_ID Character(10) VARCHAR2(10) NOT NULL Asset Profile ID

Prompt Table: %EDIT_PROFILE

45 TAG_NUMBER Character(12) VARCHAR2(12) NOT NULL Tag Number
46 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit

Prompt Table: %EDIT_BU_IN

47 AMT_OPEN Signed Number(28,3) DECIMAL(26,3) NOT NULL Open Amount
48 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code

Prompt Table: STAT_BUGL_VW

49 DISTRIB_TYPE Character(10) VARCHAR2(10) NOT NULL Distrib. Type

Prompt Table: CM_DISTR_TYPE

50 DIST_PROCESSED_FLG Character(1) VARCHAR2(1) NOT NULL Distribution Processed

Default Value: N

51 FINANCIAL_ASSET_SW Character(1) VARCHAR2(1) NOT NULL Capitalized Asset
N=Non Cap
Y=Capitalize

Y/N Table Edit

Default Value: N

52 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

Default Value: REQ_HDR.CURRENCY_CD

53 CURRENCY_CD_BASE Character(3) VARCHAR2(3) NOT NULL Business Unit Base Currency

Default Value: REQ_HDR.CURRENCY_CD_BASE

54 AMT_OPEN_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount Open Base
55 PC_DISTRIB_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL PC Distribution Base Amount
56 CLOSE_AMT_BSE Number(27,3) DECIMAL(26,3) NOT NULL Close Amount Base
57 PO_POST_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Post Base Amount
58 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
59 QTY_OPEN_STD Number(16,4) DECIMAL(15,4) NOT NULL Quantity Open Standard UOM
60 MERCH_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Base Merchandise Amount
61 QTY_REQ_STD Number(16,4) DECIMAL(15,4) NOT NULL Quantity Requested Stand. UOM
62 DISTRIB_PCT Number(8,4) DECIMAL(7,4) NOT NULL Distribution Percentage

Default Value: 100