Oracle EBS OPM 取消生产批】的更多相关文章

--取消生产批 --created by jenrry SET serveroutput on; DECLARE p_batch_header_rec gme_batch_header%ROWTYPE; x_batch_header_rec gme_batch_header%ROWTYPE; x_return_status VARCHAR2 (2000); p_validation_level NUMBER; p_init_msg_list VARCHAR2 (2000); p_commit V…
--创建生产批 --created by jenrry DECLARE x_message_count NUMBER; x_message_list VARCHAR2 (2000); x_return_status VARCHAR2 (1); p_batch_header gme_batch_header%ROWTYPE; x_batch_header gme_batch_header%ROWTYPE; x_exception_material_tbl gme_common_pvt.except…
--发放生产批 --created by jenrry DECLARE x_return_status VARCHAR2 (1); l_exception_material_tbl gme_common_pvt.exceptions_tab; l_batch_header_rec gme_batch_header%ROWTYPE; l_in_batch_header_rec gme_batch_header%ROWTYPE; l_org_code VARCHAR2 (3); l_ignore_e…
--生产批创建事物处理 --created by jenrry DECLARE p_mmti_rec mtl_transactions_interface%ROWTYPE; p_mmli_tbl gme_common_pvt.mtl_trans_lots_inter_tbl; x_return_status VARCHAR2 (2000); p_validation_level NUMBER; p_init_msg_list VARCHAR2 (2000); p_commit VARCHAR2…
--update_material_txn --created by jenrry DECLARE p_mmti_rec mtl_transactions_interface%ROWTYPE; p_mmli_tbl gme_common_pvt.mtl_trans_lots_inter_tbl; x_return_status VARCHAR2 (2000); p_validation_level NUMBER; p_init_msg_list VARCHAR2 (2000); p_commit…
--release_step生产批 --created by jenrry SET serveroutput on DECLARE x_return_status VARCHAR2 (1); l_exception_material_tbl gme_common_pvt.exceptions_tab; l_batch_step_rec gme_batch_steps%ROWTYPE; l_in_batch_step_rec gme_batch_steps%ROWTYPE; l_org_code…
--取消发票 created by jenrry 20170425 declare l_result BOOLEAN; l_message_name VARCHAR2(240); l_invoice_amount NUMBER; l_base_amount NUMBER; l_temp_cancelled_amount NUMBER; l_cancelled_by NUMBER; l_cancelled_amount NUMBER; l_cancelled_date DATE; l_last_u…
--取消付款 created by jenrry 20170425 declare l_return_status varchar2(50); l_msg_count number; l_msg_data varchar2(2000); begin FND_GLOBAL.APPS_INITIALIZE(USER_ID => 1111, RESP_ID => 50737, RESP_APPL_ID => 20005); mo_global.init('SQLAP'); mo_global.…
--取消核销 created by jenrry 20170425 DECLARE l_result BOOLEAN; l_msg_count NUMBER; l_result_n varchar2(2); l_error_message VARCHAR2(2000); l_num_c NUMBER; l_num_nc NUMBER; BEGIN -- Call the procedure fnd_global.APPS_INITIALIZE(1111, 50737, 20005); mo_gl…
--close_batch --created by jenrry DECLARE x_message_count NUMBER; x_message_list VARCHAR2 (4000); x_return_status VARCHAR2 (2000); p_batch_header gme_batch_header%ROWTYPE; x_batch_header gme_batch_header%ROWTYPE; l_user_name VARCHAR2 (80); l_user_id…