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

BJ Freeman commented on OFBIZ-3633:
-----------------------------------

Bob
the pages you refer to are for company to Manufacture a product then have 
supplier (distributors) sell that product.
this is different than order from a supplier to get raw materials. order and 
order from a customer
covered on page 107 and 109.

I like Jacopo's suggestion  to use the Agreements
from the datamodel book
"An agreement is a set of terms and conditions that govern relationships 
between two parties."
also
You can have product agreements where each product can have this relationship 
both for customers and suppliers.with the company

> Minimum order quantity
> ----------------------
>
>                 Key: OFBIZ-3633
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3633
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order, specialpurpose/ecommerce
>            Reporter: Rishi Solanki
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-3633.patch, OFBIZ-3633.patch
>
>
> It will work as follows;
> We will set the special type price as 'MINIMUM_ORDER_PRICE' for a Product in 
> ProductPrice entity. On the basis of it we will get the minimum order 
> quantity of the product on the basis of this price and sale price.
> Will get the minimum order quantity for product by division. For example we 
> have selling price of product P1 is $10.00 and its MINIMUM_ORDER_PRICE is 
> $100.00 then minimum order quantity for the product will be --> 100/10 ==> 10.
> To achieve the above ;
> write a getMinimumOrderQuantity() method in ShoppingCart.java which takes the 
> itemBasePrice and productId as in parameter, and call it where we add, update 
> the cart items and change the quantity to minmumOrderQuantity if it is less 
> then minimum.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to