SF_PHYIN1UOM_VW

(SQL View)
Index Back

Physical Inv UOM VW-Outputs

09/02/99, ssn , Created for Negative Completions- Uom Feature to be used as prompt table for the UOM Field on SF_NEG1_TMP

SELECT DISTINCT a.business_unit ,a.inv_lot_id ,a.inv_item_id ,a.storage_area , a.stor_level_1 ,a.stor_level_2 ,a.stor_level_3 ,a.stor_level_4 ,a.unit_of_measure FROM ps_physical_inv a , PS_STOR_LOC_INV b WHERE a.business_unit = b.business_unit AND a.storage_area = b.storage_area AND a.stor_level_1 = b.stor_level_1 AND a.stor_level_2 = b.stor_level_2 AND a.stor_level_3 = b.stor_level_3 AND a.stor_level_4 = b.stor_level_4 AND a.qty - a.qty_reserved > 0 AND a.container_id = ' ' AND (a.avail_status = '1' OR a.avail_status = '2') AND b.suspend_flg = 'N' AND b.phys_cyc_inv_flg = 'N' AND b.non_own_flag = 'N'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
3 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
4 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
5 STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1
6 STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2
7 STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3
8 STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4
9 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage