ProductPrice provide product to pricing information. It has tagging
facilities through ProductPricePurpose and ProductPriceType.
A problem we are facing is that we have customer requirements to store a
comment with price.
It seems like a general and useful thing.
Attached is a diff on /applications/product/entitydef/entitymodel.xml
that adds a single comment column to ProductPrice. Would you consider
this patch or suggest some better way of adding a comment to
ProductPrice information.
thanks,
Harmeet
Index: entitymodel.xml
===================================================================
--- entitymodel.xml (revision 2227)
+++ entitymodel.xml (working copy)
@@ -2109,6 +2109,7 @@
<prim-key field="currencyUomId"/>
<prim-key field="productStoreGroupId"/>
<prim-key field="fromDate"/>
+ <prim-key field="comment" type="comment"/>
<relation type="one" fk-name="PROD_PRICE_PROD" rel-entity-name="Product">
<key-map field-name="productId"/>
</relation>