Let's be clear. I already did the custom EDT. And yes the system did all the work for me but the other thing I want to do is to modify the text field once you click the BudgetCycle.
Here's my custom EDT


[
DataMemberAttribute('BudgetCycleRecIdCustom'),
SysOperationLabel('Budget Cycle')
]
public BudgetCycleRecIdCustom parmBudgetCycle(BudgetCycleRecIdCustom _budgetCycle = budgetCycle)
{
budgetCycle = _budgetCycle;
return budgetCycle;
}
Here is what is looks like without the
dialogBudgetCycle.registerOverrideMethod(methodStr(FormReferenceGroupControl, lookup), methodStr(AnnualBudgetUIBuilder, budgetCycleLookup), this);

This is the dialog with the lookup override
dialogBudgetCycle.registerOverrideMethod(methodStr(FormReferenceGroupControl, lookup), methodStr(AnnualBudgetUIBuilder, budgetCycleLookup), this);
and without the
dialogBudgetCycle.registerOverrideMethod(methodStr(FormReferenceGroupControl, modified), methodStr(AnnualBudgetUIBuilder, budgetCycleModified), this);

Now, what I'm trying to do is. I want to set the value of the dialogBudgetCycle to Name(Like FY2015) by using the method below
public boolean budgetCycleModified(FormReferenceGroupControl _budgetCycle)
{
boolean ret = false;
BudgetCycle budgetCycle;
if(dialogBudgetCycle.value())
{
info(strFmt("%1", dialogBudgetCycle.value()));
dialogBudgetCycle.value(strFmt("%1", BudgetCycle::find(dialogBudgetCycle.value()).Name));
ret = true;
}
return ret;
}
Here's what my UI Builder looks like with this code below.
dialogBudgetCycle.registerOverrideMethod(methodStr(FormReferenceGroupControl, modified), methodStr(AnnualBudgetUIBuilder, budgetCycleModified), this);

My BudgetCycle field is empty once you click something in the lookup and as you can see the Info log has the RecId already.
I'm trying to override the modified in dialogBudgetCycle to show only the Name once you click on the lookup.

Is it possible?
Hope this is more clear now. Thanks for the help