public String product(Properties ctx,int WindowNo,GridTab mTab,GridField mField,Object value){
  Integer M_Product_ID=(Integer)value;
  if (M_Product_ID == null || M_Product_ID.intValue() == 0)   return "";
  if (Env.getContextAsInt(ctx,WindowNo,Env.TAB_INFO,"M_Product_ID") == M_Product_ID.intValue() && Env.getContextAsInt(ctx,WindowNo,Env.TAB_INFO,"M_AttributeSetInstance_ID") != 0)   mTab.setValue("M_AttributeSetInstance_ID",Env.getContextAsInt(ctx,WindowNo,Env.TAB_INFO,"M_AttributeSetInstance_ID"));
 else   mTab.setValue("M_AttributeSetInstance_ID",null);
  checkQtyAvailable(ctx,mTab,WindowNo,M_Product_ID,null);
  return "";
}

public String product ( Properties ctx , int WindowNo , GridTab mTab , GridField mField , Object value ) { Integer M_Product_ID = ( Integer ) value ; if ( M_Product_ID == null || M_Product_ID . intValue ( ) == 0 ) return "" ; if ( Env . getContextAsInt ( ctx , WindowNo , Env . TAB_INFO , "M_Product_ID" ) == M_Product_ID . intValue ( ) && Env . getContextAsInt ( ctx , WindowNo , Env . TAB_INFO , "M_AttributeSetInstance_ID" ) != 0 ) mTab . setValue ( "M_AttributeSetInstance_ID" , Env . getContextAsInt ( ctx , WindowNo , Env . TAB_INFO , "M_AttributeSetInstance_ID" ) ) ; else mTab . setValue ( "M_AttributeSetInstance_ID" , null ) ; checkQtyAvailable ( ctx , mTab , WindowNo , M_Product_ID , null ) ; return "" ; }
product modified set attribute set instance
