public function removeRecord()
    {
        if ($id == null || $id == '')
            $id = Openbizx::$app->getClientProxy()->getFormInputs('_selectedId');

        $selIds = Openbizx::$app->getClientProxy()->getFormInputs('row_selections', false);
        if ($selIds == null)
            $selIds[] = $id;
        foreach ($selIds as $id) {
            $rec = $this->getDataObj()->fetchById($id);
            $ok = $this->getDataObj()->removeRecord($rec, $bPrtObjUpdated);
            if (!$ok)
                return $this->processDataObjError($ok);
        }

        $this->runEventLog();
        $this->rerender();
        if ($this->parentFormName) {
            $this->renderParent();
        }
    }
public function removeRecord()
    {
        if ($id == null || $id == '')
            $id = Openbizx::$app->getClientProxy()->getFormInputs('_selectedId');

        $selIds = Openbizx::$app->getClientProxy()->getFormInputs('row_selections', false);
        if ($selIds == null)
            $selIds[] = $id;
        foreach ($selIds as $id) {
            $rec = $this->getDataObj()->fetchById($id);
            $ok = $this->getDataObj()->removeRecord($rec, $bPrtObjUpdated);
            if (!$ok)
                return $this->processDataObjError($ok);
        }

        $this->runEventLog();
        $this->rerender();
        if ($this->parentFormName) {
            $this->renderParent();
        }
    }
public function removeRecord ( ) { if ( $ id == null || $ id == '' ) $ id = Openbizx :: $ app -> getClientProxy ( ) -> getFormInputs ( '_selectedId' ) ; $ selIds = Openbizx :: $ app -> getClientProxy ( ) -> getFormInputs ( 'row_selections' , false ) ; if ( $ selIds == null ) $ selIds [ ] = $ id ; foreach ( $ selIds as $ id ) { $ rec = $ this -> getDataObj ( ) -> fetchById ( $ id ) ; $ ok = $ this -> getDataObj ( ) -> removeRecord ( $ rec , $ bPrtObjUpdated ) ; if ( ! $ ok ) return $ this -> processDataObjError ( $ ok ) ; } $ this -> runEventLog ( ) ; $ this -> rerender ( ) ; if ( $ this -> parentFormName ) { $ this -> renderParent ( ) ; } }
Remove the record out of the associate relationship

@return void
Remove the record out of the associate relationship