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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Error while opening vendor payment journal line getting error.

(0) ShareShare
ReportReport
Posted on by
Getting error while open vendor Payment journal lines /LedgerJournalEngine_VendPromissoryNote::construct has been used incorrectly/.
 
////
I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,829 Moderator on at
    Hi Sadhish,
     
    Do you have any customization in this area?
    If not, you need to debug and see. After referring to the class it seems the construct method in LedgerJournalEngine_VendPromissoryNote class will take two parameters - FormRun and LedgerJournalType.
    If LedgerJournalType is null it will throw above error.
    So, you need to debug the code and identify what went wrong.
     
    Thanks,
    Girish S.
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    Is your problem solved? You can also check out the link below, it mentions a similar problem to yours, and as Grish said, you need to check if the parameter value setting is missing.
    Solved: "Purchase order "XXXX" Function ProjbudgetTransactionLine_Virtual::construct has been incorrectly called." while PO confirm in D365FO (dynamics.com)
    Best Regards,
    Hana

     

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

News and Announcements

Season of Giving Solutions is Here!

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 679 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 429 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 264 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans