Skip to content

Kaufland Scheduled Tasks

List view of all scheduled tasks of the Kaufland connector. The automatic import, sync, and upload tasks are managed and monitored here.

Every enabled task runs through a job queue entry of the category MCK-SYNC (Kaufland tasks). Entries of the same category run one after another, never at the same time: two Kaufland tasks therefore do not work on the same data at the same time.

If a task's run fails, the job queue repeats it twice, five minutes apart. If the third attempt fails as well, the entry stops, and the task no longer runs on its own. The Job Queue column shows this until you restart the entry via Job Queue Entries.

As long as Kaufland is not enabled or not licensed in merchantCENTRAL, every task waits: it shows Last Run Status = Waiting, records the reason in Last Error Message, and starts working on its own as soon as Kaufland is ready. A waiting run counts neither as an execution nor as an error.

Every run of a task first deletes the API Log entries older than 30 days.

Opening the Page


Fields

Field Description
Task Code Unique task code, e.g. IMPORT-ORDERS.
Description Description of the task. Set when the task is created and kept afterwards; you can change it on the task card.
Task Type Type of task (e.g. Import Orders, Import Offers, Send Shipment Confirmations, Upload Invoices).
Enabled Whether the task is enabled.
Interval (Minutes) Execution interval in minutes.
Last Run Time of the last execution.
Last Run Status Status of the last execution (color-coded): Success (green), Error (red), Waiting (yellow) – Kaufland is not enabled or not licensed, the task has not run.
Next Run Next scheduled execution time.
Job Queue Why the job queue no longer runs the task on its own (red): its entry has stopped after the last failed attempt or is on hold. Empty as long as the task runs as scheduled.
Run Count Total number of executions; waiting runs are not counted.
Error Count Error counter (red when > 0).

FactBox: Task Details

Shows schedule, statistics, success rate, and next execution. See Task Details FactBox.


Actions

Action Description
Run Now Executes the selected task immediately. If its scheduled execution is running at that moment, Run Now is refused; try again after the run has ended. Unlike the scheduled run, Run Now does not wait while Kaufland is not enabled or not licensed: the task then ends with an error message stating the reason.
Enable Enables the selected tasks and creates their job queue entries. Works on the selection: asks first with the number of tasks that are still switched off, shows a progress dialog for more than one, and reports at the end how many were enabled and how many were enabled already.
Disable Disables the selected tasks and removes their job queue entries. Works on the selection: asks first with the number of tasks that are still switched on – default No, because nothing they do runs in the background any more until you enable them again –, shows a progress dialog for more than one, and reports at the end how many were disabled and how many were disabled already.
Create Default Tasks Creates the missing default tasks (see below). Existing tasks keep their settings.
Job Queue Entries Opens the Business Central job queue entries.

Run Now, Enable, Disable, and Create Default Tasks are only active for users who may change the scheduled tasks.


Default Tasks

Create Default Tasks creates the following tasks where they are missing. Day-to-day operations start immediately and run around the clock, including weekends – orders come in then too, and Kaufland measures how quickly you respond to buyers. The setup wizard calls the same function; with Start Background Tasks, it also switches on existing daily tasks that are switched off.

Task Task Type Interval When created
IMPORT-ORDERS Import Orders 15 min on – orders and their sales orders
SYNC-SHIPMENTS Send Shipment Confirmations 15 min on
SYNC-INV-BC Sync Stock 15 min on if Auto Sync Inventory is switched on in the Kaufland Setup
IMPORT-RETURNS Import Returns 30 min on
IMPORT-TICKETS Import Tickets 30 min on
REFRESH-OFFERS Import Offers 60 min on – only then do offers from the Seller Portal or an import file get stock and price, and only this way do offers Kaufland no longer has come to light
UPLOAD-INVOICES Upload Invoices 60 min on – see Uploading Invoices
SYNC-PRICES-BC Sync Prices 60 min off – you decide when the prices from the sales price lists of the sales channels replace the prices on Kaufland
PROCESS-TO-BC Create Sales Orders 60 min off – only catches up on sales orders for orders the import could not complete, and only for storefronts whose sales channel is switched on
CHECK-IMPORTS Refresh Import Files 15 min off – status of uploaded import files
CHECK-REPORTS Refresh Reports 15 min off – status of requested reports
CHECK-PRODDATA Refresh Product Data Status 30 min off – review status of the product data
UPLOAD-PRODDATA Upload Changed Product Data 60 min off – sends changed product data
SYNC-GPSR Send Product Safety Contacts daily off – sends changed manufacturers and EU responsible persons, see Product Safety Contacts

The imports of returns, tickets, offers, and import files work through the enabled storefronts; the default storefront of the setup only applies as long as no storefront is set up yet. With all storefronts switched off, nothing is imported.

Uploading Invoices

UPLOAD-INVOICES uploads the PDF of every posted sales invoice of a Kaufland order of the last 30 days that is not at Kaufland yet; the buyer can then download it. The PDF is created by the report set up in the report selection for sales invoices – in the background, never during posting.

  • Each invoice runs on its own: if one fails – for example because no report is set up or Kaufland refuses it – the others still go out, and the failed one is tried again in the next run.
  • A posted invoice goes to Kaufland only once, even if it was already uploaded by hand from Business Central (Kaufland Order Invoices). A PDF file of your own that you uploaded by hand, on the other hand, is not recognized as that invoice.
  • Every run that uploaded something or failed on an invoice writes one entry to the merchantCENTRAL Activity Log (“Kaufland invoices: … uploaded, … failed”), with the last error message. A run without new invoices leaves no entry.

Help with failed or waiting tasks: Troubleshooting.