511:
512: end if ;
513:
514: -- Bug 15945996
515: IF (WIP_WS_TIME_ENTRY.IS_CLOCK_PENDING(P_wip_entity_id,null)<>'N') THEN
516: FND_MESSAGE.SET_NAME('WIP','WIP_PENDING_CLOCKS');
517: raise fnd_api.g_exc_unexpected_error;
518: END IF;
519: /* IF (WIP_WS_TIME_ENTRY.IS_JOB_ON(P_wip_entity_id)='Y') THEN
515: IF (WIP_WS_TIME_ENTRY.IS_CLOCK_PENDING(P_wip_entity_id,null)<>'N') THEN
516: FND_MESSAGE.SET_NAME('WIP','WIP_PENDING_CLOCKS');
517: raise fnd_api.g_exc_unexpected_error;
518: END IF;
519: /* IF (WIP_WS_TIME_ENTRY.IS_JOB_ON(P_wip_entity_id)='Y') THEN
520: FND_MESSAGE.SET_NAME('WIP','WIP_PENDING_JOB_ON');
521: raise fnd_api.g_exc_unexpected_error;
522: END IF;*/
523: