protected function SaveOrderNotificationDataToOrder($bOrderSend, $oMail, $sSendToMail)
    {
        $aData = $this->sqlData;
        if ($bOrderSend && !TGlobal::IsCMSMode()) {
            $aData = $this->AddOrderNotificationDataForOrderSuccess($aData);
        } elseif (!$bOrderSend && !TGlobal::IsCMSMode()) {
            $aData = $this->AddOrderNotificationDataForOrderFailure($aData, $oMail, $sSendToMail);
        }
        $this->LoadFromRow($aData);
        $this->AllowEditByAll(true);
        $this->Save();
        $this->AllowEditByAll(false);
    }