You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pierre Smits (JIRA)" <ji...@apache.org> on 2015/04/22 16:03:59 UTC

[jira] [Commented] (OFBIZ-6238) Give the order notification email attachment the orderId as filename

    [ https://issues.apache.org/jira/browse/OFBIZ-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507126#comment-14507126 ] 

Pierre Smits commented on OFBIZ-6238:
-------------------------------------

In a multi-organisation setup, (multiple internal organisations registering orders) this would be limiting also.

A better convention would be: F<partyId>-T<partyId>-<orderId>.pfd
with:
* F = from notation
* T = to notation
* <partyId> = the partyId of the involved party, with 'F<partyId>' designating the internal party and 'T<partyId>' designating the external party
* <orderId> = the orderId of the order.


> 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)