AutoCalcFields only on FlowFields (PC0007)

The AutoCalcFields parameter in Get, Find, and other record methods should only specify FlowFields. Including normal fields in AutoCalcFields has no effect and indicates a misunderstanding of the API.

Example

The following code incorrectly includes a normal field in AutoCalcFields:

codeunit 50100 MyCodeunit
{
    procedure GetCustomer()
    var
        Customer: Record Customer;
    begin
        Customer.Get('10000', Customer.Name); // AutoCalcFields only on FlowFields [PC0007]
    end;
}

To fix this, only specify FlowFields:

codeunit 50100 MyCodeunit
{
    procedure GetCustomer()
    var
        Customer: Record Customer;
    begin
        Customer.SetAutoCalcFields(Balance);
        Customer.Get('10000');
    end;
}