web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Global Variable on Report based on flowfield

(0) ShareShare
ReportReport
Posted on by 1,165

Hi All,

I'm trying to customise Sales back order report to extract a field form item Table which is a flowfield. Created a global variable and set the value as below but not working. Is there a way to insert a procedure in a report like on a page? or is there a way to get a global variable refer to CalFields() field?

report-variable.jpg

I have the same question (0)
  • Suggested answer
    Bilal Haider Profile Picture
    442 on at

    Hi,

    You need to give required filters to Item variable to calculate it correctly. And what is the issue you are getting exactly.

  • Suggested answer
    JAngle Profile Picture
    150 on at

    The sales line dataitem is not in context with the item variable you are trying to calc. Start with if item.get(SalesLine.”no.”) then. That will at least give the calcfields the right data to produce a result. Worth considering you may need location code here as well if it’s for sales orders and it’s inventory related.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,821 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,122 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans