Author: jaz
Date: Wed Dec 15 17:43:40 2010
New Revision: 1049650
URL: http://svn.apache.org/viewvc?rev=1049650&view=rev
Log:
moved schedule service to seed-initial file; to stop duplicates when re-loading
seed data
Modified:
ofbiz/trunk/applications/accounting/data/AccountingScheduledServiceData.xml
ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml
Modified:
ofbiz/trunk/applications/accounting/data/AccountingScheduledServiceData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/AccountingScheduledServiceData.xml?rev=1049650&r1=1049649&r2=1049650&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/data/AccountingScheduledServiceData.xml
(original)
+++ ofbiz/trunk/applications/accounting/data/AccountingScheduledServiceData.xml
Wed Dec 15 17:43:40 2010
@@ -42,4 +42,10 @@ under the License.
<RecurrenceRule recurrenceRuleId="9000" untilDateTime="" frequency="DAILY"
intervalNumber="5" countNumber="-1"/>
<RecurrenceInfo recurrenceInfoId="9000" startDateTime="2000-01-01
00:00:00.000" recurrenceRuleId="9000" recurrenceCount="0"/>
<JobSandbox jobId="9000" jobName="Auto Reconcile Financial Account"
runTime="2000-01-01 00:00:00.000" serviceName="autoFinAccountReconciliation"
poolId="pool" runAsUser="system" recurrenceInfoId="9000"/>
+
+ <!-- The following three elements set up a regularly scheduled job that
will automatically create
+ fixed asset maintenances from ProductMaint time intervals. -->
+ <TemporalExpression tempExprId="FAM_AUTO_CREATE"
tempExprTypeId="FREQUENCY" description="Every Hour" integer1="12"
integer2="60"/>
+ <JobSandbox jobId="FAM_AUTO_CREATE" jobName="Auto-create Fixed Asset
Maintenances" runTime="2000-01-01 00:00:00.000"
serviceName="createMaintsFromTimeInterval" poolId="pool" runAsUser="system"
tempExprId="FAM_AUTO_CREATE" maxRecurrenceCount="-1"/>
+
</entity-engine-xml>
Modified: ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml?rev=1049650&r1=1049649&r2=1049650&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml (original)
+++ ofbiz/trunk/applications/accounting/data/AccountingTypeData.xml Wed Dec 15
17:43:40 2010
@@ -188,12 +188,7 @@ under the License.
<StatusValidChange condition="" statusId="FAM_SCHEDULED"
statusIdTo="FAM_IN_PROCESS" transitionName="Scheduled Maintenace In-Process"/>
<StatusValidChange condition="" statusId="FAM_SCHEDULED"
statusIdTo="FAM_CANCELLED" transitionName="Scheduled Maintenace Cancelled"/>
<StatusValidChange condition="" statusId="FAM_IN_PROCESS"
statusIdTo="FAM_COMPLETED" transitionName="In-Process Maintenance Completed"/>
-
- <!-- The following three elements set up a regularly scheduled job that
will automatically create
- fixed asset maintenances from ProductMaint time intervals. -->
- <TemporalExpression tempExprId="FAM_AUTO_CREATE"
tempExprTypeId="FREQUENCY" description="Every Hour" integer1="12"
integer2="60"/>
- <JobSandbox jobId="FAM_AUTO_CREATE" jobName="Auto-create Fixed Asset
Maintenances" runTime="2000-01-01 00:00:00.000"
serviceName="createMaintsFromTimeInterval" poolId="pool" runAsUser="system"
tempExprId="FAM_AUTO_CREATE" maxRecurrenceCount="-1"/>
-
+
<!-- Fixed Asset Maintenance party roles -->
<RoleType description="Fixed Asset Maint Assignee" hasTable="N"
roleTypeId="FAM_ASSIGNEE"/>
<RoleType description="Maintenance Supplier or Service" hasTable="N"
parentTypeId="FAM_ASSIGNEE" roleTypeId="FAM_SUPPLIER"/>