used hz_party_v2pub.update_organization to update supplier name have error
Hi,
We need used this api to update supplier name. I can fine any document to how about used this API package.
We need used this api to update supplier name. I can fine any document to how about used this API package.
code:
declare
l_vendor hz_party_v2pub.organization_rec_type;
v_return_status Varchar2(2000);
v_msg_count Number;
v_msg_data Varchar2(2000);
v_profile_id Number;
v_object Number := 1;
Begin
l_vendor.party_rec.party_id := 1214; -- PARTY ID FROM HZ_PARTIES OR PO_VENDORS
l_vendor.organization_name := 'XYZ'; -- NEW ORGANIZATION NAME FOR UPDATION
hz_party_v2pub.update_organization(p_init_msg_list => fnd_api.g_false,
p_organization_rec => l_vendor,
p_party_object_version_number => v_object,
Tagged:
0