HEK_OM_POP_HEADERS_V 的pre_delete中的代码:
--
-- Begin default relation program section
--
BEGIN
--
-- Begin HEK_OM_POP_LINES_V detail program section
--
DELETE FROM hek_om_pop_lines_v h
WHERE h.HEADER_ID = :HEK_OM_POP_HEADERS_V.HEADER_ID;
--
-- End HEK_OM_POP_LINES_V detail program section
--
END;
--
-- End default relation program section
出现错误:
indentifier 'HEK_OM_POP_HEADERS_V' must be declared ;
sql statement ignored
后来发现是个人失误:
hek_om_pop_lines_v是视图,不能作删除操作,后来改成hek_om_pop_lines_all就OK了。
--
-- Begin default relation program section
--
BEGIN
--
-- Begin HEK_OM_POP_LINES_V detail program section
--
DELETE FROM hek_om_pop_lines_v h
WHERE h.HEADER_ID = :HEK_OM_POP_HEADERS_V.HEADER_ID;
--
-- End HEK_OM_POP_LINES_V detail program section
--
END;
--
-- End default relation program section
出现错误:
indentifier 'HEK_OM_POP_HEADERS_V' must be declared ;
sql statement ignored
后来发现是个人失误:
hek_om_pop_lines_v是视图,不能作删除操作,后来改成hek_om_pop_lines_all就OK了。