DBA Data[Home] [Help]

APPS.PO_UOM_S dependencies on PO_UOM_S

Line 1: PACKAGE BODY PO_UOM_S as

1: PACKAGE BODY PO_UOM_S as
2: /* $Header: RCVTXU1B.pls 120.9.12020000.9 2013/05/03 10:39:14 bpulivar ship $*/
3:
4: --
5: g_chktype_TRACKING_QTY_IND_S CONSTANT

Line 9: /*============================== PO_UOM_S ================================*/

5: g_chktype_TRACKING_QTY_IND_S CONSTANT
6: MTL_SYSTEM_ITEMS_B.TRACKING_QUANTITY_IND%TYPE
7: := 'PS';
8:
9: /*============================== PO_UOM_S ================================*/
10:
11: --BUG 5080295: unit_of_measure is a VARCHAR2(25). so we need size
12: --25+25+2+38 = 90
13: TYPE uom_conversion_table_type IS TABLE OF NUMBER INDEX BY VARCHAR2(90);

Line 124: round_test := po_uom_sv2.convert_quantity(item_id,

120: end if;
121:
122: x_progress := 10;
123: x_unit_of_issue := unit_of_issue;
124: round_test := po_uom_sv2.convert_quantity(item_id,
125: source_org_id,
126: from_quantity,
127: from_uom,
128: converted_quantity,

Line 546: po_uom_s.po_uom_conversion(from_unit, to_unit, item_id, uom_rate);

542: ** different.
543: */
544:
545: IF from_unit <> to_unit THEN
546: po_uom_s.po_uom_conversion(from_unit, to_unit, item_id, uom_rate);
547: ELSE
548: uom_rate := 1;
549: END IF;
550:

Line 915: uom := po_uom_s.get_secondary_uom ( item_id number, org_id number,

911: This function returns the primary UOM based on item_id/organization
912: for both pre-defined and one-time items
913:
914: USAGE:
915: uom := po_uom_s.get_secondary_uom ( item_id number, org_id number,
916: current_sec_unit_of_measure varchar2 )
917:
918: PARAMETERS:
919: item_id IN number - item id (null for one time items)

Line 992: uom := po_uom_s.get_unit_of_measure(

988: DESCRIPTION:
989: This function returns the unit of measure for the passed uom code
990:
991: USAGE:
992: uom := po_uom_s.get_unit_of_measure(
993: p_uom_code in varchar2,
994: x_unit_of_measure out NOCOPY varchar2);
995:
996: PARAMETERS:

Line 1247: L_RATE := PO_UOM_S.PO_UOM_CONVERT(P_FROM_UOM, P_TO_UOM, P_ITEM_ID);

1243: x_progress := '009';
1244:
1245: IF (L_MTLT_COUNT = 0 AND L_MTLI_COUNT =0 ) THEN
1246:
1247: L_RATE := PO_UOM_S.PO_UOM_CONVERT(P_FROM_UOM, P_TO_UOM, P_ITEM_ID);
1248: L_TOT_QTY := ROUND(P_FROM_QTY * L_RATE, 15);
1249: RETURN L_TOT_QTY;
1250: ELSE
1251: RETURN L_SRC_DOC_QTY;

Line 1264: END PO_UOM_S;

1260:
1261:
1262:
1263:
1264: END PO_UOM_S;