Updating inventory actions
InventoryServiceImpl#addInventoryAction
records a new action in the system, but it should first check if there is an overdue action in the system (where notBeforeDate.isNull() or notBeforeDate.le(now)
) and update the existing action only.