Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Automatically translated by Lango

Některé položky fronty úloh, například ty, které plánují synchronizaci mezi Business Central a Dataverse, používají pole Časový limit nečinnosti na stránce Položka fronty úloh, aby se zabránilo zbytečnému spuštění položky fronty úloh.

Pokud hodnota v tomto poli není nula a fronta úloh nenalezla během posledního spuštění žádné změny, Business Central pozastaví zadání fronty úloh. Když k tomu dojde, pole Stav fronty úloh zobrazí Blokování z důvodu nečinnosti a Business Central bude čekat po dobu zadanou v poli Časový limit nečinnosti před tím, než znovu spustí záznam fronty úloh.

Například ve výchozím nastavení bude položka fronty úloh Měna, která synchronizuje měny v Dynamics 365 Sales s směnnými kurzy v Business Central, hledat změny směnných kurzů každých 30 minut. Pokud nejsou nalezeny žádné změny, Business Central pozastaví zadání fronty úloh Měna na 720 minut (šest hodin). Pokud se změní kurz v Business Central zatímco je položka fronty úloh pozastavena, Business Central automaticky znovu aktivuje zadání fronty úloh a fronta úloh se restartujte.

Business Central automaticky aktivuje položky fronty úloh, které jsou pozastaveny, pouze pokud dojde ke změnám v Business Central. Změny v Dynamics 365 Sales nebudou aktivovat položky fronty úlohSome job queue items, such as those that schedule synchronization between Business Central and Dataverse, use the Idle Timeout field on the Job Queue Item page to prevent the job queue item from running unnecessarily.

If the value in this field is not zero and the job queue did not find any changes during the last run, Business Central suspends the job queue entry. When this happens, the Job Queue Status field displays Inactivity Hold, and Business Central waits for the amount of time specified in the Idle Timeout field before restarting the job queue recording.

For example, by default, the Currency job queue item, which synchronizes currencies in Dynamics 365 Sales with exchange rates in Business Central, will look for changes in exchange rates every 30 minutes. If no changes are found, Business Central pauses the Currency job queue entry for 720 minutes (six hours). If the course changes in Business Central while a job queue item is paused, Business Central automatically reactivates the job queue entry and the job queue is restarted.

Business Central automatically activates job queue items that are paused only when changes occur in Business Central. Changes in Dynamics 365 Sales won't trigger job queue items.