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

Notifications

Announcements

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
    414 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
    135 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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,573

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 773 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 760 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans