6 Replies Latest reply on Nov 8, 2012 12:10 AM by ppillai

    Creating a customer account via API without creating the organization.

      Hi guys

      Hoping for a bit of help here.

      I need to create some customer accounts via the API.

      The customer organization will ALREADY exist at the point I am adding the account.

      So, I use Hz_Cust_Account_V2pub.create_cust_account to create the account for the organization, I pass the party number of the previously create organization into create_cust_account, and the account is successfully created - however a new, duplicate, organization is created by create_cust_account, so I end up with TWO of the same organization in hz_parties, each with a different party_id.

      How can I create just the account and not a duplicate organization, given that the organization already exists.

      Hope someone can help