|
David/Andy -
I'm confused about the ReturnItemTypeMap's seed data. When we originally talked about this, I thought the idea was to map orderItemTypeId -> returnItemTypeId. Now I see some (but not all) productTypeIds in returnItemTypeMap's returnItemTypeKey. As a result, I couldn't get quick refund order to work, and creating returns caused errors of missing returnItemTypeId, etc. etc. Did you change the design of this? Or do we just need some more seed data? Please advise. Thanks, Si _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
|
I'm afraid I'll have to defer to Andy on this one. I'm not sure what the full design intent was, but it does appear that it was implemented for product types and not order item types, though if we have the order info it probably makes a lot more sense... Any ideas Andy? -David On Jan 16, 2006, at 6:45 PM, Si Chen wrote: > David/Andy - > > I'm confused about the ReturnItemTypeMap's seed data. When we > originally talked about this, I thought the idea was to map > orderItemTypeId -> returnItemTypeId. Now I see some (but not all) > productTypeIds in returnItemTypeMap's returnItemTypeKey. > > As a result, I couldn't get quick refund order to work, and creating > returns caused errors of missing returnItemTypeId, etc. etc. > > Did you change the design of this? Or do we just need some more > seed data? > > Please advise. > > Thanks, > > Si > > _______________________________________________ > Dev mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/dev _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
|
In reply to this post by Si Chen-2
Si,
I have just analysed both ProductType and ReturnItemTypeMap's seed data.My personal opinion is that RetrunItemTypeMap is used to Map ProductType and OrderAdjustmentType to ReturnItemType.There is no direct relation between OrderItemType and ReturnItemType. For ProductType mapping example,If a product is a Digital Good, it can be returned, so there is a mapping.But if a product has Service type, service can not be returned, so there is no mapping. When we need to create ReturnItems, we can use ReturnItemTypeMap in this way 1. first use OrderItem to get ProductType 2. use ReturnItemTypeMap and ProductType to get ReturnItemType I think the reason quick refund order doesn't work because the OrderReturnServices.xml#createReturnItem doesn't work as I described above. On 1/17/06, Si Chen <[hidden email]> wrote: David/Andy - _______________________________________________ Dev mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/dev |
| Free forum by Nabble | Edit this page |
