Update 27.2.202606.155710

Prev Next

Release Date: 03. February 2026


Improvements

ABC Lines

Added support for running createItemABCLinesUsingItemFilter as an asynchronous web service operation, so long-running ABC calculations can be executed in the background without web‑service timeouts.

The Flexible Forecast app now supports asynchronous execution of the createItemABCLinesUsingItemFilter web service, using the async job infrastructure provided by App Manager Core.

A new asynchronous: Boolean parameter has been introduced on the createItemABCLinesUsingItemFilter operation in SCBABCInputWebservice.Codeunit.al. When this parameter is set to true, the web service no longer waits for the full ABC calculation to complete. Instead, it:

  1. Creates an async job with all required Flexible Forecast parameters.

  2. Queues the job to be executed in the background by the new runner codeunit SCB FFO Async Job Runner (ID 6223598).

  3. Immediately returns a Job ID (Guid) to the caller.

Clients can then poll the new status endpoints on the same web service:

  • getAsyncJobStatusSimple(jobId: Guid): Text – returns a simple status value (Pending, Running, Completed, Error, NOT_FOUND).

  • getAsyncJobStatus(jobId: Guid): Text – returns detailed JSON, including status, resultSystemId, errorMessage, and timestamps.

When the job is completed, the resultSystemId can be used to retrieve the generated ABC Input header and lines via the standard OData endpoint, for example:

GET .../abcInputs(<resultSystemId>)?$expand=abcInputLines

The previous synchronous behavior is preserved: if asynchronous = false (or omitted by existing clients), the web service runs as before and waits for the calculation to complete, ensuring full backward compatibility.

This change:

  • Eliminates web‑service timeout issues for large or long‑running ABC calculations.

  • Improves scalability by allowing multiple ABC jobs to be queued and processed in the background.

  • Provides clear status and error reporting to integration partners via the async job status APIs.