38 public function diff(array $params)
41 $client->init($params);
43 $relationList = $client->relationListDstEntity();
44 $res = count($relationList)>0 ? $client::proxyList([
'ID'=>$relationList]):[];
46 if(isset($res[
'error']) ==
false)
49 foreach($res as $fields)
51 $list[] = $fields[
'ID'];
53 $client->relationDeleteByDstEntity($list);
59 return $client->relationVoid();