DBA Data[Home] [Help]

APPS.OE_SCHEDULE_UTIL dependencies on INV_CONVERT

Line 2762: l_split_line_tbl(1).ordered_quantity := INV_CONVERT.INV_UM_CONVERT(

2758: IF l_debug_level > 0 THEN
2759: oe_debug_pub.add( 'check_split_needed() UOM has changed, convert' , 1 ) ;
2760: END IF;
2761:
2762: l_split_line_tbl(1).ordered_quantity := INV_CONVERT.INV_UM_CONVERT(
2763: p_x_line_rec.inventory_item_id -- INVCONV
2764: ,5
2765: ,l_requested_date_quantity
2766: ,p_atp_rec.quantity_uom(J)

Line 3017: l_split_line_tbl(1).ordered_quantity := INV_CONVERT.INV_UM_CONVERT(

3013: IF l_debug_level > 0 THEN
3014: oe_debug_pub.add( 'check_split_needed() UOM has changed, convert' , 1 ) ;
3015: END IF;
3016:
3017: l_split_line_tbl(1).ordered_quantity := INV_CONVERT.INV_UM_CONVERT(
3018: p_x_line_rec.inventory_item_id -- INVCONV
3019: ,5
3020: ,p_atp_rec.req_item_req_date_qty(J)
3021: ,p_atp_rec.quantity_uom(J)

Line 7630: l_qty2_to_reserve := inv_convert.inv_um_convert(

7626: l_qty2_to_reserve := nvl(p_x_line_rec.ordered_quantity2, 0)- nvl(l_old_reserved_quantity2,0); --bug 7675494
7627: /*IF l_debug_level > 0 THEN
7628: oe_debug_pub.add( 'DUAL Tracked quantity so convert the qty to reserve ' || l_qty_to_reserve , 1 ) ;
7629: END IF;
7630: l_qty2_to_reserve := inv_convert.inv_um_convert(
7631: item_id => p_x_line_rec.inventory_item_id
7632: , lot_number => NULL
7633: , organization_id => p_x_line_rec.ship_from_org_id
7634: , PRECISION => 5

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

8104: THEN
8105: -- 3239619 / 3362461 / 3456052 Convert the old reserve qty as per new UOM if not same.
8106: IF NOT OE_GLOBALS.Equal(p_old_line_rec.order_quantity_uom,p_x_line_rec.order_quantity_uom)
8107: AND l_old_reserved_qty > 0 THEN
8108: l_old_reserved_qty := INV_CONVERT.INV_UM_CONVERT(item_id =>p_old_line_rec.inventory_item_id,
8109: precision =>5,
8110: from_quantity=>l_old_reserved_qty,
8111: from_unit => p_old_line_rec.order_quantity_uom,
8112: to_unit => p_x_line_rec.order_quantity_uom,

Line 8815: l_qty2_to_reserve := inv_convert.inv_um_convert(

8811: IF l_debug_level > 0 THEN
8812: oe_debug_pub.add( 'DUAL Tracked quantity so convert the qty to reserve ' || l_qty_to_reserve , 1 ) ;
8813: END IF;
8814: IF Nvl(p_x_line_rec.fulfillment_base ,'P') ='P' THEN --added for bug 16782621
8815: l_qty2_to_reserve := inv_convert.inv_um_convert(
8816: item_id => p_x_line_rec.inventory_item_id
8817: , lot_number => NULL
8818: , organization_id => p_x_line_rec.ship_from_org_id
8819: , PRECISION => 5

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

9525: /*
9526: IF l_old_line_rec.reserved_quantity > 0 THEN
9527: l_old_rsv_qty := l_old_line_rec.reserved_quantity; -- This qty is as per old UOM
9528: IF NOT OE_GLOBALS.Equal(l_old_line_rec.order_quantity_uom,p_x_line_rec.order_quantity_uom) THEN
9529: l_old_rsv_qty := INV_CONVERT.INV_UM_CONVERT(item_id =>l_old_line_rec.inventory_item_id,
9530: precision =>5,
9531: from_quantity=>l_old_line_rec.reserved_quantity,
9532: from_unit => l_old_line_rec.order_quantity_uom, --old uom
9533: to_unit => p_x_line_rec.order_quantity_uom, --new uom

Line 9548: p_x_line_rec.reserved_quantity := INV_CONVERT.INV_UM_CONVERT

9544: -- Converting missing to old value
9545: IF NOT OE_GLOBALS.Equal(l_old_line_rec.order_quantity_uom,p_x_line_rec.order_quantity_uom)
9546: AND nvl(l_old_line_rec.reserved_quantity, 0) > 0
9547: THEN
9548: p_x_line_rec.reserved_quantity := INV_CONVERT.INV_UM_CONVERT
9549: (item_id =>l_old_line_rec.inventory_item_id,
9550: precision =>5,
9551: from_quantity=>l_old_line_rec.reserved_quantity,
9552: from_unit => l_old_line_rec.order_quantity_uom, --old uom

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

15798: IF l_reserved_quantity > 0 THEN
15799: IF NOT OE_GLOBALS.Equal(p_x_line_tbl(I).order_quantity_uom,
15800: l_rsv_tbl(1).primary_uom_code) THEN
15801: l_ordered_quantity :=
15802: INV_CONVERT.INV_UM_CONVERT( item_id => p_x_line_tbl(I).inventory_item_id,
15803: precision => 5,
15804: from_quantity =>p_x_line_tbl(I).ordered_quantity,
15805: from_unit =>p_x_line_tbl(I).order_quantity_uom,
15806: to_unit =>l_rsv_tbl(1).primary_uom_code,

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

15929: ---- Start 2346233 ---
15930: IF NOT OE_GLOBALS.Equal(p_x_line_tbl(J).order_quantity_uom,
15931: l_rsv_rec.primary_uom_code) THEN
15932: l_rsv_qty_primary :=
15933: INV_CONVERT.INV_UM_CONVERT( item_id => p_x_line_tbl(J).inventory_item_id,
15934: precision => 5,
15935: from_quantity =>p_x_line_tbl(J).ordered_quantity,
15936: from_unit =>p_x_line_tbl(J).order_quantity_uom,
15937: to_unit =>l_rsv_rec.primary_uom_code,

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

17070: IF l_rsv_tbl.count > 0 THEN --Bug 8644811 : Proceed only if there is any record in the table
17071: -- Start 2346233
17072: -- l_qty_to_unreserve := p_quantity_to_unreserve;
17073: IF NOT OE_GLOBALS.Equal(p_line_rec.order_quantity_uom,l_rsv_tbl(1).primary_uom_code ) THEN
17074: l_qty_to_unreserve := INV_CONVERT.INV_UM_CONVERT( item_id => p_line_rec.inventory_item_id,
17075: precision => 5,
17076: from_quantity =>p_quantity_to_unreserve,
17077: from_unit =>p_line_rec.order_quantity_uom,
17078: to_unit =>l_rsv_tbl(1).primary_uom_code,

Line 17214: l_rsv_new_rec.reservation_quantity := INV_CONVERT.INV_UM_CONVERT( item_id => p_line_rec.inventory_item_id,

17210: /* l_rsv_new_rec.reservation_quantity := l_rsv_new_rec.secondary_reservation_quantity ;
17211: l_rsv_new_rec.reservation_uom_code := l_rsv_new_rec.secondary_uom_code;*/
17212:
17213: IF NOT OE_GLOBALS.Equal(l_rsv_rec.reservation_uom_code ,l_rsv_new_rec.secondary_uom_code ) THEN
17214: l_rsv_new_rec.reservation_quantity := INV_CONVERT.INV_UM_CONVERT( item_id => p_line_rec.inventory_item_id,
17215: precision => 5,
17216: from_quantity =>l_rsv_new_rec.secondary_reservation_quantity,
17217: to_unit =>l_rsv_rec.reservation_uom_code,
17218: from_unit =>l_rsv_new_rec.secondary_uom_code,