aggegrate KPI = false toegevoegd aan inputs

This commit is contained in:
2023-04-03 13:03:10 +02:00
parent be22d631bc
commit b7bedf182c
3 changed files with 16 additions and 4 deletions

View File

@@ -300,12 +300,12 @@ namespace FarmmapsApi.Services
//hier nog definieren waar in de hierarchie een KPI item is?
//the kpi data is a child of the cropfield
var itemname = "KPI";
var itemName = "kpi";
var KPIItem = await FindChildItemAsync(cropfieldItem.Code,
CROPFIELD_ITEMTYPE, itemname); //hier moet ik dus verwijzen naar waar het KPIItem zit? ik gok dat het een cropfield item type is...
CROPFIELD_ITEMTYPE, itemName); //hier moet ik dus verwijzen naar waar het KPIItem zit? ik gok dat het een cropfield item type is.-> of onderdeel van een croppingscheme? net toegevoegd.
if (KPIItem == null)
{
_logger.LogError("could not find the bofek data as a child item under the cropfield");
_logger.LogError("could not find the KPI data as a child item under the cropfield");
return null;
}