Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Changing Attachment Name of sales shipment Email

Posted on by 221

Hello experts,

I have sales order .when we Ship and invoice and post and send it will create two email one for sales invoice having attachment as Sales Invoice.pdf

and Sales shipment email having attachment as sales Shipment.pdf .we require PDF document print as Delivery note.pdf instead of Sales Shipment.pdf

how to achieve this can anyone give me any suggestion

Thanks

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Changing Attachment Name of sales shipment Email

    If you want to remove that then you need to change that in the codeunit 260, GetAttachmentFileName function, and the Text Const "ReportAsPdfFileNamePluralMsg" , but please remember if you change that it will affect other attachments, so add your condition based on ReportUsage value.

  • DineshM Profile Picture
    DineshM 221 on at
    RE: Changing Attachment Name of sales shipment Email

    also what exactly happing backend so it gives this output. how data flows in this case?

  • DineshM Profile Picture
    DineshM 221 on at
    RE: Changing Attachment Name of sales shipment Email

    Hi sir ,

    Thanks for Quick response .I have made changes as per you said .I  want to print in  attachment name as Delivery Note.pdf  but It printing as Sales Delivery Note.pdf how I can remove Sales from it so it printing Delivery note.pdf only.

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Changing Attachment Name of sales shipment Email

    In Table 110, change the TextConst DocTxt value from Shipment to Delivery Note.

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans