begin
select a.order_percentage,a.bill_percentage
  into :csh_payment_terms.order_percentage,
     :csh_payment_terms.bill_percentage
  from a_csh_payment_terms_add a
 where a.payment_term_id =:csh_payment_terms.payment_term_id;
exception when no_data_found then
null;
end ;

-----上面的代码会改变状态

----下面函数手动设置状态为query

set_record_property(:system.trigger_record,:system.trigger_block,status,query_status);

问题解决。

相关文章:

  • 2022-12-23
  • 2021-09-01
  • 2021-09-08
  • 2022-01-07
  • 2021-11-04
  • 2021-08-26
猜你喜欢
  • 2021-06-19
  • 2021-12-23
  • 2021-07-04
  • 2021-10-01
  • 2021-07-23
  • 2021-08-19
  • 2021-12-13
相关资源
相似解决方案