web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
Posted on by 770

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 & posted one Journal by X++ code which has the same account in Ledger Dimension of Journal lines.

While posting that Journal, It throws warning " Do not allow manual entry".

How to avoid this validation without clear that field in main account setup?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Haaris,

    Honestly, that's an impossible requirement, because basically what you want to do is the same as un-checking "Do not allow manual entry" field. Is this a "one time only" case ? because if that the case. Usually what I told finance to do is :

    1. Un-check the "Do not allow manual entry" field. for that Main Account.

    2. Create the journal, and post it

    3. Re-check the "Do not allow manual entry" field. for that Main Account.

    Hope it helps,

    BR,

    Satria WS

  • MUHAMMAD HAARIS Profile Picture
    770 on at

    Thanks Satria.

    I know as well. But How to overcome this thing.

    Any other ways?

    Suggest any ideas?

  • Suggested answer
    Community Member Profile Picture
    on at

    I just noticed you use X++. so strickly speaking from x++ you can replicate those 3 step in x++. U just need to add some line of code in your x++ code

    1. Un-check the "Do not allow manual entry" field. for that Main Account. (from x++)

    2. Create the journal, and post it (I think you already have code for this)

    3. Re-check the "Do not allow manual entry" field. for that Main Account. (from x++)

    So that evertime your procedure / class / job run, the user won't see any change on the main account master data. which in truth, you change it just to create and post the journal and change it back again to the original.

    Hope it helps,

    BR,

    Satria WS

  • MUHAMMAD HAARIS Profile Picture
    770 on at

    Thanks.

    But is there any other ways.

    Becoz we did in may places.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Muhammad, probably asks your accountants to setup separate sub-accounts that can be used for those manual transactions. This is better than unchecking and rechecking the parameter. Best regards, Ludwig

  • Community Member Profile Picture
    on at

    Hi Haaris, Regarding your query.......the functionality has been activated. The only option with you is to UN-CHECK the option and go-ahead. I think we cannot over-write the functionality using X++ code. It might affect the functionality.

    Regards

    Surya.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans