CC_FINPOS_VW1

(SQL View)
Index Back

ProCard BU Expenses

The sum of the expense amount (inclusive tax) for a specific business unit. Tax paid. (Inclusive) Bank statement combines the purchase amount and the tax amount in one field (merchandise_amt). Total billing amount is actually the same as the merchandise amount.

SELECT A.CREDIT_CARD_VENDOR , A.BILLING_DATE , A.BUSINESS_UNIT , B.CURRENCY_CD , B.CURRENCY_CD_BASE , SUM(B.MERCHANDISE_AMT) , SUM(B.MERCH_AMT_BSE) FROM PS_CC_TRANS_LINE A , PS_CC_TRANS_DIST B WHERE A.INCLUDE_TAX = 'Y' AND A.CC_STATUS <> '4' AND A.EMPLID = B.EMPLID AND A.CREDIT_CARD_VENDOR = B.CREDIT_CARD_VENDOR AND A.CRDMEM_ACCT_NBR = B.CRDMEM_ACCT_NBR AND A.TRANS_NBR = B.TRANS_NBR AND A.TRANS_DT = B.TRANS_DT AND A.DTTM_STAMP = B.DTTM_STAMP AND B.CC_POST_STATUS = '3' GROUP BY A.CREDIT_CARD_VENDOR, A.BILLING_DATE, A.BUSINESS_UNIT, B.CURRENCY_CD, B.CURRENCY_CD_BASE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CREDIT_CARD_VENDOR Character(5) VARCHAR2(5) NOT NULL Corporate Card Vendor
2 BILLING_DATE Date(10) DATE Billing Date
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
5 CURRENCY_CD_BASE Character(3) VARCHAR2(3) NOT NULL Business Unit Base Currency
6 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label
7 MERCH_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Base Merchandise Amount