CA_ORD_LINES_VW(SQL View) |
Index Back |
---|
SELECT B.CONTRACT_NUM , B.CONTRACT_LINE_NUM , B.PRODUCT_ID , B.NET_AMOUNT , B.SHIP_TO_CUST_ID , B.SHIP_FROM_LOC , B.QTY , B.UNIT_OF_MEASURE , B.ADDR_SEQ_NUM_SHIP , B.ADDR_SEQ_NUM_SHIP , B.CURRENCY_CD , B.LIST_PRICE FROM PS_CA_CONTR_HDR A , PS_CA_DETAIL B , PS_SET_CNTRL_REC C , PS_PROD_ITEM D WHERE A.CONTRACT_NUM = B.CONTRACT_NUM AND B.CA_LINE_STATUS = 'A' AND A.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME = 'PROD_ITEM' AND C.SETID = D.SETID AND B.PRODUCT_ID = D.PRODUCT_ID AND D.PRODUCT_USE = '3' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |
2 | CONTRACT_LINE_NUM | Number(3,0) | SMALLINT NOT NULL | Contract Line Num |
3 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
4 | NET_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | The resulting net amount related to settlement cash flows subject to counterparty netting agreements. |
5 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
6 | SHIP_FROM_LOC | Character(10) | VARCHAR2(10) NOT NULL | Ship From Location |
7 | QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Quantity |
8 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
9 | ADDR_SEQ_NUM_SOLD | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
10 | ADDR_SEQ_NUM_SHIP | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
11 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
12 | LIST_PRICE | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | List Price |