source/Application/Model/Order.php
protected function _setOrderStatus($sStatus)
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sQ = 'update oxorder set oxtransstatus=' . $oDb->quote($sStatus) . ' where oxid=' . $oDb->quote($this->getId());
        $oDb->execute($sQ);

        //updating order object
        $this->oxorder__oxtransstatus = new \OxidEsales\Eshop\Core\Field($sStatus, \OxidEsales\Eshop\Core\Field::T_RAW);
    }
protected function _setOrderStatus($sStatus)
    {
        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $sQ = 'update oxorder set oxtransstatus=' . $oDb->quote($sStatus) . ' where oxid=' . $oDb->quote($this->getId());
        $oDb->execute($sQ);

        //updating order object
        $this->oxorder__oxtransstatus = new \OxidEsales\Eshop\Core\Field($sStatus, \OxidEsales\Eshop\Core\Field::T_RAW);
    }
protected function _setOrderStatus ( $ sStatus ) { $ oDb = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ sQ = 'update oxorder set oxtransstatus=' . $ oDb -> quote ( $ sStatus ) . ' where oxid=' . $ oDb -> quote ( $ this -> getId ( ) ) ; $ oDb -> execute ( $ sQ ) ; //updating order object $ this -> oxorder__oxtransstatus = new \ OxidEsales \ Eshop \ Core \ Field ( $ sStatus , \ OxidEsales \ Eshop \ Core \ Field :: T_RAW ) ; }
Updates order transaction status. Faster than saving whole object

@param string $sStatus order transaction status
Updates order transaction status . Faster than saving whole object