You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend the LC0027 rule to also raise a diagnostic in case when a Variant is passed in combination with a Page which is supported by the Page Management codeunit.
Example
localprocedure HandleError(MyErrorInfo: ErrorInfo)var
RecRelatedVariant: Variant;
begin
RecRelatedVariant := MyErrorInfo.RecordId.GetRecord();
case MyErrorInfo.TableId ofDatabase::Resource:
Page.Run(Page::"Employee Card", RecRelatedVariant);
end;
end;
The text was updated successfully, but these errors were encountered:
Extend the LC0027 rule to also raise a diagnostic in case when a Variant is passed in combination with a Page which is supported by the Page Management codeunit.
Example
The text was updated successfully, but these errors were encountered: