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

Paul Foxworthy commented on OFBIZ-4266:
---------------------------------------

True, I did suggest a larger change in the context of calculating VAT for 
purchase orders. The more complicated design for that isn't greatly relevant to 
the discussion here.

In principle, I agree that a ProductStore is not relevant to a purchase order.

If there are some interesting options for orders currently held by the 
ProductStore, they should be split into their own entity. For sales orders, the 
ProductStore holds a reference to that entity. For purchase orders, perhaps the 
SupplierProduct does. Certainly, for a purchase order, the currency must be 
specified by SupplierProduct. To pay attention to the currency in ProductStore 
is plain wrong.



> ProductStore is empty for Purchase Order
> ----------------------------------------
>
>                 Key: OFBIZ-4266
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4266
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Gaudin Pierre
>
> The field orderHeader.productStoreId is empty for purchase order. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to