Use API to update vendor name and previous name

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.