Below query will give you detail for credit card transaction for User with details like credit card number, user name, credit card transaction type, transaction amount and age of transaction etc.
SELECT fu.user_name,
papf.full_name,
cc.cardmember_name,
cc.card_number,
tr.transaction_type,
tr.transaction_date,
tr.transaction_amount,
tr.posted_currency_code,
tr.merchant_name1,
tr.merchant_city,
round(sysdate - tr.transaction_date) age_cc_trx,
tr.posted_amount,
tr.trx_id
FROM ap_credit_card_trxns_all tr,
ap_cards_all cc,
hr.per_all_people_f papf,
fnd_user fu
WHERE tr.card_ID = cc.card_ID
and tr.card_program_id = cc.card_program_id
and cc.employee_id = papf.person_id
and fu.employee_id = papf.person_id
and upper(fu.user_name) = upper(l_user_name)
and tr.report_header_id is null;
SELECT fu.user_name,
papf.full_name,
cc.cardmember_name,
cc.card_number,
tr.transaction_type,
tr.transaction_date,
tr.transaction_amount,
tr.posted_currency_code,
tr.merchant_name1,
tr.merchant_city,
round(sysdate - tr.transaction_date) age_cc_trx,
tr.posted_amount,
tr.trx_id
FROM ap_credit_card_trxns_all tr,
ap_cards_all cc,
hr.per_all_people_f papf,
fnd_user fu
WHERE tr.card_ID = cc.card_ID
and tr.card_program_id = cc.card_program_id
and cc.employee_id = papf.person_id
and fu.employee_id = papf.person_id
and upper(fu.user_name) = upper(l_user_name)
and tr.report_header_id is null;
Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next.. DLR collection agency
ReplyDeleteThe software says exclusively relevant. Each of reduced attributes happen to be formulated with various capture certification. I like the application many. debt relief programs
ReplyDeleteWow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also 콘텐츠이용료 현금화
ReplyDeleteThis was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself.. 신용카드 현금화
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThere is noticeably a bundle to know about this. I assume you made specific nice points in functions also. Slice invitation code
ReplyDelete