[
https://issues.apache.org/jira/browse/OFBIZ-4478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14254773#comment-14254773
]
Divesh Dutta commented on OFBIZ-4478:
-------------------------------------
Case 1:
If you are creating a Marketing package product (Marketing package auto /
Marketing package picking), that means that you will be
assembling/manufacturing the product in house. You could also set that product
as drop-ship product if that can be fulfilled by supplier. That means in
business terms product can be fulfilled by your company and by Supplier as
well.
In that case set up of product will be:
Create product with productTypeId = "MARKETING_PKG_PICK" or
productTypeId=""MARKETING_PKG_AUTO and requirementMethodEnumId="PRODRQM_DSATP"
and in SupplierProduct record, canDropShip="Y" .
canDropShip="Y" is mandatory set up, if you want purchase order to be created
because product cannot be drop-shipped if its not associated with supplier with
this set up.
Case 2: If you are trying to set up Marketing package product which can only be
drop shipped and you will never fulfill it . In that case, why are you setting
that product as Marketing package ? You set up Marketing package so that you
can assemble/produce it. If that product will always be drop shipped, set up
should be:
productTypeId="FINISHED_GOOD" and requirementMethodEnumId="PRODRQM_DS" and in
SupplierProduct record, canDropShip="Y" .
[~kiran_gawde]
So setting up SupplierProduct is not work around, its mandatory setting if you
want any product to be drop-shipped. I don't see any bug in this. Code is
working as per the expectation. Your data set-up was wrong, which you fixed
yourself :)
Also on a side note, If you are creating a Marketing package product A, which
will be assembled by product B and product C. And you set up Product B as
"always drop-shipped". Then how will you assemble product in-house ? So this is
not a valid business case/data setup.
We are good to close this issue.
> ShoppingCart createDropShipGroups doesn't take into account Marketing packages
> ------------------------------------------------------------------------------
>
> Key: OFBIZ-4478
> URL: https://issues.apache.org/jira/browse/OFBIZ-4478
> Project: OFBiz
> Issue Type: Bug
> Components: order, specialpurpose/ecommerce
> Affects Versions: Release Branch 11.04
> Reporter: Kiran Gawde
> Priority: Minor
>
> 1. Create a product that can be dropshipped
> (requirementMethodEnumId="PRODRQM_DS")
> 2. Setup the SupplierProduct for the same (canDropShip="Y").
> 3. Create a Marketing package for the product.
> 4. Add the above marketing package to shopping cart and checkout.
> Issue: Purchase order is not created.
> Reason: ShoppingCart.createDropShipGroups doesn't take into account Marketing
> packages.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)