Question Status

Suggested Answer
s3rg asked a question on 1 Apr 2015 8:38 AM

I'm getting the following error when trying to generate invoice from a sales order. It appears to be failing when calculating sales tax.

Error: Order SO-###### (6012): Only in progress transactions can be updated.

[s] \Classes\STOTaxCalc\processMessages 54
[s] \Classes\STOTaxCalc_Sales\calculateTax 177
[s] \Classes\STOTaxCalc\calcTax 9
[s] \Classes\STOTaxCalc\RunTaxCalc 10
[s] \Classes\TaxSales\calc 45
[s] \Classes\SalesCalcTax_Sales\calcTax 32
[s] \Classes\TradeTotals\jsCalculateTax 10
[s] \Classes\SalesTotals_Sales\jsCalculateTax 17
[s] \Classes\TradeTotals\calc 120
[s] \Classes\TradeTotals\calculateTotalAmount 6
[s] \Classes\TradeTotals\tax 5
[s] \Classes\SalesInvoiceJournalCreate\calcLineAmountExclTax 9
[s] \Classes\SalesInvoiceJournalCreateBase\createJournalLine 44
[s] \Classes\SalesInvoiceJournalCreate\createJournalLine 9
[s] \Classes\FormletterJournalCreate\createJournalLines 24
[s] \Classes\SalesInvoiceJournalCreate\createJournalLines 7
[s] \Classes\FormletterJournalCreate\createJournal 19
[s] \Classes\FormletterJournalCreate\run 6
[s] \Classes\SalesInvoiceJournalCreate\run 12
[s] \Classes\FormletterService\createJournal 29
[s] \Classes\FormletterService\run 91
[s] \Classes\FormletterService\postSalesOrderInvoice 14
[s] \Classes\DictClass\callObject
[s] \Classes\SysOperationServiceController\runOperation 93
[s] \Classes\SysOperationServiceController\run 27
[s] \Classes\FormLetterServiceController\run 3
[s] \Classes\SalesFormLetter\run 90
[s] \Classes\SalesFormLetter_Invoice\run 6
[c] \Classes\SalesFormLetter\main 100
[c] \Classes\FormFunctionButtonControl\Clicked
[c] \Forms\SalesTable\Designs\DesignList\buttonUpdateInvoice\Methods\Clicked 9

Reply
Suggested Answer
Chris Ironmonger responded on 1 Apr 2015 8:58 AM

Have any customisations been made to any of these object, can you recompile the application and complete a full CIL generation, see if these steps fix the issue first.

Christopher Paul Ironmonger, MSc (Dist.), BSc (Hons.)
Microsoft Dynamics AX Developer

This post is my own opinion and does not necessarily reflect the opinion(s) or view(s) of my current employer(s), nor Microsoft and it's employees.

Reply
s3rg responded on 1 Apr 2015 9:02 AM

There are some customizations which have been introduced long time ago. Application was compiled and full CIL was generated since. This error is affecting only one sales order at the moment. Other sales orders are fine.

Reply
Suggested Answer
Chris Ironmonger responded on 1 Apr 2015 8:58 AM

Have any customisations been made to any of these object, can you recompile the application and complete a full CIL generation, see if these steps fix the issue first.

Christopher Paul Ironmonger, MSc (Dist.), BSc (Hons.)
Microsoft Dynamics AX Developer

This post is my own opinion and does not necessarily reflect the opinion(s) or view(s) of my current employer(s), nor Microsoft and it's employees.

Reply