Pages

OracleEBSpro is purely for knowledge sharing and learning purpose, with the main focus on Oracle E-Business Suite Product and other related Oracle Technologies.

I'm NOT responsible for any damages in whatever form caused by the usage of the content of this blog.

I share my Oracle knowledge through this blog. All my posts in this blog are based on my experience, reading oracle websites, books, forums and other blogs. I invite people to read and suggest ways to improve this blog.


Monday, September 12, 2016

Query to find Default Shipping WareHouse in OM

SELECT msib.segment1,
       (SELECT ood.organization_code
          FROM org_organization_definitions ood
         WHERE ood.organization_id = msib.default_shipping_org)
          Default_Shipping_Org,
          msib.inventory_item_status_code,
       (SELECT   mis.description
             FROM MTL_ITEM_STATUS_TL mis
                where  mis.inventory_item_status_code = msib.inventory_item_status_code
                and mis.language='US') inventory_item_status        
  FROM mtl_system_items_b msib
 WHERE     1 = 1
       AND msib.organization_id = 121
       AND segment1 NOT LIKE '9%'
       AND msib.default_shipping_org IS NOT NULL
ORDER BY 3,1;

1 comment:

  1. If more people that write articles really concerned themselves with writing great content like you, more readers would be interested in their writings. Thank you for caring about your content. https://europa-road.eu/hu/gepszallitas.php

    ReplyDelete