DBA Data[Home] [Help]

APPS.OE_SCHEDULE_UTIL dependencies on INV_CONVERT

Line 6355: l_qty2_to_reserve := inv_convert.inv_um_convert(

6351: -- Only invoke the conversion for dual tracked items
6352: IF l_debug_level > 0 THEN
6353: oe_debug_pub.add( 'DUAL Tracked quantity so convert the qty to reserve ' || l_qty_to_reserve , 1 ) ;
6354: END IF;
6355: l_qty2_to_reserve := inv_convert.inv_um_convert(
6356: item_id => p_x_line_rec.inventory_item_id
6357: , lot_number => NULL
6358: , organization_id => p_x_line_rec.ship_from_org_id
6359: , PRECISION => 5

Line 6826: l_old_reserved_qty := INV_CONVERT.INV_UM_CONVERT(item_id =>p_old_line_rec.inventory_item_id,

6822: THEN
6823: -- 3239619 / 3362461 / 3456052 Convert the old reserve qty as per new UOM if not same.
6824: IF NOT OE_GLOBALS.Equal(p_old_line_rec.order_quantity_uom,p_x_line_rec.order_quantity_uom)
6825: AND l_old_reserved_qty > 0 THEN
6826: l_old_reserved_qty := INV_CONVERT.INV_UM_CONVERT(item_id =>p_old_line_rec.inventory_item_id,
6827: precision =>5,
6828: from_quantity=>l_old_reserved_qty,
6829: from_unit => p_old_line_rec.order_quantity_uom,
6830: to_unit => p_x_line_rec.order_quantity_uom,

Line 7518: l_qty2_to_reserve := inv_convert.inv_um_convert(

7514: -- Only invoke the conversion for dual tracked items
7515: IF l_debug_level > 0 THEN
7516: oe_debug_pub.add( 'DUAL Tracked quantity so convert the qty to reserve ' || l_qty_to_reserve , 1 ) ;
7517: END IF;
7518: l_qty2_to_reserve := inv_convert.inv_um_convert(
7519: item_id => p_x_line_rec.inventory_item_id
7520: , lot_number => NULL
7521: , organization_id => p_x_line_rec.ship_from_org_id
7522: , PRECISION => 5

Line 8181: l_old_rsv_qty := INV_CONVERT.INV_UM_CONVERT(item_id =>l_old_line_rec.inventory_item_id,

8177: /*
8178: IF l_old_line_rec.reserved_quantity > 0 THEN
8179: l_old_rsv_qty := l_old_line_rec.reserved_quantity; -- This qty is as per old UOM
8180: IF NOT OE_GLOBALS.Equal(l_old_line_rec.order_quantity_uom,p_x_line_rec.order_quantity_uom) THEN
8181: l_old_rsv_qty := INV_CONVERT.INV_UM_CONVERT(item_id =>l_old_line_rec.inventory_item_id,
8182: precision =>5,
8183: from_quantity=>l_old_line_rec.reserved_quantity,
8184: from_unit => l_old_line_rec.order_quantity_uom, --old uom
8185: to_unit => p_x_line_rec.order_quantity_uom, --new uom

Line 8200: p_x_line_rec.reserved_quantity := INV_CONVERT.INV_UM_CONVERT

8196: -- Converting missing to old value
8197: IF NOT OE_GLOBALS.Equal(l_old_line_rec.order_quantity_uom,p_x_line_rec.order_quantity_uom)
8198: AND nvl(l_old_line_rec.reserved_quantity, 0) > 0
8199: THEN
8200: p_x_line_rec.reserved_quantity := INV_CONVERT.INV_UM_CONVERT
8201: (item_id =>l_old_line_rec.inventory_item_id,
8202: precision =>5,
8203: from_quantity=>l_old_line_rec.reserved_quantity,
8204: from_unit => l_old_line_rec.order_quantity_uom, --old uom

Line 13510: INV_CONVERT.INV_UM_CONVERT( item_id => p_x_line_tbl(I).inventory_item_id,

13506: IF l_reserved_quantity > 0 THEN
13507: IF NOT OE_GLOBALS.Equal(p_x_line_tbl(I).order_quantity_uom,
13508: l_rsv_tbl(1).primary_uom_code) THEN
13509: l_ordered_quantity :=
13510: INV_CONVERT.INV_UM_CONVERT( item_id => p_x_line_tbl(I).inventory_item_id,
13511: precision => 5,
13512: from_quantity =>p_x_line_tbl(I).ordered_quantity,
13513: from_unit =>p_x_line_tbl(I).order_quantity_uom,
13514: to_unit =>l_rsv_tbl(1).primary_uom_code,

Line 13617: INV_CONVERT.INV_UM_CONVERT( item_id => p_x_line_tbl(J).inventory_item_id,

13613: ---- Start 2346233 ---
13614: IF NOT OE_GLOBALS.Equal(p_x_line_tbl(J).order_quantity_uom,
13615: l_rsv_rec.primary_uom_code) THEN
13616: l_rsv_qty_primary :=
13617: INV_CONVERT.INV_UM_CONVERT( item_id => p_x_line_tbl(J).inventory_item_id,
13618: precision => 5,
13619: from_quantity =>p_x_line_tbl(J).ordered_quantity,
13620: from_unit =>p_x_line_tbl(J).order_quantity_uom,
13621: to_unit =>l_rsv_rec.primary_uom_code,

Line 14586: l_qty_to_unreserve := INV_CONVERT.INV_UM_CONVERT( item_id => p_line_rec.inventory_item_id,

14582: END IF;
14583: -- Start 2346233
14584: -- l_qty_to_unreserve := p_quantity_to_unreserve;
14585: IF NOT OE_GLOBALS.Equal(p_line_rec.order_quantity_uom,l_rsv_tbl(1).primary_uom_code ) THEN
14586: l_qty_to_unreserve := INV_CONVERT.INV_UM_CONVERT( item_id => p_line_rec.inventory_item_id,
14587: precision => 5,
14588: from_quantity =>p_quantity_to_unreserve,
14589: from_unit =>p_line_rec.order_quantity_uom,
14590: to_unit =>l_rsv_tbl(1).primary_uom_code,