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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#1
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#1
Pratik Bhosle Profile Picture

Pratik Bhosle 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans