svn commit: r498895 [1/3] - in /ofbiz/trunk/specialpurpose: ./ assetmaint/ assetmaint/config/ assetmaint/entitydef/ assetmaint/script/ assetmaint/script/org/ assetmaint/script/org/ofbiz/ assetmaint/script/org/ofbiz/assetmaint/ assetmaint/webapp/ assetm...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r498895 [1/3] - in /ofbiz/trunk/specialpurpose: ./ assetmaint/ assetmaint/config/ assetmaint/entitydef/ assetmaint/script/ assetmaint/script/org/ assetmaint/script/org/ofbiz/ assetmaint/script/org/ofbiz/assetmaint/ assetmaint/webapp/ assetm...

jonesde
Author: jonesde
Date: Mon Jan 22 18:27:12 2007
New Revision: 498895

URL: http://svn.apache.org/viewvc?view=rev&rev=498895
Log:
Added assetmaint derived app from Anil Patel in Jira #OFBIZ-437; note that this is going directly in because even though it is add-on code it was developed from the beginning to go into OFBiz and simply had not yet because of my time constraints to do a final review and commit of it; I was involved from early on working with Anil on this so the code history is also not in question

Added:
    ofbiz/trunk/specialpurpose/assetmaint/
    ofbiz/trunk/specialpurpose/assetmaint/build.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/config/
    ofbiz/trunk/specialpurpose/assetmaint/config/AssetMaintUiLabels.properties   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/entitydef/
    ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitygroup.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitymodel.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/script/
    ofbiz/trunk/specialpurpose/assetmaint/script/org/
    ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/
    ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/assetmaint/
    ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/assetmaint/FixedAssetMaintEvents.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/webapp/
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/actions/
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/controller.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/facility-controller.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/web.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/
    ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/includes/appbar.ftl   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/
    ofbiz/trunk/specialpurpose/assetmaint/widget/AssetmaintScreens.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/CommonScreens.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/FacilityScreens.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/FixedAssetScreens.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/LookupScreens.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/Menus.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/ProductScreens.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/forms/
    ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FacilityForms.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/forms/FixedAssetForms.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/forms/LookupForms.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/forms/ProductForms.xml   (with props)
    ofbiz/trunk/specialpurpose/assetmaint/widget/forms/WorkEffortForms.xml   (with props)
Modified:
    ofbiz/trunk/specialpurpose/build.xml
    ofbiz/trunk/specialpurpose/component-load.xml

