DBA Data[Home] [Help]

APPS.CSTPAVCP dependencies on INV_CONVERT

Line 4588: o_txn_qty := inv_convert.inv_um_convert

4584: --
4585: if ((i_org_id <> i_txn_org_id) and (i_txn_action_id in (12,21))) then
4586: o_no_update_mmt := 1;
4587: if (l_from_org = i_org_id) then
4588: o_txn_qty := inv_convert.inv_um_convert
4589: (i_item_id, NULL, o_txn_qty,
4590: l_rcv_uom, l_snd_uom, NULL, NULL);
4591: l_snd_qty := o_txn_qty;
4592: else

Line 4593: o_txn_qty := inv_convert.inv_um_convert

4589: (i_item_id, NULL, o_txn_qty,
4590: l_rcv_uom, l_snd_uom, NULL, NULL);
4591: l_snd_qty := o_txn_qty;
4592: else
4593: o_txn_qty := inv_convert.inv_um_convert
4594: (i_item_id, NULL, o_txn_qty,
4595: l_snd_uom, l_rcv_uom, NULL, NULL);
4596: end if;
4597:

Line 5150: l_um_rate := inv_convert.inv_um_convert(i_item_id, NULL, 1,

5146:
5147: -- Need to get UOM conversion
5148: -- l_snd_uom = l_um_rate * l_rcv_uom
5149: -- 1 Dozen = 12 * 1 each
5150: l_um_rate := inv_convert.inv_um_convert(i_item_id, NULL, 1,
5151: l_snd_uom, l_rcv_uom, NULL, NULL);
5152:
5153: -- Added for bug 2827548
5154: if (i_txn_action_id = 12 and i_fob_point = 2) then -- receiving txn for FOB receipt

Line 9256: INV_Convert.INV_UM_Conversion(

9252: fnd_file.put_line(fnd_file.log, 'Primary UOM: '||l_primary_uom_code);
9253: end if;
9254: /* Convert the total_primary_quantity into source_doc_quantity */
9255: l_stmt_num := 40;
9256: INV_Convert.INV_UM_Conversion(
9257: from_unit => l_primary_uom_code,
9258: to_unit => l_doc_uom_code,
9259: item_id => p_item_id,
9260: uom_rate => l_uom_rate );

Line 9262: x_return_message := 'Inv_Convert.inv_um_conversion() failed to get the UOM rate';

9258: to_unit => l_doc_uom_code,
9259: item_id => p_item_id,
9260: uom_rate => l_uom_rate );
9261: IF ( l_uom_rate = -99999) THEN
9262: x_return_message := 'Inv_Convert.inv_um_conversion() failed to get the UOM rate';
9263: x_return_status := FND_API.G_RET_STS_ERROR;
9264: RAISE FND_API.G_EXC_ERROR;
9265: END IF;
9266: