I have set the Profile option HZ: Generate Party Number as NO.
This means that the system will not generate the party number on its own.
Now i want to pass the desire party number in order to create an organization by calling the standard API(hz_party_v2pub.create_organization)
The issue is ,the create_organization has party number as OUT parameter and i cannot pass the value to the same.
Is there any other way where i can pass the desired party number to create the organization.
Thanks in Advance,
One of the parameters to the API is
p_organization_rec IN ORGANIZATION_REC_TYPE,
So you need to pass party_number into p_organization_rec (something like l_organization_rec.party_rec.party_number, check the syntax based on API definition).