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)

How to stop Account Structure validation on Payment Journal posting

(0) ShareShare
ReportReport
Posted on by 3,658

Dears,

I want to stop the account structure validate when posting a payment journal.

Can anyone tell me what code in which class i need to comment in order to avoid the validation?

Thank you,

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    Why is that deactivation required? Just for testing purposes? Can't you simply change the existing account structures to a simple one that allows all combinations of your main accounts and financial dimensions?

    Best regards

    Ludwig

  • Khaled Alloud Profile Picture
    3,658 on at

    The issue is that we have a Payment that includes multiple invoices where some of them belong to 2016 which where validated by another Account Str. So instead of splitting the payment journal to 2, we need to stop the control; however, we r sure that the Accounting combination is fine and won't cause problems in Ledger tables.

    Thanks,

  • Verified answer
    Khaled Alloud Profile Picture
    3,658 on at

    1- I tried commenting the code in LedgerVoucherTransObject class > CHECK method , and it worked.

    2- Another solution was to create a prepayment for the Vendor and then settle and mark the invoices against from Vendor form.

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