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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Partial report as finished using X++ in D365FO

(0) ShareShare
ReportReport
Posted on by 4,624

Hi,

 I want to do partially report as finished using x++ , I am using below link for reference : - 

https://sivakumar007.wordpress.com/2012/12/10/report-as-finish-through-x-code/

I am passing required QtyGood for report as finished but system is taking all qty( Production started qty) . Can you please suggest ?

Thanks 

I have the same question (0)
  • WillWU Profile Picture
    22,361 on at

    Hi Rohin,

    Your question is not very clear, could you provide more details and attach some screenshots?

  • Rohin Profile Picture
    4,624 on at

    Thanks Will,

    Let suppose , production order created and started with qty 10 and I wanna do report as finish qty 5 using code so I am using same piece of code (mentioned in above link) therefore I am passing qty as below:

    prodParmreportFinished.QtyGood = 5;

    However, when "ProdMultiReportFinished.run()" run , it will initialize the prodParmreportFinished buffer again inside run() method which make qty same as Started qty(10) so I was wondering that if there is any way to do partial report as finished through code?

    I hope it clears now.

  • Suggested answer
    Rohin Profile Picture
    4,624 on at

    I resolved the issue by updating prodParmreportFinished and then invoking ProdMultiReportFinished.run().  Thanks

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 301 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 118 Super User 2025 Season 2

#3
Siv Sagar Profile Picture

Siv Sagar 105 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans