Error in vendor creation API
Hi Experts,
I am trying to create a employee as supplier through API.
I am passing the employee id.Please conform if any other parameter is required to pass API. I am facing the below error.
"Supplier record cannot be updated.Either the Employee ID/Info is incorrect or the employee associated with this supplier is terminated"
I am using the sample below code.
DECLARE
l_vendor_rec ap_vendor_pub_pkg.r_vendor_rec_type;
l_return_status VARCHAR2 (10);
l_msg_count NUMBER;
l_msg_data VARCHAR2 (1000);
l_vendor_id NUMBER;
l_party_id NUMBER;
ln_msg_index_out NUMBER;