code: public static CPMeasurementUnit findByGroupId_Last(long groupId,
  		OrderByComparator<CPMeasurementUnit> orderByComparator)
  		throws com.liferay.commerce.product.exception.NoSuchCPMeasurementUnitException {
  		return getPersistence().findByGroupId_Last(groupId, orderByComparator);
  	}
docs: Returns the last cp measurement unit in the ordered set where groupId = &#63;.
  
  @param groupId the group ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the last matching cp measurement unit
  @throws NoSuchCPMeasurementUnitException if a matching cp measurement unit could not be found