Oracle Forums Community of Oracle Professionals including Fusion/Cloud Application Consultants, ERP Experts, Oracle Apps Functional Consultants, Apps DBAs, DBAs, Cloud DBAs, Technical Consultants, Fusion Middleware Experts, SQL, PL/SQL Developers and Project Managers. Welcome to OraERP.com Social Community, a friendly and active community of Oracle Technology Professionals who believe that technology can ‘make the world a better place’. By joining Oracle ERP Community you will have the ability to Post Topics, Receive our Newsletter, subscribe to threads and access many other special features. Registration is Quick, Simple and Absolutely Free.

Thread Rating:
  • 5 Vote(s) - 2.6 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WIP Acounting Class
#1
SELECT
wac.ORGANIZATION_ID,
(sELECT NAME FROM HR_ORGANIZATION_UNITS_V HRO WHERE HRO.ORGANIZATION_ID = wac.ORGANIZATION_ID) ORG_NAME,
wac.class_code,
wac.description,
(SELECT GCC.SEGMENT1||'.'||GCC.SEGMENT2||'.'||GCC.SEGMENT3||'.'||GCC.SEGMENT4||'.'||GCC.SEGMENT5||'.'||GCC.SEGMENT6 FROM GL_CODE_COMBINATIONS GCC WHERE GCC.CODE_COMBINATION_ID = MATERIAL_ACCOUNT) WIP_MATERIAL_ACCOUNT,
(SELECT GCC.SEGMENT1||'.'||GCC.SEGMENT2||'.'||GCC.SEGMENT3||'.'||GCC.SEGMENT4||'.'||GCC.SEGMENT5||'.'||GCC.SEGMENT6 FROM GL_CODE_COMBINATIONS GCC WHERE GCC.CODE_COMBINATION_ID = MATERIAL_VARIANCE_ACCOUNT) MATERIAL_Variance_ACCOUNT,
(SELECT GCC.SEGMENT1||'.'||GCC.SEGMENT2||'.'||GCC.SEGMENT3||'.'||GCC.SEGMENT4||'.'||GCC.SEGMENT5||'.'||GCC.SEGMENT6 FROM GL_CODE_COMBINATIONS GCC WHERE GCC.CODE_COMBINATION_ID = MATERIAL_overhead_ACCOUNT) MATERIAL_OVERHEAD_ACCOUNT,
(SELECT GCC.SEGMENT1||'.'||GCC.SEGMENT2||'.'||GCC.SEGMENT3||'.'||GCC.SEGMENT4||'.'||GCC.SEGMENT5||'.'||GCC.SEGMENT6 FROM GL_CODE_COMBINATIONS GCC WHERE GCC.CODE_COMBINATION_ID = RESOURCE_ACCOUNT) WIP_RESOURCE_ACCOUNT,
(SELECT GCC.SEGMENT1||'.'||GCC.SEGMENT2||'.'||GCC.SEGMENT3||'.'||GCC.SEGMENT4||'.'||GCC.SEGMENT5||'.'||GCC.SEGMENT6 FROM GL_CODE_COMBINATIONS GCC WHERE GCC.CODE_COMBINATION_ID = RESOURCE_variance_ACCOUNT) RESOURCE_Variance_ACCOUNT,
(SELECT GCC.SEGMENT1||'.'||GCC.SEGMENT2||'.'||GCC.SEGMENT3||'.'||GCC.SEGMENT4||'.'||GCC.SEGMENT5||'.'||GCC.SEGMENT6 FROM GL_CODE_COMBINATIONS GCC WHERE GCC.CODE_COMBINATION_ID = OVERHEAD_ACCOUNT) WIP_OVERHEAD_ACCOUNT,
(SELECT GCC.SEGMENT1||'.'||GCC.SEGMENT2||'.'||GCC.SEGMENT3||'.'||GCC.SEGMENT4||'.'||GCC.SEGMENT5||'.'||GCC.SEGMENT6 FROM GL_CODE_COMBINATIONS GCC WHERE GCC.CODE_COMBINATION_ID = OVERHEAD_VARIANCE_account) WIP_OVERHEAD_VARIANCE,
(SELECT GCC.SEGMENT1||'.'||GCC.SEGMENT2||'.'||GCC.SEGMENT3||'.'||GCC.SEGMENT4||'.'||GCC.SEGMENT5||'.'||GCC.SEGMENT6 FROM GL_CODE_COMBINATIONS GCC WHERE GCC.CODE_COMBINATION_ID = OUTSIDE_PROCESSING_ACCOUNT) OUTSIDE_PROCESSING_ACCOUNT,
(SELECT GCC.SEGMENT1||'.'||GCC.SEGMENT2||'.'||GCC.SEGMENT3||'.'||GCC.SEGMENT4||'.'||GCC.SEGMENT5||'.'||GCC.SEGMENT6 FROM GL_CODE_COMBINATIONS GCC WHERE GCC.CODE_COMBINATION_ID = OUTSIDE_PROC_VARIANCE_ACCOUNT) OUTSIDE_PROC_VARIANCE_ACCOUNT
from
WIP_ACCOUNTING_CLASSES wac
where wac.organization_id = :Organization_id
 
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)
OTech Talks, Lets Talk OPEN! Get Oracle Tutorials, Tips! Post a Question!