Hi,
I want to call the OData Action Management as is done in the procedure SetActionResponse of the page 5475 "Sales Invoice Entity".
local procedure SetActionResponse(var ActionContext: DotNet WebServiceActionContext; InvoiceId: Guid)
var
ODataActionManagement: Codeunit "OData Action Management";
begin
ODataActionManagement.AddKey(FieldNo(Id), InvoiceId);
ODataActionManagement.SetDeleteResponseLocation(ActionContext, PAGE::"Sales Invoice Entity");
end;
The error I get is: .NET Type "Microsoft.Dynamics.Nav.Runtime.WebServiceActionContext" as WebServiceActionContext
DotNet 'WebServiceActionContext' is missingAL(AL0185)
The target is set to OnPrem and also the al.assemblyProbingPaths is set.
"al.assemblyProbingPaths": [
"./.netpackages",
"c:/windows/assembly"
],
Where can I find the Microsoft.Dynamics.Nav.Runtime DLL?