Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Completely Received

(0) ShareShare
ReportReport
Posted on by 23
Hi, a problem i came across while screwing around with posting of Purchase Orders. The Purchase Header has a field called /Completely Received/ (Boolean) which takes the min() of the same field that is in Purchase Lines. If I understand correctly false < true, so as long as there is a false in the Lines the field in the Header will also be false. But after multiple sanity checks and several Posted Purchases, i found out that it always has a false value, even if all the lines are completely received. Is this a bug,a feature or am i missing something?
  • Verified answer
    Turin Profile Picture
    23 on at
    Completely Received
    Okay, results are in, so the FlowFields that were shown were calculated, in my example, i had multiple Sales Headers that had the field calculated, but Purchase Headers that didn't and i was thinking in a completely (o.O) wrong direction. All i had to do was call the CalcFields method 😑 before using the value, in case it wasn't already calculated (Purchase Header). Morale of the story, always use calcFields before using FlowFields no matter what. Thanks for being a part of my TedTalk and for all your help.
  • Turin Profile Picture
    23 on at
    Completely Received
    @T.yahya Thanks for the answer, but i think you are looking at the field that is on Purchase Lines, that one is a Boolean yes but the one in the Header is a FlowField, the one in the Lines works, but the FlowField in Header is something i'm trying to figure it ... Especially the FlowFilter
  • Suggested answer
    T.yahya Profile Picture
    114 on at
    Completely Received
    Hi
     
    Guys, It doesn't look like a FlowField
     
    Check Fig 1
     
    Fig1
     
     
    Also @Turin make sure that  (Quantity <> 0) and ("Outstanding Quantity" = 0);  Check Fig 2
     
    Fig2
     
     
    Hope this will help.
     
    Best regards,
    Touil Yahya
     
     
  • Turin Profile Picture
    23 on at
    Completely Received
    Okay, everything fits, except "Location Code" = field("Location filter"), but where can i set the filter, can't find it on the page, is it in some settings? I'm sorry, i am quite new to this, started AL developing 5 months ago
  • gdrenteria Profile Picture
    15,635 Most Valuable Professional on at
    Completely Received
    Hi
    Sorry, have you been able to confirm that all the filters are met?
    BR
    GR
  • Suggested answer
    Yi Yong Profile Picture
    1,915 Super User 2025 Season 1 on at
    Completely Received
    Hello Turin,
     
    Because it is a FlowField and it is not calculated on Page Inspection.
    You can either display the field on page or view it through the table.
     

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,207 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans