Oracle Fusion Organization Classifications (with organization SQL queries)


 
Organization classifications define the purpose of the organization, 
whether it’s a department, a division, or a legal entity. 
In some enterprises, an organization can have multiple classifications.

For example, one organization within an enterprise might be both a project organization 
and a department. The classifications of organizations vary according to business objectives, 
legal structure, industry, company culture, size and type of growth. 
 
You can create organizations in Oracle Fusion with one or more classifications to 
reflect your enterprise structure.
 
Below are the few valid classifications available in oracle fusion for given organization id:
CST
DEPARTMENT
ENTERPRISE
FUN_BUSINESS_UNIT
HCM_LEMP (Legal Entities)
HCM_LRU (Legal Reporting Unit)
HCM_PSU (Payroll Statutory Unit)
HCM_TRU  (Tax Reporting Unit)
HCM_REPORTING_ESTABLISHMENT
INV
PA_EXPENDITURE_ORG
PA_PROJECT_ORG
PRJ_PROJECT_UNIT
SALES_RESOURCE_ORG
 
--SQL Query to get Organization details with Organization Classification      
SELECT hao.organization_id
    ,haot.NAME
    ,hao.internal_external_flag
    ,hao.type
    ,haoc.classification_code
    ,hao.effective_start_date
    ,hao.effective_end_date
    ,haot.LANGUAGE
FROM hr_all_organization_units_f    hao     --Table
    ,hr_organization_units_f_tl     haot    --Table
    ,hr_org_unit_classifications_x  haoc    --View
WHERE 1=1
AND hao.organization_id         = haot.organization_id
AND hao.organization_id         = haoc.organization_id
AND hao.organization_id         = haot.organization_id
AND hao.effective_start_date    = haot.effective_start_date 
AND Trunc(sysdate) BETWEEN hao.effective_start_date AND hao.effective_end_date
;

--SQL Query to get Inventory Organization Details
SELECT HOU.organization_id ORGANIZATION_ID
	,HOU.name ORGANIZATION_NAME
	,MP.organization_code ORGANIZATION_CODE
	,LGR.ledger_id SET_OF_BOOKS_ID
	,LGR.chart_of_accounts_id CHART_OF_ACCOUNTS_ID
	,LGR.currency_code
	,LGR.period_set_name
	,DECODE(HOI1.STATUS, 'A', 'Y', 'N') INVENTORY_ENABLED_FLAG
	,BU.bu_name BUSINESS_UNIT_NAME
	,MP.business_unit_id BUSINESS_UNIT_ID
	,MP.legal_entity_id LEGAL_ENTITY
	,HOU.TYPE ORGANIZATION_TYPE
FROM hr_all_organization_units_x HOU
    ,hr_org_unit_classifications_x HOI1
    ,inv_org_parameters MP
    ,gl_ledgers LGR
    ,fun_all_business_units_v BU
WHERE 1=1
AND HOU.organization_id         = HOI1.organization_id
AND HOU.organization_id         = MP.organization_id
AND HOI1.classification_code    = 'INV'
AND BU.primary_ledger_id        = LGR.ledger_id(+)
AND LGR.object_type_code(+)     = 'L'
AND NVL(LGR.complete_flag, 'Y') = 'Y'
AND BU.bu_id(+)                 = MP.business_unit_id

 

 

Comments

  1. Excellent, Keep up the good work Gurpreet.

    ReplyDelete

Post a Comment

All Categories

Call Fusion BIP Report2 Change Password1 Code Combinations2 Compute Instance2 CTE1 Customer1 Data Aggregation2 Database5 Date Conversion1 DB Adapter2 Decryption1 Development1 EBS4 Encryption1 ESS Jobs3 Examine1 FBDI3 Fusion APIs1 Fusion BIP7 GIT2 GL3 GL Journals1 GL_DAILY_CONVERSION_TYPES1 GL_DAILY_RATES1 ICS1 Identity Domain1 Integrations1 Java1 Journal Import1 Keys1 Legal Entity1 LookupTypeLOV1 LOV1 LOVs1 MultiPartAPIs1 Networking1 NVL2 NVL in OIC2 OCI11 OCI Billing1 OCI Compute5 OCI Cost Management1 OCI Events Service1 OCI Free Tier3 OCI Notifification Service1 OCI Security3 OIC4 OIC Mapper2 Oracle26 Oracle ADF17 Oracle APEX1 Oracle Apps59 Oracle Apps R126 Oracle ATP1 Oracle BIP8 Oracle Cloud12 Oracle Cloud Free Tier1 Oracle cloud Infrastructure9 Oracle Cloud Security2 Oracle Cloud VM1 Oracle DB4 oracle ebs5 Oracle ERP4 Oracle ERP Adapter2 Oracle ERP Cloud7 Oracle financials2 Oracle Forms1 Oracle Fusion57 Oracle Fusion BIP4 Oracle Fusion ERP17 Oracle Fusion Financials18 Oracle Integration Cloud3 Oracle OAF17 Oracle OCI14 Oracle OIC22 Oracle SOA 12c10 Oracle SQL17 Oracle VBCS1 Oracle VBS2 Oracle Visual Builder Cloud Service1 Oracle Visual Builder Studio2 Oracle Workflow Notifications1 Others10 Payables2 Payables Import1 Properties1 R121 Register BIP as ESS Job1 Reset Password1 Responsibility1 REST4 Security List1 Site Map1 SOAP2 SOAP API2 SOAP UI3 SQL16 SQL Functions3 SQL Queries14 SQL Query8 SQL Tips3 SSH1 TCA1 Value Sets1 VBCS1 Virtual Machine2 Virtual Machines1 XML1 XSLT1
Show more