ORD_STG_PD2_VW(SQL View) |
Index Back |
---|---|
Prod Supply in Staged Item Inv |
select d.business_unit, 'SF', d.production_id, d.inv_item_id, d.source_bus_unit, 'A', d.unit_of_measure, sum(d.qty), u.conversion_rate from PS_STAGED_ITEM_INV d, ps_inv_item_uom u where u.setid = (select sc.setid from ps_set_cntrl_rec sc where sc.setcntrlvalue = d.business_unit and sc.recname = 'INV_ITEM_UOM') and u.inv_item_id = d.inv_item_id and u.unit_of_measure = d.unit_of_measure and d.production_id <> ' ' group by d.business_unit, d.production_id, d.inv_item_id, d.source_bus_unit, d.unit_of_measure, u.conversion_rate |
# | 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 | 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
Prompt Table: MST_ITM_PRPT_VW |
5 | BUSINESS_UNIT_IN | Character(5) | VARCHAR2(5) NOT NULL | Inventory Unit |
6 | AVAIL_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Availability Type
D=Demand S=Supply |
7 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
8 | QTY_REQUESTED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested |
9 | CONVERSION_RATE | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Conversion Rate |