2016-09-15 92 views
0

我試圖確認銷售訂單,但出現如下所示的錯誤。環境最近從CU1更新爲CU9。我做了全面編譯和全CIL和增量CIL沒有錯誤。你能否建議可能是什麼問題?
在此先感謝。銷售訂單確認錯誤

Error : Map object not initialized. 

Stack trace 

(S)\Classes\FormletterService\postJournal - line 52 
(S)\Classes\FormletterService\run - line 221 
(S)\Classes\FormletterService\postSalesOrderConfirmation - line 14 
(S)\Classes\DictClass\callObject 
(S)\Classes\SysOperationServiceController\runOperation - line 93 
(S)\Classes\SysOperationServiceController\runServiceOperation - line 22 
(S)\Classes\DictClass\callStatic 
(S)\Classes\SysDictClass\invokeStaticMethod - line 26 
(S)\Classes\SysDictClass\invokeStaticMethodIL - line 39 
(S)\Classes\SysOperationRPCFrameworkService\runServiceOperation - line 5 
(C)\Classes\SysOperationServiceController\runOperationWithRunAs - line 7 
(C)\Classes\SysOperationServiceController\run - line 22 
(C)\Classes\FormLetterServiceController\run - line 3 
(C)\Classes\SalesFormLetter\run - line 95 
(C)\Classes\SalesFormLetter\main - line 138 
(C)\Classes\FormFunctionButtonControl\Clicked 

回答

1

因爲FormLetterService類的docuRefRecIdsPerJournalMap變量未初始化的錯誤造成的。調試方法initDocuRefRecIdsPerJournalMap其中此變量被初始化,還有方法run,其中初始化方法被調用。您可能還需要檢查從FormLetterService延伸的類別,並覆蓋其中任何方法或更改docuRefRecIdsPerJournalMap變量。同時檢查你是否有這些類的定製。

+0

非常感謝你@ FH-Inway。有用。 –

0

嘗試「編譯前進」的基類FormletterService,後來做了充分的CIL編譯再次
希望幫助