Package org.idempiere.adinterface
Class ADLookup
java.lang.Object
org.idempiere.adinterface.ADLookup
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
fillLookupValues
(org.idempiere.adInterface.x10.LookupValues lvs, Lookup lookup, boolean isMandatory, boolean isReadOnly, boolean isShortList) static String
getDirectAccessSQL
(Lookup lookup, String text) Generate Access SQL for Search.
-
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
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 ...
-