Tuesday, November 29, 2011

SQL Query To Find Operating Unit And Corresponding Inventory Organizations Details

Following query gives Operating Unit Information and corresponding Inventory Orgs related information as well.

SELECT hou.NAME operating_unit_name,

hou.short_code,
hou.organization_id operating_unit_id, 

hou.set_of_books_id,
hou.business_group_id,
ood.organization_name inventory_organization_name,
ood.organization_code Inv_organization_code,

ood.organization_id Inv_organization_id, 
ood.chart_of_accounts_id
FROM hr_operating_units hou, 

org_organization_definitions ood
WHERE 1 = 1 

AND hou.organization_id = ood.operating_unit
ORDER BY hou.organization_id ASC

2 comments:

Mike Perham said...

It's quite hard to find a good site. And I think I am lucky enough to have come here. The posts are doing great and full of good insights. I would be glad to keep on coming back here to check for updates!
Celabright information

Anonymous said...

By that measure, Wells Fargo had $553 billion in Main Street deposits, a 9 http://crcm.tv/5v as
an substitute for applying for the money advance, ask in case your workplace can present you which has a advance
loan.

Post a Comment