*This post is locked for comments
I get an error if I do this:
DataItemLink = "Document Type"=Field("Document Type"),"Document No."=Field("No.");
Hi!
at first you can use report snippet. Just print treport and press enter - you've got a report template.
Secondly, use ctrl + space after dataitem to get list of possible dataitem properties. Also you can see properties of report on screenshot. Syntax for properties the same as in CAL:
And for some properties you also can use snippets - tcaptionml for example (for multi language caption). With snippets and ctrl + space (available parts for current location) you can easily write AL code even if you don't know it well :)
What do you mean? Can you explain what you need?
Thank You Sir
Write something like:
dataitem("Sales Header"; "Sales Header")
{
column("No"; "No.")
{
}
dataitem("Sales Line";"Sales Line")
{
DataItemLink = "Document Type"=FIELD("Document Type"),"Document No."=FIELD("No.");
}
}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156