You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2007/11/27 22:43:43 UTC

[jira] Assigned: (OFBIZ-1432) Price rule does not work with quote

     [ https://issues.apache.org/jira/browse/OFBIZ-1432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-1432:
--------------------------------------

    Assignee: Jacques Le Roux

> Price rule does not work with quote
> -----------------------------------
>
>                 Key: OFBIZ-1432
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1432
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>            Reporter: William Perng
>            Assignee: Jacques Le Roux
>
> When setup quote item, the default price is always used regardless price rule.  
> I think the problem is in the createQuoteItem method of QuoteServices.xml.  When the "calculateProductPrice" service is called, the quantity is not passed in.   The quantity needs to be set before the "calculateProductPrice" service is called.  I suggest to add the following code to line 304 of QuoteServices.xml (base on ver : 566181): <set from-field="parameters.quantity" field="calculateProductPriceMap.quantity"/> 

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