1、查询公司主体
SELECT a.flex_value_id,b.flex_value,B.SUMMARY_FLAG,A.flex_value_meaning,c.flex_value_set_name,a.DESCRIPTION,a.LANGUAGe,c.FLEX_VALUE_SET_ID
from APPLSYS.FND_FLEX_VALUES_TL a,APPLSYS.FND_FLEX_VALUES b,
APPLSYS.FND_FLEX_VALUE_SETS c where
a.flex_value_id=b.flex_value_id and B.flex_value_set_id=c.flex_value_set_id and c.flex_value_set_name like '%COMPANY' AND
a.language='ZHS' and b.enabled_flag='Y'
2、库存组织
1. 经营单位,A/B/C分公司,A下面有A1,A2等工厂,主题目标是为了独立核算此组织ORG,ORG_ID;
2. 库存组织,例如制造商的仓库,例如A1,A2等工厂Organization_id;
2、法人实体
select a.* from hr_operating_units a,gl_sets_of_books b where a.set_of_books_id=b.set_of_books_id