ITPub博客

首页 > 数字化转型 > ERP > 再遇妖的问题, 先COMMIT , 记得写更新料号属性的时候也遇到过

再遇妖的问题, 先COMMIT , 记得写更新料号属性的时候也遇到过

原创 ERP 作者:moonsoft 时间:2019-05-29 21:18:05 0 删除 编辑

pause ; MESSAGE('s'||:ship_confirm_id); pause;

已经执行, 但是同时的UPDATE 语句就是不执行

[@more@]IF (v_return_status = 'S') THEN

-- RAISE fail_api;
if :weight is not null then
update oe_order_headers_all
set attribute14 = :weight
where order_number = :order_number
and org_id = :parameter.g_org_id;
end if;
-- pause ; MESSAGE('s'||:ship_confirm_id); pause;
COMMIT;
update xx_oe_ship_confirm_all sc
set sc.shipped_flag = 'Y'
where sc.ship_confirm_id = :ship_confirm_id;

COMMIT;

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/226700/viewspace-916760/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2005-01-20

  • 博文量
    412
  • 访问量
    418783