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

Bilgin Ibryam commented on OFBIZ-82:
------------------------------------

Jacques,
Thank you for your time on this issue.

Now i reread the initial post from Si and noticed that he says "list of 
available catalogs for this product " but not PRODUCT STORE.  I have to clarify 
that if Si really means"list of catalogs for product" then this patch is not 
the solution for it.

I agree that there is no *real* benefit from preselecting the catalog. But I 
supposed that order manger application users (like sales representatives) while 
initializing the order - product store, sales channel, customer, agreement, 
could also decide which to be the initially loaded catalog, because they 
usually should know in advance in which catalog ->category is located the 
product...

You are right that there is no constraints in lookup, but catalogId is stored 
in OrderItem entity for every item, and probably more important is that 
catalogId  is used for price rule calculations. Suppose that there is price 
rule for a catalog, and this catalog is always set in appendorderitem.ftl, and 
this is hidden to the user. The user cannot see or change the catalog for 
appended product. Then all the appended products will be affected from this 
price rule.

Hope that makes sense. 


> Support for product catalogs in ordermgr order entry
> ----------------------------------------------------
>
>                 Key: OFBIZ-82
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-82
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: order
>            Reporter: Si Chen
>            Assignee: Bilgin Ibryam
>         Attachments: catalog.patch
>
>
> Currently the ordermgr's order entry is basically getting the first available 
> prodCatalogId by using the CatalogWorker.getCurrentCatalogId(request) method. 
>  We should change the initial order entry screen to show a list of available 
> catalogs for this product and also change the add items to order to get a 
> list of available catalogs.

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

Reply via email to