OM_FSS_MANUALVW

(SQL View)
Index Back

MSR Manual FSS Holds

This view holds all Inventory Material Stock Requests that were manually put on Financial Sanction Hold.

SELECT C.SHIP_FROM_BU , 'OM' , A.BUSINESS_UNIT , A.ORDER_NO , 0 , 0 , ' ' , 0 , B.SETID , C.SOLD_TO_CUST_ID , '1' , B.NAME1 , C.ADDRESS_SEQ_NUM , 0 , 0 , ' ' , 0 , %CurrentDateIn , %CurrentDateIn , A.SYSTEM_MAINTAINED FROM PS_ORD_HOLD A , PS_CUSTOMER B , PS_ORD_HEADER C , PS_OM_BU_HOLD_FLGS D WHERE C.SHIP_TO_CUST_ID = B.CUST_ID AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.ORDER_NO = C.ORDER_NO AND A.SYSTEM_MAINTAINED = 'N' AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND (D.HOLD_FIELD = 'HOLD_ORD_FSS' OR D.HOLD_FIELD = 'HOLD_CUST_FSS') AND A.HOLD_CD = D.HOLD_CD AND A.STATUS_DT=( SELECT MAX(STATUS_DT) FROM PS_ORD_HOLD A2 WHERE A2.BUSINESS_UNIT=A.BUSINESS_UNIT AND A2.ORDER_NO=A.ORDER_NO AND A2.ORDER_INT_LINE_NO=A.ORDER_INT_LINE_NO AND A2.SCHED_LINE_NBR=A.SCHED_LINE_NBR AND A2.SEQ_NUM=A.SEQ_NUM AND A2.STATUS_DT<=%CurrentDateIn) AND A.EFF_STATUS='A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory 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 SOURCE_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Source Bus Unit
4 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
5 ORDER_INT_LINE_NO Number(5,0) INTEGER NOT NULL Order Line
6 SCHED_LINE_NBR Number(6,0) INTEGER NOT NULL Schedule Line Number
7 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
8 DEMAND_LINE_NO Number(4,0) SMALLINT NOT NULL Demand Line No
9 SETID Character(5) VARCHAR2(5) NOT NULL SetID
10 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
11 FSS_ADDR_TYPE Character(1) VARCHAR2(1) NOT NULL 03/29/06 EGS: Created
1=Ship-to
2=Bill-to
3=Credit Card
4=Sold-to
5=Order Override
6=Inventory Override
12 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
13 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
14 SDN_ID Number(15,0) DECIMAL(15) NOT NULL Unique Identifier for a loaded Financial Sanction list.
15 SDN_ENTRY_ID Number(15,0) DECIMAL(15) NOT NULL Unique identifier for an Financial Sanction entry.
16 SDN_LIST_TYPE Character(4) VARCHAR2(4) NOT NULL Types of lists that can be loaded into the system.
ESDN=Enterprise SDN
EU=EU
OFAC=OFAC
17 SCORE Number(7,2) DECIMAL(6,2) NOT NULL Test Score
18 FSS_ACTIVITY_DT Date(10) DATE EGS 03/02/06: Created
19 SDN_PUBLISH_DATE Date(10) DATE Publish date given on the loaded Financial Sanction list.
20 SYSTEM_MAINTAINED Character(1) VARCHAR2(1) NOT NULL System Maintained