Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Delivery Note on SalesInvoice

Posted on by 1,270

Hi All,

 I'm trying to figure out how to get the delivery note number to print on a sales invoice. Its easy to grab all the delivery notes associated with a sales order but it seems much harder to get the specific delivery notes associated with a particular invoice (e.g the shipment goes out in two parts and is invoiced in two parts. each invoice will be associated with different and specific delivery notes).

This doesn't seem like something that should be too hard but I'm really struggling to find a way.  Can anyone provide some direction here?

Thanks and Regards,

David

*This post is locked for comments

  • NMC2 Profile Picture
    NMC2 95 on at
    RE: Delivery Note on SalesInvoice

    Hi David,

    Would you mind expanding on how you modified the method class?

    Thank you

  • Verified answer
    David Rose Profile Picture
    David Rose 1,270 on at
    RE: Delivery Note on SalesInvoice

    Thanks Tim,

      Sorry for the late reply.  There is actually a method in classes/salesinvoiceDP called loadCustPackingSlipTrans() which does the job nicely.  I modified it slightly but essentially this was it.

    Cheers

    David

  • RE: Delivery Note on SalesInvoice

    Look at the inventory transactions from the invoice lines. You'll see the delivery note number on the inventory transaction.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans