IN_POSTG_ATP_VW(SQL View) |
Index Back |
---|---|
PO Stage ATP View02/01/04 EGS: Created |
SELECT BUSINESS_UNIT_IN , INV_ITEM_ID , 'PPO' , 'S' , 'PL' , DUE_DT , QTY_REQ_STD , VENDOR_SETID , VENDOR_ID , VNDR_LOC FROM PS_PO_ITM_STG WHERE SYSTEM_SOURCE = 'PLN' AND STAGE_STATUS NOT IN ('C', 'D', 'E', 'R', 'W') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | ATP_SOURCE | Character(6) | VARCHAR2(6) NOT NULL | This field is used in the ATP and Availability calculation to determine where the particular source or demand was fetched from. It will store the up-to-6 character mnemonic used in the associated view that fetched the data. For example, if ATP_S_PO_VW was used to fetch purchase order information, this field will contain "PO". If view ATP_D_PROMIS_VW was used to fetch promised demand information, this field will contain "PROMIS". |
4 | AVAIL_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Availability Type
D=Demand S=Supply |
5 | 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 |
6 | SCHED_DATE | Date(10) | DATE | Schedule Date |
7 | QTY_REQUESTED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested |
8 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
9 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
10 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |