DBA Data[Home] [Help]

APPS.INV_MAINTAIN_RESERVATION_PUB dependencies on INV_CONVERT

Line 831: l_primary_expected_qty := inv_convert.inv_um_convert

827: end if;
828: IF p_mtl_maintain_rsv_rec.expected_quantity_uom <>
829: l_primary_uom_code THEN
830: -- dbms_output.put_line('expected qty uom is not equal to primary_uom_code');
831: l_primary_expected_qty := inv_convert.inv_um_convert
832: (
833: item_id => p_mtl_maintain_rsv_rec.inventory_item_id,
834: precision => null,
835: from_quantity => p_mtl_maintain_rsv_rec.expected_quantity,

Line 840: l_fnd_log_message := 'after calling api inv_convert.inv_um_convert:';

836: from_unit => p_mtl_maintain_rsv_rec.expected_quantity_uom,
837: to_unit => p_mtl_maintain_rsv_rec.to_primary_uom_code,
838: from_name => null,
839: to_name => null );
840: l_fnd_log_message := 'after calling api inv_convert.inv_um_convert:';
841: -- fnd_log_debug(fnd_log.level_event,c_module_name, l_fnd_log_message );
842: if g_debug= c_debug_enabled then
843: mydebug(l_fnd_log_message, c_api_name,9);
844: mydebug('primary expected qty: ' || l_primary_expected_qty, c_api_name,9);

Line 901: inv_convert.inv_um_convert

897:
898: if p_mtl_maintain_rsv_rec.from_transaction_uom_code <> p_mtl_maintain_rsv_rec.from_primary_uom_code then
899: --codereview.su.17
900: l_from_primary_transaction_qty :=
901: inv_convert.inv_um_convert
902: (
903: item_id => p_mtl_maintain_rsv_rec.inventory_item_id,
904: precision => null,
905: from_quantity => p_mtl_maintain_rsv_rec.from_transaction_quantity,

Line 910: l_fnd_log_message := 'after calling api inv_convert.inv_um_convert 02:';

906: from_unit => p_mtl_maintain_rsv_rec.from_transaction_uom_code,
907: to_unit => p_mtl_maintain_rsv_rec.from_primary_uom_code,
908: from_name => null,
909: to_name => null );
910: l_fnd_log_message := 'after calling api inv_convert.inv_um_convert 02:';
911: -- fnd_log_debug(fnd_log.level_event,c_module_name, l_fnd_log_message );
912: if g_debug= c_debug_enabled then
913: mydebug(l_fnd_log_message, c_api_name,9);
914: mydebug('from primary txn qty' || l_from_primary_transaction_qty, c_api_name,9);

Line 950: inv_convert.inv_um_convert

946:
947: if p_mtl_maintain_rsv_rec.to_transaction_uom_code <>
948: p_mtl_maintain_rsv_rec.to_primary_uom_code then
949: l_to_primary_transaction_qty :=
950: inv_convert.inv_um_convert
951: (
952: item_id => p_mtl_maintain_rsv_rec.inventory_item_id,
953: precision => null,
954: from_quantity => p_mtl_maintain_rsv_rec.to_transaction_quantity,

Line 959: l_fnd_log_message := 'after calling api inv_convert.inv_um_convert 03:';

955: from_unit => p_mtl_maintain_rsv_rec.to_transaction_uom_code,
956: to_unit => p_mtl_maintain_rsv_rec.to_primary_uom_code,
957: from_name => null,
958: to_name => null );
959: l_fnd_log_message := 'after calling api inv_convert.inv_um_convert 03:';
960: -- fnd_log_debug(fnd_log.level_event,c_module_name, l_fnd_log_message );
961: if g_debug= c_debug_enabled then
962: mydebug(l_fnd_log_message, c_api_name,9);
963: mydebug('After convert to primary txn qty: '|| l_to_primary_transaction_qty, c_api_name,9);

Line 3070: -- remove the dependency on PO, changes to call inv_convert API

3066:
3067: --Compare the PO and the primary_uom and if different convert the PO quantity in its primary UOM
3068:
3069: IF(l_po_uom <> l_primary_meas ) THEN
3070: -- remove the dependency on PO, changes to call inv_convert API
3071: /*po_uom_s.uom_convert(p_po_qty
3072: ,l_po_uom
3073: ,l_item_id
3074: ,l_primary_meas

Line 3077: x_po_primary_qty := inv_convert.inv_um_convert

3073: ,l_item_id
3074: ,l_primary_meas
3075: ,x_po_primary_qty);*/
3076:
3077: x_po_primary_qty := inv_convert.inv_um_convert
3078: (
3079: item_id => l_item_id --number,
3080: ,precision => NULL --number,
3081: ,from_quantity => p_po_qty --number,

Line 3094: --inv_convert.??

3090:
3091: --Compare the PO UOM and Reservation UOM and if different convert the PO quantity in the Reservation UOM.
3092:
3093: IF(l_po_uom <> l_res_meas) THEN
3094: --inv_convert.??
3095: /*po_uom_s.uom_convert(p_po_qty
3096: ,l_po_uom
3097: ,l_item_id
3098: ,l_res_meas

Line 3100: x_res_qty := inv_convert.inv_um_convert

3096: ,l_po_uom
3097: ,l_item_id
3098: ,l_res_meas
3099: ,x_res_qty);*/
3100: x_res_qty := inv_convert.inv_um_convert
3101: (
3102: item_id => l_item_id --number,
3103: ,precision => NULL --number,
3104: ,from_quantity => p_po_qty --number,

Line 3782: l_exist_inv_res_qty := inv_convert.inv_um_convert

3778:
3779: IF sales_order_record.order_quantity_uom = get_inv_res_qty_rec.primary_uom_code THEN
3780: l_exist_inv_res_qty := get_inv_res_qty_rec.sum_pri_res_qty;
3781: ELSE
3782: l_exist_inv_res_qty := inv_convert.inv_um_convert
3783: (
3784: item_id => interface_record_rec.item_id --number,
3785: ,precision => NULL --number,
3786: ,from_quantity => get_inv_res_qty_rec.sum_pri_res_qty --number,

Line 4934: l_primary_quantity := inv_convert.inv_um_convert

4930:
4931: IF l_record_count > 0 THEN
4932: IF (get_rcv_transaction_asn_rec.primary_unit_of_measure <> l_rsv_array(1).primary_uom_code) THEN
4933:
4934: l_primary_quantity := inv_convert.inv_um_convert
4935: (
4936: item_id => get_rcv_transaction_asn_rec.item_id,
4937: precision => NULL,
4938: from_quantity => get_rcv_transaction_asn_rec.primary_quantity,

Line 5272: l_primary_quantity := inv_convert.inv_um_convert

5268: ,x_return_status => l_return_status);
5269:
5270: IF l_record_count > 0 THEN
5271: IF (get_rcv_txn_int_req_rec.primary_unit_of_measure <> l_rsv_array(1).primary_uom_code) THEN
5272: l_primary_quantity := inv_convert.inv_um_convert
5273: (
5274: item_id => get_rcv_txn_int_req_rec.item_id,
5275: precision => NULL,
5276: from_quantity => get_rcv_txn_int_req_rec.primary_quantity,