--PO采购订单状态更改处理API
PO_Document_Control_PUB.control_document(
p_api_version IN NUMBER,
p_init_msg_list IN VARCHAR2,
p_commit IN VARCHAR2,
x_return_status OUT NOCOPY VARCHAR2,
po_doc_tbl IN po_document_control_pub.PO_DTLS_REC_TBL,
p_action IN VARCHAR2,
p_action_date IN DATE,
p_cancel_reason IN PO_LINES.cancel_reason%TYPE,
p_cancel_reqs_flag IN VARCHAR2,
p_print_flag IN VARCHAR2,
p_revert_chg_flag IN VARCHAR2,
p_launch_approvals_flag IN VARCHAR2,
p_note_to_vendor IN PO_HEADERS.note_to_vendor%TYPE,
p_use_gldate IN VARCHAR2 DEFAULT NULL,
p_org_id IN NUMBER DEFAULT NULL
);