ORD_QTY_AVL_VW

(SQL View)
Index Back

Qty available by prod/uom/shfr

Date Initials Issue Description 082602 dms DI-DSCANTLA-2 Add item_id, item status fields

SELECT pi.setid , pi.product_id , conv.unit_of_measure , qa.business_unit , pi.inv_item_id , %Round(%DecMult(qa.qty_available, %DecDiv(1, conv.conversion_rate)), 4) , qa.itm_status_current , qa.itm_status_future , qa.itm_stat_dt_future FROM PS_BU_ITEMS_INV qa , ps_inv_item_uom conv , ps_prod_item pi WHERE qa.inv_item_id = pi.inv_item_id AND conv.setid = pi.setid AND conv.inv_item_id = pi.inv_item_id

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
3 UNIT_MEASURE_ORD Character(3) VARCHAR2(3) NOT NULL Ordering UOM
4 SHIP_FROM_BU Character(5) VARCHAR2(5) NOT NULL Ship from INV BU
5 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
6 QTY_AVAILABLE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Available
7 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
8 ITM_STATUS_FUTURE Character(1) VARCHAR2(1) NOT NULL Item Status Future
1=Active
2=Hold
3=Discontinue
4=Inactive
9 ITM_STAT_DT_FUTURE Date(10) DATE Item Date Future