[
https://issues.apache.org/jira/browse/OFBIZ-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854686#action_12854686
]
Bob Morley commented on OFBIZ-3633:
-----------------------------------
Ok I ran to the office with my boy (almost the big 1) and got my "The data
Model Resource Book - Volume 1". I want to quote a few things from page 81 on
this book (going back to SupplierProduct). Starting just in the section titled
"Suppliers and Manufacturers of Products" ...
"... the entity SUPPLIER PRODUCT shows which products are offered by which
organizations. The available from date and available thru date state when the
product is offered by that supplier. This information is important because it
provides the capability to find out where and when specific products may be
purchased, what prodcuts competitors sell, and which products the enterprise
sells."
I thought "the enterprise" would refer to the company, and the last paragraph
starts "Because there may be many suppliers from which the enterprise can order
products ...". Which would lead me to believe the Enterprise is definitely one
of the internal organizations parented by "Company".
Finally on page 83 there is a table (3.4) that shows ABC Corporation being a
supplier of the product (along with other suppliers - in this case likely
people ABC would order from). They describe this by "Table 3.4 provides
examples of the suppliers that provide "Johnson fine grade 81 1/2 by 11 bond
paper." Notice that the enterprise, ABC Corporation, sells this product; and
if the enterprise does not have this product in stock, there are two other
sources for obtaining this product."
I have made a few assumptions here -- 1) Ofbiz adheres to this data modeling
book pretty religiously and 2) not everyone may have the book so I had to type
the quotes as opposed to just referring pages. Let me know if either of those
are incorrect.
> 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.
-
You can reply to this email to add a comment to the issue online.