Avoid "Do not allow manual entry" while posting the Journal in Ax 2012.

Dear Friends,

I have selected one main account in posting profile… In main account form, for that account- do not allow Manual entry field checked…

I have created one Journal by X++ code which has the same account in Ledger Dimension of Journal lines …

While posting that Journal… It throws the error " Do not allow manual entry"…

How to avoid this validation?

Thanks in advance…

Hi,
You can not post the journal, if an account has a setup that ‘Do not allow manual entry field’ is marked. You should manually uncheck the main account setup of ‘Do not allow manual entry field’ and then try to post the journal it will post.

Thanks,