Skip to content

[Bug]: PC0030 with RecordRef.GetBySystemId() #360

Description

@y0m0

Analyzer

PlatformCop

Issue type

False positive (diagnostic fires when it shouldn't)

Rule ID

PC0030

Description

As per PC0030 documention, I would expect a RecordRef.GetBySystemId to not trigger this diagnostic.

Image

AL code to reproduce

    procedure Test()
    var
        RecRef: RecordRef;
        Guid: Guid;
    begin
        RecRef.Open(Database::Customer);
        RecRef.GetBySystemId(Guid); // This lines triggers PC0030
    end;

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions