Class ADLookup

java.lang.Object
org.idempiere.adinterface.ADLookup

public class ADLookup extends Object
  • Constructor Details

    • ADLookup

      public ADLookup()
  • Method Details

    • fillLookupValues

      public static void fillLookupValues(org.idempiere.adInterface.x10.LookupValues lvs, Lookup lookup, boolean isMandatory, boolean isReadOnly, boolean isShortList)
      Parameters:
      lvs -
      lookup -
      isMandatory -
      isReadOnly -
      isShortList -
    • getDirectAccessSQL

      public static String getDirectAccessSQL(Lookup lookup, String text)
      Generate Access SQL for Search. The SQL returns the ID of the value entered Also sets m_tableName and m_keyColumnName
      Parameters:
      text - uppercase text for LIKE comparison
      Returns:
      sql or "" Example SELECT C_Payment_ID FROM C_Payment WHERE UPPER(DocumentNo) LIKE x OR ...