From: Jorg J. <jj...@us...> - 2004-03-27 23:03:34
|
Update of /cvsroot/compiere/client/Src/org/compiere/grid/ed In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1904/Src/org/compiere/grid/ed Modified Files: VLookup.java Log Message: . Index: VLookup.java =================================================================== RCS file: /cvsroot/compiere/client/Src/org/compiere/grid/ed/VLookup.java,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** VLookup.java 24 Mar 2004 17:03:29 -0000 1.61 --- VLookup.java 27 Mar 2004 22:52:23 -0000 1.62 *************** *** 42,46 **** { /** ! * Create BPartner Lookup * @param WindowNo window * @return VLookup --- 42,46 ---- { /** ! * Create Optional BPartner Search Lookup * @param WindowNo window * @return VLookup *************** *** 62,66 **** /** ! * Create Product Lookup * @param WindowNo window * @return VLookup --- 62,66 ---- /** ! * Create Optional Product Search Lookup * @param WindowNo window * @return VLookup *************** *** 81,84 **** --- 81,104 ---- } // createProduct + /** + * Create Optional User Search Lookup + * @param WindowNo window + * @return VLookup + */ + public static VLookup createUser (int WindowNo) + { + int AD_Column_ID = 10443; // AD_WF_Activity.AD_User_UD + try + { + Lookup lookup = MLookupFactory.get (Env.getCtx(), WindowNo, 0, AD_Column_ID, DisplayType.Search); + return new VLookup ("AD_User_ID", false, false, true, lookup); + } + catch (Exception e) + { + Log.error("VLookup.createUser", e); + } + return null; + } // createProduct + /************************************************************************* |