Hi,
we have a dilemma regarding product quantity in terms of product inventory (TMF637) API.
Quantity is a part of both, quoting/pre-ordering and ordering APIs:
- TMF648 (quote mgmt.) has quoteItem with quantity attribute
- TMF622 (product ordering) has a productOrderItem with quantity attribute
- TMF663 (shopping cart) has a cartItem with quantity attribute
The question is how to translate (pre)ordering quantity into product inventory instances once the order is completed. In most cases, each instance requires a product record due to unique values (e.g. serial number, MAC, username, phone number etc.). But there are cases, where multiple product instances are unnecessary and the quantity attribute would be useful on the product instance.
A real example would be an installation product where a UTP cable is a bundled (sub)product with a configurable quantity. E.g. if my installation requires 17 meters of cable, I don't want to persist 17 instances of UTP cable product, but only 1 product instance with a quantity of 17.
------------------------------
Bostjan Keber
Marand Software
------------------------------