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 333: gme_release_batch_pvt.create_batch_exception

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

Line 517: gme_release_batch_pvt.create_batch_exception

513: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' wip_plan_qty='||l_matl_dtl_rec.wip_plan_qty);
514: 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));
515: END IF;
516:
517: gme_release_batch_pvt.create_batch_exception
518: (p_material_dtl_rec => l_matl_dtl_rec
519: ,p_pending_move_order_ind => FALSE -- product doesn't have MO
520: ,p_pending_rsrv_ind => NULL -- let proc figure out; for product, looks at pplot
521: ,p_transacted_qty => l_actual_qty - l_start_actual_qty

Line 566: gme_release_batch_pvt.create_batch_exception

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

Line 673: IF gme_release_batch_pvt.g_bypass_txn_creation = 1 THEN

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

Line 842: gme_release_batch_pvt.create_batch_exception

838: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' l_yield_qty='||l_yield_qty);
839: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' exception qty='||(l_yield_qty - x_actual_qty));
840: END IF;
841:
842: gme_release_batch_pvt.create_batch_exception
843: (p_material_dtl_rec => p_material_dtl_rec
844: ,p_pending_move_order_ind => FALSE
845: ,p_pending_rsrv_ind => NULL -- let proc figure out; for product, looks at pplot
846: ,p_transacted_qty => x_actual_qty - l_start_actual_qty