DBA Data[Home] [Help]

APPS.GMI_RESERVATION_UTIL dependencies on GMICUOM

Line 576: GMI_reservation_Util.PrintLn('(opm_dbg) in Util Create_default_lot. before call GMICUOM order_um1='

572: /* Convert order quantity into item's uom quantity */
573: /* If order UM differs from inventory UM, conversion is required.*/
574: /* The allocations are recorded as transactions written in the inventory UM */
575: /* ============================================================================== */
576: GMI_reservation_Util.PrintLn('(opm_dbg) in Util Create_default_lot. before call GMICUOM order_um1='
577: ||p_allocation_rec.order_um1||', item_um='||p_ic_item_mst_rec.item_um||'.' );
578: IF (p_allocation_rec.order_um1 <> p_ic_item_mst_rec.item_um)
579: THEN
580: GMICUOM.icuomcv(pitem_id => p_ic_item_mst_rec.item_id,

Line 580: GMICUOM.icuomcv(pitem_id => p_ic_item_mst_rec.item_id,

576: GMI_reservation_Util.PrintLn('(opm_dbg) in Util Create_default_lot. before call GMICUOM order_um1='
577: ||p_allocation_rec.order_um1||', item_um='||p_ic_item_mst_rec.item_um||'.' );
578: IF (p_allocation_rec.order_um1 <> p_ic_item_mst_rec.item_um)
579: THEN
580: GMICUOM.icuomcv(pitem_id => p_ic_item_mst_rec.item_id,
581: plot_id => 0,
582: pcur_qty => p_allocation_rec.order_qty1,
583: pcur_uom => p_allocation_rec.order_um1,
584: pnew_uom => p_ic_item_mst_rec.item_um,

Line 609: GMICUOM.icuomcv(pitem_id => p_ic_item_mst_rec.item_id,

605: THEN
606: GMI_reservation_Util.PrintLn('(opm_dbg) in Util Create_default_lot. Need to populate qty2/um2.');
607: l_ictran_rec.trans_um2 := p_ic_item_mst_rec.item_um2;
608:
609: GMICUOM.icuomcv(pitem_id => p_ic_item_mst_rec.item_id,
610: plot_id => 0,
611: pcur_qty => l_ictran_rec.trans_qty,
612: pcur_uom => l_ictran_rec.trans_um,
613: pnew_uom => l_ictran_rec.trans_um2,

Line 942: GMICUOM.icuomcv(pitem_id => x_ic_item_mst_rec.item_id,

938:
939: IF (x_allocation_rec.order_um1 <> x_ic_item_mst_rec.item_um
940: AND (x_ic_item_mst_rec.alloc_class = ' ' OR x_ic_item_mst_rec.alloc_class IS NULL))
941: THEN
942: GMICUOM.icuomcv(pitem_id => x_ic_item_mst_rec.item_id,
943: plot_id => 0,
944: pcur_qty => p_mtl_rsv_rec.reservation_quantity,
945: pcur_uom => x_allocation_rec.order_um1,
946: pnew_uom => x_ic_item_mst_rec.item_um,

Line 961: GMICUOM.icuomcv(pitem_id => x_ic_item_mst_rec.item_id,

957: IF x_ic_item_mst_rec.dualum_ind > 0
958: THEN
959: x_allocation_rec.order_um2 := x_ic_item_mst_rec.item_um2;
960:
961: GMICUOM.icuomcv(pitem_id => x_ic_item_mst_rec.item_id,
962: plot_id => 0,
963: pcur_qty => x_allocation_rec.order_qty1,
964: pcur_uom => x_allocation_rec.order_um1,
965: pnew_uom => x_allocation_rec.order_um2,

Line 3261: GMICUOM.icuomcv

3257:
3258: -- Bug 3829535 added IF condition
3259: IF (l_order_uom <> l_trans_um) THEN
3260: GMI_reservation_Util.PrintLn('(opm_dbg)converting order qty: '||l_line_rec.ordered_quantity||' to item uom '||l_trans_um);
3261: GMICUOM.icuomcv
3262: (
3263: pitem_id => l_opm_item_id
3264: , plot_id => 0
3265: , pcur_qty => l_line_rec.ordered_quantity

Line 4088: GMICUOM.icuomcv(pitem_id => l_ictran_rec.item_id ,

4084: , x_msg_count => x_msg_count
4085: , x_msg_data => x_msg_data);
4086:
4087: IF l_ictran_rec.trans_um <> l_uom THEN
4088: GMICUOM.icuomcv(pitem_id => l_ictran_rec.item_id ,
4089: plot_id => l_ictran_rec.lot_id,
4090: pcur_qty => p_qty1,
4091: pcur_uom => l_uom,
4092: pnew_uom => l_ictran_rec.trans_um,

Line 4462: GMICUOM.icuomcv(

4458: RAISE FND_API.G_EXC_ERROR;
4459: END IF;
4460: GMI_reservation_Util.PrintLn('to uom (OPM) '||l_opm_to_uom);
4461:
4462: GMICUOM.icuomcv(
4463: pitem_id =>l_ic_item_mst_rec.item_id,
4464: plot_id =>p_lot_id,
4465: pcur_qty =>p_original_qty,
4466: pcur_uom =>l_opm_from_uom,

Line 4471: FND_MESSAGE.Set_Name('GMI','GMICUOM.icuomcv');

4467: pnew_uom =>l_opm_to_uom,
4468: onew_qty =>l_converted_qty);
4469: IF l_converted_qty < 0 THEN
4470: GMI_reservation_Util.PrintLn('conversion error code'|| l_converted_qty);
4471: FND_MESSAGE.Set_Name('GMI','GMICUOM.icuomcv');
4472: FND_MESSAGE.Set_Token('CONVERSION_ERROR', p_apps_to_uom);
4473: FND_MSG_PUB.Add;
4474: RAISE FND_API.G_EXC_ERROR;
4475: END IF;