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)

Payment Voucher Error

(0) ShareShare
ReportReport
Posted on by 1,330

Dear All

when I post payment voucher following error come in some casses

LedgerVoucherObject object not initialized.

 

Stack trace

 

(S)\Classes\CustVendVoucher\initCustVendTrans - line 213

(S)\Classes\VendVoucher\initCustVendTrans - line 16

(S)\Classes\CustVendVoucher\post - line 318

(S)\Classes\VendVoucher\post - line 20

(S)\Classes\VendVoucherTaxWithhold\post - line 12

(S)\Classes\TaxWithhold\postTaxWithhold - line 250

(S)\Classes\LedgerJournalTransUpdateVend\postNewVendorVoucher - line 52

(S)\Classes\LedgerJournalTransUpdateVend\updateNow - line 357

(S)\Classes\LedgerJournalCheckPost\postTrans - line 260

(S)\Classes\LedgerJournalCheckPost\postJournal - line 907

(S)\Classes\LedgerJournalCheckPost\run - line 155

(S)\Classes\LedgerJournalPost\post - line 148

(C)\Classes\LedgerJournalPost\main - line 26

(C)\Classes\FormFunctionButtonControl\Clicked

(C)\Forms\LedgerJournalTable\Designs\DesignList\Post\Methods\Clicked - line 24

 

any one give solution and why its happened

 

Regards

*This post is locked for comments

I have the same question (0)
  • Bashir Ahmad Profile Picture
    5,248 on at

    Try changing the Voucher Number sequence for the Payment Voucher.

  • Saghir Ahmed Profile Picture
    1,330 on at

    same error after changing number sequence group

  • André Arnaud de Calavon Profile Picture
    300,966 Super User 2025 Season 2 on at

    Hi Saghir,

    This can be caused by a customization and/or incomplete compilation.

    Make sure the application is free from compilation errors and that the CIL compilation was sucessfully run.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Saghir,

    you mentioned this error occurs only during some cases. can you please details the cases?

    this stack indicates the flow moves from Withholding tax postings. Can you verify if setups related to WTH tax are intact?

  • Saghir Ahmed Profile Picture
    1,330 on at

    Yes in which WHT attached theses are creating issues.

  • Community Member Profile Picture
    on at

    pls check if this hotfix will apply for your environment

    KB2938659

  • Saghir Ahmed Profile Picture
    1,330 on at

    please send donload link of hot fix

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Scott_itD Profile Picture

Scott_itD 2 Community Manager

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans