private function canProcess($saleId)
    {
        $result = false;
        $entity = $this->daoReg->getById($saleId);
        if ($entity) {
            $state = $entity->getState();
            $result = ($state == ERegistry::STATE_PENDING);
        }
        return $result;
    }