FCST_PO_NOBK_VW(SQL View) |
Index Back |
---|---|
Position Source View for POThis view pulls data from PO information from PS_PO_HDR, PS_PO_LINE, and PS_PO_LINE_SHIP tables to use in Cash Forecasting |
SELECT H.BUSINESS_UNIT , H.PO_ID , H.PO_TYPE , H.PO_STATUS , H.HOLD_STATUS , H.RECV_STATUS , H.DISP_ACTION , H.PO_DT , H.MATCH_STATUS_PO , H.BUSINESS_UNIT_GL , H.BUDGET_CHECK , H.PREPAID_AMT , L.LINE_NBR , L.CNTRCT_ID , S.SCHED_NBR , S.CANCEL_STATUS , S.DUE_DT , S.ORIG_PROM_DT , S.CURRENCY_CD , S.MERCHANDISE_AMT , S.MATCH_STATUS_LN_PO , S.SHIP_DATE , D.CALENDAR_DATE FROM PS_PO_HDR H , PS_PO_LINE L , PS_PO_LINE_SHIP S , PS_POS_DAYS_TBL D WHERE H.BUSINESS_UNIT = L.BUSINESS_UNIT AND H.PO_ID = L.PO_ID AND H.BUSINESS_UNIT = S.BUSINESS_UNIT AND H.PO_ID = S.PO_ID AND L.BUSINESS_UNIT = S.BUSINESS_UNIT AND L.PO_ID = S.PO_ID AND L.LINE_NBR = S.LINE_NBR AND D.CALENDAR_DATE = %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
3 | PO_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
PO Type
GEN=General KAN=Kanban |
4 | PO_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
PO Status
A=Approved C=Complete D=Dispatched DA=Denied I=Initial LD=Line Denied O=Open PA=Pending Approval/Approved PX=Pending Cancel X=Canceled |
5 | HOLD_STATUS | Character(1) | VARCHAR2(1) NOT NULL | Hold From Further Processing |
6 | RECV_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Receipt Status
C=Closed Receipt H=Hold Receipt M=Moved to Destination N=PO Not Received O=Open P=PO Partially Received R=Fully Received X=Canceled |
7 | DISP_ACTION | Character(1) | VARCHAR2(1) NOT NULL | Allow Dispatch When Appr |
8 | PO_DT | Date(10) | DATE | Date |
9 | MATCH_STATUS_PO | Character(1) | VARCHAR2(1) NOT NULL |
Match Status
M=Matched N=Not Required P=Partially Matched T=To Match |
10 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
11 | BUDGET_CHECK | Character(1) | VARCHAR2(1) NOT NULL |
Budget Checked
N=No Y=Yes |
12 | PREPAID_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Prepaid Amount |
13 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
14 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID |
15 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
16 | CANCEL_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Cancel Status
A=Active C=Closed D=Denied H=Hold O=Open P=Pending Approval X=Canceled |
17 | DUE_DT | Date(10) | DATE | Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received. |
18 | ORIG_PROM_DT | Date(10) | DATE | Original Promise Date |
19 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
20 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
21 | MATCH_STATUS_LN_PO | Character(1) | VARCHAR2(1) NOT NULL |
Match Status PO
M=Matched N=Not Matched P=Partially Matched |
22 | SHIP_DATE | Date(10) | DATE | Item Shipping Date |
23 | CALENDAR_DATE | Date(10) | DATE | An internal work field utilized to store calendar dates for a given calendar year. The dates are displa |