20. Mai 2020 11:50
ProdKalenderposten.RESET;
ProdKalenderposten.SETCURRENTKEY("Work Center No.",Date);
ProdKalenderposten.SETRANGE("No.",ArbeitsplatzgruppenFilter);
ProdKalenderposten.SETRANGE(Topfdatum,Perioddatum);
ProdKalenderposten.SETRANGE(Type,ProdKalenderposten.Type::Produktiv);
ProdKalenderposten.CALCSUMS("Capacity (Total)","Capacity (Effective)");
SumCapacityMinuteTotal := ProdKalenderposten."Capacity (Total)";
SumCapacityMinuteEffictive := ProdKalenderposten."Capacity (Effective)";
IF ProdKalenderposten.FINDFIRST THEN
StartingTime := ProdKalenderposten."Starting Time";
IF ProdKalenderposten.FINDLAST THEN
EndingTime := ProdKalenderposten."Ending Time";
20. Mai 2020 12:00
20. Mai 2020 12:07
20. Mai 2020 12:36