Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml Tue Dec 30 04:01:09 2008 @@ -38,7 +38,7 @@ </if-empty> <set field="newEntity.receivedByUserLoginId" from-field="userLogin.userLoginId"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <if-not-empty field="parameters.inventoryItemDetailSeqId"> <entity-one entity-name="InventoryItemDetail" value-name="invDet"> @@ -58,7 +58,7 @@ <set-pk-fields map="parameters" value-field="newEntity"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="removeShipmentReceiptRole" short-description="Remove a ShipmentReceipt Role"> Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml (original) +++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml Tue Dec 30 04:01:09 2008 @@ -91,7 +91,7 @@ </if-not-empty> --> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <!-- get the ShipmentStatus history started --> <if-not-empty field="newEntity.statusId"> @@ -99,7 +99,7 @@ <set from-field="newEntity.statusId" field="newStatusValue.statusId"/> <set from-field="newEntity.shipmentId" field="newStatusValue.shipmentId"/> <now-timestamp-to-env env-name="newStatusValue.statusDate"/> - <create-value value-name="newStatusValue"/> + <create-value value-field="newStatusValue"/> </if-not-empty> </simple-method> <simple-method method-name="updateShipment" short-description="Update Shipment"> @@ -131,7 +131,7 @@ <set from-field="parameters.statusId" field="newStatusValue.statusId"/> <set from-field="parameters.shipmentId" field="newStatusValue.shipmentId"/> <now-timestamp-to-env env-name="newStatusValue.statusDate"/> - <create-value value-name="newStatusValue"/> + <create-value value-field="newStatusValue"/> </if-compare-field> </if-not-empty> @@ -792,7 +792,7 @@ <!-- if no shipmentItemSeqId, generate one based on existing items, ie one greater than the current higher number --> <make-next-seq-id value-name="newEntity" seq-field-name="shipmentItemSeqId"/> <field-to-result field-name="shipmentItemSeqId" map-name="newEntity" result-name="shipmentItemSeqId"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateShipmentItem" short-description="Update ShipmentItem"> <check-permission permission="FACILITY" action="_UPDATE"> @@ -925,7 +925,7 @@ <now-timestamp-to-env env-name="newEntity.dateCreated"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <set from-field="newEntity.shipmentId" field="shipmentId"/> <set from-field="newEntity.shipmentPackageSeqId" field="shipmentPackageSeqId"/> @@ -995,7 +995,7 @@ <set-pk-fields map="parameters" value-field="newEntity"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <field-to-result field-name="shipmentPackageSeqId" map-name="newEntity" result-name="shipmentPackageSeqId"/> </simple-method> <simple-method method-name="updateShipmentPackageContent" short-description="Update ShipmentPackageContent"> @@ -1065,7 +1065,7 @@ <set-pk-fields map="parameters" value-field="newEntity"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateShipmentPackageRouteSeg" short-description="Update ShipmentPackageRouteSeg"> <check-permission permission="FACILITY" action="_UPDATE"> @@ -1104,7 +1104,7 @@ <set-pk-fields map="parameters" value-field="newEntity"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateShipmentContactMech" short-description="Update ShipmentContactMech"> <check-permission permission="FACILITY" action="_UPDATE"> @@ -1153,7 +1153,7 @@ <set value="SHRSCS_NOT_STARTED" field="newEntity.carrierServiceStatusId"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <set from-field="newEntity.shipmentId" field="shipmentId"/> <set from-field="newEntity.shipmentRouteSegmentId" field="shipmentRouteSegmentId"/> @@ -1268,7 +1268,7 @@ <make-value value-field="carrierShipmentMethod" entity-name="CarrierShipmentMethod"/> <set-pk-fields map="parameters" value-field="carrierShipmentMethod"/> <set-nonpk-fields map="parameters" value-field="carrierShipmentMethod"/> - <create-value value-name="carrierShipmentMethod"/> + <create-value value-field="carrierShipmentMethod"/> </simple-method> <simple-method method-name="updateCarrierShipmentMethod" short-description="Updates a CarrierShipmentMethod"> <entity-one entity-name="CarrierShipmentMethod" value-name="carrierShipmentMethod"/> @@ -1284,7 +1284,7 @@ <make-value value-field="shipmentMethodType" entity-name="ShipmentMethodType"/> <set-pk-fields map="parameters" value-field="shipmentMethodType"/> <set-nonpk-fields map="parameters" value-field="shipmentMethodType"/> - <create-value value-name="shipmentMethodType"/> + <create-value value-field="shipmentMethodType"/> </simple-method> <simple-method method-name="updateShipmentMethodType" short-description="Updates a ShipmentMethodType"> <entity-one entity-name="ShipmentMethodType" value-name="shipmentMethodType"/> @@ -2016,7 +2016,7 @@ <make-value value-field="quantityBreak" entity-name="QuantityBreak"/> <set-nonpk-fields map="parameters" value-field="quantityBreak"/> <sequenced-id-to-env sequence-name="QuantityBreak" env-name="quantityBreak.quantityBreakId"/> - <create-value value-name="quantityBreak"/> + <create-value value-field="quantityBreak"/> <check-errors/> </simple-method> Modified: ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/securitygroup/SecurityGroupServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/securitygroup/SecurityGroupServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/securitygroup/SecurityGroupServices.xml (original) +++ ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/securitygroup/SecurityGroupServices.xml Tue Dec 30 04:01:09 2008 @@ -29,7 +29,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateSecurityGroup" short-description="Update an SecurityGroup"> <check-permission permission="SECURITY" action="_UPDATE"><fail-message message="Security Error: to run updateSecurityGroup you must have the SECURITY_UPDATE or SECURITY_ADMIN permission"/></check-permission> @@ -51,7 +51,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateSecurityPermission" short-description="Update an SecurityPermission"> <check-permission permission="SECURITY" action="_UPDATE"><fail-message message="Security Error: to run updateSecurityPermission you must have the SECURITY_UPDATE or SECURITY_ADMIN permission"/></check-permission> @@ -75,7 +75,7 @@ <!-- clear the org.ofbiz.security.Security object's custom cache by newEntity --> <call-bsh><![CDATA[ org.ofbiz.security.Security.securityGroupPermissionCache.remove(newEntity); ]]></call-bsh> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="removeSecurityPermissionFromSecurityGroup" short-description="Remove SecurityPermission From SecurityGroup"> <check-permission permission="SECURITY" action="_DELETE"><fail-message message="Security Error: to run removeSecurityPermissionFromSecurityGroup you must have the SECURITY_DELETE or SECURITY_ADMIN permission"/></check-permission> @@ -104,7 +104,7 @@ <set from-field="nowTimestamp" field="newEntity.fromDate"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <!-- clear the org.ofbiz.security.Security object's custom cache by userLoginId --> <call-bsh><![CDATA[ org.ofbiz.security.Security.userLoginSecurityGroupByUserLoginId.remove(parameters.get("userLoginId")); ]]></call-bsh> @@ -147,7 +147,7 @@ <!-- clear the org.ofbiz.security.Security object's custom cache by newEntity --> <call-bsh><![CDATA[ org.ofbiz.security.Security.userLoginSecurityGroupByUserLoginId.remove(newEntity); ]]></call-bsh> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateProtectedViewToSecurityGroup" short-description="Update ProtectedView to SecurityGroup"> <check-permission permission="SECURITY" action="_UPDATE"><fail-message message="Security Error: to run updateProtectedViewToSecurityGroup you must have the SECURITY_UPDATE or SECURITY_ADMIN permission"/></check-permission> Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml (original) +++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml Tue Dec 30 04:01:09 2008 @@ -31,7 +31,7 @@ <if-empty field="newEntity.statusId"> <set field="newEntity.statusId" value="TIMESHEET_IN_PROCESS"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateTimesheet" short-description="Update Timesheet"> <call-simple-method method-name="checkTimesheetStatus"/> @@ -283,7 +283,7 @@ <make-value value-field="newEntity" entity-name="TimesheetRole"/> <set-pk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="deleteTimesheetRole" short-description="Delete TimesheetRole"> <check-permission permission="WORKEFFORTMGR" action="_DELETE"><fail-message message="You do not have permission to perform this operation: ${methodShortDescription}."/></check-permission> @@ -308,7 +308,7 @@ <field field-name="nowTimestamp" type="java.sql.Timestamp"/> </call-class-method> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateTimeEntry" short-description="Update TimeEntry"> <entity-one entity-name="TimeEntry" value-name="lookedUpValue"/> Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml (original) +++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml Tue Dec 30 04:01:09 2008 @@ -50,7 +50,7 @@ <set field="newEntity.revisionNumber" value="1" type="Long"/> <set from-field="userLogin.userLoginId" field="newEntity.lastModifiedByUserLogin"/> <set from-field="userLogin.userLoginId" field="newEntity.createdByUserLogin"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <!-- create new status entry, and set lastStatusUpdate date --> <make-value value-field="newWorkEffortStatus" entity-name="WorkEffortStatus"/> @@ -58,14 +58,14 @@ <set from-field="newEntity.currentStatusId" field="newWorkEffortStatus.statusId"/> <set from-field="nowTimestamp" field="newWorkEffortStatus.statusDatetime"/> <set from-field="userLogin.userLoginId" field="newWorkEffortStatus.setByUserLogin"/> - <create-value value-name="newWorkEffortStatus"/> + <create-value value-field="newWorkEffortStatus"/> <!-- Attach the workeffort to a requirement if passed --> <if-not-empty field="parameters.requirementId"> <make-value value-field="workFullfillment" entity-name="WorkRequirementFulfillment"/> <set from-field="newEntity.workEffortId" field="workFullfillment.workEffortId"/> <set from-field="parameters.requirementId" field="workFullfillment.requirementId"/> - <create-value value-name="workFullfillment"/> + <create-value value-field="workFullfillment"/> </if-not-empty> <!-- attach to a customer request if passed and copy attached docs --> @@ -82,7 +82,7 @@ <make-value value-field="custRequestWorkEffort" entity-name="CustRequestWorkEffort"/> <set field="custRequestWorkEffort.workEffortId" from-field="newEntity.workEffortId" /> <set field="custRequestWorkEffort.custRequestId" from-field="parameters.custRequestId"/> - <create-value value-name="custRequestWorkEffort"/> + <create-value value-field="custRequestWorkEffort"/> <!-- update status of customer request --> <set field="updCustReq.custRequestId" from-field="parameters.custRequestId"/> <set field="updCustReq.statusId" value="CRQ_REVIEWED"/> @@ -147,7 +147,7 @@ <set from-field="parameters.reason" field="newWorkEffortStatus.reason"/> <set from-field="nowTimestamp" field="newWorkEffortStatus.statusDatetime"/> <set from-field="userLogin.userLoginId" field="newWorkEffortStatus.setByUserLogin"/> - <create-value value-name="newWorkEffortStatus"/> + <create-value value-field="newWorkEffortStatus"/> </then> </if> <!-- after checking status change, set all parameters --> @@ -209,7 +209,7 @@ <if-empty field="eventWe.workEffortId"> <set-nonpk-fields map="parameters" value-field="lookupMap"/> <set field="eventWe.description" from-field="parameters.relationDescription"/> - <create-value value-name="lookupMap"/> + <create-value value-field="lookupMap"/> </if-empty> <field-to-result field-name="workEffortId" map-name="lookupMap"/> <field-to-result field-name="communicationEventId" map-name="lookupMap"/> @@ -279,7 +279,7 @@ <field field-name="dispatcher" type="org.ofbiz.service.LocalDispatcher"/> </call-class-method> </if-not-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updatePartyToWorkEffortAssignment" short-description="Update WorkEffortPartyAssignment entity"> <entity-one entity-name="WorkEffortPartyAssignment" value-name="workEffortPartyAssignment"/> @@ -343,7 +343,7 @@ <set-nonpk-fields map="parameters" value-field="newValue"/> <field-to-result field-name="contactMechId" map-name="newValue"/> <field-to-request field-name="contactMechId" map-name="newValue"/> - <create-value value-name="newValue"/> + <create-value value-field="newValue"/> </simple-method> <simple-method method-name="updateWorkEffortContactMech" short-description="Update a WorkEffortContactMech"> @@ -375,7 +375,7 @@ <if-compare-field to-field="newWorkEffortContactMech.contactMechId" field="parameters.contactMechId" operator="not-equals"> <set-nonpk-fields value-field="newWorkEffortContactMech" map="parameters" set-if-null="false"/> - <create-value value-name="newWorkEffortContactMech"/> + <create-value value-field="newWorkEffortContactMech"/> <remove-value value-name="workEffortContactMech"/> </if-compare-field> @@ -537,7 +537,7 @@ <set value="CAL_OWNER" field="newWorkEffortPartyAssignment.roleTypeId"/> <set value="PRTYASGN_ASSIGNED" field="newWorkEffortPartyAssignment.statusId"/> <set from-field="nowTimestamp" field="newWorkEffortPartyAssignment.fromDate"/> - <create-value value-name="newWorkEffortPartyAssignment"/> + <create-value value-field="newWorkEffortPartyAssignment"/> </if-not-empty> </simple-method> <simple-method method-name="quickAssignPartyToWorkEffortWithRole" short-description="Quick Assign Party To WorkEffort"> @@ -555,7 +555,7 @@ <set from-field="parameters.roleTypeId" field="newWorkEffortPartyAssignment.roleTypeId"/> <set value="CAL_ACCEPTED" field="newWorkEffortPartyAssignment.statusId"/> <now-timestamp-to-env env-name="newWorkEffortPartyAssignment.fromDate"/> - <create-value value-name="newWorkEffortPartyAssignment"/> + <create-value value-field="newWorkEffortPartyAssignment"/> </if-not-empty> </simple-method> <simple-method method-name="createWorkEffortNote" short-description="Create Work Effort Note"> @@ -571,14 +571,14 @@ </if-not-empty> <set from-field="parameters.noteName" field="newEntity.noteName"/> <now-timestamp-to-env env-name="newEntity.noteDateTime"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <!-- create new status entry, and set lastStatusUpdate date --> <make-value value-field="newWorkEffortNote" entity-name="WorkEffortNote"/> <set from-field="newEntity.noteId" field="newWorkEffortNote.noteId"/> <set from-field="parameters.workEffortId" field="newWorkEffortNote.workEffortId"/> <set from-field="parameters.internalNote" field="newWorkEffortNote.internalNote"/> - <create-value value-name="newWorkEffortNote"/> + <create-value value-field="newWorkEffortNote"/> </simple-method> <simple-method method-name="updateWorkEffortNote" short-description="Update Work Effort Note"> <entity-one entity-name="WorkEffortNote" value-name="lookedUpValue"/> @@ -631,7 +631,7 @@ <if-empty field="newEntity.sequenceNum"> <set field="newEntity.sequenceNum" value="0" type="Long"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </else> </if-not-empty> </simple-method> @@ -657,7 +657,7 @@ <now-timestamp-to-env env-name="newEntity.fromDate"/> </if-empty> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </else> </if-not-empty> </simple-method> @@ -684,7 +684,7 @@ <make-value value-field="newEntity" entity-name="WorkEffortInventoryAssign"/> <set-pk-fields map="parameters" value-field="newEntity"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </else> </if-not-empty> </simple-method> @@ -699,7 +699,7 @@ <check-errors/> </if-not-empty> <set-nonpk-fields map="parameters" value-field="lookupMap"/> - <create-value value-name="lookupMap"/> + <create-value value-field="lookupMap"/> <field-to-result field-name="custRequestId" map-name="lookupMap"/> </simple-method> <simple-method method-name="deleteWorkEffortRequest" short-description="Delete a CustRequestWorkEffort"> @@ -721,7 +721,7 @@ <check-errors/> </if-not-empty> <set-nonpk-fields map="parameters" value-field="lookupMap"/> - <create-value value-name="lookupMap"/> + <create-value value-field="lookupMap"/> </simple-method> <simple-method method-name="deleteWorkEffortRequestItem" short-description="Delete a CustRequestItemWorkEffort"> <entity-one entity-name="CustRequestItemWorkEffort" value-name="custRequestItemWorkEffort"/> @@ -755,7 +755,7 @@ <check-errors/> </if-not-empty> <set-nonpk-fields map="parameters" value-field="lookupMap"/> - <create-value value-name="lookupMap"/> + <create-value value-field="lookupMap"/> <field-to-result field-name="quoteId" map-name="lookupMap"/> </simple-method> <simple-method method-name="deleteWorkEffortQuote" short-description="Delete a QuoteWorkEffort"> @@ -777,7 +777,7 @@ <check-errors/> </if-not-empty> <set-nonpk-fields map="parameters" value-field="lookupMap"/> - <create-value value-name="lookupMap"/> + <create-value value-field="lookupMap"/> <field-to-result field-name="requirementId" map-name="lookupMap"/> </simple-method> <simple-method method-name="deleteWorkRequirementFulfillment" short-description="Delete a WorkRequirementFulfillment"> @@ -799,7 +799,7 @@ <check-errors/> </if-not-empty> <set-nonpk-fields map="parameters" value-field="lookupMap"/> - <create-value value-name="lookupMap"/> + <create-value value-field="lookupMap"/> <field-to-result field-name="shoppingListId" map-name="lookupMap"/> </simple-method> <simple-method method-name="deleteShoppingListWorkEffort" short-description="Delete a ShoppingListWorkEffort"> @@ -821,7 +821,7 @@ <check-errors/> </if-not-empty> <set-nonpk-fields map="parameters" value-field="lookupMap"/> - <create-value value-name="lookupMap"/> + <create-value value-field="lookupMap"/> <field-to-result field-name="orderId" map-name="lookupMap"/> </simple-method> <simple-method method-name="deleteOrderHeaderWorkEffort" short-description="Delete a OrderHeaderWorkEffort"> @@ -848,7 +848,7 @@ <set from-field="workEffort.currentStatusId" field="newEntity.statusId"/> <set from-field="workEffort.estimatedStartDate" field="newEntity.fromDate"/> <set from-field="workEffort.estimatedCompletionDate" field="newEntity.thruDate"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <!-- WorkEffort-FixedAsset --> @@ -868,7 +868,7 @@ <make-value entity-name="WorkEffortFixedAssetStd" value-field="newWEFixedAssetStd" /> <set-pk-fields map="parameters" value-field="newWEFixedAssetStd" /> <set-nonpk-fields map="parameters" value-field="newWEFixedAssetStd" /> - <create-value value-name="newWEFixedAssetStd" /> + <create-value value-field="newWEFixedAssetStd" /> </else> </if-not-empty> </simple-method> @@ -918,7 +918,7 @@ <set field="newWEFixedAssetAssign.fromDate" from-field="prodRunTask.actualStartDate" /> </if-not-empty> </if-empty> - <create-value value-name="newWEFixedAssetAssign" /> + <create-value value-field="newWEFixedAssetAssign" /> </else> </if-not-empty> </simple-method> @@ -959,7 +959,7 @@ <set field="newEntity.fromDate" from-field="nowTimestamp"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateWorkEffortContent" short-description="Update Work Effort Content"> <!-- need a better way to handle permissions @@ -1003,7 +1003,7 @@ <now-timestamp-to-env env-name="nowTimestamp"/> <set field="newEntity.reviewDate" from-field="nowTimestamp"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </else> </if-not-empty> </simple-method> @@ -1061,7 +1061,7 @@ <check-errors/> <set-pk-fields value-field="newEntity" map="parameters"></set-pk-fields> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </else> </if-not-empty> <check-errors/> @@ -1121,7 +1121,7 @@ <!-- set the workEffortId, and write it to the datasource --> <set from-field="parameters.workEffortId" field="newWorkEffort.workEffortId"/> - <create-value value-name="newWorkEffort"/> + <create-value value-field="newWorkEffort"/> <!-- set up entity filter for workEffortAssoc--> <set field="workEffortAssocFindContext.workEffortIdFrom" from-field="parameters.oldWorkEffortId"/> @@ -1131,7 +1131,7 @@ <iterate entry="foundValue" list="foundValues"> <clone-value value-name="foundValue" new-value-name="newTempValue"/> <set from-field="parameters.workEffortId" field="newTempValue.workEffortIdFrom"/> - <create-value value-name="newTempValue"/> + <create-value value-field="newTempValue"/> </iterate> <entity-and entity-name="WorkEffortAssoc" list-name="foundValues"> <field-map field-name="workEffortIdTo" from-field="parameters.oldWorkEffortId"/> @@ -1139,7 +1139,7 @@ <iterate entry="foundValue" list="foundValues"> <clone-value value-name="foundValue" new-value-name="newTempValue"/> <set from-field="parameters.workEffortId" field="newTempValue.workEffortIdTo"/> - <create-value value-name="newTempValue"/> + <create-value value-field="newTempValue"/> </iterate> </if-not-empty> @@ -1151,7 +1151,7 @@ <iterate entry="foundValue" list="foundValues"> <clone-value value-name="foundValue" new-value-name="newTempValue"/> <set from-field="parameters.workEffortId" field="newTempValue.workEffortId"/> - <create-value value-name="newTempValue"/> + <create-value value-field="newTempValue"/> </iterate> </if-not-empty> <if-not-empty field="parameters.duplicateWorkEffortContents"> @@ -1159,7 +1159,7 @@ <iterate entry="foundValue" list="foundValues"> <clone-value value-name="foundValue" new-value-name="newTempValue"/> <set from-field="parameters.workEffortId" field="newTempValue.workEffortId"/> - <create-value value-name="newTempValue"/> + <create-value value-field="newTempValue"/> </iterate> </if-not-empty> <if-not-empty field="parameters.duplicateWorkEffortAssignmentRates"> @@ -1168,7 +1168,7 @@ <iterate entry="foundValue" list="foundValues"> <clone-value value-name="foundValue" new-value-name="newTempValue"/> <set from-field="parameters.workEffortId" field="newTempValue.workEffortId"/> - <create-value value-name="newTempValue"/> + <create-value value-field="newTempValue"/> </iterate> </if-not-empty> @@ -1193,7 +1193,7 @@ <make-value entity-name="WorkEffortSkillStandard" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateWorkEffortSkillStandard" short-description="Update WorkEffortSkillStandard"> <entity-one entity-name="WorkEffortSkillStandard" value-name="lookedUpValue"/> @@ -1207,7 +1207,7 @@ <simple-method method-name="createWorkEffortInventoryProduced" short-description="Create Work Effort InventoryProduced"> <make-value entity-name="WorkEffortInventoryProduced" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="deleteWorkEffortInventoryProduced" short-description="Delete Work Effort InventoryProduced"> <entity-one entity-name="WorkEffortInventoryProduced" value-name="lookedUpValue"/> Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml (original) +++ ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml Tue Dec 30 04:01:09 2008 @@ -33,7 +33,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <call-object-method obj-field-name="newEntity.enteredKeyword" method-name="toLowerCase" ret-field-name="newEntity.enteredKeyword"/> <call-object-method obj-field-name="newEntity.alternateKeyword" method-name="toLowerCase" ret-field-name="newEntity.alternateKeyword"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateKeywordThesaurus" short-description="Update a KeywordThesaurus"> <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateKeywordThesaurus you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission> @@ -56,7 +56,7 @@ <make-value value-field="newEntity" entity-name="UomConversionDated"/> <set-pk-fields map="parameters" value-field="newEntity"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="convertUom" short-description="Convert UOM values" login-required="false"> Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/EnumerationServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/EnumerationServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/framework/common/script/org/ofbiz/common/EnumerationServices.xml (original) +++ ofbiz/trunk/framework/common/script/org/ofbiz/common/EnumerationServices.xml Tue Dec 30 04:01:09 2008 @@ -26,7 +26,7 @@ <sequenced-id-to-env sequence-name="Enumeration" env-name="newEntity.enumId"/> <!-- get the next sequenced ID --> <field-to-result field-name="newEntity.enumId" result-name="enumId"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateEnumeration" short-description="update a Enumeration"> <entity-one entity-name="Enumeration" value-name="lookedUpValue"/> Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml (original) +++ ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml Tue Dec 30 04:01:09 2008 @@ -31,7 +31,7 @@ <set field="newEntity.columnNum" value="1"/> <make-next-seq-id value-name="newEntity" seq-field-name="portletSeqId"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <check-errors/> <remove-value value-name="oldEntity"/> @@ -44,7 +44,7 @@ <make-next-seq-id value-name="newEntity" seq-field-name="columnSeqId"/> <field-to-result field-name="newEntity.columnSeqId" result-name="columnSeqId"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="deletePortalPageColumn" short-description="Delete a Column from a PortalPage"> @@ -71,11 +71,11 @@ <make-next-seq-id value-name="newEntity" seq-field-name="portletSeqId"/> <field-to-result field-name="newEntity.portletSeqId" result-name="portletSeqId"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <make-value entity-name="PortalPageColumn" value-field="newEntity1"/> <set-pk-fields map="parameters" value-field="newEntity1"/> <make-next-seq-id value-name="newEntity1" seq-field-name="columnSeqId"/> - <create-value value-name="newEntity1"/> + <create-value value-field="newEntity1"/> </simple-method> <simple-method method-name="deletePortalPagePortlet" short-description="Delete a PortalPortlet from a PortalPageColumn"> @@ -110,12 +110,12 @@ <make-next-seq-id value-name="newPortalPage" seq-field-name="portalPageId"/> <set-nonpk-fields map="parameters" value-field="newPortalPage"/> - <create-value value-name="newPortalPage"/> + <create-value value-field="newPortalPage"/> <make-value entity-name="PortalPageColumn" value-field="newPortalPageColumn"/> <set field="newPortalPageColumn.portalPageId" from-field="newPortalPage.portalPageId"/> <set field="newPortalPageColumn.columnSeqId" value="1"/> - <create-value value-name="newPortalPageColumn"/> + <create-value value-field="newPortalPageColumn"/> <field-to-result field-name="newPortalPage.portalPageId" result-name="portalPageId"/> </simple-method> Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceServices.xml (original) +++ ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceServices.xml Tue Dec 30 04:01:09 2008 @@ -26,7 +26,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateDataSource" short-description="Update an DataSource"> <make-value entity-name="DataSource" value-field="lookupPKMap"/> Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceTypeServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceTypeServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceTypeServices.xml (original) +++ ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceTypeServices.xml Tue Dec 30 04:01:09 2008 @@ -25,7 +25,7 @@ <make-value value-field="newEntity" entity-name="DataSourceType"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateDataSourceType" short-description="Update an DataSourceType"> <make-value entity-name="DataSourceType" value-field="lookupPKMap"/> Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/olap/CommonDimensionServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/olap/CommonDimensionServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/framework/common/script/org/ofbiz/common/olap/CommonDimensionServices.xml (original) +++ ofbiz/trunk/framework/common/script/org/ofbiz/common/olap/CommonDimensionServices.xml Tue Dec 30 04:01:09 2008 @@ -40,7 +40,7 @@ <sequenced-id-to-env sequence-name="CurrencyDimension" env-name="currencyDim.dimensionId"/> <set field="currencyDim.currencyId" from-field="currency.uomId"/> <set field="currencyDim.description" from-field="currency.description"/> - <create-value value-name="currencyDim"/> + <create-value value-field="currencyDim"/> </else> </if-not-empty> </iterate> Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/period/PeriodServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/period/PeriodServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/framework/common/script/org/ofbiz/common/period/PeriodServices.xml (original) +++ ofbiz/trunk/framework/common/script/org/ofbiz/common/period/PeriodServices.xml Tue Dec 30 04:01:09 2008 @@ -32,7 +32,7 @@ <set from-field="customTimePeriodId" field="newEntity.customTimePeriodId"/> <field-to-result field-name="customTimePeriodId" result-name="customTimePeriodId"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateCustomTimePeriod" short-description="Update a CustomTimePeriod"> <check-permission permission="PERIOD_MAINT"><fail-message message="Security Error: to run updateCustomTimePeriod you must have the PERIOD_MAINT permission"/></check-permission> Modified: ofbiz/trunk/framework/entityext/script/org/ofbiz/entityext/synchronization/EntitySyncServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/script/org/ofbiz/entityext/synchronization/EntitySyncServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/framework/entityext/script/org/ofbiz/entityext/synchronization/EntitySyncServices.xml (original) +++ ofbiz/trunk/framework/entityext/script/org/ofbiz/entityext/synchronization/EntitySyncServices.xml Tue Dec 30 04:01:09 2008 @@ -31,7 +31,7 @@ <set field="newEntity.entitySyncId" from-field="entitySyncId"/> <field-to-result field-name="entitySyncId" result-name="entitySyncId"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateEntitySync" short-description="Update a EntitySync"> <check-permission permission="ENTITY_SYNC" action="_UPDATE"><fail-message message="Security Error: to run updateEntitySync you must have the ENTITY_SYNC_UPDATE or ENTITY_SYNC_ADMIN permission"/></check-permission> @@ -65,7 +65,7 @@ <now-timestamp-to-env env-name="newEntity.startDate"/> <field-to-result field-name="newEntity.startDate" result-name="startDate"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <!-- also set the lastHistoryStartDate on the EntitySync --> <entity-one entity-name="EntitySync" value-name="entitySync"/> @@ -100,7 +100,7 @@ <make-value value-field="newEntity" entity-name="EntitySyncInclude"/> <set-pk-fields map="parameters" value-field="newEntity"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateEntitySyncInclude" short-description="Update EntitySyncInclude"> <check-permission permission="ENTITY_SYNC" action="_UPDATE"><fail-message message="Security Error: to run updateEntitySyncInclude you must have the ENTITY_SYNC_UPDATE or ENTITY_SYNC_ADMIN permission"/></check-permission> Modified: ofbiz/trunk/framework/example/script/org/ofbiz/example/example/ExampleServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/script/org/ofbiz/example/example/ExampleServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/framework/example/script/org/ofbiz/example/example/ExampleServices.xml (original) +++ ofbiz/trunk/framework/example/script/org/ofbiz/example/example/ExampleServices.xml Tue Dec 30 04:01:09 2008 @@ -39,7 +39,7 @@ <set-pk-fields map="parameters" value-field="newEntity"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> <set field="newEntity.statusDate" from-field="nowTimestamp"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <!-- Example ServiceTest Service --> Modified: ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/Events.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/Events.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/Events.xml (original) +++ ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/Events.xml Tue Dec 30 04:01:09 2008 @@ -128,14 +128,14 @@ <make-value entity-name="PartyRole" value-field="partyRole" /> <set field="partyRole.partyId" value="${commEvent.partyIdTo}" /> <set field="partyRole.roleTypeId" value="ADDRESSEE" /> - <create-value value-name="partyRole" /> + <create-value value-field="partyRole" /> </if-empty> <make-value entity-name="CommunicationEventRole" value-field="commRole" /> <set field="commRole.communicationEventId" from-field="commEvent.communicationEventId" /> <set field="commRole.partyId" from-field="commEvent.partyIdTo" /> <set field="commRole.roleTypeId" value="ADDRESSEE" /> <set field="commRole.statusId" value="COM_ROLE_COMPLETED"/> - <create-value value-name="commRole" /> + <create-value value-field="commRole" /> </if-not-empty> <!-- partyIdFrom --> @@ -148,13 +148,13 @@ <make-value entity-name="PartyRole" value-field="partyRole" /> <set field="partyRole.partyId" value="${commEvent.partyIdFrom}" /> <set field="partyRole.roleTypeId" value="ORIGINATOR" /> - <create-value value-name="partyRole" /> + <create-value value-field="partyRole" /> </if-empty> <set field="commRole.communicationEventId" from-field="commEvent.communicationEventId" /> <set field="commRole.partyId" from-field="commEvent.partyIdFrom" /> <set field="commRole.roleTypeId" value="ORIGINATOR" /> <set field="commRole.statusId" value="COM_ROLE_COMPLETED"/> - <create-value value-name="commRole" /> + <create-value value-field="commRole" /> </if-not-empty> <calculate field-name="count"> <number value="1" /> Modified: ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml (original) +++ ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml Tue Dec 30 04:01:09 2008 @@ -131,7 +131,7 @@ <make-value entity-name="PartyRole" value-field="partyRole"/> <set field="partyRole.partyId" value="${commEvent.partyIdTo}"/> <set field="partyRole.roleTypeId" value="ADDRESSEE"/> - <create-value value-name="partyRole"/> + <create-value value-field="partyRole"/> </if-empty> <make-value entity-name="CommunicationEventRole" value-field="commRole"/> <set field="commRole.communicationEventId" @@ -139,7 +139,7 @@ <set field="commRole.partyId" from-field="commEvent.partyIdTo"/> <set field="commRole.roleTypeId" value="ADDRESSEE"/> <set field="commRole.statusId" value="COM_ROLE_COMPLETED"/> - <create-value value-name="commRole"/> + <create-value value-field="commRole"/> </if-not-empty> <!-- partyIdFrom --> @@ -152,14 +152,14 @@ <make-value entity-name="PartyRole" value-field="partyRole"/> <set field="partyRole.partyId" value="${commEvent.partyIdFrom}"/> <set field="partyRole.roleTypeId" value="ORIGINATOR"/> - <create-value value-name="partyRole"/> + <create-value value-field="partyRole"/> </if-empty> <set field="commRole.communicationEventId" from-field="commEvent.communicationEventId"/> <set field="commRole.partyId" from-field="commEvent.partyIdFrom"/> <set field="commRole.roleTypeId" value="ORIGINATOR"/> <set field="commRole.statusId" value="COM_ROLE_COMPLETED"/> - <create-value value-name="commRole"/> + <create-value value-field="commRole"/> </if-not-empty> <calculate field-name="count"> <number value="1"/> Modified: ofbiz/trunk/specialpurpose/oagis/script/org/ofbiz/oagis/OagisMessageServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/script/org/ofbiz/oagis/OagisMessageServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/oagis/script/org/ofbiz/oagis/OagisMessageServices.xml (original) +++ ofbiz/trunk/specialpurpose/oagis/script/org/ofbiz/oagis/OagisMessageServices.xml Tue Dec 30 04:01:09 2008 @@ -33,7 +33,7 @@ </if-not-empty> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <!--if-compare value="1" field-name="newEntity.confirmation" operator="equals" type="Integer"> <set-service-fields to-map-name="oagisMessageErrorInfoMap" service-name="createOagisMessageErrorInfo" map-name="parameters"/> <call-service service-name="createOagisMessageErrorInfo" in-map-name="oagisMessageErrorInfoMap"/> @@ -51,7 +51,7 @@ <set-pk-fields map="parameters" value-field="newEntity" /> <make-next-seq-id value-name="newEntity" seq-field-name="errorSeqId"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateOagisMessageErrorInfo" short-description="Update Oagis MessageErrorInfo"> Modified: ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml Tue Dec 30 04:01:09 2008 @@ -90,7 +90,7 @@ <set field="workEffortPartyAssignment.partyId" from-field="updProjectRole.newPartyId"/> <set field="workEffortPartyAssignment.roleTypeId" from-field="updProjectRole.roleTypeId"/> <now-timestamp-to-env env-name="workEffortPartyAssignment.fromDate"/> - <create-value value-name="workEffortPartyAssignment"/> + <create-value value-field="workEffortPartyAssignment"/> </then> </if> </simple-method> @@ -153,7 +153,7 @@ <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"/> + <create-value value-field="newAssign"/> </then> <else> <if-not-empty field="parameters.fromDate"> @@ -1338,7 +1338,7 @@ <set field="newAssign.assignedByUserLoginId" value="system"/> <now-date-to-env env-name="newAssign.fromDate"/> <set field="newAssign.statusId" value="PAS_ASSIGNED"/> - <create-value value-name="newAssign"/> + <create-value value-field="newAssign"/> </iterate> <else> <log level="info" message="No validation parties defined in this project: no validation parties added...."></log> Modified: ofbiz/trunk/specialpurpose/webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml (original) +++ ofbiz/trunk/specialpurpose/webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml Tue Dec 30 04:01:09 2008 @@ -51,7 +51,7 @@ <call-object-method obj-field-name="webPosSession" method-name="getUserLoginId" ret-field-name="terminalState.openedByUserLoginId"/> <call-object-method obj-field-name="webPosTransaction" method-name="getTransactionId" ret-field-name="terminalState.startingTxId"/> <set from-field="parameters.startingDrawerAmount" field="terminalState.startingDrawerAmount"/> - <create-value value-name="terminalState"/> + <create-value value-field="terminalState"/> <check-errors/> <log level="info" message="Created PosTerminalState ${terminalState.startingTxId}"/> <else> @@ -310,7 +310,7 @@ <set field="internTx.paidAmount" from-field="parameters.amountInOut"/> <set field="internTx.reasonComment" from-field="parameters.reasonCommentInOut"/> <set field="internTx.reasonEnumId" from-field="parameters.reasonInOut"/> - <create-value value-name="internTx"/> + <create-value value-field="internTx"/> <set from-field="parameters.type" field="paidInOut"/> <call-object-method obj-field-name="webPosTransaction" method-name="paidInOut"> <field field-name="paidInOut" type="String"/> |
Free forum by Nabble | Edit this page |