po_document_control_pub.control_document API taking long time to cancel one po line
Hi All,
Need your inputs. I am using po_document_control_pub.control_document to cancel PO line. It is working well however I see that it takes 1 min 30 seconds to cancel one po line.
This is causing performance issue.
Below is the API that i used.
po_document_control_pub.control_document
(p_api_version => 1.0, -- P_API_VERSION
p_init_msg_list => apps.fnd_api.g_true, -- P_INIT_MSG_LIST
p_commit => apps.fnd_api.g_true, -- P_COMMIT
x_return_status => l_return_status, -- X_RETURN_STATUS
p_doc_type => 'PO', -- P_DOC_TYPE