简体   繁体   English

业务事件处理程序在openbravo中不起作用

[英]Business Event Handler not working in openbravo

I have created a manual window in openbravo. 我已经在openbravo中创建了一个手动窗口。 This manual window inserts records in table A. To this table their is business event handler which gets activated when row is added, updated or deleted to the table A and if any change is their, this event inserts,updates or deletes in another table B.Now the problem is that whenever i changed the rows(that is add a new row,update or delete it ) manually in ERP then the event is working , But when did through process this event is not getting called. 该手动窗口在表A中插入记录。该表是业务事件处理程序,当向表A添加,更新或删除行时激活该事件处理程序,并且如果它们有任何更改,则此事件在另一个表B中插入,更新或删除。现在的问题是,每当我在ERP中手动更改行(即添加新行,对其进行更新或删除)时,该事件都将起作用,但是在执行过程中未调用此事件。

Can anybody suggest what should i do? 有人可以建议我该怎么做吗?

Business entity events only work when accessing the database through the data access layer (DAL), so they do not work for classic windows or direct jdbc calls!. 业务实体事件仅在通过数据访问层 (DAL)访问数据库时起作用 ,因此它们不适用于经典Windows或直接jdbc调用!

You may be using some Native SQL Queries(XSQL) or JDBC calls in the process , that is the reason It is working through UI but not java process execution. 您可能在流程中使用了一些本机SQL查询(XSQL)或JDBC调用,这是它通过UI进行工作而不是通过Java流程执行的原因。

click here for more informaiton 点击这里了解更多信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM