Closed pri-kise closed 8 months ago
e.g. in the following code the 50000 should be replaced with Codeunit::"My Codeunit".
Codeunit::"My Codeunit"
local procedure ThrowError() var MyErrorInfo: ErrorInfo; begin MyErrorInfo:= ErrorInfo.Create('Test Error'); MyErrorInfo.AddAction('Test Action', 50000, 'ShowRecord'); end; Error(MyErrorInfo); end;
Thank you for reporting the problem. I've fixed it and released a new version.
e.g. in the following code the 50000 should be replaced with
Codeunit::"My Codeunit"
.