Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Exception Occurred while posting invoice.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

HI,

This is the exception any suggestions ?

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
   at Dynamics.Ax.Application.SrsPrintMgmtController.Outputreports() in SrsPrintMgmtController.outputReports.xpp:line 96
   at Dynamics.Ax.Application.SalesInvoiceController.Runprintmgmt() in SalesInvoiceController.runPrintMgmt.xpp:line 85
   at Dynamics.Ax.Application.SrsPrintMgmtController.Run() in SrsPrintMgmtController.run.xpp:line 14
   at Dynamics.Ax.Application.SysOperationController.Startoperation() in SysOperationController.startOperation.xpp:line 10
   at Dynamics.Ax.Application.SrsReportRunController.Startoperation() in SrsReportRunController.startOperation.xpp:line 12
   at Dynamics.Ax.Application.SrsPrintMgmtController.Startoperation() in SrsPrintMgmtController.startOperation.xpp:line 14
   at Dynamics.Ax.Application.SrsPrintMgmtFormLetterController.Startoperation() in SrsPrintMgmtFormLetterController.startOperation.xpp:line 14
   at Dynamics.Ax.Application.SalesInvoiceController.main(Args _args) in SalesInvoiceController.main.xpp:line 99
   at SalesInvoiceController::Main(Object[] )
   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
   at Dynamics.Ax.Application.MenuFunction.Run(xArgs _args, Boolean ) in MenuFunction.run.xpp:line 76
   at Dynamics.Ax.Application.MenuFunction.Run(xArgs _args)
   at Dynamics.Ax.Application.CustInvoiceJour.Printjournal(SalesInvoiceJournalPrint journalPrint, RecordSortedList journalList, NoYes copy, NoYes parmPrintFormLetter, NoYes parmPrintAcceptanceReport, NoYes parmPrintBillOfLading, NoYes parmPrintInventBaileeReport, NoYes parmPrintTransportInvoice, Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean ) in CustInvoiceJour.printJournal.xpp:line 73
   at Dynamics.Ax.Application.CustInvoiceJour.Printjournal(SalesInvoiceJournalPrint journalPrint, RecordSortedList journalList, NoYes copy, NoYes parmPrintFormLetter, NoYes parmPrintAcceptanceReport, NoYes parmPrintBillOfLading, NoYes parmPrintInventBaileeReport, NoYes parmPrintTransportInvoice)
   at Dynamics.Ax.Application.SalesInvoiceJournalPrint.Doprint() in SalesInvoiceJournalPrint.doPrint.xpp:line 7
   at Dynamics.Ax.Application.FormletterJournalPrint.Printjournal(Set _journalList) in FormletterJournalPrint.printJournal.xpp:line 34
   at Dynamics.Ax.Application.SalesInvoiceJournalPrint.Printjournal(Set _journalList) in SalesInvoiceJournalPrint.printJournal.xpp:line 13
   at Dynamics.Ax.Application.FormletterService.Printjournal() in FormletterService.printJournal.xpp:line 33
   at Dynamics.Ax.Application.FormletterService.Printout() in FormletterService.printOut.xpp:line 11
   at Dynamics.Ax.Application.FormletterService.Endposting(Printout _printout) in FormletterService.endPosting.xpp:line 14
   at Dynamics.Ax.Application.FormletterService.Run() in FormletterService.run.xpp:line 206
   at Dynamics.Ax.Application.FormletterService.Postsalesorderinvoice(SalesFormLetterInvoiceContract _contract) in FormletterService.postSalesOrderInvoice.xpp:line 14
   at FormletterService::postSalesOrderInvoice(Object , Object[] )
   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters)
   at Dynamics.Ax.Application.SysOperationServiceController.Runoperation(Boolean _async) in SysOperationServiceController.runOperation.xpp:line 93
   at Dynamics.Ax.Application.SysOperationServiceController.runServiceOperation(Object[] parameters) in SysOperationServiceController.runServiceOperation.xpp:line 22
   at SysOperationServiceController::runServiceOperation(Object[] )
   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
   at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26
   at SysDictClass::invokeStaticMethod(Object[] )
   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
   at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)

Regards,

Riyaz A

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Exception Occurred while posting invoice.

    xpp exception always tells me to run full CIL. Have you done this yet?

    Janet

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans