PO_SF_ZCNT_V1(SQL View) |
Index Back |
---|---|
Count of SFC POs by item |
select distinct sfc.process_instance, sfc.business_unit, dfl.business_unit, sfc.vendor_id, 'DFLT', sfch.inv_item_id from PS_SF_OP_LIST sfc, ps_sf_prdnid_headr sfch, ps_po_loader_dfl dfl where sfc.subpo_status = '30' and sfch.business_unit = sfc.business_unit and sfch.production_id = sfc.production_id and dfl.loader_bu = sfc.business_unit and dfl.system_source = 'SFC' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
2 | BUSINESS_UNIT_IN | Character(5) | VARCHAR2(5) NOT NULL | Inventory Unit |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
5 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
6 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |