Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Getting an error "Physical updating quantity in the inventory unit must be other than zero."

Posted on by Microsoft Employee

Getting an error on posting of sales Statements ("Physical updating quantity in the inventory unit must be other than zero.")

and log file error as below   .....

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.     at Dynamics.Ax.Application.InventUpd_Physical.Updatenow(LedgerVoucher _ledgerVoucher) in InventUpd_Physical.updateNow.xpp:line 22     at Dynamics.Ax.Application.InventUpd_Financial.Updatenow() in InventUpd_Financial.updateNow.xpp:line 50     at Dynamics.Ax.Application.SalesInvoiceJournalPostBase.Updateinventory(InventMovement _inventMovement) in SalesInvoiceJournalPostBase.updateInventory.xpp:line 74     at Dynamics.Ax.Application.SalesInvoiceJournalPost.Updateinventory(InventMovement _inventMovement) in SalesInvoiceJournalPost.updateInventory.xpp:line 9     at Dynamics.Ax.Application.SalesInvoiceJournalPost.Postinventory() in SalesInvoiceJournalPost.postInventory.xpp:line 38     at Dynamics.Ax.Application.FormletterJournalPost.Post() in FormletterJournalPost.post.xpp:line 133     at Dynamics.Ax.Application.FormletterJournalPost.Run() in FormletterJournalPost.run.xpp:line 15     at Dynamics.Ax.Application.SalesInvoiceJournalPostBase.Run() in SalesInvoiceJournalPostBase.run.xpp:line 6     at Dynamics.Ax.Application.SalesInvoiceJournalPost.Run() in SalesInvoiceJournalPost.run.xpp:line 30     at Dynamics.Ax.Application.FormletterService.Postjournal(Common _parmTable) in FormletterService.postJournal.xpp:line 42     at Dynamics.Ax.Application.FormletterService.Run() in FormletterService.run.xpp:line 171     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 Microsoft.Dynamics.Ax.Xpp.DictClass.Callobject(String _methodName, XppObjectBase _Called, Object[] varArgs)     at Dynamics.Ax.Application.SysOperationServiceController.Runoperation(Boolean _async) in SysOperationServiceController.runOperation.xpp:line 93     at Dynamics.Ax.Application.SysOperationServiceController.Run() in SysOperationServiceController.run.xpp:line 27     at Dynamics.Ax.Application.FormLetterServiceController.Run() in FormLetterServiceController.run.xpp:line 3     at Dynamics.Ax.Application.SalesFormLetter.Run() in SalesFormLetter.run.xpp:line 91     at Dynamics.Ax.Application.SalesFormLetter_Invoice.Run() in SalesFormLetter_Invoice.run.xpp:line 6     at Dynamics.Ax.Application.RetailStatementSalesOrderCreator.Invoicesalesorder(SalesTable salesHeader, Date transDate) in RetailStatementSalesOrderCreator.invoiceSalesOrder.xpp:line 82     at Dynamics.Ax.Application.RetailStatementSalesOrderCreator.Run() in RetailStatementSalesOrderCreator.run.xpp:line 41     at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54     at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13     at BatchRun::runJobStatic(Object[] )     at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)     at BatchIL.taskThreadEntry(Object threadArg)

*This post is locked for comments

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 Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

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,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans