Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Note
The AL diagnostics topics are in preview. If you have input for this topic, we'd love to hear from you. Use our GitHub repo to create a PR and add content to this topic by going to here. To read about contributing, see Contribute to the Help. Thanks!
'{0}' does not contain a definition for '{1}'.
Description
The referenced element does not contain a definition for the referenced member.
How to fix this diagnostic?
The object or variable exists, but it has no field, method, or property with the name you used.
To fix it:
- Check the spelling of the member. Quote names that contain spaces, for example
Customer."No.". - Confirm you're using the right variable or object type. The member might be defined on a different object.
- Use IntelliSense (after the
.) or Go to Definition (F12) to list the available members. - If the member comes from another extension, add that extension as a dependency in app.json.
var
Cust: Record Customer;
begin
// 'Naem' isn't a field on Customer -> AL0132
Message(Cust.Naem);
// Correct
Message(Cust.Name);
end;