1.级联
where period_name=:$FLEX$.gl_period_name 如果where 这里period_name, view里面必须select 出来, 见gl_batch_period_v
2.org_id 限制 value set 取值 :$profiles$.ORG_ID, 也可以写到view里面见view注释
CREATE OR REPLACE VIEW gl_batch_period_v -- batch_name
AS
SELECT h.period_name, b.NAME, b.org_id
FROM gl_je_batches b, gl_je_headers h
WHERE h.je_batch_id = b.je_batch_id;
--AND org_id = fnd_profile.VALUE ('ORG_ID')
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/226700/viewspace-902936/ ,如需转载,请注明出处,否则将追究法律责任。