Monday, 19 October 2020

Oracle Cloud + Query to get AR Receipts Recommendations Details

 SELECT 

    acra.receipt_number            receipt_number

   ,rcta.trx_number                recommendation

   ,acr.match_score_value          reference_score

   ,DECODE(acr.match_reason_code ,'AR_AA_BELOW_TRX_TSLD','Below transaction threshold','AR_AM_INV_THRESHOLD','Above transaction threshold') reason

   ,apsa.amount_due_remaining      balance

   ,DECODE(tta.type, 'INV', 'Invoice', 'CM', 'Credit Memo') document_type

   ,hp.party_name                  customer

   ,acr.recommendation_status      accepted

   ,acr.amount_applied

   ,SUBSTR(apsa.trx_number,'-0',7)||' '||acr.amount_applied Reference_number

FROM

    ar_cash_receipts_all            acra

   ,ar_receipt_methods              arm

   ,ar_cash_remit_refs_all          acrfa

   ,ar_cash_recos_all               acr

   ,ar_cash_reco_lines_all          acrla

   ,ra_customer_trx_all             rcta

   ,ar_payment_schedules_all        apsa

   ,ra_cust_trx_types_all           tta

   ,hz_cust_accounts                hca

   ,hz_parties                      hp

   ,hz_party_sites                  hps

   ,hz_cust_site_uses_all           hcsu

   ,hz_cust_acct_sites_all          hcsa

WHERE 1 = 1

    AND acra.receipt_number          = '111300952062031'

AND acra.receipt_method_id       = arm.receipt_method_id   

AND acra.cash_receipt_id         = acrfa.cash_receipt_id

AND acrfa.remit_reference_id     = acr.remit_reference_id

AND acr.recommendation_id        = acrla.recommendation_id

AND acr.resolved_matching_number = rcta.trx_number

AND rcta.customer_trx_id         = apsa.customer_trx_id

AND rcta.cust_trx_type_seq_id    = tta.cust_trx_type_seq_id

AND rcta.bill_to_customer_id     = hca.cust_account_id

AND acr.customer_id              = hca.cust_account_id

AND hca.party_id                 = hp.party_id

AND hp.party_id                  = hps.party_id

AND acr.customer_site_use_id     = hcsu.site_use_id

AND hcsu.cust_acct_site_id       = hcsa.cust_acct_site_id

AND hcsa.cust_account_id         = hca.cust_account_id

AND hcsa.party_site_id           = hps.party_site_id


Thanks

Amar Alam

6 comments:

Daily Word said...

This blog is second to none in elucidating things. Thanks for taking the time to give good detailed information about this topic. I will come back to read more. Kissanime

Daily Word said...

Brilliant writer! Thanks for providing these accurate points on this topic. I totally concur with you. Kudos to you for this great post. I will certainly come back to read more. Check this: NYSC Portal Login Dashboard

electrofakhar said...

Assurance habitation déménagement 


Assurance habitation déménagement


Recette homard cuit


Recette homard cuit





NOT READY said...

Spot on with this write-up, I absolutely believe this website needs far more attention. I’ll probably be returning to read through more, thanks for the information!. what is your greatest strength examples

Imarticus said...

I thoroughly enjoyed reading your article on Oracle Cloud queries for AR receipts. Your step-by-step guide is incredibly informative and well-written, providing valuable insights for anyone working with Oracle Cloud. The clarity of your explanations makes it accessible even for those less familiar with the topic, and the inclusion of code snippets is a great touch.

In addition to the insightful content you've shared, I'd like to highlight the relevance of Imarticus Learning's Data Science Course in enhancing skills for professionals in the tech industry. The course's comprehensive curriculum and hands-on approach empower individuals to delve into the intricacies of data science, preparing them for the dynamic demands of the field. Imarticus Learning's commitment to fostering practical knowledge aligns seamlessly with the kind of expertise demonstrated in your article. Together, resources like your blog and educational programs like Imarticus Learning contribute significantly to the continuous growth and development of professionals in the tech and data science domains.

SendMeWishes said...

Hey there! 👋 This post about Oracle Cloud and the query for AR Receipts Recommendations Details is quite intriguing! 💻 It's always great to see discussions around optimizing and leveraging cloud solutions for business processes. The integration of Oracle Cloud with specific queries adds a layer of efficiency to financial operations.

On a side note, speaking of different topics, have you ever thought about how technology also influences our personal lives? 🤔 For instance, the concept of "sad whatsapp dp" (Display Picture) can be an interesting reflection of our emotions in the digital world. It's fascinating to see how even our online profiles become a canvas for expressing our feelings. 🌐💔

Anyway, back to the Oracle Cloud topic – any specific challenges or successes you've encountered with AR Receipts Recommendations Details? Feel free to share your insights! 🚀

Post a Comment