DBA Data[Home] [Help]

APPS.GME_COMPLETE_BATCH_PVT dependencies on GME_RELEASE_BATCH_PVT

Line 104: gme_release_batch_pvt.release_batch

100:
101: -- if the batch is pending, call release batch
102: IF p_batch_header_rec.batch_status = gme_common_pvt.g_batch_pending THEN
103: -- call release batch
104: gme_release_batch_pvt.release_batch
105: (p_batch_header_rec => p_batch_header_rec
106: ,x_batch_header_rec => x_batch_header_rec
107: ,x_return_status => l_return_status
108: ,x_exception_material_tbl => x_exception_material_tbl);

Line 222: gme_release_batch_pvt.create_batch_exception

218: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' wip_plan_qty='||l_matl_dtl_rec.wip_plan_qty);
219: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' exception qty='||l_exception_qty);
220: END IF;
221:
222: gme_release_batch_pvt.create_batch_exception
223: (p_material_dtl_rec => l_matl_dtl_rec
224: ,p_pending_move_order_ind => NULL -- don't know...allow to calculate
225: ,p_pending_rsrv_ind => NULL -- don't know...allow to calculate
226: ,p_transacted_qty => 0 -- only auto rel products are transacted.. this is for ing

Line 337: gme_release_batch_pvt.create_batch_exception

333: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' wip_plan_qty='||l_matl_dtl_rec.wip_plan_qty);
334: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' exception qty='||l_exception_qty);
335: END IF;
336:
337: gme_release_batch_pvt.create_batch_exception
338: (p_material_dtl_rec => l_matl_dtl_rec
339: ,p_pending_move_order_ind => NULL -- don't know...allow to calculate
340: ,p_pending_rsrv_ind => NULL -- don't know...allow to calculate
341: ,p_transacted_qty => 0 -- only auto rel products are transacted.. this is for ing

Line 523: gme_release_batch_pvt.create_batch_exception

519: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' wip_plan_qty='||l_matl_dtl_rec.wip_plan_qty);
520: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' exception qty='||(l_matl_dtl_rec.actual_qty - l_matl_dtl_rec.wip_plan_qty));
521: END IF;
522:
523: gme_release_batch_pvt.create_batch_exception
524: (p_material_dtl_rec => l_matl_dtl_rec
525: ,p_pending_move_order_ind => FALSE -- product doesn't have MO
526: ,p_pending_rsrv_ind => NULL -- let proc figure out; for product, looks at pplot
527: ,p_transacted_qty => l_actual_qty - l_start_actual_qty

Line 572: gme_release_batch_pvt.create_batch_exception

568: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' wip_plan_qty='||l_matl_dtl_rec.wip_plan_qty);
569: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' exception qty='||l_exception_qty);
570: END IF;
571:
572: gme_release_batch_pvt.create_batch_exception
573: (p_material_dtl_rec => l_matl_dtl_rec
574: ,p_pending_move_order_ind => FALSE -- product doesn't have MO
575: ,p_pending_rsrv_ind => NULL -- let proc figure out; for product, looks at pplot
576: ,p_transacted_qty => 0 -- products other than auto yield don't get transacted in complete

Line 680: IF gme_release_batch_pvt.g_bypass_txn_creation = 1 THEN

676:
677: -- following global is set only for migration purposes, where transactions need not be created,
678: -- this will only be set for complete step; complete batch is not called from migrate; however
679: -- if this is needed for complete batch, logic will work there also
680: IF gme_release_batch_pvt.g_bypass_txn_creation = 1 THEN
681: RAISE no_yield_required;
682: END IF;
683: /*Pawan Kumar 08-25-2006 bug 5486066 added nvl for wip_plan_qty
684: during direct completion, the wip plan qty is also null

Line 849: gme_release_batch_pvt.create_batch_exception

845: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' l_yield_qty='||l_yield_qty);
846: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' exception qty='||(l_yield_qty - x_actual_qty));
847: END IF;
848:
849: gme_release_batch_pvt.create_batch_exception
850: (p_material_dtl_rec => p_material_dtl_rec
851: ,p_pending_move_order_ind => FALSE
852: ,p_pending_rsrv_ind => NULL -- let proc figure out; for product, looks at pplot
853: ,p_transacted_qty => x_actual_qty - l_start_actual_qty