Thursday 21 March 2019

Oracle Customer Relationship Query in Oracle apps

Oracle Customer Relationship Query in Oracle apps

In this post , I will share the sql query helps to extract the Customer Relationship Information's in Oracle apps. This query will share parent and the child customers information's in the relationship. You will also get the information about Relationship type (One Way or Reciprocal) with the help of this Sql Query.
 
Customer Relationship in Oracle Apps helps to control their Payments between them. With the Help of Customer Relationship we can Settle the payments received from one Customer against multiple customers Invoices. We can create relationships between any customers and relationship can also be one-way or reciprocal. In One-way Relationship , we can apply the payment or receipt of the Parents Customer with all their related customers invoices which we have created in the Relationship.
 
In Reciprocal Relationship , we can apply the payment or receipt of both Parent and child Customers with all their related customer invoices which we have created in the Relationship in two way.
 

Tables Involved in Oracle Customer Relationship Query

1.hz_cust_acct_relate_all
2.hz_parties
 
 

Detail Oracle Customer Relationship Query in Oracle apps

SELECT hzpuicustactrelateeo.cust_account_id,
       hzpuicustactrelateeo.related_cust_account_id,
       hzpuicustactrelateeo.last_update_date,
       hzpuicustactrelateeo.last_updated_by,
       hzpuicustactrelateeo.creation_date, hzpuicustactrelateeo.created_by,
       hzpuicustactrelateeo.last_update_login,
       hzpuicustactrelateeo.relationship_type, hzpuicustactrelateeo.comments,
       hzpuicustactrelateeo.attribute_category,
       hzpuicustactrelateeo.request_id,
       hzpuicustactrelateeo.program_application_id,
       hzpuicustactrelateeo.program_id,
       hzpuicustactrelateeo.program_update_date,
       hzpuicustactrelateeo.customer_reciprocal_flag,
       hzpuicustactrelateeo.status,
       hzpuicustactrelateeo.org_id, hzpuicustactrelateeo.bill_to_flag,
       hzpuicustactrelateeo.ship_to_flag,
       hca.account_name AS rel_act_desc, hp.party_name AS rel_customer,
       hca.account_number AS rel_act_number, 'Y' AS lov_mode, hp.party_id
  FROM hz_cust_acct_relate_all hzpuicustactrelateeo,
       hz_cust_accounts_all hca,
       hz_parties hp
 WHERE 1=1
   AND hca.cust_account_id = hzpuicustactrelateeo.related_cust_account_id
   AND hca.party_id = hp.party_id
   and hp.party_number=:PARTY_NUMBER
 
 

1 comments:

Lea Paige Matteo said...

How Lemeridian funding service  grant me a loan!!!

Hello everyone, I'm Lea Paige Matteo from Zurich Switzerland and want to use this medium to express gratitude to lemeridian funding service for fulfilling his promise by granting me a loan, I was stuck in a financial situation and needed to refinance and pay my bills as well as start up a Business. I tried seeking for loans from various loan firms both private and corporate organisations but never succeeded and most banks declined my credit request. But as God would have it, I was introduced by a friend named Lisa Rice to Le_meridian funding service and undergone the due process of obtaining a loan from the company, to my greatest surprise within 48hrs just like my friend Lisa, I was also granted a loan of $216,000.00 So my advise to everyone who desires a loan, "if you must contact any firm with reference to securing a loan online with low interest rate of 1.9% and better repayment plans/schedule, please contact Le_meridian funding service. Besides, he doesn't know that am doing this but due to the joy in me, I'm so happy and wish to let people know more about this great company whom truly give out loans, it is my prayer that GOD should bless them more as they put smiles on peoples faces. You can contact them via email on {lfdsloans@lemeridianfds.com Or lfdsloans@outlook.com} or Text through Whatsapp +1-989 394 3740.

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *