我是靠谱客的博主 可靠彩虹,这篇文章主要介绍子库存-OU-库存组织-关系,现在分享给大家,希望可以做个参考。

SELECT hou.organization_id ou_org_id, --org_id  
       
       hou.name ou_name, --ou名称  
       
       ood.organization_id org_org_id, --库存组织id  
       
       ood.organization_code org_org_code, --库存组织代码  
       
       msi.secondary_inventory_name, --子库存名称  
       
       msi.description --子库存描述  

  FROM hr_organization_information hoi, --组织分类表  
       
       hr_operating_units hou, --ou视图  
       
       org_organization_definitions ood, --库存组织定义视图  
       
       mtl_secondary_inventories msi --子库存信息表  

 WHERE hoi.org_information1 = 'OPERATING_UNIT'
      
   AND hoi.organization_id = hou.organization_id
      
   AND ood.operating_unit = hoi.organization_id
      
   AND ood.organization_id = msi.organization_id;
   
   select *from mtl_secondary_inventories;


 

转载于:https://www.cnblogs.com/wanghang/p/6299560.html

最后

以上就是可靠彩虹最近收集整理的关于子库存-OU-库存组织-关系的全部内容,更多相关子库存-OU-库存组织-关系内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(55)

评论列表共有 0 条评论

立即
投稿
返回
顶部