DBA Data[Home] [Help]

APPS.INV_MAINTAIN_RESERVATION_PUB dependencies on INV_CONVERT

Line 836: l_primary_expected_qty := inv_convert.inv_um_convert

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

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

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

Line 915: inv_convert.inv_um_convert

911: if p_mtl_maintain_rsv_rec.from_transaction_uom_code <>
912: p_mtl_maintain_rsv_rec.from_primary_uom_code then
913: --codereview.su.17
914: l_from_primary_transaction_qty :=
915: inv_convert.inv_um_convert
916: (
917: item_id => p_mtl_maintain_rsv_rec.inventory_item_id,
918: precision => null,
919: from_quantity => p_mtl_maintain_rsv_rec.from_transaction_quantity,

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

920: from_unit => p_mtl_maintain_rsv_rec.from_transaction_uom_code,
921: to_unit => p_mtl_maintain_rsv_rec.from_primary_uom_code,
922: from_name => null,
923: to_name => null );
924: l_fnd_log_message := 'after calling api inv_convert.inv_um_convert 02:';
925: -- fnd_log_debug(fnd_log.level_event,c_module_name, l_fnd_log_message );
926: if g_debug= c_debug_enabled then
927: mydebug(l_fnd_log_message, c_api_name,9);
928: mydebug('from primary txn qty' || l_from_primary_transaction_qty, c_api_name,9);

Line 971: inv_convert.inv_um_convert

967:
968: if p_mtl_maintain_rsv_rec.to_transaction_uom_code <>
969: p_mtl_maintain_rsv_rec.to_primary_uom_code then
970: l_to_primary_transaction_qty :=
971: inv_convert.inv_um_convert
972: (
973: item_id => p_mtl_maintain_rsv_rec.inventory_item_id,
974: precision => null,
975: from_quantity => p_mtl_maintain_rsv_rec.to_transaction_quantity,

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

976: from_unit => p_mtl_maintain_rsv_rec.to_transaction_uom_code,
977: to_unit => p_mtl_maintain_rsv_rec.to_primary_uom_code,
978: from_name => null,
979: to_name => null );
980: l_fnd_log_message := 'after calling api inv_convert.inv_um_convert 03:';
981: -- fnd_log_debug(fnd_log.level_event,c_module_name, l_fnd_log_message );
982: if g_debug= c_debug_enabled then
983: mydebug(l_fnd_log_message, c_api_name,9);
984: mydebug('After convert to primary txn qty: '|| l_to_primary_transaction_qty, c_api_name,9);

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

3080:
3081: --Compare the PO and the primary_uom and if different convert the PO quantity in its primary UOM
3082:
3083: IF(l_po_uom <> l_primary_meas ) THEN
3084: -- remove the dependency on PO, changes to call inv_convert API
3085: /*po_uom_s.uom_convert(p_po_qty
3086: ,l_po_uom
3087: ,l_item_id
3088: ,l_primary_meas

Line 3091: x_po_primary_qty := inv_convert.inv_um_convert

3087: ,l_item_id
3088: ,l_primary_meas
3089: ,x_po_primary_qty);*/
3090:
3091: x_po_primary_qty := inv_convert.inv_um_convert
3092: (
3093: item_id => l_item_id --number,
3094: ,precision => NULL --number,
3095: ,from_quantity => p_po_qty --number,

Line 3108: --inv_convert.??

3104:
3105: --Compare the PO UOM and Reservation UOM and if different convert the PO quantity in the Reservation UOM.
3106:
3107: IF(l_po_uom <> l_res_meas) THEN
3108: --inv_convert.??
3109: /*po_uom_s.uom_convert(p_po_qty
3110: ,l_po_uom
3111: ,l_item_id
3112: ,l_res_meas

Line 3114: x_res_qty := inv_convert.inv_um_convert

3110: ,l_po_uom
3111: ,l_item_id
3112: ,l_res_meas
3113: ,x_res_qty);*/
3114: x_res_qty := inv_convert.inv_um_convert
3115: (
3116: item_id => l_item_id --number,
3117: ,precision => NULL --number,
3118: ,from_quantity => p_po_qty --number,

Line 3744: l_exist_inv_res_qty := inv_convert.inv_um_convert

3740:
3741: IF sales_order_record.order_quantity_uom = get_inv_res_qty_rec.primary_uom_code THEN
3742: l_exist_inv_res_qty := get_inv_res_qty_rec.sum_pri_res_qty;
3743: ELSE
3744: l_exist_inv_res_qty := inv_convert.inv_um_convert
3745: (
3746: item_id => interface_record_rec.item_id --number,
3747: ,precision => NULL --number,
3748: ,from_quantity => get_inv_res_qty_rec.sum_pri_res_qty --number,

Line 4825: l_primary_quantity := inv_convert.inv_um_convert

4821:
4822: IF l_record_count > 0 THEN
4823: IF (get_rcv_transaction_asn_rec.primary_unit_of_measure <> l_rsv_array(1).primary_uom_code) THEN
4824:
4825: l_primary_quantity := inv_convert.inv_um_convert
4826: (
4827: item_id => get_rcv_transaction_asn_rec.item_id,
4828: precision => NULL,
4829: from_quantity => get_rcv_transaction_asn_rec.primary_quantity,

Line 5038: l_primary_quantity := inv_convert.inv_um_convert

5034:
5035: IF l_record_count > 0 THEN
5036: IF (get_rcv_txn_int_req_rec.primary_unit_of_measure <> l_rsv_array(1).primary_uom_code) THEN
5037:
5038: l_primary_quantity := inv_convert.inv_um_convert
5039: (
5040: item_id => get_rcv_txn_int_req_rec.item_id,
5041: precision => NULL,
5042: from_quantity => get_rcv_txn_int_req_rec.primary_quantity,