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

Pierre Smits edited comment on OFBIZ-6238 at 4/22/15 2:14 PM:
--------------------------------------------------------------

In a multi-organisation setup, (multiple internal organisations registering 
orders) this patch 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.



was (Author: pfm.smits):
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)

Reply via email to