FO_PO_INQ_VW(SQL View) |
Index Back |
---|---|
PO Inquire ViewPO Inquire View |
SELECT H.BUSINESS_UNIT , H.CUST_ID , H.CA_PO_ID , C.NAME1 , C.NAMESHORT , H.PO_AMT1 , H.REMAINING_AMOUNT , H.CA_PO_STATUS , H.COMMITTED_AMT , H.START_DT , H.END_DATE , H.CURRENCY_CD FROM PS_FO_PO_HDR H , PS_CUSTOMER C , PS_SET_CNTRL_REC CTRL WHERE H.CUST_ID = C.CUST_ID AND CTRL.SETID = C.SETID AND CTRL.RECNAME = 'CUSTOMER' AND CTRL.SETCNTRLVALUE = H.BUSINESS_UNIT AND H.PROCESS_INSTANCE = 0 |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | 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. |
3 | CA_PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Internal PO ID |
4 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
5 | NAMESHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Name |
6 | ENTERED_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Represents the total currency amount of all pending items actually entered in a group and is compared with the control total amount. The Receivables Update program automatically calculates this total. |
7 | REMAINING_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Remaining Amount |
8 | CA_PO_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
PO Status
A=Active H=Exhausted N=New P=Expired |
9 | COMMITTED_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Committed Assets |
10 | START_DT | Date(10) | DATE | Start Date |
11 | END_DATE | Date(10) | DATE | End Date |
12 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |