Skip to main content

Notifications

Announcements

No record found.

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/.
 
////
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Error while opening vendor payment journal line getting error.
    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

     
  • Suggested answer
    GirishS Profile Picture
    27,825 Moderator on at
    Error while opening vendor payment journal line getting error.
    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans