private function getRegisteredQuoteByUniqueKey($custId, $stockId)
    {
        $result = null;
        $byCustId = EWrhsQuote::A_CUST_REF . '=' . (int)$custId;
        $byStockId = EWrhsQuote::A_STOCK_REF . '=' . (int)$stockId;
        $where = "($byCustId) AND ($byStockId)";
        $rs = $this->daoWrhsQuote->get($where);
        if (count($rs) == 1) {
            $result = reset($rs);
        }
        return $result;
    }