Author: jleroux
Date: Thu Jan 1 15:21:15 2009
New Revision: 730639
URL: http://svn.apache.org/viewvc?rev=730639&view=rev
Log:
<get-related(.*)list-name= => <get-related$1list=
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml
ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml
ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml?rev=730639&r1=730638&r2=730639&view=diff
==============================================================================
---
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml
(original)
+++
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml
Thu Jan 1 15:21:15 2009
@@ -100,9 +100,9 @@
<entity-one entity-name="Invoice" value-name="invoice">
<field-map field-name="invoiceId" env-name="invoiceId"/>
</entity-one>
- <get-related value-field="invoice" relation-name="AcctgTrans"
list-name="acctgTransList"/>
+ <get-related value-field="invoice" relation-name="AcctgTrans"
list="acctgTransList"/>
<first-from-list list-name="acctgTransList" entry-name="acctgTrans"/>
- <get-related value-field="acctgTrans" relation-name="AcctgTransEntry"
list-name="acctgTransEntries"/>
+ <get-related value-field="acctgTrans" relation-name="AcctgTransEntry"
list="acctgTransEntries"/>
<set field="debitTotal" type="Double" value="0.0"/>
<set field="creditTotal" type="Double" value="0.0"/>
@@ -154,9 +154,9 @@
<entity-one entity-name="Payment" value-name="payment">
<field-map field-name="paymentId" env-name="paymentId"/>
</entity-one>
- <get-related value-field="payment" relation-name="AcctgTrans"
list-name="acctgTransList"/>
+ <get-related value-field="payment" relation-name="AcctgTrans"
list="acctgTransList"/>
<first-from-list list-name="acctgTransList" entry-name="acctgTrans"/>
- <get-related value-field="acctgTrans" relation-name="AcctgTransEntry"
list-name="acctgTransEntries"/>
+ <get-related value-field="acctgTrans" relation-name="AcctgTransEntry"
list="acctgTransEntries"/>
<set field="debitTotal" type="Double" value="0.0"/>
<set field="creditTotal" type="Double" value="0.0"/>
@@ -274,9 +274,9 @@
<entity-one entity-name="Invoice" value-name="invoice">
<field-map field-name="invoiceId" env-name="invoiceId"/>
</entity-one>
- <get-related value-field="invoice" relation-name="AcctgTrans"
list-name="acctgTransList"/>
+ <get-related value-field="invoice" relation-name="AcctgTrans"
list="acctgTransList"/>
<first-from-list list-name="acctgTransList" entry-name="acctgTrans"/>
- <get-related value-field="acctgTrans" relation-name="AcctgTransEntry"
list-name="acctgTransEntries"/>
+ <get-related value-field="acctgTrans" relation-name="AcctgTransEntry"
list="acctgTransEntries"/>
<assert><not><if-empty field="acctgTransEntries"/></not></assert>
<iterate entry-name="acctgTransEntry" list-name="acctgTransEntries">
@@ -323,9 +323,9 @@
<entity-one entity-name="Payment" value-name="payment">
<field-map field-name="paymentId" env-name="paymentId"/>
</entity-one>
- <get-related value-field="payment" relation-name="AcctgTrans"
list-name="acctgTransList"/>
+ <get-related value-field="payment" relation-name="AcctgTrans"
list="acctgTransList"/>
<first-from-list list-name="acctgTransList" entry-name="acctgTrans"/>
- <get-related value-field="acctgTrans" relation-name="AcctgTransEntry"
list-name="acctgTransEntries"/>
+ <get-related value-field="acctgTrans" relation-name="AcctgTransEntry"
list="acctgTransEntries"/>
<set field="debitTotal" type="Double" value="0.0"/>
<set field="creditTotal" type="Double" value="0.0"/>
@@ -421,7 +421,7 @@
<assert><not><if-empty field="acctgTransList"/></not></assert>
<iterate list-name="acctgTransList" entry-name="acctgTrans">
- <get-related list-name="acctgTransEntryList"
relation-name="AcctgTransEntry" value-field="acctgTrans"/>
+ <get-related list="acctgTransEntryList"
relation-name="AcctgTransEntry" value-field="acctgTrans"/>
<assert><not><if-empty field="acctgTransEntryList"/></not></assert>
<iterate list-name="acctgTransEntryList"
entry-name="acctgTransEntry">
<if-compare field="acctgTransEntry.debitCreditFlag"
operator="equals" value="C">
@@ -470,10 +470,10 @@
<entity-one entity-name="WorkEffort" value-name="workEffort">
<field-map field-name="workEffortId" env-name="workEffortId"/>
</entity-one>
- <get-related value-field="workEffort" relation-name="AcctgTrans"
list-name="acctgTransList"/>
+ <get-related value-field="workEffort" relation-name="AcctgTrans"
list="acctgTransList"/>
<assert><not><if-empty
field="acctgTransList"></if-empty></not></assert>
<iterate list-name="acctgTransList" entry-name="acctgTrans">
- <get-related value-field="acctgTrans"
relation-name="AcctgTransEntry" list-name="acctgTransEntryList"/>
+ <get-related value-field="acctgTrans"
relation-name="AcctgTransEntry" list="acctgTransEntryList"/>
<iterate list-name="acctgTransEntryList"
entry-name="acctgTransEntry">
<if-compare field="acctgTransEntry.debitCreditFlag"
operator="equals" value="C">
<assert>
Modified:
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml?rev=730639&r1=730638&r2=730639&view=diff
==============================================================================
---
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
(original)
+++
ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml
Thu Jan 1 15:21:15 2009
@@ -770,7 +770,7 @@
<set field="orderByList[]" value="-promisedDatetime"/>
</else>
</if-compare>
- <get-related value-field="orderItemShipGroup"
relation-name="OrderItemShipGrpInvRes" list-name="orderItemShipGroupInvResList"
order-by-list="orderByList"/>
+ <get-related value-field="orderItemShipGroup"
relation-name="OrderItemShipGrpInvRes" list="orderItemShipGroupInvResList"
order-by-list="orderByList"/>
<first-from-list entry="orderItemShipGroupInvRes"
list="orderItemShipGroupInvResList"/>
<field-to-result field="orderItemShipGroupInvRes.promisedDatetime"
result-name="estimatedShipDate"/>
</simple-method>
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml?rev=730639&r1=730638&r2=730639&view=diff
==============================================================================
---
ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml
(original)
+++
ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml
Thu Jan 1 15:21:15 2009
@@ -1048,7 +1048,7 @@
<clear-field field="picklistBinInfoList"/>
<set value="+binLocationNumber" field="picklistBinOrderList[]"/>
- <get-related value-field="picklist" relation-name="PicklistBin"
list-name="picklistBinList" order-by-list="picklistBinOrderList"/>
+ <get-related value-field="picklist" relation-name="PicklistBin"
list="picklistBinList" order-by-list="picklistBinOrderList"/>
<iterate entry="picklistBin" list="picklistBinList">
<clear-field field="picklistBinInfo"/>
<get-related-one value-field="picklistBin"
relation-name="PrimaryOrderHeader"
to-value-field="picklistBinInfo.primaryOrderHeader"/>
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=730639&r1=730638&r2=730639&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
Thu Jan 1 15:21:15 2009
@@ -144,7 +144,7 @@
</simple-method>
<simple-method method-name="createTimeEntryInvoiceItemsInline"
short-description="createTimeEntryInvoiceItemsInline">
<set field="orderBy[]" value="rateTypeId"/>
- <get-related value-field="workEffort" relation-name="TimeEntry"
list-name="timeEntryList" order-by-list="orderBy"/>
+ <get-related value-field="workEffort" relation-name="TimeEntry"
list="timeEntryList" order-by-list="orderBy"/>
<set field="invoiceItemMap.invoiceId"
from-field="parameters.invoiceId"/>
<set field="invoiceItemMap.taxableFlag" value="N"/>
<set field="invoiceItemMap.invoiceItemTypeId" value="INV_TE_ITEM"/>
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=730639&r1=730638&r2=730639&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
Thu Jan 1 15:21:15 2009
@@ -306,7 +306,7 @@
</simple-method>
<simple-method method-name="deletePartyToWorkEffortAssignment"
short-description="Update WorkEffortPartyAssignment entity">
<set-service-fields service-name="updatePartyToWorkEffortAssignment"
map="parameters" to-map="del"/>
- <now-date-to-env env-name="del.thruDate"/>
+ <now-date-to-env field="del.thruDate"/>
<call-service service-name="updatePartyToWorkEffortAssignment"
in-map-name="del"/>
</simple-method>
<simple-method method-name="unassignPartyFromWorkEffort"
short-description="Service that deletes a WorkEffortPartyAssignment entity">
@@ -1098,7 +1098,7 @@
<set from-field="parameters.workEffortId"
field="findWorkEffortMap.workEffortId"/>
<find-by-primary-key entity-name="WorkEffort" map="findWorkEffortMap"
value-field="workEffortInstance"/>
<if-not-empty field="workEffortInstance.workEffortId">
- <remove-related relation-name="WorkEffortKeyword"
value-name="workEffortInstance"></remove-related>
+ <remove-related relation-name="WorkEffortKeyword"
value-field="workEffortInstance"/>
</if-not-empty>
<check-errors/>
</simple-method>