code: @Override
  	public CommerceWarehouseItem fetchByCPI_CPIU_Last(long CProductId,
  		String CPInstanceUuid,
  		OrderByComparator<CommerceWarehouseItem> orderByComparator) {
  		int count = countByCPI_CPIU(CProductId, CPInstanceUuid);
  
  		if (count == 0) {
  			return null;
  		}
  
  		List<CommerceWarehouseItem> list = findByCPI_CPIU(CProductId,
  				CPInstanceUuid, count - 1, count, orderByComparator);
  
  		if (!list.isEmpty()) {
  			return list.get(0);
  		}
  
  		return null;
  	}
docs: Returns the last commerce warehouse item in the ordered set where CProductId = &#63; and CPInstanceUuid = &#63;.
  
  @param CProductId the c product ID
  @param CPInstanceUuid the cp instance uuid
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the last matching commerce warehouse item, or <code>null</code> if a matching commerce warehouse item could not be found