DBA Data[Home] [Help]

APPS.INV_RESERVATIONS_INTERFACE dependencies on INV_CACHE

Line 1147: -- Bug 3475862 added below code for update reservation too, also, calling inv_cache to get the primary_uom_code for

1143:
1144: -- Bug:3384601 - Uom Conversions are not happening when RESERVATION_UOM_CODE is populated in MTL_RESERVATIONS_INTERFACE
1145: -- and processed by the Reservation Interface Manager. It was creating reservations always in primary_uom of the item.
1146:
1147: -- Bug 3475862 added below code for update reservation too, also, calling inv_cache to get the primary_uom_code for
1148: -- better performance.
1149: If (l_reservation_action_code in (1,2)) then
1150: IF l_rsv_rec.primary_reservation_quantity <= 0 OR l_rsv_rec.reservation_quantity <= 0 THEN
1151: debug('Primary Reservation Quantity or Reservation Quantity should not be equal to lessa than zero',c_api_name,1);

Line 1157: IF ( inv_cache.set_item_rec(l_rsv_rec.organization_id, l_rsv_rec.inventory_item_id) ) THEN

1153: fnd_msg_pub.ADD;
1154: RAISE fnd_api.g_exc_error;
1155: END IF;
1156:
1157: IF ( inv_cache.set_item_rec(l_rsv_rec.organization_id, l_rsv_rec.inventory_item_id) ) THEN
1158: l_rsv_rec.primary_uom_code := inv_cache.item_rec.primary_uom_code;
1159: END IF;
1160:
1161: IF l_rsv_rec.reservation_uom_code IS NOT NULL THEN

Line 1158: l_rsv_rec.primary_uom_code := inv_cache.item_rec.primary_uom_code;

1154: RAISE fnd_api.g_exc_error;
1155: END IF;
1156:
1157: IF ( inv_cache.set_item_rec(l_rsv_rec.organization_id, l_rsv_rec.inventory_item_id) ) THEN
1158: l_rsv_rec.primary_uom_code := inv_cache.item_rec.primary_uom_code;
1159: END IF;
1160:
1161: IF l_rsv_rec.reservation_uom_code IS NOT NULL THEN
1162: IF l_rsv_rec.primary_uom_code = l_rsv_rec.reservation_uom_code THEN