AX2012 R3安裝升級包CU8後進入系統,系統會提示打開軟件升級清單「Software update checklist」,清單列出了升級要作的一系列動做。html
Severity | Path | Line | Col | Error message |
Error | \Classes\PayrollCalculatePayStatementBenefits\classDeclaration | 12 | 5 | Syntax error. |
Error | \Classes\PayrollCalculatePayStatementTaxes\classDeclaration | 42 | 5 | Syntax error. |
Error | \Classes\PayrollTaxCalculation\classDeclaration | 7 | 5 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\checkInTaxEngine | 7 | 37 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\checkOutTaxEngine | 7 | 15 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\getPoliticalSubDivision | 31 | 5 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\getPoliticalSubDivisionByTaxCode | 20 | 5 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\getTaxEngineVersion | 10 | 39 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\getTaxTableVersion | 10 | 38 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\money2Real | 11 | 40 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\real2Hours | 11 | 22 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\real2Money | 11 | 22 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\real2Rate | 11 | 22 | Syntax error. |
Error | \Classes\PayrollTaxEngineUtil\taxCalculation2TaxCode | 11 | 62 | Syntax error. |
Error | \Classes\PayrollTaxTypeInitialization\classDeclaration | 8 | 5 | Syntax error. |
Error | \Classes\WHSWorkTableForm\sourceButton_clicked | 36 | 93 | The table WHSWorkLineCycleCount does not contain the method WHSWorkTable. |
Error | \Classes\PayrollSetup\refreshWorkerTaxRegionTaxes | 25 | 5 | Variable Symmetry has not been declared. |
Error | \Classes\PayrollTaxEngineUtil\getGNISLocations | 40 | 5 | Variable Symmetry has not been declared. |
Error | \Classes\PayrollTaxEngineUtil\getMunicipalities | 39 | 5 | Variable Symmetry has not been declared. |
Error | \Classes\PayrollTaxEngineUtil\getSchoolDistricts | 41 | 5 | Variable Symmetry has not been declared. |
Error | \Classes\PayrollTaxEngineUtil\getTaxEngineLocationCodeList | 38 | 5 | Variable Symmetry has not been declared. |
Error | \Data Dictionary\Tables\PayrollEmployerTaxRegion\Methods\retrieveGNIS | 12 | 5 | Variable Symmetry has not been declared. |
Error | \Data Dictionary\Tables\PrlTmpGNIS\Methods\populatePrlTmpGNIS | 13 | 5 | Variable Symmetry has not been declared. |
查看第一個錯誤\Classes\PayrollCalculatePayStatementBenefits\classDeclaration,進到代碼發現「Symmetry.TaxEngine.BenefitInfo benefitInfo401_403;」一行Symmetry.TaxEngine.BenefitInfo沒有定義,應該是某個.NET應用沒有正確註冊。在AX社區https://community.dynamics.com/ax/f/33/t/126055.aspx查到是由於ste-net.dll沒有成功引用,在目錄C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin找到ste-net.dll,從新添加到AOT/References下。數據庫
從新編譯,錯誤只剩下「The table WHSWorkLineCycleCount does not contain the method WHSWorkTable」。也是在AX社區找到答案,https://community.dynamics.com/ax/f/33/t/137853.aspx,表WHSWorkLineCycleCount 和表WHSWorkTable的關係CreateNavigationPropertyMethods 沒有設置爲YES,實際上系統中這個relation根本就沒有CreateNavigationPropertyMethods屬性,解決辦法是須要應用hotfix KB3001197(https://mbs2.microsoft.com/Knowledgebase/kbdisplay.aspx?WTNTZSMNWUKNTMMYNLOWUUPRYQYWXNMQVMLWYXRMMRSVYSUZ)。session
再次從新編譯,又出現錯誤「Stack trace: An empty SQL statement descriptor list has been encountered.」,按照微軟TechNet(http://technet.microsoft.com/en-us/library/jj161010.aspx)的說法是一些Configuration key被關閉致使的,在Configuration key配置中啓用全部的Key,同步數據庫表,從新編譯application成功。app
成功安裝CU8後AX 2012 R3的kernel version爲6.3.164.3198,application version爲6.3.1000.473。dom