22
At the moment we can only extend the Validate trigger in Extension by using the OnAfterValidate trigger. Could you make it possible to extend the Lookup trigger from tables? The only way to create lookups now is by using the TableRelation for Fields from the BC App.
I don't want to add an OnAfterLookup event, I want to add a possibility to add a real OnLookup Event.
So maybe you could make it possible to do something like this. And maybe add an IsHandled so we know if another Extension handled it already.
Modify("Job No")
{
Trigger OnLookup(IsHandled: boolean)
begin
if IsHandled then
exit;
//Building my own Lookup
end;
}
I don't want to add an OnAfterLookup event, I want to add a possibility to add a real OnLookup Event.
So maybe you could make it possible to do something like this. And maybe add an IsHandled so we know if another Extension handled it already.
Modify("Job No")
{
Trigger OnLookup(IsHandled: boolean)
begin
if IsHandled then
exit;
//Building my own Lookup
end;
}
STATUS DETAILS
Needs Votes
Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.
Best regards,
Business Central Team