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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to show PackingSlipDeliveryDate on SalesInvoice report?

(0) ShareShare
ReportReport
Posted on by 1,813

Hii,

We want to show PackingSlipDeliveryDate on SalesInvoice report, on report header. I checked this field is already available in SalesInvoiceTmp (salesInvoiceTmp.PackingSlipDeliveryDate). But values are not coming in this field from RDP. What code to write in RDP to save it in tmp table? 

Could PackingSlipDeliveryDate be different for each Sales Invoice line? But requirement is to show in report header.

Thanks,

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Faqruddin Profile Picture
    1,909 on at

    Hello Rana,

    use this below field for packing slip delivery date.

    deliver.jpg

  • Rana Anees Profile Picture
    1,813 on at

    Hii,

    In this post they are discussing, how to enable packing slip on invoice report (community.dynamics.com/.../161431)

    [You can find it in Accounts Receivable>>Setup>>Form letter setup >>Form letter parameters >> Invoice tabPage >> Show packing slip info on Invoice..]

    I cant find Form letter parameters in AX 2012 R2?

  • Rana Anees Profile Picture
    1,813 on at

    Thanks Faqru Shaik,

    I am trying to get the same date, but not getting any luck in the code.

    As Sukrut Parab said but packingSlip field is showing empty.

    SalesInvoiceDP -> insertIntoSalesInvoiceTmp

       //custPackingSlipTrans

       if (showCustPackingSlipTrans && custFormLetterParameters.PckSlpInfoOnInvoice)

       {

           salesInvoiceTmp.PackingSlip = packingSlipDetails;  

       }

    There is some setup up activate Show packing slip info on Invoice, but I am not getting where in AX 2012 R2?

  • Suggested answer
    Faqruddin Profile Picture
    1,909 on at

    Use header method of DP class.  Do you have this method in insertIntoSalesInvoiceHeaderFooterTmp(CustInvoiceJour _custInvoiceJour, CompanyInfo _companyInfo) DP class.

  • Verified answer
    Rana Anees Profile Picture
    1,813 on at

    This worked for me in SalesInvoiceDP -> insertIntoSalesInvoiceTmp method and its line level.

    // Declaration

    CustPackingSlipTrans custPackingSlipTrans;
    InventTransOrigin inventTransOrigin;
    InventTrans inventTrans;

        while select DeliveryDate from custPackingSlipTrans
           where custPackingSlipTrans.InventTransId == _custInvoiceTrans.InventTransId
             exists join inventTransOrigin
               where inventTransOrigin.InventTransId == custPackingSlipTrans.InventTransId
                exists join inventTrans
                  where inventTrans.InventTransOrigin == inventTransOrigin.RecId &&
                    inventTrans.PackingSlipId == custPackingSlipTrans.PackingSlipId &&
                     inventTrans.InvoiceId == _custInvoiceJour.InvoiceId
                     {
                        salesInvoiceTmp.PackingSlipDeliveryDate =  custPackingSlipTrans.DeliveryDate;
                      }


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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans