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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

In Purchase Agreement, Where Can I See The Received Lines of The Released Lines?

(0) ShareShare
ReportReport
Posted on by 1,036

Hello awesome community! :)

In Purchase Agreements, What I want is similar to view the "Released Order Lines" of the purchase agreement.

For example, in this screen: 

18734.Capture.PNG

It views the Released Lines of The Purchase Agreement, what I want is to view the "Received Lines" of these released lines.

Because I want to display in an SSRS report the number of Received Lines.

I already did it for the "Release Lines" by getting the count() number of records in "PurchLine" Table where The PurchLine.MatchingAgreementLine == AgreementLine.RecId.

I'm just a beginner but I noticed that release lines are inserted in PurchLine Table, but what about Received Lines?

Thanks in advance!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Momochi Profile Picture
    1,036 on at

    I've done it using a counter with this condition:

    Counter receivedCounter = 0;
    while select purchLi where purchLi.MatchingAgreementLine == agreementLi.RecId && purchLi.ItemId == agreementLi.ItemId{ if(purchLi.invoicedInTotal() - purchLi.receivedInTotal() == 0){ receivedCounter++; } } reportLine.Received = receivedCounter;

    And the results are fine for now, I still need to test it more since I'm not sure, because I used "PurchLine.invoicedInTotal() - PurchLine.receivedInTotal()"

    Don't know how accurate is that. Once I confirm I will reply here.

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

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans