Package org.compiere.model

Examples of org.compiere.model.MLookupInfo


   
    ArrayList<ValueNamePair> data = new ArrayList<ValueNamePair>();
   
    int AD_Reference_ID = 195//  MLookupInfo.getAD_Reference_ID("All_Payment Rule");
    Language language = Env.getLanguage(Env.getCtx());
    MLookupInfo info = MLookupFactory.getLookup_List(language, AD_Reference_ID);
    String sql = info.Query.substring(0, info.Query.indexOf(" ORDER BY"))
      + " AND " + info.KeyColumn
      + " IN (SELECT PaymentRule FROM C_BankAccountDoc WHERE C_BankAccount_ID=?) "
      + info.Query.substring(info.Query.indexOf(" ORDER BY"));
    try
View Full Code Here

TOP

Related Classes of org.compiere.model.MLookupInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.