private void resetTabInfo(){
  if (this.m_lookup == null)   return;
  String col=m_lookup.getColumnName();
  if (col.indexOf('.') != -1)   col=col.substring(col.indexOf('.') + 1);
  final String[] infoNames;
  if (col.equals("M_Product_ID")) {
    infoNames=new String[]{"M_Product_ID","M_AttributeSetInstance_ID","M_Locator_ID","M_Lookup_ID"};
  }
 else   if (col.equals("C_BPartner_ID")) {
    infoNames=new String[]{"C_BPartner_ID","AD_User_ID","C_BPartner_Location_ID"};
  }
 else {
    infoNames=new String[]{};
  }
  for (  String name : infoNames) {
    Env.setContext(Env.getCtx(),m_lookup.getWindowNo(),Env.TAB_INFO,name,null);
  }
}

private void resetTabInfo ( ) { if ( this . m_lookup == null ) return ; String col = m_lookup . getColumnName ( ) ; if ( col . indexOf ( '.' ) != - 1 ) col = col . substring ( col . indexOf ( '.' ) + 1 ) ; final String [ ] infoNames ; if ( col . equals ( "M_Product_ID" ) ) { infoNames = new String [ ] { "M_Product_ID" , "M_AttributeSetInstance_ID" , "M_Locator_ID" , "M_Lookup_ID" } ; } else if ( col . equals ( "C_BPartner_ID" ) ) { infoNames = new String [ ] { "C_BPartner_ID" , "AD_User_ID" , "C_BPartner_Location_ID" } ; } else { infoNames = new String [ ] { } ; } for ( String name : infoNames ) { Env . setContext ( Env . getCtx ( ) , m_lookup . getWindowNo ( ) , Env . TAB_INFO , name , null ) ; } }
reset env . tab_info context variables
