SF_PHYS_INV_VW2

(SQL View)
Index Back

Physical_inv view

06/11/99 MEG CN#SF800-27.0 Copy of sf_phys_inv_vw with the addition of qty_precision 11/01/99 MMT Removing TEMP_LOCATION_FLG because it is not being used and IN wants to get rid of the field. 11/12/99 mmt Temporarily adding TEMP_LOCATION_FLG back because our stuff is broken by removing it until we merge with inventory. 11/29/99 TKI Removed TEMP_LOCATION_FLG

SELECT a.business_unit , a.staged_date , a.inv_lot_id , a.inv_item_id , a.serial_id , a.storage_area , a.stor_level_1 , a.stor_level_2 , a.stor_level_3 , a.stor_level_4 , a.container_id , a.unit_of_measure , a.last_transact_type , a.last_issue_date , a.qty , a.qty_reserved , a.qty_base , a.qty_reserved_base , a.qty_reserved_base - a.qty_base , a.avail_status , a.avail_status_type , a.reason_cd , a.retest_date , a.dt_timestamp , a.descr254 , b.qty_precision , b.conversion_rate , b.round_rule , 0 , 'N' FROM PS_PHYSICAL_INV a , ps_inv_item_uom b WHERE b.setid = ( SELECT c.setid FROM ps_set_cntrl_rec c WHERE c.setcntrlvalue = a.business_unit AND c.recname = 'INV_ITEM_UOM') AND b.inv_item_id = a.inv_item_id AND b.unit_of_measure = a.unit_of_measure

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUIN_NONVW

2 STAGED_DATE Date(10) DATE NOT NULL Staged Date
3 INV_LOT_ID Character(15) VARCHAR2(15) NOT NULL Lot ID
4 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
5 SERIAL_ID Character(20) VARCHAR2(20) NOT NULL Serial ID
6 STORAGE_AREA Character(5) VARCHAR2(5) NOT NULL Storage Area
7 STOR_LEVEL_1 Character(4) VARCHAR2(4) NOT NULL Storage Level 1
8 STOR_LEVEL_2 Character(4) VARCHAR2(4) NOT NULL Storage Level 2
9 STOR_LEVEL_3 Character(4) VARCHAR2(4) NOT NULL Storage Level 3
10 STOR_LEVEL_4 Character(4) VARCHAR2(4) NOT NULL Storage Level 4
11 CONTAINER_ID Character(10) VARCHAR2(10) NOT NULL Container ID
12 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage

Prompt Table: INV_STCK_UOM_VW

13 LAST_TRANSACT_TYPE Character(5) VARCHAR2(5) NOT NULL Last Transaction
14 LAST_ISSUE_DATE Date(10) DATE Last Issue Date
15 QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity
16 QTY_RESERVED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Reserved
17 QTY_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Base Quantity
18 QTY_RESERVED_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity Reserved Base
19 TOTAL_QTY_AVAIL Signed Number(17,4) DECIMAL(15,4) NOT NULL Total Qty Available
20 AVAIL_STATUS Character(1) VARCHAR2(1) NOT NULL Availability Status
1=Open
2=Restricted
3=Hold
4=Rejected

Default Value: 1

21 AVAIL_STATUS_TYPE Character(4) VARCHAR2(4) NOT NULL Status Type

Prompt Table: QUARANTINE_INV

22 REASON_CD Character(10) VARCHAR2(10) NOT NULL Reason Code

Prompt Table: INV_STAT_RSN_VW

23 RETEST_DATE Date(10) DATE Retest Date
24 DT_TIMESTAMP DateTime(26) TIMESTAMP Date Timestamp
25 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254
26 QTY_PRECISION Character(1) VARCHAR2(1) NOT NULL Quantity Precision
D=Decimal
W=Whole Nbr
27 CONVERSION_RATE Signed Number(17,8) DECIMAL(15,8) NOT NULL Conversion Rate
28 ROUND_RULE Character(1) VARCHAR2(1) NOT NULL Rounding Rule
D=Round Down
N=Natural Round
U=Round Up
29 BASE_UOM_ROW Number(9,0) DECIMAL(9) NOT NULL Base Uom Row

Default Value: 0

30 INSERT_FLAG Character(1) VARCHAR2(1) NOT NULL insert flag

Default Value: N