Original address update Vendor name EBS R12 (12.1.3)
Update vendor name or used name not directly
Pos_vendor_pub_pkg.update_vendor
(
P_vendor_rec = L_vendor_rec,
X_return_status = L_return_status,--return status
X_msg_count = L_msg_count,--Number of errors returned
X_msg_data = L_msg_data); --The error message returned
This API requires the use of a different API
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
, x_profile_id = v_profile_id
, X_return_status = L_vendor_status
, X_msg_count = V_msg_count
, X_msg_data = V_msg_data
);
where L_vendor.organization_name represents vendor name
and l_vendor.organization_name_phonetic represents vendor alternate name
SELECT pv.party_id
, Hp.object_version_number
From Po_vendors PV
, Hz_parties HP
WHERE Upper (Pv.vendor_name) = Upper (P_vendor_name)
and Pv.end_date_active is NULL
and pv.party_id = hp.party_id;
This query would give mandatory fields for the This API
Use API to update vendor name and previous name