...
POS (based on the last sync which runs every N minutes)
Items that are in guest carts with an active lock
Items that are in orders that are completed but not “processed” through to the POS
Items that have been “processed” through to the POS but the inventory sync has not yet run to update the shop with the new POS inventory numbers
Because inventory calls can be taxing to the POS database when the sync runs, the following measures improve the performance of this sync when it runs against the POS database:
...