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)

Delivery Note on SalesInvoice

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Tim Schofield Profile Picture
    on at

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

  • Verified answer
    David Rose Profile Picture
    1,270 on at

    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

  • NMC2 Profile Picture
    95 on at

    Hi David,

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

    Thank you

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