---
title: June 2022
slug: june-2022
createdAt: 2022-06-12T12:03:31.000Z
---

# API

## 12/06/2022

- [ ] Rebuild all products & product variants Elastic & Redis cache
  - [ ] ProductVariant missing defaultStockMeasureUnitId in db view. Now added, so the Elastic and Redis cache should be rebuilt
- [ ] database batch operations done for Products table.  Previously **IsEndProduct** field was not respected. It should always be **false** when the product has ProductVariants associated. &#x20;
  - [ ] UI should also be updated on OCC so that the "Variants" tab in product details page should be hidden when the product is not final product (i.e. IsEndProduct = true hides the product variants functionality)
  - [ ] UI should also be updated on OCC so that the variants association icons/buttons will not be displayed for product picture listing



# OCC

# 12/06/2022

- [ ] See API same date update on IsEndProduct.  Relevant sections needs to be updated on product details page
  - [ ] Add IsEndProduct field on the product details page
  - [ ] Hide "Variants" page if IsEndProduct = true
  - [ ] Hide variant association features/icon buttons on Product Pictures page



# Sites





