DBA Data[Home] [Help]

APPS.CSTPAVCP dependencies on INV_CONVERT

Line 4763: o_txn_qty := inv_convert.inv_um_convert

4759: --
4760: if ((i_org_id <> i_txn_org_id) and (i_txn_action_id in (12,21))) then
4761: o_no_update_mmt := 1;
4762: if (l_from_org = i_org_id) then
4763: o_txn_qty := inv_convert.inv_um_convert
4764: (i_item_id, NULL, o_txn_qty,
4765: l_rcv_uom, l_snd_uom, NULL, NULL);
4766: l_snd_qty := o_txn_qty;
4767: else

Line 4768: o_txn_qty := inv_convert.inv_um_convert

4764: (i_item_id, NULL, o_txn_qty,
4765: l_rcv_uom, l_snd_uom, NULL, NULL);
4766: l_snd_qty := o_txn_qty;
4767: else
4768: o_txn_qty := inv_convert.inv_um_convert
4769: (i_item_id, NULL, o_txn_qty,
4770: l_snd_uom, l_rcv_uom, NULL, NULL);
4771: end if;
4772:

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

5321:
5322: -- Need to get UOM conversion
5323: -- l_snd_uom = l_um_rate * l_rcv_uom
5324: -- 1 Dozen = 12 * 1 each
5325: l_um_rate := inv_convert.inv_um_convert(i_item_id, NULL, 1,
5326: l_snd_uom, l_rcv_uom, NULL, NULL);
5327:
5328: -- Added for bug 2827548
5329: if (i_txn_action_id = 12 and i_fob_point = 2) then -- receiving txn for FOB receipt

Line 9453: INV_Convert.INV_UM_Conversion(

9449: fnd_file.put_line(fnd_file.log, 'Primary UOM: '||l_primary_uom_code);
9450: end if;
9451: /* Convert the total_primary_quantity into source_doc_quantity */
9452: l_stmt_num := 40;
9453: INV_Convert.INV_UM_Conversion(
9454: from_unit => l_primary_uom_code,
9455: to_unit => l_doc_uom_code,
9456: item_id => p_item_id,
9457: uom_rate => l_uom_rate );

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

9455: to_unit => l_doc_uom_code,
9456: item_id => p_item_id,
9457: uom_rate => l_uom_rate );
9458: IF ( l_uom_rate = -99999) THEN
9459: x_return_message := 'Inv_Convert.inv_um_conversion() failed to get the UOM rate';
9460: x_return_status := FND_API.G_RET_STS_ERROR;
9461: RAISE FND_API.G_EXC_ERROR;
9462: END IF;
9463: