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

        $selIds = Openbizx::$app->getClientProxy()->getFormInputs('row_selections', false);
        if ($selIds == null)
            $selIds[] = $recId;
            
        // if no parent elem or picker map, call AddToParent
        if (!$this->parentFormElemName)
        {        	
            $this->addToParent($selIds);
        }                

        // if has parent elem and picker map, call JoinToParent
        if ($this->parentFormElemName && $this->pickerMap)
        {
            $this->joinToParent($selIds);
        }
        
    }
public function pickToParent($recId=null)
    {        
    	if ($recId==null || $recId=='')
            $recId = Openbizx::$app->getClientProxy()->getFormInputs('_selectedId');

        $selIds = Openbizx::$app->getClientProxy()->getFormInputs('row_selections', false);
        if ($selIds == null)
            $selIds[] = $recId;
            
        // if no parent elem or picker map, call AddToParent
        if (!$this->parentFormElemName)
        {        	
            $this->addToParent($selIds);
        }                

        // if has parent elem and picker map, call JoinToParent
        if ($this->parentFormElemName && $this->pickerMap)
        {
            $this->joinToParent($selIds);
        }
        
    }
public function pickToParent ( $ recId = null ) { if ( $ recId == null || $ recId == '' ) $ recId = Openbizx :: $ app -> getClientProxy ( ) -> getFormInputs ( '_selectedId' ) ; $ selIds = Openbizx :: $ app -> getClientProxy ( ) -> getFormInputs ( 'row_selections' , false ) ; if ( $ selIds == null ) $ selIds [ ] = $ recId ; // if no parent elem or picker map, call AddToParent if ( ! $ this -> parentFormElemName ) { $ this -> addToParent ( $ selIds ) ; } // if has parent elem and picker map, call JoinToParent if ( $ this -> parentFormElemName && $ this -> pickerMap ) { $ this -> joinToParent ( $ selIds ) ; } }
Pick data to parent form

@param <type> $recId
@return void
@access remote
Pick data to parent form