ORD_DEM_PD_VW

(SQL View)
Index Back

Component Demand View

04/28/99 dbe CN# R-ANURUD-QM5NT - Replace sched_qty with curr_sched_qty in view SELECT statement definition.

select a.business_unit, 'SF', a.production_id, a.component_id, b.new_start_date, 'D', a.curr_sched_qty - a.issue_qty - a.yield_qty, 1, b.ma_prdn_id_flg from PS_SF_COMP_LIST a, ps_sf_prdnid_headr b where a.business_unit = b.business_unit and a.production_id = b.production_id and b.prod_status in ('10','20','30','40') and a.config_code = ' ' and a.curr_sched_qty > (a.issue_qty + a.yield_qty)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 DEMAND_SOURCE Character(2) VARCHAR2(2) NOT NULL Demand Source
IN=Material Request
OM=Sales Order
PL=Planning Requisition
PO=Purchase Order
PR=Purchasing Requisition
RT=Material Return
SF=Production Request
WM=Work Order
3 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
4 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
5 SCHED_DATE Date(10) DATE Schedule Date
6 AVAIL_TYPE Character(1) VARCHAR2(1) NOT NULL Availability Type
D=Demand
S=Supply
7 QTY_REQUESTED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Requested
8 CONVERSION_RATE Signed Number(17,8) DECIMAL(15,8) NOT NULL Conversion Rate
9 RECV_STATUS Character(1) VARCHAR2(1) NOT NULL Receipt Status
C=Closed Receipt
H=Hold Receipt
M=Moved to Destination
N=PO Not Received
O=Open
P=PO Partially Received
R=Fully Received
X=Canceled