[OFBiz] SVN: r4704 - in trunk/applications/manufacturing:
webapp/manufacturing/bom widget/manufacturing
jacopo at svn.ofbiz.org
jacopo at svn.ofbiz.org
Fri Mar 25 09:10:18 EST 2005
Author: jacopo
Date: 2005-03-25 08:10:07 -0600 (Fri, 25 Mar 2005)
New Revision: 4704
Modified:
trunk/applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl
trunk/applications/manufacturing/widget/manufacturing/BomScreens.xml
Log:
Added information about the standard features of the selected product.
Modified: trunk/applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl
===================================================================
--- trunk/applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl 2005-03-24 15:57:35 UTC (rev 4703)
+++ trunk/applications/manufacturing/webapp/manufacturing/bom/BomSimulation.ftl 2005-03-25 14:10:07 UTC (rev 4704)
@@ -28,7 +28,15 @@
</#if>
<#if requestParameters.lookupFlag?default("N") == "Y">
+
+<#if selectedFeatures?has_content>
<hr>
+<div class="tableheadtext">${uiLabelMap.ManufacturingSelectedFeatures}</div>
+<#list selectedFeatures as selectedFeature>
+ <div class="tabletext">${selectedFeature.productFeatureTypeId} = ${selectedFeature.description?if_exists} [${selectedFeature.productFeatureId}]</div>
+</#list>
+</#if>
+<hr>
<table border='0' cellspacing='0' cellpadding='2' class='boxbottom'>
<tr>
<td width="10%" align="left"><div class="tableheadtext">${uiLabelMap.ManufacturingProductLevel}</div></td>
Modified: trunk/applications/manufacturing/widget/manufacturing/BomScreens.xml
===================================================================
--- trunk/applications/manufacturing/widget/manufacturing/BomScreens.xml 2005-03-24 15:57:35 UTC (rev 4703)
+++ trunk/applications/manufacturing/widget/manufacturing/BomScreens.xml 2005-03-25 14:10:07 UTC (rev 4704)
@@ -138,6 +138,14 @@
<set field="type" from-field="parameters.type"/>
<set field="quantity" from-field="parameters.quantity"/>
<set field="amount" from-field="parameters.amount"/>
+
+ <set field="productFeatureApplTypeId" value="STANDARD_FEATURE"/>
+
+ <entity-and entity-name="ProductFeatureAndAppl" list-name="selectedFeatures">
+ <field-map env-name="productId"/>
+ <field-map env-name="productFeatureApplTypeId"/>
+ <order-by field-name="sequenceNum"/>
+ </entity-and>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/bom/BomSimulation.bsh"/>
</actions>
<widgets>
More information about the Svn
mailing list