run time error while posting the journal

Hi,

I am getting the run time error while doing posting the General ledger–>General Journal–>lines.The issue is the voucher get posted but after posting it is throwing the debugging window as “Journal table data object is not initialised”.Can anybody help me to resolve this.

Hi Srividhya,

Welcome to DUG [:)]

From the error, it appears to be thrown from customisation. Are there any customisation around this area? If yes, please get a developer to debug this.

Hi,

I am also technical consultant,from yesterday I am checking the base level classes like LedgerJournalCheckPost,LedgerJournalFormTrans,JournalFormTrans,and form level coding etc but couldnt able to track this issue thats y i have raised as a blog in dug.Can you just tell me in which part of posting classes I should check exactly.

Hi Srividhya,

It will be easier if you can find out where this error is coming from. Set the following options and try posting journal -

  1. Setting break point on Info class > Add method.
  2. You didn’t mention the version. If it is 2012, I don’t think this process runs as CIL. But just to be sure, try switching CIL flag off (under Tools > Options > Development).

Hi,

I am getting this error in ax 2009 only.

Hi,

I am getting this error sometimes.Sometimes without opening that debugging error window it is posting or after posting the voucher it is coming.Anyway let me try based upon your suggeestion.

Hi,

Based upon the suggeestion,I kept the breakpoint in classes Info–>Add().Then I have found the issue in the LedgerJournalTransDaily form of PostJournal button clicked.There are some customizations in that,if there is any customizations bookrefresh(0 wont work only refresh() will work like that I searched in net and solved that issue.

Hi Srividhya,

Glad to know you managed to resolve the issue. Thanks for the update.