SP_OM_DNS_CLSVW

(SQL View)
Index Back

Ship From IBU Hierarchy

Date Initials Issue Description 022002 dms 11697201 New row security view 040803 dms IR577938002 Correct SQL 081803 dms IR629385001 Turn on search keys

SELECT cls.oprclass , ds.setid , ds.ds_network_code , conv.setid , pi.product_id , conv.unit_of_measure , ds.business_unit_in , qa.inv_item_id , %Round(%DecMult(qa.qty_available, %DecDiv(1, conv.conversion_rate)), 4) , ds.priority_nbr , qa.itm_status_current , qa.itm_status_future , qa.itm_stat_dt_future FROM ps_sp_buin_nonvw sp , ps_inv_item_uom conv , PS_BU_ITEMS_INV qa , ps_ds_netdet_tbl ds , ps_prod_item pi , ps_sec_setid_cls cls WHERE sp.business_unit = ds.business_unit_in AND qa.business_unit = ds.business_unit_in AND qa.inv_item_id = conv.inv_item_id AND cls.setid = ds.setid AND pi.setid = conv.setid AND pi.inv_item_id = conv.inv_item_id AND pi.setid = cls.setid

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRCLASS Character(30) VARCHAR2(30) NOT NULL Operator Class
2 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Prompt Table: SP_SETID_NONVW

3 DS_NETWORK_CODE Character(6) VARCHAR2(6) NOT NULL Distribution Network Code
4 SETID_PRODUCT Character(5) VARCHAR2(5) NOT NULL Product SetID
5 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
6 UNIT_MEASURE_ORD Character(3) VARCHAR2(3) NOT NULL Ordering UOM
7 SHIP_FROM_BU Character(5) VARCHAR2(5) NOT NULL Ship from INV BU
8 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
9 QTY_AVAILABLE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Available
10 PRIORITY_NBR Number(3,0) SMALLINT NOT NULL Priority
11 ITM_STATUS_CURRENT Character(1) VARCHAR2(1) NOT NULL Item Status Current
1=Active
2=Hold
3=Discontinue
4=Inactive
5=Pending Approval
6=Denied Approval
7=Under Initialization
12 ITM_STATUS_FUTURE Character(1) VARCHAR2(1) NOT NULL Item Status Future
1=Active
2=Hold
3=Discontinue
4=Inactive
13 ITM_STAT_DT_FUTURE Date(10) DATE Item Date Future