[
https://issues.apache.org/jira/browse/OFBIZ-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507275#comment-14507275 ]
Martin Becker commented on OFBIZ-6238:
--------------------------------------
What (F)partyId do you mean for your setting, from the order point of view, respectively which orderRole to get a party from the current oder? As there a different roles for sales and purchase orders, this has to be differentiated at least.
My thought was a simple and robust way to give the attachment a unique name, which the orderId itself does, or isn't it?
> Give the order notification email attachment the orderId as filename
> --------------------------------------------------------------------
>
> Key: OFBIZ-6238
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6238> Project: OFBiz
> Issue Type: Improvement
> Components: order
> Affects Versions: Trunk
> Reporter: Martin Becker
> Assignee: Jacopo Cappellato
> Priority: Trivial
> Attachments: OrderServices.patch
>
>
> According to customer needs I've made a change to OrderServices.sendOrderNotificationScreen to fill the attachmentName parameter of the sendMailFromScreen context with the orderId to override the default in sendMailFromScreen, so that the PDF attachments in standard order notifications have a name like "WS10001.pdf" instead of "Details.pdf"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)