ORD_SUP_PD_VW(SQL View) |
Index Back |
---|---|
Order Supply Prdn Order View |
select a.business_unit, 'SF', a.production_id, a.inv_item_id, a.new_end_date, 'S', ' ', ' ', a.new_uom, a.new_prdn_qty - a.completed_qty - a.scrap_qty, b.conversion_rate, a.ma_prdn_id_flg from PS_SF_PRDNID_HEADR 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 a.inv_item_id = b.inv_item_id and a.new_uom = b.unit_of_measure and a.prod_status in ('10','20','30','40') and a.ma_prdn_id_flg = 'Y' and a.config_code = ' ' and a.new_prdn_qty > (a.completed_qty + a.scrap_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 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
8 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
9 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
10 | QTY_REQUESTED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested |
11 | CONVERSION_RATE | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Conversion Rate |
12 | 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 |