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)

Production status - Reported as finished

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have some questions in Production- Reported as finished.

I have created a production order manually and updated the status as "started". There are two ways to update the status as "Reported As finished". one is from the same form "Update" -> "report as finished" and second is by creating the "Report as finished" Journal.

1. My question is what is the different in above both as both of them increase the inventory quantity ?

2. I also tried to update the status by X++ code as well -

static void MD_ReportAsFinished(Args _args)
{
ProdTable prodTable;
ProdMultiReportFinished ProdMultiReportFinished;
;
//find ProdTable, not nessary in your case
prodTable = ProdTable::find("WO-00049929");
//init ProdStartup
ProdMultiReportFinished = ProdMultiReportFinished::construct(new args());
//init default parameter
RunBaseMultiParm::initParm(ProdMultiReportFinished);
//parm ProdTable, you can do this muliple times in case you want to update
//more than one production at a time
ProdMultiReportFinished.insert(prodTable, ProdMultiReportFinished.defaultParmBuffer());
//Do update
ProdMultiReportFinished.run();
info("Report As Finished");
}

I got the below error message -"

Total good quantity reported as finished for the production will be 1.00.
Feedback for the last operation is 2.00 in total".

Can anyone please let me know which setting I have to do in setup/ code level ?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Fredrik Sætre Profile Picture
    12,644 on at

    In your production parameter setup, you need to tick "accept errors". I think it is under feedback.

    It sounds more serious then it is... It only checks if you have picked all estimated items and finished all operarions.

    The error message is related to the fact that you have not fully reported on the operation.

  • Suggested answer
    Praveen Jasfer Profile Picture
    45 on at

    Hi Mukti

    The difference is you can report as finish partly consumed order through the journal. If you report part of a production order as finished, work centers are made available for other production tasks. If you report a production order as finished through the standard production order update function, you can receive information about the quantity of items already produced and the number of units produced in error so that you know what has already been posted and how much is still missing.

    But you cant update the status in both, if you to try post both then error will raise.

    Don't select accept error option if you select it the journal will get posted although it contains error.  

    Regards,

    Praveen Jasfer. N

  • Fredrik Sætre Profile Picture
    12,644 on at

    Ah... Praveen is correct. You're trying to report twice here. Reporting an operation or job that has next operation as 0 could also do a RAF posting. I figured the quantity was two, but if it is one you did something double.

    Good thing the error was  there to catch it. :)

    However doing an RAF posting without feedback on route will also trigger an error.

    It is best to do the one or the other, but not both.

  • Community Member Profile Picture
    on at

    Thanks everyone. It is resolved.

  • rajeev tiwari Profile Picture
    434 on at

    I am able to create  report as finished journal  through x++ code and after that I am able to post it manually from front end.

    Can you please provide me code to post through x++ code for Report as finished journal.

  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Please refer following links:

    (X++ code to create Production Report as finished Journal in AX 2012)

    axwiki.blogspot.com/.../x-code-to-create-production-report-as.html

    (Report as finish through X++ code)

    sivakumar007.wordpress.com/.../report-as-finish-through-x-code

  • rajeev tiwari Profile Picture
    434 on at

    Thanks but I have create report as finished journal .. I need code only to post it through x++ code

  • Suggested answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Please try following line of code by passing the journalId

    ProdJournalCheckPostProd::newPostJournal(ProdJournalProd.JournalId, true).run();

  • moustafa arafa Profile Picture
    40 on at

    How you resolved it

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