Added: ofbiz/trunk/specialpurpose/assetmaint/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/build.xml?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/build.xml (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/build.xml Mon Jan 22 18:27:12 2007
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
+<project name="OFBiz - Asset Maintenance Component" default="jar" basedir=".">
+
+    <!-- ================================================================== -->
+    <!-- Initialization of all property settings                            -->
+    <!-- ================================================================== -->
+
+    <target name="init">
+        <property environment="env"/>
+        <property name="desc" value="Asset Maintenance Component"/>
+        <property name="name" value="ofbiz-assetmaint"/>
+        <property name="src.dir" value="src"/>
+        <property name="dtd.dir" value="dtd"/>
+        <property name="lib.dir" value="lib"/>
+        <property name="build.dir" value="build"/>
+    </target>
+
+    <target name="classpath">
+        <path id="local.class.path">
+            <fileset dir="../../framework/base/lib" includes="*.jar"/>
+            <fileset dir="../../framework/base/lib/commons" includes="*.jar"/>
+            <fileset dir="../../framework/base/lib/j2eespecs" includes="*.jar"/>
+            <fileset dir="../../framework/base/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/entity/lib" includes="*.jar"/>
+            <fileset dir="../../framework/entity/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/security/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/service/lib" includes="*.jar"/>
+            <fileset dir="../../framework/service/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/minilang/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/webapp/lib" includes="*.jar"/>
+            <fileset dir="../../framework/webapp/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/common/build/lib" includes="*.jar"/>
+            <fileset dir="../../framework/workflow/build/lib" includes="*.jar"/>
+            <fileset dir="../../applications/product/build/lib" includes="*.jar"/>
+        </path>
+    </target>
+
+    <!-- ================================================================== -->
+    <!-- Removes all created files and directories                          -->
+    <!-- ================================================================== -->
+
+    <target name="clean" depends="clean-lib">
+        <delete dir="${build.dir}"/>
+    </target>
+
+    <target name="clean-lib" depends="init">
+        <delete dir="${build.dir}/lib"/>
+    </target>
+
+    <!-- ================================================================== -->
+    <!-- Makes sure the needed directory structure is in place              -->
+    <!-- ================================================================== -->
+
+    <target name="prepare" depends="clean-lib">
+        <mkdir dir="${build.dir}/classes"/>
+        <mkdir dir="${build.dir}/lib"/>
+    </target>
+
+    <target name="prepare-docs" depends="init">
+        <mkdir dir="${build.dir}/javadocs"/>
+    </target>
+
+    <!-- ================================================================== -->
+    <!-- Compilation of the source files                                                                                                                         -->
+    <!-- ================================================================== -->
+
+    <target name="classes" depends="prepare,classpath">
+     <javac debug="on" source="1.4" deprecation="on" destdir="${build.dir}/classes">
+            <classpath>
+                <path refid="local.class.path"/>
+            </classpath>
+            <src path="${src.dir}"/>
+        </javac>
+        <copy todir="${build.dir}/classes">
+            <!-- don't put the DTDs in the jar file... -->
+            <fileset dir="${src.dir}" includes="**/*.properties,**/*.xml,**/*.bsh,**/*.logic,**/*.js,**/*.jacl,**/*.py"/>
+        </copy>
+    </target>
+
+    <target name="jar" depends="classes">
+        <jar jarfile="${build.dir}/lib/${name}.jar" basedir="${build.dir}/classes"/>
+    </target>
+
+    <!-- ================================================================== -->
+    <!-- Build JavaDoc                                                      -->
+    <!-- ================================================================== -->
+
+    <target name="docs" depends="prepare-docs,classpath">
+        <javadoc packagenames="org.ofbiz.service.*"
+                 classpathref="local.class.path"
+                 destdir="${build.dir}/javadocs"
+                 Windowtitle="Open for Business - ${desc}">
+            <sourcepath path="${src.dir}"/>
+        </javadoc>
+    </target>
+
+    <target name="all" depends="jar,docs"/>
+</project>

Propchange: ofbiz/trunk/specialpurpose/assetmaint/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/assetmaint/build.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/assetmaint/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/assetmaint/config/AssetMaintUiLabels.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/config/AssetMaintUiLabels.properties?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/config/AssetMaintUiLabels.properties (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/config/AssetMaintUiLabels.properties Mon Jan 22 18:27:12 2007
@@ -0,0 +1,79 @@
+#####################################################################
+# Licensed under the Apache License, Version 2.0 (the "License"); you may not
+# use this file except in compliance with the License. You may obtain a copy of
+# the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#####################################################################
+en=English
+fr=French
+de=German
+nl=Dutch
+
+# Override Page and Label title
+
+AssetMaintCompanyName=Ofbiz Company
+AssetMaintCompanySubtitle=Maintenance Department
+
+PageTitleFindFixedAssets=Find Equipments
+LabelTitleFindFixedAssets=Find Equipments
+PageTitleEditFixedAsset=Edit Equipment
+LabelTitleEditFixedAsset = Edit Equipment
+LabelTitleFixedAssetChildren=Children Equipments
+
+PageTitleFindFixedAssetMaints=Find Maintenances
+
+PageTitleEditWorkEffort=Edit Task
+PageTitleChildWorkEfforts=Task Breakdown
+PageTitleListItemIssuence=Parts List
+
+# Override UiLabels defined in accounting component. Give them more specialized Labels.
+AccountingNewFixedAsset=New Equipment
+AccountingEditFixedAsset=Edit Equipment
+AccountingFixedAssetEdit=Create/Update Equipment
+AccountingNewFixedAssetIdentsType=Create Equipment Identification Type
+AccountingFindFixedAsset=Find Equipments
+
+AccountingFixedAssets=Equipments
+AccountingFixedAsset=Equipment
+AccountingFixedAssetId=Equipment Id
+AccountingFixedAssetName=Description
+AccountingFixedAssetIdent=Identification
+AccountingFixedAssetIdents=Identifications
+AccountingNewFixedAssetIdent=Create Identification
+AccountingFixedAssetIdentTypeId=Equipment Identification Type Id
+AccountingFixedAssetIdentIdValue=Value
+AccountingFixedAssetParent=Equipment Group
+AccountingFixedAssetChildren=Children
+AccountingFixedAssetMaintSeqId=Maint Seq Id
+AccountingFixedAssetMaintIntervalQuantity=Meter Reading
+AccountingFixedAssetMaintIntervalUom=Meter Uom
+AccountingFixedAssetMaintIntervalMeterType=Meter Type
+AccountingInstanceOfProductId=Manufacturer Product Id
+AccountingFixedAssets=Equipments
+
+AssetEquipmentStdCosts = Standard Cost
+
+AccountingFacilityId=Located at
+AccountingFixedAssetClassEnumId=Equipment Class
+AccountingFixedAssetStdCosts = Standard Costs
+
+ProductWarehouse=Warehouse
+
+WorkEffortActualStartDate=Start Date
+WorkEffortActualCompletionDate=Completion Date
+WorkEffortAllTasks=Tasks
+WorkEffortWorkEffortAssocTypeId=Association Type
+WorkEffortWorkEffortPurposeTypeId=Purpose
+
+FixedAssetMaintWorkEffortName=Maintenance of Equipment
+FixedAssetMaintItemIssuence=Parts
+
+AccountingFixedAssetIdRequiredError=Equipment Id is required field, Please enter and try again.
+AccountingFixedAssetIdInvalidError=Equipment Id is invalid. Please use Equipment lookup tool to find valid Equipment Id

Propchange: ofbiz/trunk/specialpurpose/assetmaint/config/AssetMaintUiLabels.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/assetmaint/config/AssetMaintUiLabels.properties
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/assetmaint/config/AssetMaintUiLabels.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitygroup.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitygroup.xml?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitygroup.xml (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitygroup.xml Mon Jan 22 18:27:12 2007
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
+<entitygroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitygroup.xsd">
+
+  <!-- ========================================================= -->
+  <!-- org.ofbiz.assetmaint.fixedasset -->
+  <!-- ========================================================= -->
+
+    <entity-group group="org.ofbiz" entity="FixedAssetAndMaint" />
+    <entity-group group="org.ofbiz" entity="FixedAssetAndIdent" />
+    <entity-group group="org.ofbiz" entity="FixedAssetMaintWorkEffort" />
+    <entity-group group="org.ofbiz" entity="WorkEffortAndTimeEntry" />
+    <entity-group group="org.ofbiz" entity="FixedAssetMaintWorkEffortAndPartyAssignment" />
+    <entity-group group="org.ofbiz" entity="FixedAssetMaintWorkEffortAndTimeEntry" />
+    <entity-group group="org.ofbiz" entity="ItemIssuanceInventoryItemAndProduct" />
+    <entity-group group="org.ofbiz" entity="ProductInventoryItemAndItemIssuance" />
+</entitygroup>

Propchange: ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitygroup.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitygroup.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitymodel.xml?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitymodel.xml (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitymodel.xml Mon Jan 22 18:27:12 2007
@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
+<entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/entitymodel.xsd">
+  <!-- ========================================================= -->
+  <!-- ======================== Defaults ======================= -->
+  <!-- ========================================================= -->
+    <title>Entity of an Open For Business Project Component</title>
+    <description>None</description>
+    <author>None</author>
+    <version>1.0</version>
+
+    <view-entity entity-name="FixedAssetAndMaint" package-name="org.ofbiz.assetmaint">
+        <member-entity entity-alias="FA" entity-name="FixedAsset"/>
+        <member-entity entity-alias="FAM" entity-name="FixedAssetMaint"/>
+        <alias-all entity-alias="FA"/>
+        <alias-all entity-alias="FAM"/>
+        <view-link entity-alias="FA" rel-entity-alias="FAM">
+            <key-map field-name="fixedAssetId"/>
+        </view-link>
+    </view-entity>
+    <view-entity entity-name="FixedAssetAndIdent" package-name="org.ofbiz.assetmaint">
+        <member-entity entity-alias="FA" entity-name="FixedAsset"/>
+        <member-entity entity-alias="FAI" entity-name="FixedAssetIdent"/>
+        <alias-all entity-alias="FA"/>
+        <alias-all entity-alias="FAI"/>
+        <view-link entity-alias="FA" rel-entity-alias="FAI">
+            <key-map field-name="fixedAssetId"/>
+        </view-link>
+    </view-entity>
+    <view-entity entity-name="FixedAssetMaintWorkEffort" package-name="org.ofbiz.assetmaint">
+        <member-entity entity-alias="FAM" entity-name="FixedAssetMaint"/>
+        <member-entity entity-alias="WE" entity-name="WorkEffort"/>
+        <alias-all entity-alias="FAM"/>
+        <alias-all entity-alias="WE"/>
+        <view-link entity-alias="FAM" rel-entity-alias="WE">
+            <key-map field-name="scheduleWorkEffortId" rel-field-name="workEffortId"/>
+        </view-link>
+    </view-entity>
+    <view-entity entity-name="WorkEffortAndTimeEntry" package-name="org.ofbiz.assetmaint">
+        <member-entity entity-alias="WE" entity-name="WorkEffort"/>
+        <member-entity entity-alias="TE" entity-name="TimeEntry"/>
+        <alias-all entity-alias="WE"/>
+        <alias-all entity-alias="TE"/>
+        <view-link entity-alias="WE" rel-entity-alias="TE">
+            <key-map field-name="workEffortId"/>
+        </view-link>
+    </view-entity>
+    <view-entity entity-name="FixedAssetMaintWorkEffortAndPartyAssignment"
+        package-name="org.ofbiz.assetmaint"
+        title="View of FixedAssetMaint and WorkEffort and WorkEffortPartyAssignment">
+        <member-entity entity-alias="FAM" entity-name="FixedAssetMaint"/>
+        <member-entity entity-alias="WE" entity-name="WorkEffort"/>
+        <member-entity entity-alias="WEPA" entity-name="WorkEffortPartyAssignment"/>
+        <alias-all entity-alias="FAM"/>
+        <alias-all entity-alias="WE"/>
+        <alias entity-alias="WEPA" name="workEffortId"/>
+        <alias entity-alias="WEPA" name="partyId"/>
+        <alias entity-alias="WEPA" name="roleTypeId"/>
+        <alias entity-alias="WEPA" name="fromDate"/>
+        <alias entity-alias="WEPA" name="thruDate"/>
+        <view-link entity-alias="FAM" rel-entity-alias="WE">
+            <key-map field-name="scheduleWorkEffortId" rel-field-name="workEffortId"/>
+        </view-link>
+        <view-link entity-alias="WE" rel-entity-alias="WEPA">
+            <key-map field-name="workEffortId"/>
+        </view-link>
+        <relation type="one" rel-entity-name="FixedAssetMaint">
+            <key-map field-name="scheduleWorkEffortId" rel-field-name="workEffortId"/>
+        </relation>
+        <relation type="many" rel-entity-name="WorkEffortPartyAssignment">
+            <key-map field-name="workEffortId"/>
+        </relation>
+    </view-entity>
+    <view-entity entity-name="FixedAssetMaintWorkEffortAndTimeEntry"
+        package-name="org.ofbiz.assetmaint"
+        title="View of FixedAssetMaint and WorkEffort and TimeEntry">
+        <member-entity entity-alias="FAM" entity-name="FixedAssetMaint"/>
+        <member-entity entity-alias="WE" entity-name="WorkEffort"/>
+        <member-entity entity-alias="TE" entity-name="TimeEntry"/>
+        <alias-all entity-alias="FAM"/>
+        <alias-all entity-alias="WE"/>
+        <alias-all entity-alias="TE"/>
+        <view-link entity-alias="FAM" rel-entity-alias="WE">
+            <key-map field-name="scheduleWorkEffortId" rel-field-name="workEffortId"/>
+        </view-link>
+        <view-link entity-alias="WE" rel-entity-alias="TE">
+            <key-map field-name="workEffortId"/>
+        </view-link>
+        <relation type="one" rel-entity-name="FixedAssetMaint">
+            <key-map field-name="scheduleWorkEffortId" rel-field-name="workEffortId"/>
+        </relation>
+        <relation type="many" rel-entity-name="TimeEntry">
+            <key-map field-name="workEffortId"/>
+        </relation>
+    </view-entity>
+    <view-entity entity-name="ItemIssuanceInventoryItemAndProduct"
+        package-name="org.ofbiz.assetmaint"
+        title="View of Item Issuance,Inventory Item and Product">
+        <member-entity entity-alias="IMIE" entity-name="ItemIssuance"/>
+        <member-entity entity-alias="IYIM" entity-name="InventoryItem"/>
+        <member-entity entity-alias="PT" entity-name="Product"/>
+        <alias-all entity-alias="IMIE"/>
+        <alias-all entity-alias="IYIM"/>
+        <alias entity-alias="PT" name="productId"/>
+        <alias entity-alias="PT" name="productTypeId"/>
+        <alias entity-alias="PT" name="primaryProductCategoryId"/>
+        <alias entity-alias="PT" name="manufacturerPartyId"/>
+        <alias entity-alias="PT" name="facilityId"/>
+        <alias entity-alias="PT" name="introductionDate"/>
+        <alias entity-alias="PT" name="internalName"/>
+        <alias entity-alias="PT" name="description"/>
+        <alias entity-alias="PT" name="requireInventory"/>
+        <alias entity-alias="PT" name="taxable"/>
+        <alias entity-alias="PT" name="chargeShipping"/>
+        <alias entity-alias="PT" name="taxable"/>
+        <alias entity-alias="PT" name="isVirtual"/>
+        <alias entity-alias="PT" name="isVariant"/>
+        <alias entity-alias="PT" name="createdDate"/>
+        <alias entity-alias="PT" name="createdByUserLogin"/>
+        <view-link entity-alias="IMIE" rel-entity-alias="IYIM">
+            <key-map field-name="inventoryItemId"/>
+        </view-link>
+        <view-link entity-alias="IYIM" rel-entity-alias="PT">
+            <key-map field-name="productId"/>
+        </view-link>
+        <relation type="one" rel-entity-name="InventoryItem">
+            <key-map field-name="inventoryItemId"/>
+        </relation>
+        <relation type="one" rel-entity-name="Product">
+            <key-map field-name="productId"/>
+        </relation>
+    </view-entity>
+    <view-entity entity-name="ProductInventoryItemAndItemIssuance"
+        package-name="org.ofbiz.assetmaint"
+        title="View of Product,Inventory Item and ItemIssuance">
+        <member-entity entity-alias="PT" entity-name="Product"/>
+        <member-entity entity-alias="IYIM" entity-name="InventoryItem"/>
+        <member-entity entity-alias="IMIE" entity-name="ItemIssuance"/>
+        <alias-all entity-alias="IMIE"/>
+        <alias-all entity-alias="IYIM"/>
+        <alias entity-alias="PT" name="productId"/>
+        <alias entity-alias="PT" name="productTypeId"/>
+        <alias entity-alias="PT" name="primaryProductCategoryId"/>
+        <alias entity-alias="PT" name="manufacturerPartyId"/>
+        <alias entity-alias="PT" name="facilityId"/>
+        <alias entity-alias="PT" name="introductionDate"/>
+        <alias entity-alias="PT" name="internalName"/>
+        <alias entity-alias="PT" name="description"/>
+        <alias entity-alias="PT" name="requireInventory"/>
+        <alias entity-alias="PT" name="taxable"/>
+        <alias entity-alias="PT" name="chargeShipping"/>
+        <alias entity-alias="PT" name="taxable"/>
+        <alias entity-alias="PT" name="isVirtual"/>
+        <alias entity-alias="PT" name="isVariant"/>
+        <alias entity-alias="PT" name="createdDate"/>
+        <alias entity-alias="PT" name="createdByUserLogin"/>
+        <view-link entity-alias="PT" rel-entity-alias="IYIM">
+            <key-map field-name="productId"/>
+        </view-link>
+        <view-link entity-alias="IYIM" rel-entity-alias="IMIE">
+            <key-map field-name="inventoryItemId"/>
+        </view-link>
+        <relation type="many" rel-entity-name="InventoryItem">
+            <key-map field-name="productId"/>
+        </relation>
+        <relation type="many" rel-entity-name="ItemIssuance">
+            <key-map field-name="inventoryItemId"/>
+        </relation>
+    </view-entity>
+</entitymodel>
+    
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitymodel.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitymodel.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/assetmaint/entitydef/entitymodel.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml Mon Jan 22 18:27:12 2007
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
+<ofbiz-component name="assetmaint"
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/ofbiz-component.xsd">
+    <!-- define resource loaders; most common is to use the component resource loader -->
+    <resource-loader name="main" type="component"/>
+
+    <!-- place the config directory on the classpath to access configuration files -->
+    <classpath type="dir" location="config"/>
+    <classpath type="dir" location="script"/>
+
+    <!-- load single or multiple external libraries -->
+    <classpath type="jar" location="build/lib/*"/>
+
+    <!-- entity resources: model(s), eca(s), group, and data definitions -->
+    <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
+    <entity-resource type="group" reader-name="main" loader="main" location="entitydef/entitygroup.xml"/>  
+
+    <webapp name="assetmaint"
+        title="AssetMaint"
+        server="default-server"
+        location="webapp/assetmaint"
+        base-permission="OFBTOOLS"
+        mount-point="/assetmaint"
+        app-bar-display="false"/>
+</ofbiz-component>

Propchange: ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/assetmaint/ofbiz-component.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/assetmaint/FixedAssetMaintEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/assetmaint/FixedAssetMaintEvents.xml?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/assetmaint/FixedAssetMaintEvents.xml (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/assetmaint/FixedAssetMaintEvents.xml Mon Jan 22 18:27:12 2007
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
+<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/simple-methods.xsd">
+
+    <simple-method method-name="createFixedAssetMaintUpdateWorkEffort" login-required="true"
+        short-description="Create FixedAssetMaint and Update Schedule information in WorkEffort">
+        <if-empty field-name="parameters.fixedAssetId">
+            <add-error><fail-property resource="AssetMaintUiLabels" property="AccountingFixedAssetIdRequiredError"/></add-error>
+        </if-empty>
+        <if-not-empty field-name="parameters.fixedAssetId">
+            <set from-field="parameters.fixedAssetId" field="fixedAssetExistsMap.fixedAssetId"/>
+            <find-by-primary-key entity-name="FixedAsset" map-name="fixedAssetExistsMap" value-name="existingFixedAssset"/>
+            <if-empty field-name="existingFixedAssset">
+                <add-error><fail-property resource="AssetMaintUiLabels" property="AccountingFixedAssetIdInvalidError"/></add-error>
+            </if-empty>
+        </if-not-empty>
+        <check-errors/>
+        <set-service-fields map-name="parameters" service-name="createFixedAssetMaint" to-map-name="createFixedAssetMaintCtx"/>
+        <call-service service-name="createFixedAssetMaint" in-map-name="createFixedAssetMaintCtx">
+            <result-to-field result-name="maintHistSeqId" map-name="findAssetMaintLookup" field-name="maintHistSeqId"/>
+        </call-service>
+        <set from-field="parameters.fixedAssetId" field="findAssetMaintLookup.fixedAssetId"/>
+        <find-by-primary-key entity-name="FixedAssetMaint" map-name="findAssetMaintLookup" value-name="findAssetMaint"/>
+        <set from-field="findAssetMaint.scheduleWorkEffortId" field="updateWorkEffortCtx.workEffortId"/>
+        <set-service-fields map-name="parameters" service-name="updateWorkEffort" to-map-name="updateWorkEffortCtx"/>
+        <!-- Maintenance WorkEffort entity -->
+        <property-to-field field-name="workEffortNameText" resource="AssetMaintUiLabels" property="FixedAssetMaintWorkEffortName"/>
+        <set value="${workEffortNameText} #${updateWorkEffortCtx.fixedAssetId}" field="updateWorkEffortCtx.workEffortName"/>
+        <call-service service-name="updateWorkEffort" in-map-name="updateWorkEffortCtx"/>
+    </simple-method>    
+    <simple-method method-name="updateFixedAssetMaintAndWorkEffort" login-required="true"
+        short-description="Update FixedAssetMaint and Schedule information in WorkEffort">
+        <check-errors/>
+        <set-service-fields map-name="parameters" service-name="updateFixedAssetMaint" to-map-name="updateFixedAssetMaintCtx"/>
+        <call-service service-name="updateFixedAssetMaint" in-map-name="updateFixedAssetMaintCtx"/>
+        <check-errors/>
+        <set from-field="parameters.scheduleWorkEffortId" field="updateWorkEffortCtx.workEffortId"/>
+        <set-service-fields map-name="parameters" service-name="updateWorkEffort" to-map-name="updateWorkEffortCtx"/>
+        <call-service service-name="updateWorkEffort" in-map-name="updateWorkEffortCtx"/>
+        <check-errors/>
+    </simple-method>    
+    
+    <simple-method method-name="createWorkEffortAndAssoc" login-required="true"
+        short-description="Create WorkEffort and Associate it with Parent (identified by workEffortFromId)">
+        <set from-field="parameters.workEffortIdTo" field="parameters.workEffortId"/>
+        <set-service-fields map-name="parameters" service-name="createWorkEffortAndAssoc" to-map-name="createWorkEffortAndAssocCtx"/>
+        <call-service service-name="createWorkEffortAndAssoc" in-map-name="createWorkEffortAndAssocCtx"/>
+        <check-errors/>
+    </simple-method>    
+</simple-methods>
+    
\ No newline at end of file

Propchange: ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/assetmaint/FixedAssetMaintEvents.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/assetmaint/FixedAssetMaintEvents.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/assetmaint/FixedAssetMaintEvents.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh Mon Jan 22 18:27:12 2007
@@ -0,0 +1,81 @@
+/*
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+*/
+
+import java.util.*;
+
+import org.ofbiz.base.util.*;
+import org.ofbiz.entity.*;
+import org.ofbiz.entity.condition.*;
+import org.ofbiz.entity.util.*;
+
+
+maintHistSeqId = context.get("maintHistSeqId");
+fixedAssetId = context.get("fixedAssetId");
+workEffortId = context.get("workEffortId");
+
+if (maintHistSeqId == null) {
+    maintHistSeqId = parameters.get("maintHistSeqId");
+}
+if (fixedAssetId == null) {
+    fixedAssetId = parameters.get("fixedAssetId");
+}
+
+if (maintHistSeqId == null) {
+    maintHistSeqId = request.getParameter("maintHistSeqId");
+}
+if (fixedAssetId == null) {
+    fixedAssetId = request.getParameter("fixedAssetId");
+}
+
+// Following two cases are just to cover in forseen situation. In normal situation these will never execute.
+// If request is coming from EditWorkEffort or EditWorkEffortAndAssoc then we'll not have fixedAssetId and maintSeqId
+
+if (workEffortId == null) {
+    workEffortId = parameters.get("workEffortId");
+}
+if (workEffortId == null) {
+    workEffortId = request.getParameter("workEffortId");
+}
+
+
+fixedAssetMaint = null;
+workEffort = null;
+fixedAsset = null;
+
+//Prefer to get workEffortId from FixedAssetMaint.
+if (maintHistSeqId !=null && fixedAssetId !=null) {
+    fixedAssetMaint = delegator.findByPrimaryKey("FixedAssetMaint", UtilMisc.toMap("fixedAssetId",fixedAssetId ,"maintHistSeqId",maintHistSeqId));
+    if (fixedAssetMaint != null) {
+        workEffortId = fixedAssetMaint.get("scheduleWorkEffortId");
+    }
+}
+
+if (workEffortId != null) {
+    workEffort = delegator.findByPrimaryKey("WorkEffort", UtilMisc.toMap("workEffortId",workEffortId));
+    if (fixedAssetId == null && workEffort != null) {
+        fixedAssetId = workEffort.get("fixedAssetId");
+    }
+}
+
+if (fixedAssetId != null) {
+    fixedAsset = delegator.findByPrimaryKey("FixedAsset", UtilMisc.toMap("fixedAssetId",fixedAssetId));
+}
+context.put("fixedAssetMaint",fixedAssetMaint);      
+context.put("workEffort",workEffort);      
+context.put("fixedAsset",fixedAsset);  
+
+context.put("maintHistSeqId",maintHistSeqId);      
+context.put("fixedAssetId",fixedAssetId);      
+context.put("workEffortId",workEffortId);
+context.put("workEffortIdFrom",workEffortId);

Propchange: ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/actions/workeffort/EditWorkEfforts.bsh
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/controller.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/controller.xml?view=auto&rev=498895
==============================================================================
--- ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/controller.xml (added)
+++ ofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/controller.xml Mon Jan 22 18:27:12 2007
@@ -0,0 +1,401 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed under the Apache License, Version 2.0 (the "License"); you may not
+use this file except in compliance with the License. You may obtain a copy of
+the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+License for the specific language governing permissions and limitations
+under the License.
+-->
+
+<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+        xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/site-conf.xsd">
+    <include location="component://assetmaint/webapp/assetmaint/WEB-INF/facility-controller.xml"/>    
+
+    <description>Asset Maintenance Component Site Configuration File</description>
+    <owner>Copyright 2001-2006 The Apache Software Foundation</owner>
+    <errorpage>/error/error.jsp</errorpage>
+
+    <!-- event handlers -->
+    <handler name="java" type="request" class="org.ofbiz.webapp.event.JavaEventHandler"/>
+    <handler name="soap" type="request" class="org.ofbiz.webapp.event.SOAPEventHandler"/>
+    <handler name="service" type="request" class="org.ofbiz.webapp.event.ServiceEventHandler"/>
+    <handler name="simple" type="request" class="org.ofbiz.webapp.event.SimpleEventHandler"/>
+    <handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/>
+    <handler name="bsf" type="request" class="org.ofbiz.webapp.event.BsfEventHandler"/>
+    <!-- view handlers -->
+    <handler name="ftl" type="view" class="org.ofbiz.webapp.ftl.FreeMarkerViewHandler"/>
+    <handler name="jsp" type="view" class="org.ofbiz.webapp.view.JspViewHandler"/>
+    <handler name="screen" type="view" class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/>
+    <handler name="screenfop" type="view" class="org.ofbiz.widget.screen.ScreenFopPdfViewHandler"/>
+    <handler name="http" type="view" class="org.ofbiz.webapp.view.HttpViewHandler"/>
+    <!--
+      These can be used to return the reports as views; make sure the classes are compiled and available
+        <handler name="datavision" type="view" class="org.ofbiz.webapp.view.DataVisionViewHandler"/>
+        <handler name="jasperreportspdf" type="view" class="org.ofbiz.webapp.view.JasperReportsPdfViewHandler"/>
+        <handler name="jasperreportsxml" type="view" class="org.ofbiz.webapp.view.JasperReportsXmlViewHandler"/>
+    -->
+
+    <preprocessor>
+        <!-- Events to run on every request before security (chains exempt) -->
+        <!-- <event type="java" path="org.ofbiz.webapp.event.TestEvent" invoke="test"/> -->
+        <event type="java" path="org.ofbiz.webapp.control.LoginWorker" invoke="checkExternalLoginKey"/>
+    </preprocessor>
+    <postprocessor>
+        <!-- Events to run on every request after all other processing (chains exempt) -->
+        <!-- <event type="java" path="org.ofbiz.webapp.event.TestEvent" invoke="test"/> -->
+    </postprocessor>
+
+    <!-- Security Mappings -->
+    <request-map uri="checkLogin" edit="false">
+        <description>Verify a user is logged in.</description>
+        <security https="true" auth="false"/>
+        <event type="java" path="org.ofbiz.webapp.control.LoginWorker" invoke="checkLogin" />
+        <response name="success" type="view" value="main"/>
+        <response name="error" type="view" value="login"/>
+    </request-map>
+    <request-map uri="login">
+        <security https="true" auth="false"/>
+        <event type="java" path="org.ofbiz.webapp.control.LoginWorker" invoke="login"/>
+        <response name="success" type="view" value="main"/>
+        <response name="error" type="view" value="login"/>
+    </request-map>
+    <request-map uri="logout">
+        <security https="true" auth="true"/>
+        <event type="java" path="org.ofbiz.webapp.control.LoginWorker" invoke="logout"/>
+        <response name="success" type="request" value="checkLogin"/>
+        <response name="error" type="view" value="main"/>
+    </request-map>
+    <!-- End of Security Mappings -->
+
+    <!-- Request Mappings -->
+    <request-map uri="view">
+        <security https="false" auth="false"/>
+        <response name="success" type="view" value="main"/>
+        <response name="error" type="view" value="error"/>
+    </request-map>
+
+    <request-map uri="authview">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="main"/>
+        <response name="error" type="view" value="error"/>
+    </request-map>
+
+    <request-map uri="main">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="main"/>
+    </request-map>
+
+    <!-- FixedAssets requests -->
+    <request-map uri="findFixedAssets">
+        <security https="true" auth="true" />
+        <response name="success" type="view" value="FindFixedAssets" />
+        <response name="error" type="view" value="FindFixedAssets" />
+    </request-map>
+    <request-map uri="EditFixedAsset">
+        <security https="true" auth="true" />
+        <response name="success" type="view" value="EditFixedAsset" />
+        <response name="error" type="view" value="EditFixedAsset" />
+    </request-map>
+    <request-map uri="createFixedAsset">
+        <security https="true" auth="true" />
+        <event type="service" path="" invoke="createFixedAsset" />
+        <response name="success" type="view" value="EditFixedAsset" />
+        <response name="error" type="view" value="EditFixedAsset" />
+    </request-map>
+    <request-map uri="updateFixedAsset">
+        <security https="true" auth="true" />
+        <event type="service" path="" invoke="updateFixedAsset" />
+        <response name="success" type="view" value="EditFixedAsset" />
+        <response name="error" type="view" value="EditFixedAsset" />
+    </request-map>
+    <request-map uri="FixedAssetChildren">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="FixedAssetChildren"/>
+        <response name="error" type="view" value="FixedAssetChildren"/>
+    </request-map>
+   <!-- ================ Fixed Asset Calendar Requests ================= -->
+    <request-map uri="ListFixedAssetCalendar">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="ListFixedAssetCalendar"/>
+    </request-map>
+    <request-map uri="updateFixedAssetCalendar">
+        <security https="true" auth="true"/>
+        <event type="service" path="org.ofbiz.accounting.fixedasset.FixedAssetServices.xml" invoke="updateFixedAssetCalendar"/>
+        <response name="success" type="view" value="ListFixedAssetCalendar"/>
+        <response name="error" type="view" value="ListFixedAssetCalendar"/>
+    </request-map>
+
+    <request-map uri="EditFixedAssetStdCosts">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditFixedAssetStdCosts"/>
+    </request-map>
+    <request-map uri="createFixedAssetStdCost">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="createFixedAssetStdCost"/>
+        <response name="success" type="view" value="ListFixedAssetStdCosts"/>
+    </request-map>
+    <request-map uri="updateFixedAssetStdCost">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="updateFixedAssetStdCost"/>
+        <response name="success" type="view" value="ListFixedAssetStdCosts"/>
+    </request-map>
+    <request-map uri="cancelFixedAssetStdCost">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="cancelFixedAssetStdCost"/>
+        <response name="success" type="view" value="ListFixedAssetStdCosts"/>
+    </request-map>
+    <!-- FixedAssetIdent -->
+    <request-map uri="EditFixedAssetIdents">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditFixedAssetIdents"/>
+        <response name="error" type="view" value="EditFixedAssetIdents"/>
+    </request-map>
+    <request-map uri="createFixedAssetIdent">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="createFixedAssetIdent"/>
+        <response name="success" type="view" value="EditFixedAssetIdents"/>
+        <response name="error" type="view" value="EditFixedAssetIdents"/>
+    </request-map>
+    <request-map uri="updateFixedAssetIdent">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="updateFixedAssetIdent"/>
+        <response name="success" type="view" value="EditFixedAssetIdents"/>
+        <response name="error" type="view" value="EditFixedAssetIdents"/>
+    </request-map>
+    <request-map uri="removeFixedAssetIdent">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="removeFixedAssetIdent"/>
+        <response name="success" type="view" value="EditFixedAssetIdents"/>
+        <response name="error" type="view" value="EditFixedAssetIdents"/>
+    </request-map>
+    
+    <!-- FixedAssetRegistration -->
+    <request-map uri="EditFixedAssetRegistrations">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditFixedAssetRegistrations"/>
+        <response name="error" type="view" value="EditFixedAssetRegistrations"/>
+    </request-map>
+    <request-map uri="createFixedAssetRegistration">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="createFixedAssetRegistration"/>
+        <response name="success" type="view" value="EditFixedAssetRegistrations"/>
+        <response name="error" type="view" value="EditFixedAssetRegistrations"/>
+    </request-map>
+    <request-map uri="updateFixedAssetRegistration">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="updateFixedAssetRegistration"/>
+        <response name="success" type="view" value="EditFixedAssetRegistrations"/>
+        <response name="error" type="view" value="EditFixedAssetRegistrations"/>
+    </request-map>
+    <request-map uri="deleteFixedAssetRegistration">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="deleteFixedAssetRegistration"/>
+        <response name="success" type="view" value="EditFixedAssetRegistrations"/>
+        <response name="error" type="view" value="EditFixedAssetRegistrations"/>
+    </request-map>
+    <!-- FixedAssetMaintenance -->
+    <request-map uri="ListFixedAssetMaints">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="ListFixedAssetMaints"/>
+        <response name="error" type="view" value="ListFixedAssetMaints"/>
+    </request-map>
+    <request-map uri="EditFixedAssetMaint">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditFixedAssetMaint"/>
+        <response name="error" type="view" value="EditFixedAssetMaint"/>
+    </request-map>
+    <request-map uri="createFixedAssetMaintUpdateWorkEffort">
+        <security https="true" auth="true"/>
+        <event type="simple" path="org/ofbiz/assetmaint/FixedAssetMaintEvents.xml" invoke="createFixedAssetMaintUpdateWorkEffort"/>
+        <response name="success" type="view" value="EditFixedAssetMaint"/>
+        <response name="error" type="view" value="EditFixedAssetMaint"/>
+    </request-map>
+    <request-map uri="updateFixedAssetMaintAndWorkEffort">
+        <security https="true" auth="true"/>
+        <event type="simple" path="org/ofbiz/assetmaint/FixedAssetMaintEvents.xml" invoke="updateFixedAssetMaintAndWorkEffort"/>
+        <response name="success" type="view" value="EditFixedAssetMaint"/>
+        <response name="error" type="view" value="EditFixedAssetMaint"/>
+    </request-map>
+    <request-map uri="deleteFixedAssetMaint">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="deleteFixedAssetMaint"/>
+        <response name="success" type="view" value="EditFixedAssetMaint"/>
+        <response name="error" type="view" value="EditFixedAssetMaint"/>
+    </request-map>
+
+    <request-map uri="findFixedAssetMaints">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="FindFixedAssetMaints"/>
+        <response name="error" type="view" value="FindFixedAssetMaints"/>
+    </request-map>
+
+    <!-- FixedAssetMaintenance Meter -->
+    <request-map uri="EditFixedAssetMaintMeters">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditFixedAssetMaintMeters"/>
+        <response name="error" type="view" value="EditFixedAssetMaintMeters"/>
+    </request-map>
+    <request-map uri="createFixedAssetMaintMeter">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="createFixedAssetMaintMeter"/>
+        <response name="success" type="view" value="EditFixedAssetMaintMeters"/>
+        <response name="error" type="view" value="EditFixedAssetMaintMeters"/>
+    </request-map>
+    <request-map uri="updateFixedAssetMaintMeter">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="updateFixedAssetMaintMeter"/>
+        <response name="success" type="view" value="EditFixedAssetMaintMeters"/>
+        <response name="error" type="view" value="EditFixedAssetMaintMeters"/>
+    </request-map>
+    <request-map uri="deleteFixedAssetMaintMeter">
+        <security https="true" auth="true"/>
+        <event type="service" path="" invoke="deleteFixedAssetMaintMeter"/>
+        <response name="success" type="view" value="EditFixedAssetMaintMeters"/>
+        <response name="error" type="view" value="EditFixedAssetMaintMeters"/>
+    </request-map>
+
+    <!--  WorkEffort request mappings -->
+    <request-map uri="EditWorkEfforts">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditWorkEfforts"/>
+        <response name="error" type="view" value="EditWorkEfforts"/>
+    </request-map>
+    <request-map uri="updateWorkEffort">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="updateWorkEffort"/>
+        <response name="success" type="view" value="EditWorkEfforts"/>
+        <response name="error" type="view" value="EditWorkEfforts"/>
+    </request-map>
+    <request-map uri="createWorkEffort">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="createWorkEffort"/>
+        <response name="success" type="view" value="EditWorkEfforts"/>
+        <response name="error" type="view" value="EditWorkEfforts"/>
+    </request-map>
+    <request-map uri="updateWorkEffort">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="updateWorkEffort"/>
+        <response name="success" type="view" value="EditWorkEfforts"/>
+        <response name="error" type="view" value="EditWorkEfforts"/>
+    </request-map>
+
+    <!-- TimeEntries on a Maintenance request mappings -->
+    <request-map uri="EditWorkEffortTimeEntries">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditWorkEffortTimeEntries"/>
+    </request-map>
+    <request-map uri="createWorkEffortTimeEntry">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="createTimeEntry"/>
+        <response name="success" type="view" value="EditWorkEffortTimeEntries"/>
+        <response name="error" type="view" value="EditWorkEffortTimeEntries"/>
+    </request-map>
+    <request-map uri="updateWorkEffortTimeEntry">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="updateTimeEntry"/>
+        <response name="success" type="view" value="EditWorkEffortTimeEntries"/>
+        <response name="error" type="view" value="EditWorkEffortTimeEntries"/>
+    </request-map>
+    <request-map uri="deleteWorkEffortTimeEntry">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="deleteTimeEntry"/>
+        <response name="success" type="view" value="EditWorkEffortTimeEntries"/>
+        <response name="error" type="view" value="EditWorkEffortTimeEntries"/>
+    </request-map>
+    
+    <!-- Notes on a Maintenance request mappings -->
+    <request-map uri="EditWorkEffortNotes">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditWorkEffortNotes"/>
+    </request-map>
+    
+    <request-map uri="createWorkEffortNote">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="createWorkEffortNote"/>
+        <response name="success" type="view" value="EditWorkEffortNotes"/>
+        <response name="error" type="view" value="EditWorkEffortNotes"/>
+    </request-map>
+
+    <request-map uri="createWorkEffortAndAssoc">
+        <security https="true" auth="true"/>
+        <event type="simple" path="org/ofbiz/assetmaint/FixedAssetMaintEvents.xml" invoke="createWorkEffortAndAssoc"/>
+        <response name="success" type="view" value="EditWorkEfforts"/>
+        <response name="error" type="view" value="EditWorkEfforts"/>
+    </request-map>
+    <request-map uri="updateWorkEffortAndAssoc">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="updateWorkEffortAndAssoc"/>
+        <response name="success" type="view" value="EditWorkEfforts"/>
+        <response name="error" type="view" value="EditWorkEfforts"/>
+    </request-map>
+    <request-map uri="EditItemIssuences">
+        <security https="true" auth="true"/>
+        <response name="success" type="view" value="EditItemIssuences"/>
+        <response name="error" type="view" value="EditItemIssuences"/>
+    </request-map>
+    <request-map uri="issueInventoryItemToFixedAssetMaint">
+        <security https="true" auth="true"/>
+        <event type="service" invoke="issueInventoryItemToFixedAssetMaint"/>
+        <response name="success" type="view" value="EditItemIssuences"/>
+        <response name="error" type="view" value="EditItemIssuences"/>
+    </request-map>
+
+
+   <!-- ================ Lookup Requests ================= -->
+    <request-map uri="LookupFixedAsset"><security auth="true" https="true"/><response name="success" type="view" value="LookupFixedAsset"/></request-map>
+    <request-map uri="LookupPartyName"><security auth="true" https="true"/><response name="success" type="view" value="LookupPartyName"/></request-map>
+    <request-map uri="LookupPerson"><security https="true" auth="true"/><response name="success" type="view" value="LookupPerson"/></request-map>
+    <request-map uri="LookupPartyGroup"><security https="true" auth="true"/><response name="success" type="view" value="LookupPartyGroup"/></request-map>
+    <request-map uri="LookupOrderHeader"><security https="true" auth="true"/><response name="success" type="view" value="LookupOrderHeader"/></request-map>
+    <request-map uri="LookupProduct"><security auth="true" https="true"/><response name="success" type="view" value="LookupVehicleTypeProduct"/></request-map>
+    <request-map uri="LookupFacility"><security https="true" auth="true"/><response name="success" type="view" value="LookupFacility"/></request-map>
+    <request-map uri="LookupFacilityLocation"><security auth="true" https="true"/><response name="success" type="view" value="LookupFacilityLocation"/></request-map>
+    <request-map uri="LookupPartsProduct"><security auth="true" https="true"/><response name="success" type="view" value="LookupPartsProduct"/></request-map>
+
+    <!-- end of request mappings -->
+
+    <!-- View Mappings -->
+    <view-map name="error" page="/error/error.jsp"/>
+
+    <view-map name="main" type="screen" page="component://assetmaint/widget/FixedAssetScreens.xml#FindFixedAssets"/>
+    <view-map name="login" type="screen" page="component://assetmaint/widget/CommonScreens.xml#login"/>
+
+    <!-- FixedAsset and Relationship management screens -->    
+    <view-map name="FindFixedAssets" type="screen" page="component://assetmaint/widget/FixedAssetScreens.xml#FindFixedAssets" />
+    <view-map name="EditFixedAsset" type="screen" page="component://assetmaint/widget/FixedAssetScreens.xml#EditFixedAsset" />
+    <view-map name="FixedAssetChildren" type="screen" page="component://assetmaint/widget/FixedAssetScreens.xml#FixedAssetChildren"/>
+    <view-map name="ListFixedAssetCalendar" type="screen" page="component://accounting/widget/FixedAssetScreens.xml#ListFixedAssetCalendar"/>
+    <view-map name="updateFixedAssetCalendar" type="screen" page="component://accounting/widget/FixedAssetScreens.xml#updateFixedAssetCalendar"/>
+    <view-map name="EditFixedAssetStdCosts" type="screen" page="component://assetmaint/widget/FixedAssetScreens.xml#EditFixedAssetStdCosts"/>
+    <view-map name="EditFixedAssetIdents" type="screen" page="component://accounting/widget/FixedAssetScreens.xml#EditFixedAssetIdents"/>
+    <view-map name="EditFixedAssetRegistrations" type="screen" page="component://accounting/widget/FixedAssetScreens.xml#EditFixedAssetRegistrations"/>
+    <view-map name="ListFixedAssetMaints" type="screen" page="component://accounting/widget/FixedAssetScreens.xml#ListFixedAssetMaints"/>
+
+    <!-- FixedAsset Maintenance screens -->
+    <view-map name="FindFixedAssetMaints" type="screen" page="component://assetmaint/widget/AssetmaintScreens.xml#FindFixedAssetMaints" />
+    <view-map name="EditFixedAssetMaint" type="screen" page="component://assetmaint/widget/AssetmaintScreens.xml#EditFixedAssetMaint"/>
+    <view-map name="EditFixedAssetMaintMeters" type="screen" page="component://assetmaint/widget/AssetmaintScreens.xml#EditFixedAssetMaintMeters"/>
+    <view-map name="EditWorkEfforts" type="screen" page="component://assetmaint/widget/AssetmaintScreens.xml#EditWorkEfforts"/>
+    <view-map name="EditWorkEffortTimeEntries" type="screen" page="component://assetmaint/widget/AssetmaintScreens.xml#EditWorkEffortTimeEntries"/>
+    <view-map name="EditWorkEffortNotes" type="