Payables and Cash Management - EBS (MOSC)

MOSC Banner

used hz_party_v2pub.update_organization to update supplier name have error

edited Nov 21, 2012 8:38PM in Payables and Cash Management - EBS (MOSC) 3 commentsAnswered
 Hi,
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,

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center