Announcements
We are getting the error, is there any change the way AssistEdit is to be used or any new function has been added.
Hi Manish , AssistEdit is Internal function in Sales Header, you can only use function which declared as "External" in your extension.
You may need to copy the same function to your custom codeunit instead of calling from standard object.
If you are working on-premise you can change "Target" to Internal in your app.json to be able to use standard internal function in your extension while you change your solution to custom codeunit for those code calling standard internal function.
Sales Header is the base table and it has this AssistEdit Function which we are using.
It depends on what you want to do... if select a file, you should use UploadIntoStream.
If its not available on Saas then how standard works, or is there a work around ?
Without target = internal AssistEdit is not supported.
As of now we are using on-prem, but later will move to Saas.
Its an upgrade from NAV 2018 to 365BC.
Are you using a SaaS environment? AssistEdit is not supported on SaaS.
field("No."; "No.")
{
Visible = DocNoVisible;
AssistEdit = true;
trigger OnAssistEdit()
begin
if AssistEdit(XRec) then --------------> Here the error is coming
CurrPage.Update();
end;
}
The AssistEdit trigger is supported. Maybe can you show your code?
field(TEST; TEST)
{
ApplicationArea = All;
AssistEdit = true;
trigger OnAssistEdit()
begin
//Code here
end;
}
André Arnaud de Cal...
294,165
Super User 2025 Season 1
Martin Dráb
232,968
Most Valuable Professional
nmaenpaa
101,158
Moderator