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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156