Suraj Khurana commented on OFBIZ-10230:

Hello [~soledad] ,
I have attached patch in which _OrderItemPriceInfo_ entity is extended with 
_agreementId._ Also, stored its value from calculateProductPrice service if 
_validAgreementPriceFound_. I added it in another section assuming that in real 
time case scenario if an agreement is found between two parties, no price rule 
thing should be executed i.e. agreement must be given higher priority above 
price rules.

Please let me know if this looks good to you as well or any other improvements 
required in the proposed patch.

> Add agreement management on OrderItemPriceInfo
> ----------------------------------------------
>                 Key: OFBIZ-10230
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10230
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Priority: Major
>         Attachments: OFBIZ-10230.patch
> When you create an order with an agreement, OrderItemPriceInfo didn't record 
> that the price came from the agreement.

This message was sent by Atlassian JIRA

Reply via email to