You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2010/08/28 10:01:53 UTC

[jira] Commented: (OFBIZ-3907) Product Promo Worker description patch

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

Scott Gray commented on OFBIZ-3907:
-----------------------------------

Hi Sascha,

You've written the exact same 13 lines of code in two places, instead please consider supplying a new patch with a separate method: something like getProductPromoDescription() which is called from the two other methods to retrieve the adjustment description.

Thanks
Scott

> Product Promo Worker description patch
> --------------------------------------
>
>                 Key: OFBIZ-3907
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3907
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Sascha Rodekamp
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3907ProductPromoWorker.java.patch
>
>
> This patch extend the order adjustment creation. If an order adjustment is created from a product promo the promo text will stores in the order adjustment description. This helps identifying the order adjustment and later on the invoice item type : ITM_PROMOTION_ADJ.
> So long
> Sascha

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.