CRCARD_PPAY_VW1(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.CUST_ID , A.ITEM , I.ITEM_LINE , A.HIST_SEQ , %DecMult(A.AMOUNT, -1) , A.CURRENCY_CD , C.CR_CARD_AUTH_DT , C.CR_CARD_AUTH_CD FROM PS_CRCARD_PAYMENT A , PS_CRCARD_HST_VW C , PS_ITEM I WHERE A.HIST_SEQ = C.HIST_SEQ AND C.CR_CARD_AUTH_STAT IN ('B', 'P') AND I.BUSINESS_UNIT = A.BUSINESS_UNIT AND I.CUST_ID = A.CUST_ID AND I.ITEM = A.ITEM AND %Sql(AR_CCPAY_PEND_WHERE, A., A.) |
# | 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.
Prompt Table:
CUST_SRCH_VW
|
3 | ITEM | Character(30) | VARCHAR2(30) NOT NULL | Uniquely identifies an invoice credit memo or debit memo. The item ID is also called the invoice number. |
4 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |
5 | HIST_SEQ | Number(9,0) | DECIMAL(9) NOT NULL | History sequence number |
6 | AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amount |
7 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
8 | CR_CARD_AUTH_DT | Date(10) | DATE | Credit Card Authorization Date |
9 | CR_CARD_AUTH_CD | Character(10) | VARCHAR2(10) NOT NULL | Credit Card Auth Code |