DBA Data[Home] [Help]

APPS.GME_COMPLETE_BATCH_PVT dependencies on INV_CONVERT

Line 955: l_sec_qty := INV_CONVERT.inv_um_convert

951: ELSE
952: l_trxn_qty := p_yield_qty - x_actual_qty;
953: /* Bug 5256543 l_sec_qty was set to null that was incorrect it has to be recalculated from new l_trxn_qty */
954: IF (p_sec_uom_code IS NOT NULL) THEN
955: l_sec_qty := INV_CONVERT.inv_um_convert
956: (item_id => p_mtl_dtl_rec.inventory_item_id
957: ,lot_number => p_pp_lot_rec.lot_number
958: ,organization_id => p_mtl_dtl_rec.organization_id
959: ,PRECISION => gme_common_pvt.g_precision

Line 968: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' inv_convert.inv_um_convert returned error');

964: ,to_name => NULL);
965:
966: IF l_sec_qty = -99999 THEN
967: IF ( NVL(G_DEBUG,-1) = GME_DEBUG.G_LOG_STATEMENT ) THEN
968: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' inv_convert.inv_um_convert returned error');
969: END IF;
970: l_from_um := p_mtl_dtl_rec.dtl_um;
971: l_to_um := p_sec_uom_code;
972: RAISE um_convert_error;

Line 1011: l_prim_qty := INV_CONVERT.inv_um_convert

1007:
1008: -- Bug 11725091 - Let's initialize primary qty also.
1009: l_prim_qty := l_trxn_qty;
1010: IF (p_mtl_dtl_rec.dtl_um <> l_prim_uom) THEN
1011: l_prim_qty := INV_CONVERT.inv_um_convert
1012: (item_id => p_mtl_dtl_rec.inventory_item_id
1013: ,lot_number => p_pp_lot_rec.lot_number
1014: ,organization_id => p_mtl_dtl_rec.organization_id
1015: ,PRECISION => gme_common_pvt.g_precision

Line 1024: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' inv_convert.inv_um_convert returned error');

1020: ,to_name => NULL);
1021:
1022: IF l_prim_qty = -99999 THEN
1023: IF ( NVL(G_DEBUG,-1) = GME_DEBUG.G_LOG_STATEMENT ) THEN
1024: gme_debug.put_line (g_pkg_name||'.'||l_api_name||' inv_convert.inv_um_convert returned error');
1025: END IF;
1026: l_from_um := p_mtl_dtl_rec.dtl_um;
1027: l_to_um := l_prim_uom;
1028: RAISE um_convert_error;