|
From: Si C. <si...@gr...> - 2007-05-02 20:50:58
|
Author: sichen
Date: 2007-05-02 13:50:54 -0700 (Wed, 02 May 2007)
New Revision: 61
Modified:
versions/0.9/trunk/entitydef/entitymodel_order.xml
versions/0.9/trunk/entitydef/entitymodel_product.xml
Log:
Added new fields to manage inactive products and not-closed orders
Modified: versions/0.9/trunk/entitydef/entitymodel_order.xml
===================================================================
--- versions/0.9/trunk/entitydef/entitymodel_order.xml 2007-03-05 17:42:14 UTC (rev 60)
+++ versions/0.9/trunk/entitydef/entitymodel_order.xml 2007-05-02 20:50:54 UTC (rev 61)
@@ -44,6 +44,7 @@
<field name="taxTotal" type="currency-amount"></field>
<field name="adjustmentsTotal" type="currency-amount"></field>
<field name="grandTotal" type="currency-amount"></field>
+ <field name="isClosed" type="indicator"><description>If set to N or n, the order will be created in the Approved state.</description></field>
<field name="comments" type="comment"></field>
<field name="orderClosed" type="indicator"></field>
<field name="processedTimestamp" type="date-time">
@@ -68,6 +69,7 @@
<field name="orderId" type="id-ne"></field>
<field name="productId" type="id"></field>
<field name="quantity" type="floating-point"></field>
+ <field name="quantityShipped" type="floating-point"><description>Quantity of this order item already shipped, meaningful only for not closed orders.</description></field>
<field name="price" type="currency-amount"></field>
<field name="itemAdjustmentsTotal" type="currency-amount"></field>
<field name="customerPo" type="id"></field>
Modified: versions/0.9/trunk/entitydef/entitymodel_product.xml
===================================================================
--- versions/0.9/trunk/entitydef/entitymodel_product.xml 2007-03-05 17:42:14 UTC (rev 60)
+++ versions/0.9/trunk/entitydef/entitymodel_product.xml 2007-05-02 20:50:54 UTC (rev 61)
@@ -37,6 +37,7 @@
title="Intermediate import entity for product data.">
<field name="productId" type="id-ne"/>
<field name="productTypeId" type="id-ne"/>
+ <field name="isInactive" type="indicator"><description>If set to Y or y, the product is set to discontinued at time of import</description></field>
<field name="customId1" type="id"/>
<field name="customId2" type="id"/>
<field name="description" type="description"/>
|