This content has been marked as final. Show 6 replies
Instead of passing Party number , Pass Party_id of the party for which you want to create an Account.
p_organization_rec.party_rec.party_id := &party_id;
Tried that, but it didn't work ... once you pass the Org Name, it creates an with NEW party id. We are passing below to hz_cust_account_v2pub.create_cust_account API:
l_cust_account_rec.created_by_module := 'TCA_V2_API';