[OFBiz] SVN: r6021 - in trunk/applications/order: entitydef webapp/ordermgr/request widget/ordermgr

jacopo at svn.ofbiz.org jacopo at svn.ofbiz.org
Tue Oct 25 04:15:27 EDT 2005


Author: jacopo
Date: 2005-10-25 03:15:16 -0500 (Tue, 25 Oct 2005)
New Revision: 6021

Modified:
   trunk/applications/order/entitydef/entitymodel.xml
   trunk/applications/order/webapp/ordermgr/request/RequestForms.xml
   trunk/applications/order/widget/ordermgr/RequestScreens.xml
Log:
Added sequenceNum field to the CustRequestItem entity and to the forms/screens definition to display items ordered by sequence.

Modified: trunk/applications/order/entitydef/entitymodel.xml
===================================================================
--- trunk/applications/order/entitydef/entitymodel.xml	2005-10-25 07:42:47 UTC (rev 6020)
+++ trunk/applications/order/entitydef/entitymodel.xml	2005-10-25 08:15:16 UTC (rev 6021)
@@ -1464,6 +1464,7 @@
       <field name="custRequestResolutionId" type="id"></field>
       <field name="statusId" type="id"></field>
       <field name="priority" type="numeric"></field>
+      <field name="sequenceNum" type="numeric"></field>
       <field name="requiredByDate" type="date-time"></field>
       <field name="productId" type="id"></field>
       <field name="quantity" type="floating-point"></field>

Modified: trunk/applications/order/webapp/ordermgr/request/RequestForms.xml
===================================================================
--- trunk/applications/order/webapp/ordermgr/request/RequestForms.xml	2005-10-25 07:42:47 UTC (rev 6020)
+++ trunk/applications/order/webapp/ordermgr/request/RequestForms.xml	2005-10-25 08:15:16 UTC (rev 6021)
@@ -92,6 +92,7 @@
             title="" list-name="custRequestItems" paginate-target="RequestItems"
             default-title-style="tableheadtext" default-widget-style="tabletext" default-tooltip-style="tabletext">
         <auto-fields-entity entity-name="CustRequestItem" default-field-type="display"/>
+        <field name="sequenceNum"></field>
         <field name="custRequestId" widget-style="buttontext">
             <hyperlink description="${custRequestItemSeqId}" target="requestitem?custRequestId=${custRequestId}&amp;custRequestItemSeqId=${custRequestItemSeqId}"/>
         </field>

Modified: trunk/applications/order/widget/ordermgr/RequestScreens.xml
===================================================================
--- trunk/applications/order/widget/ordermgr/RequestScreens.xml	2005-10-25 07:42:47 UTC (rev 6020)
+++ trunk/applications/order/widget/ordermgr/RequestScreens.xml	2005-10-25 08:15:16 UTC (rev 6021)
@@ -173,6 +173,8 @@
                 <entity-one entity-name="CustRequest" value-name="custRequest"/>
                 <entity-and entity-name="CustRequestItem" list-name="custRequestItems">
                     <field-map env-name="custRequestId" field-name="custRequestId"/>
+                    <order-by field-name="sequenceNum"/>
+                    <order-by field-name="custRequestItemSeqId"/>
                 </entity-and>
             </actions>
             <widgets>



More information about the Svn mailing list