code: @Override
  	public CPDefinitionInventory create(long CPDefinitionInventoryId) {
  		CPDefinitionInventory cpDefinitionInventory = new CPDefinitionInventoryImpl();
  
  		cpDefinitionInventory.setNew(true);
  		cpDefinitionInventory.setPrimaryKey(CPDefinitionInventoryId);
  
  		String uuid = PortalUUIDUtil.generate();
  
  		cpDefinitionInventory.setUuid(uuid);
  
  		cpDefinitionInventory.setCompanyId(companyProvider.getCompanyId());
  
  		return cpDefinitionInventory;
  	}
docs: Creates a new cp definition inventory with the primary key. Does not add the cp definition inventory to the database.
  
  @param CPDefinitionInventoryId the primary key for the new cp definition inventory
  @return the new cp definition inventory