INV_TMS_CNCL_VW(SQL View) |
Index Back |
---|---|
Shipments Pending Cancellation |
SELECT TMS_EXT_REF_ID , BUSINESS_UNIT , DEMAND_SOURCE , SOURCE_BUS_UNIT , ORDER_NO FROM PS_IN_TMS_STATUS WHERE TMS_PROCESS_STATUS = '1' AND NOT EXISTS ( SELECT 'X' FROM PS_IN_DEMAND A WHERE PS_IN_TMS_STATUS.TMS_EXT_REF_ID = A.TMS_EXT_REF_ID AND PS_IN_TMS_STATUS.BUSINESS_UNIT = A.BUSINESS_UNIT AND PS_IN_TMS_STATUS.DEMAND_SOURCE = A.DEMAND_SOURCE AND PS_IN_TMS_STATUS.SOURCE_BUS_UNIT = A.SOURCE_BUS_UNIT AND PS_IN_TMS_STATUS.ORDER_NO = A.ORDER_NO AND A.IN_FULFILL_STATE BETWEEN '30' AND '70') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(10) | VARCHAR2(10) NOT NULL | TMS Reference ID | |
2 | Character(5) | VARCHAR2(5) NOT NULL | Business Unit | |
3 | 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 |
|
4 | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit | |
5 | 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 |