Applied patch from JIRA issue OFBIZ-1966.
Thanks Awdesh Parihar for your contribution and thanks Ratnesh for your support. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@697833 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -76,6 +76,9 @@
|
||||
<then>
|
||||
<!-- roleType and/or partyId changed: end old and create new assign-->
|
||||
<entity-one entity-name="WorkEffortPartyAssignment" value-name="workEffortPartyAssignment"/>
|
||||
<set field="workEffortPartyAssignment.delegateReasonEnumId" from-field="parameters.delegateReasonEnumId"/>
|
||||
<set field="workEffortPartyAssignment.comments" from-field="parameters.comments"/>
|
||||
<set field="workEffortPartyAssignment.assignedByUserLoginId" from-field="userLogin.userLoginId"/>
|
||||
<now-date-to-env env-name="workEffortPartyAssignment.thruDate"/>
|
||||
<store-value value-name="workEffortPartyAssignment"/>
|
||||
<!-- create a new one -->
|
||||
@@ -83,6 +86,7 @@
|
||||
<set field="newAssign.workEffortId" from-field="parameters.workEffortId"/>
|
||||
<set field="newAssign.partyId" from-field="parameters.newPartyId"/>
|
||||
<set field="newAssign.roleTypeId" from-field="parameters.newRoleTypeId"/>
|
||||
<set field="newAssign.assignedByUserLoginId" from-field="userLogin.userLoginId"/>
|
||||
<now-date-to-env env-name="newAssign.fromDate"/>
|
||||
<set field="newAssign.statusId" value="PAS_ASSIGNED"/>
|
||||
<create-value value-name="newAssign"/>
|
||||
|
||||
@@ -222,6 +222,8 @@ under the License.
|
||||
<attribute name="roleTypeId" type="String" mode="IN"/>
|
||||
<attribute name="statusId" type="String" mode="IN"/>
|
||||
<attribute name="fromDate" type="Timestamp" mode="INOUT" optional="true"/>
|
||||
<attribute name="delegateReasonEnumId" type="String" mode="IN" optional="true"/>
|
||||
<attribute name="comments" type="String" mode="IN" optional="true"/>
|
||||
</service>
|
||||
<service name="addProjectTimeToNewInvoice" engine="simple" auth="true"
|
||||
location="org/ofbiz/project/ProjectServices.xml" invoke="addProjectTimeToNewInvoice">
|
||||
|
||||
Reference in New Issue
Block a user