Oracle EBs Apps Blog of Mahfuz, OPM and OBIEE Consultant

Thursday, 2 July 2015

OPM- Production, How to know Batch Status

Batch Status




SELECT o.ORGANIZATION_CODE, o.ORGANIZATION_NAME, o.ORGANIZATION_ID,
gbh.BATCH_NO,decode(gbh.BATCH_STATUS,3,'Completed',4,'Closed',2,'WIP',
'Just Created') Batch_Status
FROM GME_BATCH_HEADER gbh,
ORG_ORGANIZATION_DEFINITIONS o
WHERE CREATION_DATE >=TO_DATE('01/05/2015','dd-mm-yy')
AND gbh.ORGANIZATION_ID=o.ORGANIZATION_ID
ORDER BY BATCH_STATUS, o.ORGANIZATION_CODE








No comments:

Post a Comment

OM Order Info of respective ORDER_NUMBER in R12

 SELECT ood.organization_code           org_code,          ood.organization_name           org_name,          wdd.DELIVERY_DETAIL_ID        ...