English

Gets the cases that have not been changed for at least the given number of days, with a maximum of 500.

Parameter antalDagar – The cases that have not been changed for antalDagar days are returned. antalDagar must be at least 30 days and at least capitex_boendekalkyl_min_dagar_foer_radering_av_kalkyler (optional configuration). If there is no configuration 180 days becomes the minimum for antalDagar.

Returns the type HaemtaKalkylerAEldreAEnRes which contains the total number of cases that have not been changed for at least antalDagar days, and an array of KalkylInfo objects containing information on a maximum of 500 of the most recently changed cases.

The function cannot be called unless the following configuration is set to true:

capitex_boendekalkyl_applikationsservice_aktivera_haemtakalkyleraeldreaen

Swedish

Hämtar alla kalkyler som är äldre än angivet antal dagar, dock maximalt 500.

Inparameter antalDagar – Kalkyler äldre än antalDagar hämtas. antalDagar måste vara över 30 dagar och över eventuell konfiguration capitex_boendekalkyl_min_dagar_foer_radering_av_kalkyler. Finns ingen konfiguration angiven blir 180 dagar gränsen för lägst antalDagar.

Returvärdet är av typen HaemtaKalkylerAEldreAEnRes. Den innehåller det totala antalet kalkyler äldre än antalDagar, samt en array av KalkylInfo som innehåller maximalt 500 av de senast ändrade kalkylerna.

För att funktionen ska gå att anropa behöver följande inställning sättas till true:

capitex_boendekalkyl_applikationsservice_aktivera_haemtakalkyleraeldreaen