DBA Data[Home] [Help]

APPS.INV_RESERVATIONS_INTERFACE dependencies on INV_CACHE

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

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

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

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

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

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