Since 2010, OraERP is a Oracle Forums, Community of Oracle Professionals including Fusion/Cloud Application Consultants, Enterprise Architects, ERP Cloud, HCM Cloud, CX Cloud and OCI Experts, ERP Experts, Oracle Apps Functional Consultants, Apps DBAs, DBAs, Cloud DBAs, Digital Architect, PaaS Experts, IaaS, OCI Architects, 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 and Simple. Get unlimited access to Oracle Tutorials, Articles, eBooks, Tools and Tips .
Thread Rating:
  • 18 Vote(s) - 2.56 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WIP Acounting Class
10-24-2014, 06:49 PM,
#1
WIP Acounting Class
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




Users browsing this thread: 1 Guest(s)