✏️ Explanatory Question

What is the purpose of overriding the lookup method in the UIBuilder class?

👁 1 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Overriding the lookup method provides a custom lookup window for user selection instead of using the default control.
For example:


inventSiteId.registerOverrideMethod(
    methodStr(FormStringControl, lookup),
    methodStr(ANSARIBalanceSheetReconUIBuilder, siteLookUp),
    this
);

This enables multi-select lookup from InventSite and InventLocation tables.