Join the OracleApps88 Telegram group @OracleApps88to get more information on Oracle EBS R12/Oracle Fusion applications.

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.

Sunday, March 20, 2016

Query to get the Customer Name, Account number, Transaction number , Receipt and Amount details

SELECT
  hca.account_number ,
  hp.party_name ,
  rcta.trx_number ,
  acra.receipt_number ,
  RCTA.TRX_DATE ,
  ACRA.CREATION_DATE ,
  acra.amount
FROM
HZ_PARTIES HP ,
HZ_CUST_ACCOUNTS HCA ,
RA_CUSTOMER_TRX_ALL RCTA ,
ar_cash_receipts_all acra ,
ar_receivable_applications_all aaa
WHERE AAA.APPLICATION_TYPE = 'CASH'
AND HP.PARTY_ID              = HCA.PARTY_ID
and RCTA.SOLD_TO_CUSTOMER_ID = HCA.CUST_ACCOUNT_ID
AND AAA.CASH_RECEIPT_ID = ACRA.CASH_RECEIPT_ID
AND AAA.APPLIED_CUSTOMER_TRX_ID = RCTA.CUSTOMER_TRX_ID

and acra.receipt_number      ='453753';

No comments:

Post a Comment

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.
Best Blogger TipsGet Flower Effect