1st part of an effort to remove trailing spaces
" +/> => "/> Should be easier when dealing with Eclipse S/R regexp git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@762648 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -907,40 +907,40 @@
|
||||
<!-- set the dates from the lower level tasks -->
|
||||
<if-not-empty field="lowInfo.estimatedStartDate">
|
||||
<if-empty field="highInfo.estimatedStartDate">
|
||||
<set field="highInfo.estimatedStartDate" from-field="lowInfo.estimatedStartDate" />
|
||||
<set field="highInfo.estimatedStartDate" from-field="lowInfo.estimatedStartDate"/>
|
||||
<else>
|
||||
<if-compare-field to-field="lowInfo.estimatedStartDate" field="highInfo.estimatedStartDate" operator="greater">
|
||||
<set field="highInfo.estimatedStartDate" from-field="lowInfo.estimatedStartDate" />
|
||||
<set field="highInfo.estimatedStartDate" from-field="lowInfo.estimatedStartDate"/>
|
||||
</if-compare-field>
|
||||
</else>
|
||||
</if-empty>
|
||||
</if-not-empty>
|
||||
<if-not-empty field="lowInfo.estimatedCompletionDate">
|
||||
<if-empty field="highInfo.estimatedCompletionDate">
|
||||
<set field="highInfo.estimatedCompletionDate" from-field="lowInfo.estimatedCompletionDate" />
|
||||
<set field="highInfo.estimatedCompletionDate" from-field="lowInfo.estimatedCompletionDate"/>
|
||||
<else>
|
||||
<if-compare-field to-field="lowInfo.estimatedCompletionDate" field="highInfo.estimatedCompletionDate" operator="less">
|
||||
<set field="highInfo.estimatedCompletionDate" from-field="lowInfo.estimatedCompletionDate" />
|
||||
<set field="highInfo.estimatedCompletionDate" from-field="lowInfo.estimatedCompletionDate"/>
|
||||
</if-compare-field>
|
||||
</else>
|
||||
</if-empty>
|
||||
</if-not-empty>
|
||||
<if-not-empty field="lowInfo.actualStartDate">
|
||||
<if-empty field="highInfo.actualStartDate">
|
||||
<set field="highInfo.actualStartDate" from-field="lowInfo.actualStartDate" />
|
||||
<set field="highInfo.actualStartDate" from-field="lowInfo.actualStartDate"/>
|
||||
<else>
|
||||
<if-compare-field to-field="lowInfo.actualStartDate" field="highInfo.actualStartDate" operator="greater">
|
||||
<set field="highInfo.actualStartDate" from-field="lowInfo.actualStartDate" />
|
||||
<set field="highInfo.actualStartDate" from-field="lowInfo.actualStartDate"/>
|
||||
</if-compare-field>
|
||||
</else>
|
||||
</if-empty>
|
||||
</if-not-empty>
|
||||
<if-not-empty field="lowInfo.actualCompletionDate">
|
||||
<if-empty field="highInfo.actualCompletionDate">
|
||||
<set field="highInfo.actualCompletionDate" from-field="lowInfo.actualCompletionDate" />
|
||||
<set field="highInfo.actualCompletionDate" from-field="lowInfo.actualCompletionDate"/>
|
||||
<else>
|
||||
<if-compare-field to-field="lowInfo.actualCompletionDate" field="highInfo.actualCompletionDate" operator="less">
|
||||
<set field="highInfo.actualCompletionDate" from-field="lowInfo.actualCompletionDate" />
|
||||
<set field="highInfo.actualCompletionDate" from-field="lowInfo.actualCompletionDate"/>
|
||||
</if-compare-field>
|
||||
</else>
|
||||
</if-empty>
|
||||
@@ -949,10 +949,10 @@
|
||||
<!-- combine the priorities -->
|
||||
<if-not-empty field="lowInfo.priority">
|
||||
<if-empty field="highInfo.priority">
|
||||
<set field="highInfo.priority" from-field="lowInfo.priority" />
|
||||
<set field="highInfo.priority" from-field="lowInfo.priority"/>
|
||||
<else>
|
||||
<if-compare-field to-field="lowInfo.priority" field="highInfo.priority" operator="greater">
|
||||
<set field="highInfo.priority" from-field="lowInfo.priority" />
|
||||
<set field="highInfo.priority" from-field="lowInfo.priority"/>
|
||||
</if-compare-field>
|
||||
</else>
|
||||
</if-empty>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<result-to-field result-name="custRequestId" field="custRequestId"/>
|
||||
</call-service>
|
||||
<if-not-empty field="parameters.workEffortParentId">
|
||||
<set-service-fields service-name="createWorkEffort" map="parameters" to-map="createTask" />
|
||||
<set-service-fields service-name="createWorkEffort" map="parameters" to-map="createTask"/>
|
||||
<set field="createTask.custRequestId" from-field="custRequestId"/>
|
||||
<set field="createTask.workEffortName" from-field="parameters.custRequestName"/>
|
||||
<call-service service-name="createWorkEffort" in-map-name="createTask" >
|
||||
@@ -40,7 +40,7 @@
|
||||
<set field="assignParty.partyId" from-field="parameters.partyId"/>
|
||||
<set field="assignParty.roleTypeId" from-field="parameters.roleTypeId"/>
|
||||
<set field="assignParty.statusId" value="PAS_ASSIGNED"/>
|
||||
<call-service service-name="assignPartyToWorkEffort" in-map-name="assignParty" />
|
||||
<call-service service-name="assignPartyToWorkEffort" in-map-name="assignParty"/>
|
||||
</if-not-empty>
|
||||
</if-not-empty>
|
||||
</simple-method>
|
||||
|
||||
Reference in New Issue
Block a user