Improvement: Miniland code readability and consistency improvements

(OFBIZ-8744) (OFBIZ-8745) (OFBIZ-8746) (OFBIZ-8748) (OFBIZ-8829) (OFBIZ-8830) (OFBIZ-8907) (OFBIZ-8908) (OFBIZ-8924) (OFBIZ-8925) 

Thanks: Ankush Upadhyay , Sega patidar , Abhijeet Ashapure for your patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1768219 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Divesh Dutta
2016-11-05 14:14:04 +00:00
parent 3a17676024
commit 77af05bc8e
68 changed files with 556 additions and 556 deletions
@@ -48,7 +48,7 @@
<set-service-fields map="parameters" service-name="updateWorkEffort" to-map="updateWorkEffortCtx"/>
<set from-field="parameters.scheduleWorkEffortId" field="updateWorkEffortCtx.workEffortId"/>
<set from-field="parameters.scheduleWorkEffortId" field="workEffortId"/>
<entity-one value-field="workEffort" entity-name="WorkEffort"/>
<entity-one entity-name="WorkEffort" value-field="workEffort"/>
<set field="updateWorkEffortCtx.actualCompletionDate" from-field="parameters.actualCompletionDate" default-value="${workEffort.actualCompletionDate}"/>
<call-service service-name="updateWorkEffort" in-map-name="updateWorkEffortCtx"/>
</simple-method>
+3 -3
View File
@@ -288,7 +288,7 @@
<set field="maintHistSeqId" from-field="parameters.maintHistSeqId"/>
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
<entity-one entity-name="FixedAssetMaint" value-field="fixedAssetMaint"/>
<entity-condition list="itemIssuanceList" entity-name="ProductInventoryItemAndItemIssuance">
<entity-condition entity-name="ProductInventoryItemAndItemIssuance" list="itemIssuanceList">
<condition-expr field-name="quantity" operator="greater" value="0"/>
</entity-condition>
</actions>
@@ -321,11 +321,11 @@
<entity-one entity-name="FixedAsset" value-field="fixedAsset"/>
<set field="layoutSettings.documentTitle" from-field="uiLabelMap.AccountingFixedAssetMaintWorkEffortName"/>
<entity-one entity-name="FixedAssetMaint" value-field="fixedAssetMaint"/>
<entity-condition list="itemIssuanceList" entity-name="ProductInventoryItemAndItemIssuance">
<entity-condition entity-name="ProductInventoryItemAndItemIssuance" list="itemIssuanceList">
<condition-expr field-name="quantity" operator="greater" value="0"/>
</entity-condition>
<set field="workEffortId" from-field="fixedAssetMaint.scheduleWorkEffortId"/>
<entity-condition list="notes" entity-name="WorkEffortNoteAndData">
<entity-condition entity-name="WorkEffortNoteAndData" list="notes">
<condition-expr field-name="workEffortId" from-field="workEffortId"/>
<order-by field-name="noteId"/>
</entity-condition>
+1 -1
View File
@@ -75,7 +75,7 @@
</service>
</actions>
<field name="maintHistSeqId" widget-style="linktext">
<hyperlink also-hidden="false" description="${maintHistSeqId}" target="EditFixedAssetMaint">
<hyperlink description="${maintHistSeqId}" target="EditFixedAssetMaint" also-hidden="false">
<parameter param-name="fixedAssetId"/>
<parameter param-name="maintHistSeqId"/>
</hyperlink>
+5 -5
View File
@@ -68,14 +68,14 @@
</service>
</actions>
<field name="productId" title="${uiLabelMap.CommonId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${productId}" target="EditProduct">
<hyperlink description="${productId}" target="EditProduct" also-hidden="false">
<parameter param-name="productId"/>
</hyperlink>
</field>
<field name="brandName" title="${uiLabelMap.ProductBrandName}"><display/></field>
<field name="internalName" title="${uiLabelMap.ProductInternalName}"><display/></field>
<field name="searchVariants" title="" widget-style="buttontext" use-when="isVirtual!=null&amp;&amp;&quot;${isVirtual}&quot;.equals(&quot;Y&quot;)">
<hyperlink also-hidden="false" target-type="plain" description="${uiLabelMap.ProductVariants}" target="LookupVariantProduct">
<hyperlink description="${uiLabelMap.ProductVariants}" target="LookupVariantProduct" also-hidden="false" target-type="plain">
<parameter param-name="productId"/>
</hyperlink>
</field>
@@ -102,13 +102,13 @@
</service>
</actions>
<field name="productId" title="${uiLabelMap.CommonId}" widget-style="buttontext">
<hyperlink also-hidden="false" target-type="plain" description="${productId}" target="javascript:set_values('${productId}', '${internalName}')"/>
<hyperlink description="${productId}" target="javascript:set_values('${productId}', '${internalName}')" also-hidden="false" target-type="plain"/>
</field>
<field name="brandName" title="${uiLabelMap.ProductBrandName}"><display/></field>
<field name="internalName" title="${uiLabelMap.ProductInternalName}"><display/></field>
<field name="primaryProductCategoryId" title="${uiLabelMap.ProductPrimaryCategory}"><display/></field>
<field name="searchVariants" title="" widget-style="buttontext" use-when="isVirtual!=null&amp;&amp;&quot;${isVirtual}&quot;.equals(&quot;Y&quot;)">
<hyperlink also-hidden="false" target-type="plain" description="${uiLabelMap.ProductVariants}" target="LookupVariantProduct">
<hyperlink description="${uiLabelMap.ProductVariants}" target="LookupVariantProduct" also-hidden="false" target-type="plain">
<parameter param-name="productId"/>
</hyperlink>
</field>
@@ -143,7 +143,7 @@
<field name="maintTemplateWorkEffortId"><lookup target-form-name="LookupWorkEffort"/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
<hyperlink target="deleteProductMaint" description="${uiLabelMap.CommonDelete}" also-hidden="false">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteProductMaint" also-hidden="false">
<parameter param-name="fixedAssetId" from-field="parameters.fixedAssetId"/>
<parameter param-name="productId"/>
<parameter param-name="productMaintSeqId"/>
+1 -1
View File
@@ -163,7 +163,7 @@
</entity-condition>
</actions>
<field name="workEffortName" entry-name="workEffortToName" title="${uiLabelMap.CommonName}">
<hyperlink also-hidden="false" description="${workEffortToName}" target="EditWorkEfforts">
<hyperlink description="${workEffortToName}" target="EditWorkEfforts" also-hidden="false">
<parameter param-name="workEffortId" from-field="workEffortIdTo"/>
<parameter param-name="workEffortIdFrom" from-field="workEffortId"/>
<parameter param-name="fromDate"/>
+2 -2
View File
@@ -50,7 +50,7 @@ under the License.
</service>
</actions>
<field name="fixedAssetId" title="${uiLabelMap.AccountingFixedAssetId}" widget-style="buttontext">
<hyperlink also-hidden="false" target-type="plain" description="${fixedAssetId}" target="javascript:set_value('${fixedAssetId}')"/>
<hyperlink description="${fixedAssetId}" target="javascript:set_value('${fixedAssetId}')" also-hidden="false" target-type="plain"/>
</field>
<field name="fixedAssetName" title="${uiLabelMap.CommonName}"><display/></field>
<field name="classEnumId"><display-entity entity-name="Enumeration" key-field-name="enumId"/></field>
@@ -85,7 +85,7 @@ under the License.
</service>
</actions>
<field name="fixedAssetId" title="${uiLabelMap.AccountingFixedAssetId}" widget-style="buttontext">
<hyperlink also-hidden="false" target-type="plain" description="${fixedAssetId}" target="javascript:set_value('${fixedAssetId}')"/>
<hyperlink description="${fixedAssetId}" target="javascript:set_value('${fixedAssetId}')" also-hidden="false" target-type="plain"/>
</field>
<field name="fixedAssetName" title="${uiLabelMap.CommonName}"><display/></field>
<field name="classEnumId"><display-entity entity-name="Enumeration" key-field-name="enumId"/></field>
+3 -3
View File
@@ -119,7 +119,7 @@ under the License.
</service>
</actions>
<field name="fixedAssetId" widget-style="linktext">
<hyperlink also-hidden="false" description="${fixedAssetName} ${fixedAssetId}" target="EditComputerHardware">
<hyperlink description="${fixedAssetName} ${fixedAssetId}" target="EditComputerHardware" also-hidden="false">
<parameter param-name="fixedAssetId"/>
</hyperlink>
</field>
@@ -151,7 +151,7 @@ under the License.
</service>
</actions>
<field name="fixedAssetId" widget-style="linktext">
<hyperlink also-hidden="false" description="${fixedAssetName} ${fixedAssetId}" target="EditComputerSoftware">
<hyperlink description="${fixedAssetName} ${fixedAssetId}" target="EditComputerSoftware" also-hidden="false">
<parameter param-name="fixedAssetId"/>
</hyperlink>
</field>
@@ -180,7 +180,7 @@ under the License.
</entity-condition>
</actions>
<field name="fixedAssetId" widget-style="linktext">
<hyperlink also-hidden="false" description="${fixedAssetName} ${fixedAssetId}" target="EditComputerHardware">
<hyperlink description="${fixedAssetName} ${fixedAssetId}" target="EditComputerHardware" also-hidden="false">
<parameter param-name="fixedAssetId"/>
</hyperlink>
</field>
+6 -6
View File
@@ -288,7 +288,7 @@ under the License.
</condition-list>
<order-by field-name="-statusDatetime"/>
</entity-condition>
<first-from-list entry="orderStatus" list="orderStatusList"/>
<first-from-list list="orderStatusList" entry="orderStatus"/>
<if-not-empty field="orderStatus.statusDatetime">
<clear-field field="inMap"/>
<set field="inMap.dimensionEntityName" value="DateDimension"/>
@@ -403,7 +403,7 @@ under the License.
</condition-list>
</entity-condition>
<if-not-empty field="costs">
<first-from-list entry="cost" list="costs"/>
<first-from-list list="costs" entry="cost"/>
<set field="convertUomCurrencyMap.uomId" from-field="cost.currencyUomId"/>
<set field="convertUomCurrencyMap.uomIdTo" value="USD"/>
@@ -461,7 +461,7 @@ under the License.
<entity-and entity-name="ProductPromoCode" list="productPromo">
<field-map field-name="productPromoId" from-field="discount.productPromoId"/>
</entity-and>
<first-from-list entry="productPromoCode" list="productPromo"/>
<first-from-list list="productPromo" entry="productPromoCode"/>
<if-not-empty field="productPromoCode">
<set field="fact.productPromoCode" from-field="productPromoCode.productPromoCodeId"/>
<else>
@@ -627,7 +627,7 @@ under the License.
<call-service service-name="loadDateDimension" in-map-name="inMap"/>
<check-errors/>
<entity-condition list="orderStatusList" entity-name="OrderStatus">
<entity-condition entity-name="OrderStatus" list="orderStatusList">
<condition-list combine="and">
<condition-expr field-name="statusId" value="ORDER_APPROVED"/>
<condition-expr field-name="statusDatetime" operator="greater-equals" from-field="parameters.fromDate"/>
@@ -657,7 +657,7 @@ under the License.
<order-by field-name="-fromDate"/>
</entity-condition>
<if-not-empty field="UomConversionDatedList">
<first-from-list entry="UomConversion" list="UomConversionDatedList"/>
<first-from-list list="UomConversionDatedList" entry="UomConversion"/>
<field-to-result field="UomConversion.conversionFactor" result-name="conversionFactor"/>
<else>
<entity-condition entity-name="UomConversionDated" list="UomConversionDatedLastestList">
@@ -668,7 +668,7 @@ under the License.
</condition-list>
</entity-condition>
<if-not-empty field="UomConversionDatedLastestList">
<first-from-list entry="UomConversionLastest" list="UomConversionDatedLastestList"/>
<first-from-list list="UomConversionDatedLastestList" entry="UomConversionLastest"/>
<field-to-result field="UomConversionLastest.conversionFactor" result-name="conversionFactor"/>
</if-not-empty>
</else>
+1 -1
View File
@@ -44,7 +44,7 @@ under the License.
<field name="productSupplierId" title="${uiLabelMap.ProductSupplier}">
<drop-down allow-empty="true">
<entity-options entity-name="PartyRoleAndPartyDetail" key-field-name="partyId" description="${groupName} [${partyId}]">
<entity-constraint name="roleTypeId" value="SUPPLIER" operator="equals"/>
<entity-constraint name="roleTypeId" operator="equals" value="SUPPLIER"/>
<entity-order-by field-name="partyId"/>
</entity-options>
</drop-down>
+8 -8
View File
@@ -24,7 +24,7 @@ under the License.
header-row-style="header-row" default-table-style="basic-table">
<field name="productStoreId">
<drop-down>
<entity-options entity-name="ProductStore" description="${storeName}" key-field-name="productStoreId">
<entity-options entity-name="ProductStore" key-field-name="productStoreId" description="${storeName}">
<entity-order-by field-name="storeName"/>
</entity-options>
</drop-down>
@@ -43,7 +43,7 @@ under the License.
<field name="externalId" title="${uiLabelMap.EbayImportEbayItem}"><display/></field>
<field name="transactionId"><display/></field>
<field name="orderId">
<hyperlink target="orderview" description="${orderId}">
<hyperlink description="${orderId}" target="orderview">
<parameter param-name="orderId"/>
</hyperlink>
</field>
@@ -92,7 +92,7 @@ under the License.
header-row-style="header-row" default-table-style="basic-table">
<field name="productStoreId">
<drop-down>
<entity-options entity-name="ProductStore" description="${storeName}" key-field-name="productStoreId">
<entity-options entity-name="ProductStore" key-field-name="productStoreId" description="${storeName}">
<entity-order-by field-name="storeName"/>
</entity-options>
</drop-down>
@@ -113,7 +113,7 @@ under the License.
<field name="externalId" title="${uiLabelMap.EbayEbayOrderIdOrTransactionId}" use-when="${isEbayOrder}" tooltip="eBay Order"><display/></field>
<field name="externalId" title="${uiLabelMap.EbayEbayOrderIdOrTransactionId}" use-when="${isEbayTransaction}" tooltip="eBay Transaction"><display/></field>
<field name="orderId">
<hyperlink target="/ordermgr/control/orderview" also-hidden="false" description="${orderId}" target-type="inter-app">
<hyperlink description="${orderId}" target="/ordermgr/control/orderview" also-hidden="false" target-type="inter-app">
<parameter param-name="orderId"/>
</hyperlink>
</field>
@@ -146,12 +146,12 @@ under the License.
<field name="compatibilityLevel"><display/></field>
<field name="webSiteId" title="${uiLabelMap.ProductWebSite}"><display-entity entity-name="WebSite" description="${siteName} [${webSiteId}]"/></field>
<field name="editEbayConfiguration" title="${uiLabelMap.CommonEdit}" widget-style="buttontext">
<hyperlink target="EditEbayConfiguration" description="${uiLabelMap.CommonEdit}" also-hidden="false">
<hyperlink description="${uiLabelMap.CommonEdit}" target="EditEbayConfiguration" also-hidden="false">
<parameter param-name="productStoreId"/>
</hyperlink>
</field>
<field name="deleteEbayConfiguration" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
<hyperlink target="deleteEbayConfiguration" description="${uiLabelMap.CommonDelete}" also-hidden="false">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteEbayConfiguration" also-hidden="false">
<parameter param-name="productStoreId"/>
</hyperlink>
</field>
@@ -213,7 +213,7 @@ under the License.
</drop-down>
</field>
<field name="deleteEbayShippingMethod" title="" widget-style="buttontext">
<hyperlink target="deleteEbayShippingMethod" description="${uiLabelMap.CommonDelete}" also-hidden="false">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteEbayShippingMethod" also-hidden="false">
<parameter param-name="shipmentMethodName"/>
<parameter param-name="productStoreId"/>
</hyperlink>
@@ -257,7 +257,7 @@ under the License.
</field>
<field name="websiteId" field-name="webSiteId" parameter-name="webSiteId" title="${uiLabelMap.ProductWebSite}">
<drop-down no-current-selected-key="${parameters.webSiteId}" allow-empty="true">
<entity-options entity-name="WebSite" description="${siteName} [${webSiteId}]" key-field-name="webSiteId">
<entity-options entity-name="WebSite" key-field-name="webSiteId" description="${siteName} [${webSiteId}]">
<entity-order-by field-name="siteName"/>
</entity-options>
</drop-down>
+6 -6
View File
@@ -22,26 +22,26 @@
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="createEbayAccount" short-description="Create Ebay Account">
<set-service-fields service-name="createPersonAndUserLogin" to-map="newPerson" map="parameters"/>
<set-service-fields service-name="createPersonAndUserLogin" map="parameters" to-map="newPerson"/>/>
<call-service service-name="createPersonAndUserLogin" in-map-name="newPerson">
<result-to-field result-name="partyId" field="parameters.partyId"/>
</call-service>
<set field="parameters.roleTypeId" value="VENDOR" />
<set-service-fields service-name="createPartyRole" to-map="newPartyRole" map="parameters"/>
<set-service-fields service-name="createPartyRole" map="parameters" to-map="newPartyRole"/>/>
<call-service service-name="createPartyRole" in-map-name="newPartyRole"/>
<set field="parameters.storeName" value="${parameters.userLoginId}_store"/>
<set-service-fields service-name="createProductStore" to-map="newProductStore" map="parameters"/>
<set-service-fields service-name="createProductStore" map="parameters" to-map="newProductStore"/>/>
<call-service service-name="createProductStore" in-map-name="newProductStore">
<result-to-field result-name="productStoreId" field="parameters.productStoreId"/>
</call-service>
<set field="parameters.roleTypeId" value="EBAY_ACCOUNT"/>
<set-service-fields service-name="createPartyRole" to-map="newPartyRole" map="parameters"/>
<set-service-fields service-name="createPartyRole" map="parameters" to-map="newPartyRole"/>/>
<call-service service-name="createPartyRole" in-map-name="newPartyRole"/>
<set-service-fields service-name="createProductStoreRole" to-map="newProductStoreRole" map="parameters"/>
<set-service-fields service-name="createProductStoreRole" map="parameters" to-map="newProductStoreRole"/>/>
<call-service service-name="createProductStoreRole" in-map-name="newProductStoreRole"/>
<field-to-result field="parameters.productStoreId" result-name="productStoreId"/>
@@ -105,7 +105,7 @@
<check-errors/>
</if-empty>
<set-service-fields map="parameters" to-map="callServiceMap" service-name="reserveEbayProductInventoryByStoreFacility"/>
<set-service-fields service-name="reserveEbayProductInventoryByStoreFacility" map="parameters" to-map="callServiceMap"/>/>
<set from-field="facilityId" field="callServiceMap.facilityId"/>
<set from-field="requireInventory" field="callServiceMap.requireInventory"/>
<set from-field="productStore.reserveOrderEnumId" field="callServiceMap.reserveOrderEnumId"/>
+5 -5
View File
@@ -251,7 +251,7 @@
<simple-method method-name="createEmailTemplate" short-description="Create Email Template">
<!-- create content -->
<set field="parameters.dataTemplateTypeId" value="FTL"/>
<set-service-fields service-name="createElectronicText" to-map="newElectronicText" map="parameters"/>
<set-service-fields service-name="createElectronicText" map="parameters" to-map="newElectronicText"/>/>
<call-service service-name="createElectronicText" in-map-name="newElectronicText">
<result-to-field result-name="dataResourceId" field="parameters.dataResourceId"/>
</call-service>
@@ -259,7 +259,7 @@
<set field="parameters.roleTypeId" value="OWNER"/>
<set field="parameters.contentTypeId" value="DOCUMENT"/>
<set field="parameters.ownerContentId" from-field="parameters.emailType"/>
<set-service-fields service-name="createContent" to-map="newContent" map="parameters"/>
<set-service-fields service-name="createContent" map="parameters" to-map="newContent"/>/>
<call-service service-name="createContent" in-map-name="newContent" >
<result-to-field result-name="contentId"/>
</call-service>
@@ -271,7 +271,7 @@
<if-not-empty field="parameters.includeCrossPromotions">
<set field="parameters.subject" value="${parameters.includeCrossPromotions} INCLUDE_CROSS_PROMOTIONS"/>
</if-not-empty>
<set-service-fields service-name="createProductStoreEmailSetting" to-map="newEmailSetting" map="parameters"/>
<set-service-fields service-name="createProductStoreEmailSetting" map="parameters" to-map="newEmailSetting"/>/>
<call-service service-name="createProductStoreEmailSetting" in-map-name="newEmailSetting" >
<result-to-field result-name="contentId"/>
</call-service>
@@ -279,7 +279,7 @@
<simple-method method-name="updateEmailTemplate" short-description="Create Email Template">
<!-- update content -->
<set-service-fields service-name="updateElectronicText" to-map="updateElectronicText" map="parameters"/>
<set-service-fields service-name="updateElectronicText" map="parameters" to-map="updateElectronicText"/>/>
<call-service service-name="updateElectronicText" in-map-name="updateElectronicText">
<result-to-field result-name="dataResourceId" field="parameters.dataResourceId"/>
</call-service>
@@ -291,7 +291,7 @@
<if-not-empty field="parameters.includeCrossPromotions">
<set field="parameters.subject" value="${parameters.subject} INCLUDE_CROSS_PROMOTIONS"/>
</if-not-empty-->
<set-service-fields service-name="updateProductStoreEmailSetting" to-map="updateEmailSetting" map="parameters"/>
<set-service-fields service-name="updateProductStoreEmailSetting" map="parameters" to-map="updateEmailSetting"/>/>
<call-service service-name="updateProductStoreEmailSetting" in-map-name="updateEmailSetting" >
<result-to-field result-name="contentId"/>
</call-service>
+2 -2
View File
@@ -61,11 +61,11 @@
<field-map field-name="productStoreId" from-field="parameters.productStoreId"/>
</service>
<set field="userLoginId" from-field="result.userLoginId"/>
<entity-one value-field="ebayUser" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="ebayUser">
<field-map field-name="userLoginId" from-field="result.userLoginId"/>
</entity-one>
<set field="parameters.partyId" from-field="ebayUser.partyId" global="true"/>
<entity-one value-field="person" entity-name="Person">
<entity-one entity-name="Person" value-field="person">
<field-map field-name="partyId" from-field="parameters.partyId"/>
</entity-one>
</actions>
+1 -1
View File
@@ -42,7 +42,7 @@ under the License.
<field name="itemID"><display description="${itemID} - ${title}"/></field>
<field name="userID"><display description="${userID}"/></field>
<field name="actions" use-when="&quot;${commentType}&quot; == &quot;&quot;">
<hyperlink target="LeaveFeedback" description="Leave Feedback">
<hyperlink description="Leave Feedback" target="LeaveFeedback">
<parameter param-name="itemId" value="${itemID}"/>
<parameter param-name="transactionId" value="${transactionID}"/>
<parameter param-name="productStoreId" value="${parameters.productStoreId}"/>
+3 -3
View File
@@ -30,19 +30,19 @@
</service>
<set field="userLoginId" from-field="result.userLoginId"/>
<set field="emailType" from-field="parameters.emailType"/>
<entity-one value-field="emailSetting" entity-name="ProductStoreEmailSetting">
<entity-one entity-name="ProductStoreEmailSetting" value-field="emailSetting">
<field-map field-name="productStoreId" from-field="parameters.productStoreId"/>
<field-map field-name="emailType" from-field="emailType"/>
</entity-one>
<set field="subject" from-field="emailSetting.subject"/>
<set field="bodyScreenLocation" value="component://ebaystore/widget/EbayEmailScreens.xml#EbayEmailTemplate"/>
<set field="fromAddress" from-field="ebayUser.email"/>
<entity-one value-field="userLoginCheck" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLoginCheck">
<field-map field-name="userLoginId" from-field="userLoginId"/>
</entity-one>
<set field="partyId" from-field="userLoginCheck.partyId"/>
<script location="component://ebaystore/groovyScripts/email/GetProductStoreEmailTemplate.groovy"/>
<entity-one value-field="templateContent" entity-name="Content"/>
<entity-one entity-name="Content" value-field="templateContent"/>
<get-related-one value-field="templateContent" relation-name="DataResource" to-value-field="templateDataResource"/>
<get-related-one value-field="templateDataResource" relation-name="ElectronicText" to-value-field="templateData"/>
<set field="textData" from-field="templateData.textData"/>
+10 -10
View File
@@ -126,7 +126,7 @@ under the License.
</field>
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" position="1"><submit/></field>
<field name="cancelButton" title=" " widget-style="smallSubmit" position="2">
<hyperlink target="soldListing" description="${uiLabelMap.CommonCancel}">
<hyperlink description="${uiLabelMap.CommonCancel}" target="soldListing">
<parameter param-name="productStoreId" from-field="parameters.productStoreId"/>
</hyperlink>
</field>
@@ -302,7 +302,7 @@ under the License.
<field name="afterDays" title="${uiLabelMap.EbayAfter}" position="1" tooltip="${uiLabelMap.CommonDays} ${uiLabelMap.EbayIsSendCopyEmailTooltip}" ><text default-value="5" size="5" maxlength="2"></text></field>
<field name="isSendCopyEmailToSeller" position="1" title="${uiLabelMap.EbayIsSendCopyEmailToSeller}"><check></check></field>
<field name="emailTemplate" title="Email" tooltip="Edit Feedback Reminder email template">
<hyperlink target="editEmailTemplate" description="Edit Email Template">
<hyperlink description="Edit Email Template" target="editEmailTemplate">
<parameter param-name="productStoreId" from-field="parameters.productStoreId"/>
<parameter param-name="emailType" value="EBAY_WIN_BUYER_NOTI"/>
</hyperlink>
@@ -324,7 +324,7 @@ under the License.
<field name="isAutoSendPayReceivedEmail" tooltip="${uiLabelMap.EbayAutoPaymentReceviedEmail}" position="1" title="${uiLabelMap.EbayIsAutoSendEmail}"><check></check></field>
<field name="isSendCopyEmailToSeller" position="1" title="${uiLabelMap.EbayIsSendCopyEmailToSeller}"><check></check></field>
<field name="emailTemplate" title="Email" tooltip="Edit Payment received email template">
<hyperlink target="editEmailTemplate" description="${uiLabelMap.EbayEditEmailTemplate}">
<hyperlink description="${uiLabelMap.EbayEditEmailTemplate}" target="editEmailTemplate">
<parameter param-name="productStoreId" from-field="parameters.productStoreId"/>
<parameter param-name="emailType" value="EBAY_PAY_RECIEVED"/>
</hyperlink>
@@ -473,7 +473,7 @@ under the License.
<field name="itemId"><display/></field>
<field name="SKU" title="Product ID"><display/></field>
<field name="title">
<hyperlink target="${viewItemURL}" description="${title}" target-type="plain" target-window="_BLANK"/>
<hyperlink description="${title}" target="${viewItemURL}" target-type="plain" target-window="_BLANK"/>
</field>
<field name="buyItNowPrice"><display/></field>
<field name="reservePrice"><display/></field>
@@ -483,7 +483,7 @@ under the License.
<field name="quantity"><display/></field>
<field name="listingType"><display/></field>
<field name="EditItem">
<hyperlink target="getItemProduct?productStoreId=${parameters.productStoreId}&amp;itemId=${itemId}" description="Edit" target-type="plain" target-window="_BLANK"/>
<hyperlink description="Edit" target="getItemProduct?productStoreId=${parameters.productStoreId}&amp;itemId=${itemId}" target-type="plain" target-window="_BLANK"/>
</field>
</grid>
<!-- Unsold Listing -->
@@ -647,7 +647,7 @@ under the License.
<field name="offerStatus" title="Offer Status"><display description="${inMap.offerStatus}"/></field>
<field name="contactStatus" title="Contact Status"><display description="${contactStatus}"/></field>
<field name="viewCustomerDataButton" widget-style="buttontext" title="View Customer Offer Data">
<hyperlink target="customerOfferData" description="View Data" also-hidden="false">
<hyperlink description="View Data" target="customerOfferData" also-hidden="false">
<parameter param-name="productStoreId" from-field="productStoreId"/>
<parameter param-name="itemId" from-field="itemId"/>
<parameter param-name="userId" from-field="userId"/>
@@ -661,7 +661,7 @@ under the License.
</hyperlink>
</field>
<field name="deleteOfferButton" title="Delete Offer Alert Data" widget-style="buttontext">
<hyperlink target="deleteContactAlert" description="Delete Data" also-hidden="false">
<hyperlink description="Delete Data" target="deleteContactAlert" also-hidden="false">
<parameter param-name="itemId" from-field="itemId"/>
<parameter param-name="userId" from-field="userId"/>
<parameter param-name="productStoreId" from-field="productStoreId"/>
@@ -704,7 +704,7 @@ under the License.
<field name="itemId" title="Item ID" sort-field="true"><display description="${itemId}"/></field>
<field name="SKU" title="Product ID"><display description="${SKU}"/></field>
<field name="title">
<hyperlink target="${viewItemURL}" description="${title}" target-type="plain" target-window="_BLANK"/>
<hyperlink description="${title}" target="${viewItemURL}" target-type="plain" target-window="_BLANK"/>
</field>
<field name="sellingStatus" title="Status"><display description="${sellingStatus}"/></field>
<field name="endTime" title="Closing Time"><display description="${endTime}"/></field>
@@ -721,7 +721,7 @@ under the License.
<field name="_rowSubmit" position="1" title="${uiLabelMap.CommonSelect}"><check/></field>
<field name="productStoreId"><hidden value="${productStoreId}"/></field>
<field name="orderId" title="Order ID">
<hyperlink target="https://localhost:8443/ordermgr/control/orderview?orderId=${orderId}" description="${orderId}" target-type="plain" target-window="_BLANK"/>
<hyperlink description="${orderId}" target="https://localhost:8443/ordermgr/control/orderview?orderId=${orderId}" target-type="plain" target-window="_BLANK"/>
</field>
<field name="externalId" title="Transaction ID"><display description="${externalId}"/></field>
<field name="ebayUserIdBuyer" title="Winner Bidder"><display description="${ebayUserIdBuyer}"/></field>
@@ -762,7 +762,7 @@ under the License.
<field name="productStoreId"><hidden value="${productStoreId}"/></field>
<field name="_rowSubmit" position="1" title="${uiLabelMap.CommonSelect}" use-when="${groovy:String prev=(String)previousItem.get(&quot;externalId&quot;);return new Boolean(!(prev!=null&amp;&amp;prev.equals(externalId)));}"><check/></field>
<field name="orderId" position="1" title="Order ID" use-when="${groovy:String prev=(String)previousItem.get(&quot;externalId&quot;);return new Boolean(!(prev!=null&amp;&amp;prev.equals(externalId)));}">
<hyperlink target="https://localhost:8443/ordermgr/control/orderview?orderId=${orderId}" description="${orderId}" target-type="plain" target-window="_BLANK"/>
<hyperlink description="${orderId}" target="https://localhost:8443/ordermgr/control/orderview?orderId=${orderId}" target-type="plain" target-window="_BLANK"/>
</field>
<field name="externalId" title="External ID" position="1" use-when="${groovy:String prev=(String)previousItem.get(&quot;externalId&quot;);return new Boolean(!(prev!=null&amp;&amp;prev.equals(externalId)));}"><display description="${externalId}"></display></field>
<field name="ebayUserIdBuyer" title="Winning Bidder" position="1" use-when="${groovy:String prev=(String)previousItem.get(&quot;externalId&quot;);return new Boolean(!(prev!=null&amp;&amp;prev.equals(externalId)));}"><display description="${ebayUserIdBuyer}"></display></field>
@@ -283,7 +283,7 @@
<set field="headerItem" value="ebayStore"/>
<set field="autoPrefEnumId" value="EBAY_AUTO_RELISTING"/>
<set field="serviceName" value="autoRelistingItems"/>
<entity-one value-field="ebayPrefRelisting" entity-name="EbayProductStorePref">
<entity-one entity-name="EbayProductStorePref" value-field="ebayPrefRelisting">
<field-map field-name="productStoreId" from-field="parameters.productStoreId"/>
<field-map field-name="autoPrefEnumId" from-field="autoPrefEnumId"/>
</entity-one>
@@ -308,11 +308,11 @@
<set field="autoPrefEnumId2" value="EBAY_AUTO_DISPUTE2"/>
<set field="serviceName1" value="automaticEbayDisputeNotComplete"/>
<set field="serviceName2" value="automaticEbayDisputeNotPay"/>
<entity-one value-field="ebayPrefDispute1" entity-name="EbayProductStorePref">
<entity-one entity-name="EbayProductStorePref" value-field="ebayPrefDispute1">
<field-map field-name="productStoreId" from-field="parameters.productStoreId"/>
<field-map field-name="autoPrefEnumId" from-field="autoPrefEnumId1"/>
</entity-one>
<entity-one value-field="ebayPrefDispute2" entity-name="EbayProductStorePref">
<entity-one entity-name="EbayProductStorePref" value-field="ebayPrefDispute2">
<field-map field-name="productStoreId" from-field="parameters.productStoreId"/>
<field-map field-name="autoPrefEnumId" from-field="autoPrefEnumId2"/>
</entity-one>
@@ -407,19 +407,19 @@
</service>
<set field="userLoginId" from-field="result.userLoginId"/>
<set field="emailType" from-field="parameters.emailType"/>
<entity-one value-field="emailSetting" entity-name="ProductStoreEmailSetting">
<entity-one entity-name="ProductStoreEmailSetting" value-field="emailSetting">
<field-map field-name="productStoreId" from-field="parameters.productStoreId"/>
<field-map field-name="emailType" from-field="emailType"/>
</entity-one>
<set field="subject" from-field="emailSetting.subject"/>
<set field="bodyScreenLocation" value="component://ebaystore/widget/EbayEmailScreens.xml#EbayEmailTemplate"/>
<set field="fromAddress" from-field="ebayUser.email"/>
<entity-one value-field="userLoginCheck" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLoginCheck">
<field-map field-name="userLoginId" from-field="userLoginId"/>
</entity-one>
<set field="partyId" from-field="userLoginCheck.partyId"/>
<script location="component://ebaystore/groovyScripts/email/GetProductStoreEmailTemplate.groovy"/>
<entity-one value-field="templateContent" entity-name="Content"/>
<entity-one entity-name="Content" value-field="templateContent"/>
<get-related-one value-field="templateContent" relation-name="DataResource" to-value-field="templateDataResource"/>
<get-related-one value-field="templateDataResource" relation-name="ElectronicText" to-value-field="templateData"/>
<set field="textData" from-field="templateData.textData"/>
+2 -2
View File
@@ -96,7 +96,7 @@ under the License.
<field name="prodCatalogId"><hidden/></field>
<field name="productCategoryId"><display></display></field>
<field name="categoryName">
<hyperlink target="getChildCategory" description="${prodCategory.categoryName}">
<hyperlink description="${prodCategory.categoryName}" target="getChildCategory">
<parameter param-name="productStoreId"/>
<parameter from-field="parameters.prodCatalogId" param-name="prodCatalogId"/>
<parameter param-name="productCategoryId"/>
@@ -134,7 +134,7 @@ under the License.
<display-entity entity-name="ProdCatalog" description="${catalogName}" key-field-name="prodCatalogId"/>
</field>
<field name="delete" widget-style="buttontext">
<hyperlink target="removeCatalogFromStore" description="${uiLabelMap.CommonDelete}">
<hyperlink description="${uiLabelMap.CommonDelete}" target="removeCatalogFromStore">
<parameter param-name="productStoreId"/>
<parameter param-name="prodCatalogId"/>
<parameter param-name="fromDate"/>
@@ -290,7 +290,7 @@ under the License.
<!-- the above copy is okay since we checked already that they are the same -->
<call-service service-name="createPersonAndUserLogin" in-map-name="personUserLoginContext">
<result-to-field result-name="partyId" field="tempMap.partyId"/>
<result-to-field field="createdUserLogin" result-name="newUserLogin"/>
<result-to-field result-name="newUserLogin" field="createdUserLogin"/>
</call-service>
<set-current-user-login value-field="createdUserLogin"/>
@@ -1267,7 +1267,7 @@ under the License.
</if-compare-field>
</simple-method>
<simple-method method-name="createAnonContact" short-description="Create a non Contact" login-required="false">
<entity-one value-field="systemUserLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="systemUserLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set field="parameters.userLogin" from-field="systemUserLogin"/>
@@ -1295,11 +1295,11 @@ under the License.
</if-compare-field>
<check-errors/>
<if-empty field="parameters.partyId">
<set-service-fields service-name="createPerson" to-map="newPerson" map="parameters"/>
<set-service-fields service-name="createPerson" map="parameters" to-map="newPerson"/>/>
<call-service service-name="createPerson" in-map-name="newPerson">
<result-to-field result-name="partyId" field="parameters.partyId"/>
</call-service>
<set-service-fields service-name="createPartyContactMech" to-map="newContact" map="parameters"/>
<set-service-fields service-name="createPartyContactMech" map="parameters" to-map="newContact"/>/>
<set field="newContact.infoString" from-field="parameters.emailAddress"/>
<set field="newContact.contactMechTypeId" value="EMAIL_ADDRESS"/>
<set field="newContact.contactMechPurposeTypeId" value="PRIMARY_EMAIL"/>
@@ -1310,7 +1310,7 @@ under the License.
<set field="parameters.contactMechIdFrom" from-field="contact.contactMechId"/>
</else>
</if-empty>
<set-service-fields service-name="sendContactUsEmailToCompany" to-map="newComm" map="parameters"/>
<set-service-fields service-name="sendContactUsEmailToCompany" map="parameters" to-map="newComm"/>/>
<set field="newComm.emailType" value="CONT_NOTI_EMAIL"/>
<call-service service-name="sendContactUsEmailToCompany" in-map-name="newComm">
<default-message property="ThankYouForContactingUs" resource="EcommerceUiLabels"></default-message>
+1 -1
View File
@@ -30,7 +30,7 @@ under the License.
default-title-style="tableheadtext" default-widget-style="inputBox"
paginate-target="/AdminSearch">
<field name="editContent" title=" ">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="CMSContentEdit">
<hyperlink description="${uiLabelMap.CommonEdit}" target="CMSContentEdit" also-hidden="false">
<parameter param-name="contentId"/>
<parameter param-name="drDataResourceId"/>
<parameter param-name="contentIdTo"/>
+3 -3
View File
@@ -194,12 +194,12 @@ under the License.
default-title-style="tableheadtext" default-widget-style="inputBox"
paginate-target="/FindContent">
<field name="editContent" title=" ">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditContent">
<hyperlink description="${uiLabelMap.CommonEdit}" target="EditContent" also-hidden="false">
<parameter param-name="contentId"/>
<parameter param-name="drDataResourceId"/>
</hyperlink>
<!--
<hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditContent">
<hyperlink description="${uiLabelMap.CommonEdit}" target="EditContent" also-hidden="false">
<parameter param-name="caContentIdTo"/>
<parameter param-name="caFromDate"/>
<parameter param-name="contentId"/>
@@ -645,7 +645,7 @@ under the License.
</field>
<!--
<field name="submitContentEdit" title=" ">
<hyperlink also-hidden="false" description="Submit" target="javascript:document.EditAddContent.action='${persistAction}'; document.EditAddContent.submit()" target-type="plain"/>
<hyperlink description="Submit" target="javascript:document.EditAddContent.action='${persistAction}'; document.EditAddContent.submit()" also-hidden="false" target-type="plain"/>
</field>
-->
<field name="deactivateExisting" >
+1 -1
View File
@@ -65,7 +65,7 @@ under the License.
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
<property-to-field resource="widget" property="widget.form.defaultViewSize" field="viewSizeDefaultValue"/>
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="${viewSizeDefaultValue}"/>
<entity-condition list="forumMessages" entity-name="ContentAssocViewTo" >
<entity-condition entity-name="ContentAssocViewTo" list="forumMessages" >
<condition-list combine="and">
<condition-expr field-name="contentIdStart" from-field="parameters.forumId"/>
<condition-list combine="or">
+3 -3
View File
@@ -49,10 +49,10 @@
<submit button-type="button"/>
</field>
<field name="createBlog" title=" " widget-style="buttontext">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonNew} ${uiLabelMap.ContentForum}" target="EditBlogArticle"/>
<hyperlink description="${uiLabelMap.CommonNew} ${uiLabelMap.ContentForum}" target="EditBlogArticle" also-hidden="false"/>
</field>
<field name="createForum" title=" " widget-style="buttontext">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonNew} ${uiLabelMap.ContentForum}" target="EditForumArticle"/>
<hyperlink description="${uiLabelMap.CommonNew} ${uiLabelMap.ContentForum}" target="EditForumArticle" also-hidden="false"/>
</field>
</form>
@@ -69,7 +69,7 @@
</actions>
<field name="editContent" title=" ">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="CMSContentEdit">
<hyperlink description="${uiLabelMap.CommonEdit}" target="CMSContentEdit" also-hidden="false">
<parameter param-name="contentId"/>
<parameter param-name="drDataResourceId"/>
<parameter param-name="contentIdTo"/>
+1 -1
View File
@@ -29,7 +29,7 @@ under the License.
<field-map field-name="exampleId" from-field="parameters.exampleId"/>
<order-by field-name="-statusDate"/>
</entity-and>
<first-from-list entry="oldExampleStatus" list="oldExampleStatusList"/>
<first-from-list list="oldExampleStatusList" entry="oldExampleStatus"/>
<if-not-empty field="oldExampleStatus">
<set field="oldExampleStatus.statusEndDate" from-field="nowTimestamp"/>
<store-value value-field="oldExampleStatus"/>
@@ -40,7 +40,7 @@ under the License.
</service>
</actions>
<field name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${exampleFeatureId}" target="EditExampleFeature">
<hyperlink description="${exampleFeatureId}" target="EditExampleFeature" also-hidden="false">
<parameter param-name="exampleFeatureId"/>
</hyperlink>
</field>
@@ -98,7 +98,7 @@ under the License.
</field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
<field name="deleteLink" title="" widget-style="buttontext">
<hyperlink target="feature_deleteExampleFeatureAppl" description="${uiLabelMap.CommonDelete}" also-hidden="false">
<hyperlink description="${uiLabelMap.CommonDelete}" target="feature_deleteExampleFeatureAppl" also-hidden="false">
<parameter param-name="exampleId"/>
<parameter param-name="exampleFeatureId"/>
<parameter param-name="fromDate"/>
@@ -162,7 +162,7 @@ under the License.
</actions>
<!--<auto-fields-entity entity-name="ExampleFeature" default-field-type="display"/>-->
<field name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}" widget-style="buttontext">
<hyperlink description="${exampleFeatureId}" also-hidden="false" target-type="plain" target="javascript:set_value('${exampleFeatureId}')"/>
<hyperlink description="${exampleFeatureId}" target="javascript:set_value('${exampleFeatureId}')" also-hidden="false" target-type="plain"/>
</field>
<field name="featureSourceEnumId" title="${uiLabelMap.ExampleFeatureSource}">
<display-entity entity-name="Enumeration" key-field-name="enumId" description="${description} [${enumCode}]" also-hidden="false"/>
+4 -4
View File
@@ -66,7 +66,7 @@ under the License.
<alt-row-style use-when="'EXST_APPROVED'.equals(statusId)" style="Validate"/>
<alt-row-style use-when="'EXST_CANCELLED'.equals(statusId)" style="Warn"/>
<field name="exampleId" title="${uiLabelMap.ExampleExampleId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${exampleId}" target="EditExample">
<hyperlink description="${exampleId}" target="EditExample" also-hidden="false">
<parameter param-name="exampleId"/>
</hyperlink>
</field>
@@ -144,7 +144,7 @@ under the License.
<entity-condition entity-name="Example"><order-by field-name="exampleName"/></entity-condition>
</actions>
<field name="exampleId" title="${uiLabelMap.ExampleExampleId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${exampleId}" target="EditExampleLayer" link-type="layered-modal">
<hyperlink description="${exampleId}" target="EditExampleLayer" also-hidden="false" link-type="layered-modal">
<parameter param-name="exampleId"/>
</hyperlink>
</field>
@@ -253,7 +253,7 @@ under the License.
</drop-down>
</field>
<field name="deleteLink" title=" " widget-style="buttontext">
<hyperlink target="deleteExampleItem" description="${uiLabelMap.CommonDelete}" also-hidden="false" confirmation-message="${uiLabelMap.CommonConfirmDelete}" image-location="${iconsLocation}/delete.png">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteExampleItem" also-hidden="false" confirmation-message="${uiLabelMap.CommonConfirmDelete}" image-location="${iconsLocation}/delete.png">
<parameter param-name="exampleId"/>
<parameter param-name="exampleItemSeqId"/>
</hyperlink>
@@ -303,7 +303,7 @@ under the License.
</field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
<field name="deleteLink" title=" " widget-style="buttontext">
<hyperlink target="example_deleteExampleFeatureAppl" description="${uiLabelMap.CommonDelete}" also-hidden="false" image-location="${iconsLocation}/delete.png">
<hyperlink description="${uiLabelMap.CommonDelete}" target="example_deleteExampleFeatureAppl" also-hidden="false" image-location="${iconsLocation}/delete.png">
<parameter param-name="exampleId"/>
<parameter param-name="exampleFeatureId"/>
<parameter param-name="fromDate"/>
@@ -400,7 +400,7 @@ under the License.
<!-- ************************ -->
<field name="emptyField0" title=" "><display/></field>
<field name="newExample" title=" " widget-area-style="smallSubmit" position="1">
<hyperlink also-hidden="false" description="${uiLabelMap.ExampleNewExample} (Layered-modal)" target="EditExampleLayer" link-type="layered-modal"/>
<hyperlink description="${uiLabelMap.ExampleNewExample} (Layered-modal)" target="EditExampleLayer" also-hidden="false" link-type="layered-modal"/>
</field>
</form>
</forms>
@@ -24,7 +24,7 @@ under the License.
<form name="ListFacilities" type="list" list-name="facilities" paginate-target="main"
default-title-style="tableheadtext">
<field name="facilityId" widget-style="buttontext">
<hyperlink also-hidden="false" description="${facilityId}" target="menu">
<hyperlink description="${facilityId}" target="menu" also-hidden="false">
<parameter param-name="facilityId"/>
</hyperlink>
</field>
@@ -89,7 +89,7 @@ under the License.
<field name="quantity" required-field="true" entry-name="totalQuantityOnHand"><text size="6" default-value=""/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="deleteLink" title=" " widget-style="buttontext">
<hyperlink target="removeProductFromCategory" description="${uiLabelMap.CommonDelete}" also-hidden="false">
<hyperlink description="${uiLabelMap.CommonDelete}" target="removeProductFromCategory" also-hidden="false">
<parameter param-name="productId"/>
<parameter param-name="productCategoryId"/>
<parameter param-name="fromDate"/>
+1 -1
View File
@@ -32,7 +32,7 @@ under the License.
<form name="SearchList" type="list" target="" list-name="queryResults" paginate-target="/AdminSearch"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="editContent" title=" ">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="CMSContentEdit">
<hyperlink description="${uiLabelMap.CommonEdit}" target="CMSContentEdit" also-hidden="false">
<parameter param-name="contentId"/>
<parameter param-name="drDataResourceId" from-field="dataResourceId"/>
<parameter param-name="contentIdTo"/>
+1 -1
View File
@@ -57,7 +57,7 @@ under the License.
<set-service-fields map="userLoginContext" service-name="createPersonAndUserLogin" to-map="personUserLoginContext"/>
<call-service service-name="createPersonAndUserLogin" in-map-name="personUserLoginContext">
<result-to-field result-name="partyId" field="partyId"/>
<result-to-field field="createdUserLogin" result-name="newUserLogin"/>
<result-to-field result-name="newUserLogin" field="createdUserLogin"/>
</call-service>
<set-current-user-login value-field="createdUserLogin"/>
<else>
+1 -1
View File
@@ -72,7 +72,7 @@ under the License.
<field name="ownerUserLoginId" sort-field="true"><display/></field>
<field name="securityGroupId" title="${uiLabelMap.CommonSecurityGroupId}" sort-field="true"><display/></field>
<field name="deleteLink" use-when="originalPortalPageId!=null" title=" " widget-style="buttontext" >
<hyperlink target="deletePortalPage" description="${uiLabelMap.CommonRevertPortalPage}">
<hyperlink description="${uiLabelMap.CommonRevertPortalPage}" target="deletePortalPage">
<parameter param-name="portalPageId"/>
<parameter param-name="parentPortalPageId" from-field="parameters.parentPortalPageId"/>
</hyperlink>
+21 -21
View File
@@ -81,7 +81,7 @@
<check-errors/>
<!-- find exist e-mail address. if have not exist then create new-->
<entity-condition list="existEmailAddresses" entity-name="WorkEffortContactMechView">
<entity-condition entity-name="WorkEffortContactMechView" list="existEmailAddresses">
<condition-list combine="and">
<condition-expr field-name="workEffortId" from-field="parameters.workEffortId"/>
<condition-expr field-name="contactMechTypeId" value="EMAIL_ADDRESS"/>
@@ -101,7 +101,7 @@
<field-map field-name="workEffortId" from-field="oldEmailAddress.workEffortId"/>
<field-map field-name="contactMechId" from-field="oldEmailAddress.contactMechId"/>
</entity-and>
<first-from-list entry="oldWorkEffortContactMech" list="oldWorkEffortContactMechs"/>
<first-from-list list="oldWorkEffortContactMechs" entry="oldWorkEffortContactMech"/>
<now-timestamp field="oldWorkEffortContactMech.thruDate"/>
<store-value value-field="oldWorkEffortContactMech"/>
</iterate>
@@ -130,7 +130,7 @@
</entity-and>
<!-- end current record if required -->
<if-not-empty field="workEffortPartyAssignments">
<first-from-list entry="workEffortPartyAssignment" list="workEffortPartyAssignments"/>
<first-from-list list="workEffortPartyAssignments" entry="workEffortPartyAssignment"/>
<if-compare-field field="updProjectRole.newPartyId" operator="not-equals" to-field="workEffortPartyAssignment.partyId">
<now-timestamp field="workEffortPartyAssignment.thruDate"/>
<store-value value-field="workEffortPartyAssignment"/>
@@ -180,23 +180,23 @@
</simple-method>
<simple-method method-name="updateTaskAndRelatedInfo" short-description="Update the task and when info is provided update the related information too">
<set-service-fields service-name="updateWorkEffort" to-map="updateWorkeffort" map="parameters"/>
<set-service-fields service-name="updateWorkEffort" map="parameters" to-map="updateWorkeffort"/>/>
<call-service service-name="updateWorkEffort" in-map-name="updateWorkeffort"/>
<if-not-empty field="parameters.estimatedDuration">
<set-service-fields service-name="updateWorkEffortSkillStandard" to-map="updateWorkEffortSkillStandard" map="parameters"/>
<set-service-fields service-name="updateWorkEffortSkillStandard" map="parameters" to-map="updateWorkEffortSkillStandard"/>/>
<if-empty field="parameters.skillTypeId">
<entity-and entity-name="WorkEffortSkillStandard" list="workEffortSkillStandards">
<field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
</entity-and>
<if-not-empty field="workEffortSkillStandards">
<first-from-list entry="workEffortSkillStandard" list="workEffortSkillStandards"/>
<first-from-list list="workEffortSkillStandards" entry="workEffortSkillStandard"/>
<set field="updateWorkEffortSkillStandard.skillTypeId" from-field="workEffortSkillStandard.skillTypeId"/>
<else>
<set field="updateWorkEffortSkillStandard.skillTypeId" value="_NA_"/>
</else>
</if-not-empty>
</if-empty>
<entity-one value-field="workEffortSkillStandard" entity-name="WorkEffortSkillStandard">
<entity-one entity-name="WorkEffortSkillStandard" value-field="workEffortSkillStandard">
<field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
<field-map field-name="skillTypeId" from-field="updateWorkEffortSkillStandard.skillTypeId"/>
</entity-one>
@@ -344,7 +344,7 @@
<clear-field field="task.estimatedCompletionDate"/>
</iterate>
<first-from-list entry="task" list="tasks"/>
<first-from-list list="tasks" entry="task"/>
<set field="startDate" from-field="task.actualStartDate"/>
<set field="taskId" from-field="task.workEffortId"/>
<else>
@@ -483,7 +483,7 @@
<field-map field-name="workEffortId" from-field="projectId"/>
<field-map field-name="partyId" from-field="timesheet.partyId"/>
</entity-and>
<first-from-list entry="projectAssign" list="projectAssigns"/>
<first-from-list list="projectAssigns" entry="projectAssign"/>
<set field="parameters.partyId" from-field="timesheet.partyId"/>
<set field="parameters.roleTypeId" from-field="projectAssign.roleTypeId"/>
<set field="parameters.statusId" value="PAS_ASSIGNED"/>
@@ -550,7 +550,7 @@
<field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
<field-map field-name="partyId" from-field="timesheet.partyId"/>
</entity-and>
<first-from-list entry="alreadyAssign" list="assigns"/>
<first-from-list list="assigns" entry="alreadyAssign"/>
<if-compare field="alreadyAssign.statusId" value="PAS_COMPLETED" operator="not-equals">
<set field="upStat.partyId" from-field="timesheet.partyId"/>
<set field="upStat.statusId" value="PAS_COMPLETED"/>
@@ -718,7 +718,7 @@
</entity-and>
<filter-list-by-date list="emailAddresses"/>
<if-not-empty field="emailAddresses">
<first-from-list entry="emailAddress" list="emailAddresses"/>
<first-from-list list="emailAddresses" entry="emailAddress"/>
<set field="highInfo.emailAddress" from-field="emailAddress.infoString"/>
</if-not-empty>
@@ -1050,7 +1050,7 @@
</entity-condition>
<!-- Now used TimeEntries to update (or not) actual start and end Date -->
<first-from-list entry="summaryInfo" list="summaryInfos"/>
<first-from-list list="summaryInfos" entry="summaryInfo"/>
<set field="highInfo.estimatedStartDate" from-field="summaryInfo.estimatedStartDate"/>
<set field="highInfo.estimatedCompletionDate" from-field="summaryInfo.estimatedCompletionDate"/>
<set field="highInfo.actualStartDate" from-field="summaryInfo.actualStartDate"/>
@@ -1068,7 +1068,7 @@
</condition-list>
<select-field field-name="actualEntryStartDate"/>
</entity-condition>
<first-from-list entry="timeEntriesInfo" list="summaryEntriesInfos"/>
<first-from-list list="summaryEntriesInfos" entry="timeEntriesInfo"/>
<if-not-empty field="timeEntriesInfo">
<if-not-empty field="timeEntriesInfo.actualEntryStartDate">
<if>
@@ -1104,7 +1104,7 @@
<clear-field field="originalActualHours"/>
<!-- I- get timeEntries for which there is no rate (originalHours)-->
<entity-condition list="notRatedValues" entity-name="ProjectPhaseTaskActualNotRatedHoursView">
<entity-condition entity-name="ProjectPhaseTaskActualNotRatedHoursView" list="notRatedValues">
<condition-list>
<condition-expr field-name="projectId" from-field="highInfo.projectId" ignore-if-empty="true"/>
<condition-expr field-name="phaseId" from-field="highInfo.phaseId" ignore-if-empty="true"/>
@@ -1113,13 +1113,13 @@
</condition-list>
<select-field field-name="totalOriginalHours"/>
</entity-condition>
<first-from-list entry="notRatedValue" list="notRatedValues"/>
<first-from-list list="notRatedValues" entry="notRatedValue"/>
<set field="originalHours" from-field="notRatedValue.totalOriginalHours" type="Double"/>
<!-- II- get total for timeEntries having a partyRate that should be applied
before applying rate (totalOriginalHours)
after applying rate (totalRatedHours)-->
<entity-condition list="ratedValues" entity-name="ProjectPhaseTaskActualRatedHoursView">
<entity-condition entity-name="ProjectPhaseTaskActualRatedHoursView" list="ratedValues">
<condition-list>
<condition-expr field-name="projectId" from-field="highInfo.projectId" ignore-if-empty="true"/>
<condition-expr field-name="phaseId" from-field="highInfo.phaseId" ignore-if-empty="true"/>
@@ -1161,7 +1161,7 @@
<set field="highInfo.actualHours" from-field="actualHours"/>
<!-- do the same but for non-billed hours -->
<!-- first get not rated hours -->
<entity-condition list="notRatedValues" entity-name="ProjectPhaseTaskActualNotRatedHoursView">
<entity-condition entity-name="ProjectPhaseTaskActualNotRatedHoursView" list="notRatedValues">
<condition-list>
<condition-expr field-name="projectId" from-field="highInfo.projectId" ignore-if-empty="true"/>
<condition-expr field-name="phaseId" from-field="highInfo.phaseId" ignore-if-empty="true"/>
@@ -1171,10 +1171,10 @@
</condition-list>
<select-field field-name="totalOriginalHours"/>
</entity-condition>
<first-from-list entry="notRatedValue" list="notRatedValues"/>
<first-from-list list="notRatedValues" entry="notRatedValue"/>
<set field="actualNonBilledHours" from-field="notRatedValue.totalOriginalHours" type="Double"/>
<!-- second get non billed for entries having an invoiceId -->
<entity-condition list="ratedValues" entity-name="ProjectPhaseTaskActualRatedHoursView">
<entity-condition entity-name="ProjectPhaseTaskActualRatedHoursView" list="ratedValues">
<condition-list>
<condition-expr field-name="projectId" from-field="highInfo.projectId" ignore-if-empty="true"/>
<condition-expr field-name="phaseId" from-field="highInfo.phaseId" ignore-if-empty="true"/>
@@ -1358,7 +1358,7 @@
</entity-condition>
<if-not-empty field="timesheets">
<!-- use existing timesheet -->
<first-from-list entry="timesheet" list="timesheets"/>
<first-from-list list="timesheets" entry="timesheet"/>
<if-compare field="timesheet.statusId" value="TIMESHEET_IN_PROCESS" operator="equals">
<set field="parameters.timesheetId" from-field="timesheet.timesheetId"/>
<else>
@@ -1383,7 +1383,7 @@
<field-map field-name="partyId" from-field="parameters.partyId"/>
<field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
</entity-and>
<first-from-list entry="taskRole" list="taskRoles"/>
<first-from-list list="taskRoles" entry="taskRole"/>
<set field="parameters.roleTypeId" from-field="taskRole.roleTypeId"/>
<set field="parameters.statusId" value="PAS_ASSIGNED"/>
<call-simple-method method-name="assignPartyToWorkEffort" xml-resource="component://workeffort/minilang/workeffort/WorkEffortSimpleServices.xml"/>
+1 -1
View File
@@ -975,7 +975,7 @@ under the License.
<property-map resource="ProjectMgrUiLabels" map-name="uiLabelMap" global="true"/>
<set field="layoutSettings.javaScripts[]" value="/images/jsgantt.js" global="true"/>
<set field="layoutSettings.styleSheets[]" value="/images/jsgantt.css" global="true"/>
<entity-condition list="projects" entity-name="WorkEffortPartyAssignByGroup" filter-by-date="true">
<entity-condition entity-name="WorkEffortPartyAssignByGroup" list="projects" filter-by-date="true">
<condition-list combine="and">
<condition-expr field-name="partyId" from-field="userLogin.partyId"/>
<condition-list combine="or">
+6 -6
View File
@@ -101,13 +101,13 @@ under the License.
<field name="custRequestName"><display/></field>
<field name="description"><display/></field>
<field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}">
<hyperlink also-hidden="false" description="${projectName}" target="projectView">
<hyperlink description="${projectName}" target="projectView" also-hidden="false">
<parameter param-name="projectId"/>
</hyperlink>
</field>
<field name="phaseName"><display description="${result.phaseName}"/></field>
<field name="taskName">
<hyperlink target="taskView" description="${workEffort.workEffortName}">
<hyperlink description="${workEffort.workEffortName}" target="taskView">
<parameter param-name="workEffortId"/>
</hyperlink>
</field>
@@ -134,12 +134,12 @@ under the License.
</service>
</row-actions>
<field name="custRequestId">
<hyperlink target="ViewRequest" description="${custRequestName} [${custRequestId}]">
<hyperlink description="${custRequestName} [${custRequestId}]" target="ViewRequest">
<parameter param-name="custRequestId"/>
</hyperlink>
</field>
<field name="workEffortParentId" title="${uiLabelMap.ProjectMgrProjectId}" map-name="sResult" sort-field="true">
<hyperlink target="projectView" description="${sResult.projectName} [${sResult.projectId}]">
<hyperlink description="${sResult.projectName} [${sResult.projectId}]" target="projectView">
<parameter param-name="projectId" from-field="sResult.projectId"/>
</hyperlink>
</field>
@@ -147,7 +147,7 @@ under the License.
<display description="${sResult.phaseName} [${sResult.phaseId}]"/>
</field>
<field name="workEffortId">
<hyperlink target="taskView" description="${workEffortName} [${workEffortId}]">
<hyperlink description="${workEffortName} [${workEffortId}]" target="taskView">
<parameter param-name="workEffortId"/>
</hyperlink>
</field>
@@ -166,7 +166,7 @@ under the License.
</form>
<form name="ViewRequestWorkEfforts" extends="ViewRequestWorkEfforts" extends-resource="component://order/widget/ordermgr/CustRequestForms.xml">
<field name="workEffortId">
<hyperlink target="taskView" description="${workEffortName} [${workEffortId}]">
<hyperlink description="${workEffortName} [${workEffortId}]" target="taskView">
<parameter param-name="workEffortId"/>
</hyperlink>
</field>
+18 -18
View File
@@ -42,7 +42,7 @@
<field name="projectId"><hidden/></field>
<field name="templateId" use-when="projectId==null">
<drop-down allow-empty="true">
<entity-options entity-name="WorkEffort" description="${workEffortName}" key-field-name="workEffortId">
<entity-options entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName}">
<entity-constraint name="workEffortTypeId" value="PROJECT_TEMPLATE"/>
</entity-options>
</drop-down>
@@ -60,7 +60,7 @@
</field>
<field name="organizationPartyId">
<drop-down no-current-selected-key="defaultOrganizationPartyId">
<entity-options entity-name="PartyAcctgPrefAndGroup" description="${groupName}" key-field-name="partyId"/>
<entity-options entity-name="PartyAcctgPrefAndGroup" key-field-name="partyId" description="${groupName}"/>
</drop-down>
</field>
<field name="priority" title="${uiLabelMap.CommonPriority}">
@@ -86,7 +86,7 @@
</field>
<field name="parentProjectName" entry-name="parentProjectId" parameter-name="workEffortParentId">
<drop-down allow-empty="true">
<entity-options entity-name="WorkEffort" description="${workEffortName}" key-field-name="workEffortId">
<entity-options entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName}">
<entity-constraint name="workEffortTypeId" value="PROJECT"/>
<entity-constraint name="workEffortId" operator="not-equals" env-name="projectId"/>
</entity-options>
@@ -140,7 +140,7 @@
</row-actions>
<field name="workEffortId"><hidden/></field>
<field name="phaseName" position="1" use-when="showPosition1"><display description="${phaseName}[${phaseId}]"/></field>
<field name="workEffortName" title="${uiLabelMap.FormFieldTitle_taskName}" position="1" use-when="showPosition1"><hyperlink target="taskView?workEffortId=${workEffortId}" description="${workEffortName}[${workEffortId}]"/></field>
<field name="workEffortName" title="${uiLabelMap.FormFieldTitle_taskName}" position="1" use-when="showPosition1"><hyperlink description="${workEffortName}[${workEffortId}]" target="taskView?workEffortId=${workEffortId}"/></field>
<field name="timesheetId" position="2">
<hyperlink description="${timesheetId}" target="Timesheet">
<parameter param-name="timesheetId"/>
@@ -221,7 +221,7 @@
<field name="workEffortParentId"><hidden value=""/></field>
<field name="workEffortId"><hidden value="${projectId}"/></field>
<field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${workEffortName}" target="projectView">
<hyperlink description="${workEffortName}" target="projectView" also-hidden="false">
<parameter param-name="projectId" from-field="workEffortId"/>
</hyperlink>
</field>
@@ -352,7 +352,7 @@
<field name="estimatedStartDate" title="${uiLabelMap.WorkEffortEstimatedStartDate}"><date-time type="date"/></field>
<field name="estimatedCompletionDate" title="${uiLabelMap.WorkEffortEstimatedCompletionDate}"><date-time type="date"/></field>
<field name="edit" title=" ">
<hyperlink target="EditTask?workEffortId=${workEffortId}" description="${uiLabelMap.CommonEdit}"/>
<hyperlink description="${uiLabelMap.CommonEdit}" target="EditTask?workEffortId=${workEffortId}"/>
</field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
</form>
@@ -415,7 +415,7 @@
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="wbsId"><display description="${projectId}.${phaseSeqNum}"/></field>
<field name="phase">
<hyperlink target="FindPhase" description="${phaseName}">
<hyperlink description="${phaseName}" target="FindPhase">
<parameter param-name="projectId"/>
</hyperlink>
</field>
@@ -435,7 +435,7 @@
</row-actions>
<field name="wbsId"><display description="${projectId}.${phaseSeqNum}.${sequenceNum}"/></field>
<field name="task">
<hyperlink target="taskView" description="${workEffortName}">
<hyperlink description="${workEffortName}" target="taskView">
<parameter param-name="workEffortId"/>
</hyperlink>
</field>
@@ -457,7 +457,7 @@
</form>
<form name="ListOrderInfo" target="EditProjectOrders?projectId=${projectId}" type="list" list-name="listOrderAssoProject" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="orderId">
<hyperlink target="/ordermgr/control/orderview" target-type="inter-app" description="${orderId}">
<hyperlink description="${orderId}" target="/ordermgr/control/orderview" target-type="inter-app">
<parameter param-name="orderId"/>
</hyperlink>
</field>
@@ -467,7 +467,7 @@
<field name="orderDate"><display/></field>
<field name="entryDate"><display/></field>
<field name="linkProjectOrder" title=" " widget-style="buttontext" use-when="headerItem.equals(&quot;editProjectOrders&quot;)">
<hyperlink target="unLinkProjectOrder" description="${uiLabelMap.ProjectMgrRemoveLinkFromProject}">
<hyperlink description="${uiLabelMap.ProjectMgrRemoveLinkFromProject}" target="unLinkProjectOrder">
<parameter param-name="workEffortId" from-field="projectId"/>
<parameter param-name="orderId"/>
<parameter param-name="projectId"/>
@@ -548,7 +548,7 @@
</row-actions>
<field name="projectId"><hidden/></field>
<field name="partyName" title="${uiLabelMap.CommonName}">
<hyperlink target="viewprofile" description="${groupName} [${partyId}]">
<hyperlink description="${groupName} [${partyId}]" target="viewprofile">
<parameter param-name="partyId"/>
</hyperlink>
</field>
@@ -691,13 +691,13 @@
<set field="statusId" from-field="result.statusId"/>
</row-actions>
<field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${workEffortName}" target="taskView">
<hyperlink description="${workEffortName}" target="taskView" also-hidden="false">
<parameter param-name="workEffortId"/>
</hyperlink>
</field>
<field name="phaseName" title="${uiLabelMap.ProjectMgrPhaseName}"><display description="${resultProject.phaseName}"/></field>
<field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}">
<hyperlink target="projectView" description="${resultProject.projectName}">
<hyperlink description="${resultProject.projectName}" target="projectView">
<parameter param-name="projectId" from-field="resultProject.projectId"/>
</hyperlink>
</field>
@@ -723,7 +723,7 @@
</hyperlink>
</field>
<field name="toComplete" title="${uiLabelMap.CommonStatustoComplete}">
<hyperlink target="updateResourcesTaskAssigment" description="${uiLabelMap.CommonStatustoComplete}">
<hyperlink description="${uiLabelMap.CommonStatustoComplete}" target="updateResourcesTaskAssigment">
<parameter param-name="workEffortId"/>
<parameter param-name="partyId"/>
<parameter param-name="roleTypeId"/>
@@ -749,7 +749,7 @@
<set field="ActualCompletionDate" from-field="result.projectInfo.actualCompletionDate"/>
</row-actions>
<field entry-name="workEffortName" name="projectName" parameter-name="workEffortName" title="${uiLabelMap.CommonName}" widget-style="buttontext">
<hyperlink target="projectView" description="${workEffortName}[${workEffortId}]">
<hyperlink description="${workEffortName}[${workEffortId}]" target="projectView">
<parameter param-name="projectId" from-field="workEffortId"/>
</hyperlink>
</field>
@@ -773,7 +773,7 @@
<field name="partyId"><hidden/></field>
<field use-when="workEffortId==projectId" name="workEffortId" entry-name="test" title="${uiLabelMap.ProjectMgrProjectName}"><!-- project level -->
<drop-down allow-empty="false">
<entity-options entity-name="WorkEffort" description="${workEffortName}" key-field-name="workEffortId">
<entity-options entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName}">
<entity-constraint name="workEffortTypeId" value="PROJECT"/>
<entity-constraint name="workEffortId" operator="not-equals" env-name="projectId"/>
<entity-constraint name="currentStatusId" operator="not-equals" value="PRJ_CLOSED"/>
@@ -888,7 +888,7 @@
<field name="thruDate"><ignored/></field>
<field name="submitButton"><ignored/></field>
<field name="deleteLink" title=" " widget-style="buttontext" use-when="headerItem.equals(&quot;EditProjectContents&quot;)">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteProjectContent">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteProjectContent" also-hidden="false">
<auto-parameters-entity/>
</hyperlink>
</field>
@@ -896,7 +896,7 @@
<hyperlink description="${uiLabelMap.ContentDownload}" target="ViewSimpleContent?contentId=${contentId}"/>
</field>
<field name="deleteLink" title=" " widget-style="buttontext" use-when="headerItem.equals(&quot;EditTaskContents&quot;)">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteTaskContent">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteTaskContent" also-hidden="false">
<auto-parameters-entity/>
</hyperlink>
</field>
+4 -4
View File
@@ -31,13 +31,13 @@
<service service-name="getPartyTelephone" result-map="telResult"/>
</row-actions>
<field name="resourceName" parameter-name="partyId" title="${uiLabelMap.ProjectMgrResourceName}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${lastName}, ${firstName} ${middleName} ${groupName}" target="viewprofile">
<hyperlink description="${lastName}, ${firstName} ${middleName} ${groupName}" target="viewprofile" also-hidden="false">
<parameter param-name="partyId"/>
</hyperlink>
</field>
<field name="roleTypeId"><hidden/></field>
<field name="emailAddress" title="${uiLabelMap.PartyEmailAddress}">
<hyperlink target="/partymgr/control/EditCommunicationEvent" description="${emailResult.emailAddress}" target-type="inter-app">
<hyperlink description="${emailResult.emailAddress}" target="/partymgr/control/EditCommunicationEvent" target-type="inter-app">
<parameter param-name="partyIdFrom" from-field="userLogin.partyId"/>
<parameter param-name="partyIdTo" from-field="partyId"/>
<parameter param-name="communicationEventTypeId" value="EMAIL_COMMUNICATION"/>
@@ -48,7 +48,7 @@
<field name="telephone" title="${uiLabelMap.PartyPhoneNumber}"><display description="${telResult.countryCode} ${telResult.areaCode} ${telResult.contactNumber}${groovy:telResult.get(&quot;extension&quot;)!=null?&quot; Ext:&quot;:&quot; &quot;}${telResult.extension}"/></field>
<field name="contactMechPurposeTypeId" entry-name="telResult.contactMechPurposeTypeId" title="${uiLabelMap.CommonPurpose}"><display-entity entity-name="ContactMechPurposeType"/></field>
<field name="remove" title="${uiLabelMap.CommonRemove}">
<hyperlink target="removeResource" description="${uiLabelMap.CommonRemove}">
<hyperlink description="${uiLabelMap.CommonRemove}" target="removeResource">
<parameter param-name="partyId"/>
<parameter param-name="roleTypeId"/>
</hyperlink>
@@ -57,7 +57,7 @@
<form name="ListBillingHours" type="list" list-name="billingList" paginate-target="ListResourcesBillingHours"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="projectName">
<hyperlink target="projectView" description="${projectName} [${projectId}]">
<hyperlink description="${projectName} [${projectId}]" target="projectView">
<parameter param-name="projectId"/>
</hyperlink>
</field>
+18 -18
View File
@@ -204,13 +204,13 @@
<set field="currentStatusId" from-field="result.taskInfo.currentStatusId"/>
</row-actions>
<field name="workEffortId" title="${uiLabelMap.ProjectMgrTaskId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${workEffortName}" target="taskView">
<hyperlink description="${workEffortName}" target="taskView" also-hidden="false">
<parameter param-name="workEffortId"/>
</hyperlink>
</field>
<field name="phaseName" title="${uiLabelMap.ProjectMgrPhaseName}"><display/></field>
<field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}" widget-style="buttontext" sort-field="true">
<hyperlink also-hidden="false" description="${projectName}" target="projectView">
<hyperlink description="${projectName}" target="projectView" also-hidden="false">
<parameter param-name="projectId"/>
</hyperlink>
</field>
@@ -239,14 +239,14 @@
<field name="oldRoleTypeId" parameter-name="roleTypeId"><hidden value="${roleTypeId}"/></field>
<field name="oldPartyId" parameter-name="partyId"><hidden value="${partyId}"/></field>
<field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${workEffortName}" target="taskView">
<hyperlink description="${workEffortName}" target="taskView" also-hidden="false">
<parameter param-name="workEffortId"/>
<parameter param-name="my"/>
</hyperlink>
</field>
<field name="phaseName" title="${uiLabelMap.ProjectMgrPhaseName}"><display description="${resultProject.phaseName}"/></field>
<field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}">
<hyperlink target="projectView" description="${resultProject.projectName}">
<hyperlink description="${resultProject.projectName}" target="projectView">
<parameter param-name="projectId" from-field="resultProject.projectId"/>
</hyperlink>
</field>
@@ -279,7 +279,7 @@
<field name="fromDate"><hidden/></field>
<field name="updateButton"><submit/></field>
<field name="remove" title="${uiLabelMap.CommonRemove}">
<hyperlink target="updateTaskAssigment" description="${uiLabelMap.CommonRemove}">
<hyperlink description="${uiLabelMap.CommonRemove}" target="updateTaskAssigment">
<parameter param-name="workEffortId"/>
<parameter param-name="partyId"/>
<parameter param-name="roleTypeId"/>
@@ -288,7 +288,7 @@
</hyperlink>
</field>
<field name="toComplete" title="${uiLabelMap.CommonStatustoComplete}">
<hyperlink target="updateTaskAssigment" description="${uiLabelMap.CommonStatustoComplete}">
<hyperlink description="${uiLabelMap.CommonStatustoComplete}" target="updateTaskAssigment">
<parameter param-name="workEffortId"/>
<parameter param-name="partyId"/>
<parameter param-name="roleTypeId"/>
@@ -307,7 +307,7 @@
</display-entity></field>
<field name="workEffortId" title="${uiLabelMap.ProjectMgrTaskName}" event="onchange" action="javascript:document.assignTaskToMe.submit();" use-when="parameters.get(&quot;workEffortId&quot;)==null">
<drop-down allow-empty="true">
<entity-options entity-name="ProjectPartyAndPhaseAndTask" description="${projectName} -- ${phaseName} -- ${workEffortName}" key-field-name="workEffortId" filter-by-date="true">
<entity-options entity-name="ProjectPartyAndPhaseAndTask" key-field-name="workEffortId" description="${projectName} -- ${phaseName} -- ${workEffortName}" filter-by-date="true">
<entity-constraint name="projectStatusId" operator="not-equals" value="PRJ_CLOSED"/>
<entity-constraint name="partyId" operator="equals" value="${parameters.userLogin.partyId}"/>
<entity-constraint name="currentStatusId" operator="equals" value="PTS_CREATED"/>
@@ -340,7 +340,7 @@
<field name="fromDate"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="workEffortIdFrom" title="${uiLabelMap.CommonName}">
<hyperlink target="taskView" description="${r.taskInfo.taskName}">
<hyperlink description="${r.taskInfo.taskName}" target="taskView">
<parameter param-name="workEffortId" from-field="workEffortIdFrom"/>
</hyperlink>
</field>
@@ -365,7 +365,7 @@
<field name="fromDate"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="workEffortIdTo" title="${uiLabelMap.CommonName}">
<hyperlink target="taskView" description="${r.taskInfo.taskName}">
<hyperlink description="${r.taskInfo.taskName}" target="taskView">
<parameter param-name="workEffortId" from-field="workEffortIdTo"/>
</hyperlink>
</field>
@@ -452,7 +452,7 @@
<field name="timeEntryId"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="timesheetId">
<hyperlink target="Timesheet" description="${timesheetId}">
<hyperlink description="${timesheetId}" target="Timesheet">
<parameter param-name="timesheetId"/>
</hyperlink>
</field>
@@ -478,7 +478,7 @@
<field name="comments"><text size="60"/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
<hyperlink target="deleteTimeEntry" description="${uiLabelMap.CommonDelete}" also-hidden="false">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteTimeEntry" also-hidden="false">
<parameter param-name="workEffortId"/>
<parameter param-name="timeEntryId"/>
</hyperlink>
@@ -526,14 +526,14 @@
<field name="noteParty" title="${uiLabelMap.CommonBy}"><display description="${groovy:org.apache.ofbiz.party.party.PartyHelper.getPartyName(delegator, noteParty, true)} at ${groovy: org.apache.ofbiz.base.util.UtilDateTime.timeStampToString(noteDateTime, &quot;dd-MM-yyyy HH:mm&quot;, TimeZone.getDefault(), context.get(&quot;locale&quot;))}"/></field>
<field name="internalNote" widget-style="buttontext" title="${uiLabelMap.ProjectMgrPrivateOrPublic}" use-when="internalNote.equals(&quot;N&quot;)">
<hyperlink target="updateTaskNote" description="${uiLabelMap.OrderNotesPrivate}">
<hyperlink description="${uiLabelMap.OrderNotesPrivate}" target="updateTaskNote">
<parameter param-name="workEffortId"/>
<parameter param-name="noteId"/>
<parameter param-name="internalNote" value="Y"/>
</hyperlink>
</field>
<field name="internalNote" widget-style="buttontext" title="${uiLabelMap.ProjectMgrPrivateOrPublic}" use-when="internalNote.equals(&quot;Y&quot;)">
<hyperlink target="updateTaskNote" description="${uiLabelMap.OrderNotesPublic}">
<hyperlink description="${uiLabelMap.OrderNotesPublic}" target="updateTaskNote">
<parameter param-name="workEffortId"/>
<parameter param-name="noteId"/>
<parameter param-name="internalNote" value="N"/>
@@ -545,7 +545,7 @@
<field name="taskName" title="${uiLabelMap.ProjectMgrTaskName}"><display description="${task.taskName} [${task.taskId}]"/></field>
<field name="phaseName" title="${uiLabelMap.ProjectMgrPhaseName}"><display description="${projectResult.phaseName} [${projectResult.phaseId}]"/></field>
<field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}">
<hyperlink target="projectView" description="${projectResult.projectName} [${projectResult.projectId}]">
<hyperlink description="${projectResult.projectName} [${projectResult.projectId}]" target="projectView">
<parameter param-name="projectId" from-field="projectResult.projectId"/>
</hyperlink>
</field>
@@ -598,7 +598,7 @@
<form name="ListTaskParties" type="list" list-name="taskParties"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="partyId" title="${uiLabelMap.CommonName}">
<hyperlink target="viewprofile" description="${partyName}">
<hyperlink description="${partyName}" target="viewprofile">
<parameter param-name="partyId"/>
</hyperlink>
</field>
@@ -615,7 +615,7 @@
</entity-and>
</actions>
<field name="contentName" widget-style="smallSubmit">
<hyperlink also-hidden="false" description="${contentName} [${contentId}]" target="ViewSimpleContent">
<hyperlink description="${contentName} [${contentId}]" target="ViewSimpleContent" also-hidden="false">
<parameter param-name="contentId"/>
<parameter param-name="dataResourceId"/>
<parameter param-name="communicationEventId"/>
@@ -660,7 +660,7 @@
<field name="fromDate"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="workEffortIdFrom" title="${uiLabelMap.CommonName}">
<hyperlink target="Dependencies" description="${result.taskInfo.taskName}">
<hyperlink description="${result.taskInfo.taskName}" target="Dependencies">
<parameter param-name="workEffortId" from-field="workEffortIdFrom"/>
</hyperlink>
</field>
@@ -687,7 +687,7 @@
<field name="fromDate"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="workEffortIdTo" title="${uiLabelMap.CommonName}">
<hyperlink target="Dependencies" description="${result.taskInfo.taskName}">
<hyperlink description="${result.taskInfo.taskName}" target="Dependencies">
<parameter param-name="workEffortId" from-field="workEffortIdFrom"/>
</hyperlink>
</field>
+6 -6
View File
@@ -74,7 +74,7 @@
<set field="complete" value="${uiLabelMap.ProjectMgrToComplete}"/>
</actions>
<field name="timesheetId" title="${uiLabelMap.WorkEffortTimesheetTimesheetId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${timesheetId}" target="${my}Timesheet">
<hyperlink description="${timesheetId}" target="${my}Timesheet" also-hidden="false">
<parameter param-name="timesheetId"/>
</hyperlink>
</field>
@@ -85,7 +85,7 @@
<field name="hours"><display/></field>
<field name="comments" title="${uiLabelMap.CommonComments}"><display/></field>
<field name="completeLink" title="${uiLabelMap.CommonStatustoComplete}" widget-style="buttontext">
<hyperlink target="TimeSheetStatusToComplete" description="${groovy:statusId.equals(&quot;TIMESHEET_IN_PROCESS&quot;)?complete:&quot;&quot;}" also-hidden="false">
<hyperlink description="${groovy:statusId.equals(&quot;TIMESHEET_IN_PROCESS&quot;)?complete:&quot;&quot;}" target="TimeSheetStatusToComplete" also-hidden="false">
<parameter param-name="timesheetId"/>
<parameter param-name="statusId" value="TIMESHEET_COMPLETED"/>
</hyperlink>
@@ -134,7 +134,7 @@
<set field="completeLink" value="${groovy:&quot;TIMESHEET_IN_PROCESS&quot;.equals(statusId)?complete:&quot;&quot;}"/>
</row-actions>
<field name="timesheetId" title="${uiLabelMap.WorkEffortTimesheetTimesheetId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${timesheetId}" target="Timesheet">
<hyperlink description="${timesheetId}" target="Timesheet" also-hidden="false">
<parameter param-name="timesheetId"/>
</hyperlink>
</field>
@@ -145,7 +145,7 @@
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"><display type="date"/></field>
<!--field name="comments" title="${uiLabelMap.CommonComments}"><display/></field-->
<field name="completeLink" title="${uiLabelMap.CommonStatustoComplete}" widget-style="buttontext">
<hyperlink target="TimeSheetStatusToComplete" description="${groovy:statusId.equals(&quot;TIMESHEET_IN_PROCESS&quot;)?complete:&quot;&quot;}">
<hyperlink description="${groovy:statusId.equals(&quot;TIMESHEET_IN_PROCESS&quot;)?complete:&quot;&quot;}" target="TimeSheetStatusToComplete">
<parameter param-name="timesheetId"/>
<parameter param-name="statusId" value="TIMESHEET_COMPLETED"/>
</hyperlink>
@@ -272,7 +272,7 @@
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="deleteLink" title=" " widget-style="buttontext">
<hyperlink target="deleteTimesheetEntry" description="${uiLabelMap.CommonDelete}" also-hidden="false">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteTimesheetEntry" also-hidden="false">
<parameter param-name="timesheetId"/>
<parameter param-name="timeEntryId"/>
</hyperlink>
@@ -283,7 +283,7 @@
<field name="timesheetId"><hidden/></field>
<field name="taskWbsId"><display/></field>
<field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}">
<hyperlink target="taskView" description="${workEffortName}">
<hyperlink description="${workEffortName}" target="taskView">
<parameter param-name="workEffortId"/>
</hyperlink>
</field>
+97 -97
View File
@@ -93,7 +93,7 @@
<!-- Add default backlog and task to sprint -->
<call-simple-method method-name="createBacklogMeeting"/>
<entity-one value-field="workEffort" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="workEffort">
<field-map field-name="workEffortId" from-field="parameters.projectId"/>
</entity-one>
</then>
@@ -116,7 +116,7 @@
<entity-and entity-name="WorkEffortAndProduct" list="workEffortList">
<field-map field-name="workEffortId" from-field="parameters.projectId"/>
</entity-and>
<first-from-list entry="workEffortMap" list="workEffortList"/>
<first-from-list list="workEffortList" entry="workEffortMap"/>
<make-value value-field="backlogMeeting" entity-name="CustRequest"/>
<sequenced-id sequence-name="CustRequest" field="custRequestId"/>
<set field="backlogMeeting.custRequestId" from-field="custRequestId"/>
@@ -148,7 +148,7 @@
</call-service>
<set field="parameters.custRequestId" from-field="custRequestId"/>
<set field="parameters.workEffortId" from-field="workEffortId"/>
<set-service-fields service-name="createWorkEffortRequest" to-map="createWorkEffortRequest" map="parameters"/>
<set-service-fields service-name="createWorkEffortRequest" map="parameters" to-map="createWorkEffortRequest"/>/>
<call-service service-name="createWorkEffortRequest" in-map-name="createWorkEffortRequest">
<result-to-field result-name="workEffortId" field="workEffort"/>
</call-service>
@@ -163,7 +163,7 @@
</call-service>
<set field="parameters.custRequestId" from-field="custRequestId"/>
<set field="parameters.workEffortId" from-field="workEffortId"/>
<set-service-fields service-name="createWorkEffortRequest" to-map="createWorkEffortRequest" map="parameters"/>
<set-service-fields service-name="createWorkEffortRequest" map="parameters" to-map="createWorkEffortRequest"/>/>
<call-service service-name="createWorkEffortRequest" in-map-name="createWorkEffortRequest">
<result-to-field result-name="workEffortId" field="workEffortId"/>
</call-service>
@@ -178,7 +178,7 @@
</call-service>
<set field="parameters.custRequestId" from-field="custRequestId"/>
<set field="parameters.workEffortId" from-field="workEffortId"/>
<set-service-fields service-name="createWorkEffortRequest" to-map="createWorkEffortRequest" map="parameters"/>
<set-service-fields service-name="createWorkEffortRequest" map="parameters" to-map="createWorkEffortRequest"/>/>
<call-service service-name="createWorkEffortRequest" in-map-name="createWorkEffortRequest">
<result-to-field result-name="workEffortId" field="workEffortId"/>
</call-service>
@@ -264,7 +264,7 @@
</condition>
<then>
<call-simple-method method-name="getWebSiteId"/>
<entity-condition list="taskInSprintBacklogs" entity-name="CustRequestAndWorkEffort">
<entity-condition entity-name="CustRequestAndWorkEffort" list="taskInSprintBacklogs">
<condition-list combine="and">
<condition-expr field-name="custRequestId" from-field="parameters.custRequestId"/>
<condition-expr field-name="workEffortTypeId" value="SCRUM_SPRINT" operator="not-equals"/>
@@ -277,7 +277,7 @@
<call-service service-name="deleteWorkEffortRequest" in-map-name="input"/>
</if-not-empty>
<!-- Change CustRequest status back to Accepted an d reorder backlog Item-->
<entity-one value-field="sprintMap" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="sprintMap">
<field-map field-name="workEffortId" from-field="parameters.sprintId"/>
</entity-one>
<entity-and entity-name="WorkEffortAndProduct" list="projectList">
@@ -287,7 +287,7 @@
<if-empty field="productId">
<set field="productId" from-field="parameters.productId"/>
</if-empty>
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<if-compare field="custRequest.custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG">
<entity-count count-field="getNum" entity-name="CustRequestAndCustRequestItem">
<condition-list combine="and">
@@ -313,7 +313,7 @@
<set field="custRequestResultMap.custSequenceNum" from-field="sequenceNumIn"/>
<else>
<if-compare field="custRequest.custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG">
<entity-condition list="custRequestList" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custRequestList">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="productId"/>
<condition-expr field-name="custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG"/>
@@ -322,7 +322,7 @@
<order-by field-name="custSequenceNum"/>
</entity-condition>
<else>
<entity-condition list="custRequestList" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custRequestList">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="productId"/>
<condition-expr field-name="custRequestTypeId" operator="not-equals" value="RF_UNPLAN_BACKLOG"/>
@@ -341,7 +341,7 @@
<set field="ready" value="${groovy:internalSeq&gt;=externalSeq}" type="Boolean"/>
<if-compare field="ready" operator="equals" value="true" type="Boolean">
<set field="custRequestIdIn" from-field="custRequestList[i].custRequestId"/>
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="custRequestIdIn"/>
</entity-one>
<set field="custSequenceNum" from-field="custRequestMap.custSequenceNum"/>
@@ -450,7 +450,7 @@
<entity-one entity-name="UserLogin" value-field="sysUserLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set-service-fields service-name="createWorkEffort" to-map="createProject" map="parameters"/>
<set-service-fields service-name="createWorkEffort" map="parameters" to-map="createProject"/>/>
<set field="createProject.workEffortTypeId" value="SCRUM_PROJECT"/>
<set field="createProject.currentStatusId" value="SPJ_ACTIVE"/>
<set field="createProject.userLogin" from-field="sysUserLogin"/>
@@ -519,7 +519,7 @@
</condition>
<then>
<now-timestamp field="now"/>
<set-service-fields service-name="updateWorkEffort" to-map="updateProject" map="parameters"/>
<set-service-fields service-name="updateWorkEffort" map="parameters" to-map="updateProject"/>/>
<call-service service-name="updateWorkEffort" in-map-name="updateProject"/>
<!-- remove old workeffort associate with product -->
<entity-and entity-name="WorkEffortGoodStandard" list="workEffGSDList">
@@ -538,7 +538,7 @@
<set field="goodStandardMap.statusId" value="WEGS_CREATED"/>
<create-value value-field="goodStandardMap"/>
<!-- update project billed options -->
<entity-one value-field="workEffortAttMap" entity-name="WorkEffortAttribute">
<entity-one entity-name="WorkEffortAttribute" value-field="workEffortAttMap">
<field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
<field-map field-name="attrName" value="PROJECT_BILLED"/>
</entity-one>
@@ -566,7 +566,7 @@
<if-not-empty field="sprintList"></if-not-empty>
<iterate list="sprintList" entry="sprint">
<!-- Check current status -->
<entity-one value-field="sprintEntry" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="sprintEntry">
<field-map field-name="workEffortId" from-field="sprint.sprintId"/>
</entity-one>
<if-not-empty field="sprintEntry">
@@ -613,7 +613,7 @@
</or>
</condition>
<then>
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<!-- set default custRequestName -->
<if-empty field="custRequest.custRequestName">
<set field="custRequest.custRequestName" value="product backlog[${custRequest.custRequestId}]"/>
@@ -716,7 +716,7 @@
<then>
<set field="sequenceNumIndex" value="${custRequestList[m].custSequenceNum + count}" type="Integer"/>
<set field="custRequestList[m].custSequenceNum" from-field="sequenceNumIndex" type="String"/>
<entity-one value-field="newCustRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="newCustRequestMap">
<field-map field-name="custRequestId" from-field="custRequestList[m].custRequestId"/>
</entity-one>
<set field="nextSeqNum" value="${custRequestList[m].custSequenceNum}" type="Long"/>
@@ -728,7 +728,7 @@
<if-compare-field field="custRequestList[m].custSequenceNum" operator="greater" to-field="custRequestIndexMap" type="Integer">
<set field="sequenceNumIndex" value="${custRequestIndexMap + count}" type="Integer"/>
<set field="custRequestList[m].custSequenceNum" from-field="sequenceNumIndex" type="String"/>
<entity-one value-field="newCustRequestMaps" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="newCustRequestMaps">
<field-map field-name="custRequestId" from-field="custRequestList[m].custRequestId"/>
</entity-one>
<set field="nextSeqNum" value="${custRequestList[m].custSequenceNum}" type="Long"/>
@@ -750,7 +750,7 @@
<set field="newSeq" from-field="custRequestListWithNewSeq[l].custSequenceNum" type="Integer"/>
<set field="oldSeq" from-field="custRequestList[newSeq-1].custSequenceNum" type="Long"/>
<set field="custRequestId" from-field="custRequestListWithNewSeq[l].custRequestId"/>
<entity-one value-field="newCustRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="newCustRequestMap">
<field-map field-name="custRequestId" from-field="custRequestId"/>
</entity-one>
<set field="newCustRequestMap.custSequenceNum" from-field="oldSeq"/>
@@ -769,7 +769,7 @@
<!-- start sort transaction -->
<loop count="${newCustCount}" field="l">
<set field="custRequestId" from-field="custRequestListWithNewSeq[l].custRequestId"/>
<entity-one value-field="newCustRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="newCustRequestMap">
<field-map field-name="custRequestId" from-field="custRequestId"/>
</entity-one>
<if-compare field="newCustRequestMap.custRequestTypeId" operator="equals" value="RF_PROD_BACKLOG" >
@@ -801,7 +801,7 @@
<set field="oldSeq" from-field="custRequestList[newSeq-1].custSequenceNum" type="Long" />
<loop count="${custCount}" field="m">
<set field="newcustRequestId" from-field="custRequestList[m].custRequestId"/>
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="newcustRequestId"/>
</entity-one>
<set field="custSequenceNum" from-field="custRequestMap.custSequenceNum" type="Long"/>
@@ -931,7 +931,7 @@
<if-compare operator="equals" value="0" field="getNum">
<set field="createCustRequestInMap.custSequenceNum" from-field="sequenceNumIn"/>
<else>
<entity-condition list="custRequestList" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custRequestList">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId"/>
<condition-expr field-name="statusId" operator="equals" value="CRQ_ACCEPTED"/>
@@ -956,7 +956,7 @@
<if-compare field="getNum" operator="equals" value="0">
<set field="createCustRequestInMap.custSequenceNum" from-field="parameters.custSequenceNum"/>
<else>
<entity-condition list="custRequestList" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custRequestList">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId"/>
<condition-expr field-name="statusId" operator="equals" value="CRQ_ACCEPTED"/>
@@ -972,7 +972,7 @@
<set field="ready" value="${groovy:internalSeq&gt;=externalSeq}" type="Boolean"/>
<if-compare field="ready" operator="equals" value="true" type="Boolean">
<set field="custRequestId" from-field="custRequestList[j].custRequestId"/>
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="custRequestId"/>
</entity-one>
<set field="custSequenceNum" from-field="custRequestMap.custSequenceNum"/>
@@ -1041,7 +1041,7 @@
<number value="3600000"/>
</calcop>
</calculate>
<set-service-fields service-name="updateCustRequest" to-map="inMap" map="parameters"/>
<set-service-fields service-name="updateCustRequest" map="parameters" to-map="inMap"/>/>
<call-service service-name="updateCustRequest" in-map-name="inMap"/>
</simple-method>
@@ -1060,11 +1060,11 @@
<field-map field-name="workEffortId" from-field="parameters.projectId"/>
</entity-and>
<first-from-list entry="project" list="projectList"/>
<entity-one value-field="workEffortAttMap" entity-name="WorkEffortAttribute">
<entity-one entity-name="WorkEffortAttribute" value-field="workEffortAttMap">
<field-map field-name="workEffortId" from-field="parameters.projectId"/>
<field-map field-name="attrName" value="PROJECT_BILLED"/>
</entity-one>
<entity-condition list="custRequestList" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custRequestList">
<condition-list combine="and">
<condition-expr field-name="custRequestTypeId" value="RF_PROD_BACKLOG" />
<condition-expr field-name="statusId" value="CRQ_ACCEPTED" />
@@ -1128,7 +1128,7 @@
</condition-list>
</entity-condition>
<if-not-empty field="assigneds">
<first-from-list entry="assignedMap" list="assigneds"/>
<first-from-list list="assigneds" entry="assignedMap"/>
<set field="newInput.partyId" from-field="assignedMap.partyId"></set>
<set field="newInput.workEffortId" from-field="workEffortId"></set>
<set field="newInput.roleTypeId" from-field="assignedMap.roleTypeId"></set>
@@ -1180,7 +1180,7 @@
</condition-list>
</entity-condition>
<if-not-empty field="assigneds">
<first-from-list entry="assignedMap" list="assigneds"/>
<first-from-list list="assigneds" entry="assignedMap"/>
<set field="newInput.partyId" from-field="assignedMap.partyId"></set>
<set field="newInput.workEffortId" from-field="workEffortId"></set>
<set field="newInput.roleTypeId" from-field="assignedMap.roleTypeId"></set>
@@ -1233,7 +1233,7 @@
<entity-and entity-name="UserLogin" list="userLogins">
<field-map field-name="partyId" from-field="parameters.partyId"/>
</entity-and>
<entity-one value-field="partyNameView" entity-name="PartyNameView"/>
<entity-one entity-name="PartyNameView" value-field="partyNameView"/>
<if-empty field="userLogins">
<set field="_error_message_" value="${partyNameView.lastName}, ${partyNameView.firstName} [${parameters.partyId}] does not have UserLogin."/>
<return response-code="error"/>
@@ -1252,7 +1252,7 @@
<set field="parameters.roleTypeId" value="STAKEHOLDER"/>
</if-compare>
<set-service-fields service-name="ensurePartyRole" to-map="ensurePartyRole" map="parameters"/>
<set-service-fields service-name="ensurePartyRole" map="parameters" to-map="ensurePartyRole"/>/>
<set field="ensurePartyRole.userLogin" from-field="sysUserLogin"/>
<call-service service-name="ensurePartyRole" in-map-name="ensurePartyRole"/>
<entity-one entity-name="UserLogin" value-field="sysUserLogin">
@@ -1265,11 +1265,11 @@
</entity-and>
<if-empty field="listGroupId">
<set field="parameters.userLoginId" from-field="userLoginId"/>
<set-service-fields service-name="addUserLoginToSecurityGroup" to-map="inMap" map="parameters"/>
<set-service-fields service-name="addUserLoginToSecurityGroup" map="parameters" to-map="inMap"/>/>
<set field="inMap.userLogin" from-field="sysUserLogin"/>
<call-service service-name="addUserLoginToSecurityGroup" in-map-name="inMap"/>
<else>
<entity-one value-field="roleTypeMap" entity-name="RoleType">
<entity-one entity-name="RoleType" value-field="roleTypeMap">
<field-map field-name="roleTypeId" from-field="parameters.roleTypeId"/>
</entity-one>
<add-error>
@@ -1291,10 +1291,10 @@
<field field="request" type="javax.servlet.http.HttpServletRequest"/>
<string value="uploadedFile"/>
</call-class-method>
<entity-one value-field="systemUser" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="systemUser">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="formInput.formInput.custRequestId"/>
</entity-one>
<if-empty field="formInput.formInput.sprintId">
@@ -1303,7 +1303,7 @@
<field-map field-name="currentStatusId" value="SPRINT_ACTIVE"/>
</entity-and>
<if-not-empty field="custRequestWorkEfforts">
<first-from-list entry="custRequestWorkEffort" list="custRequestWorkEfforts"/>
<first-from-list list="custRequestWorkEfforts" entry="custRequestWorkEffort"/>
<set field="formInput.formInput.sprintId" from-field="custRequestWorkEffort.workEffortId"/>
</if-not-empty>
</if-empty>
@@ -1312,7 +1312,7 @@
<not><if-empty field="formInput.formInput.actualStartDate"/></not>
</condition>
<then>
<entity-one value-field="sprint" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="sprint">
<field-map field-name="workEffortId" from-field="formInput.formInput.sprintId"/>
</entity-one>
<set field="formInput.formInput.actualStartDate" from-field="sprint.actualStartDate"/>
@@ -1370,7 +1370,7 @@
<if-compare field="formInput.formInput.workEffortTypeId" operator="equals" value="SCRUM_TASK_INST">
<set field="formInput.formInput.priority" value="4"/>
</if-compare>
<set-service-fields service-name="createWorkEffort" to-map="createWorkEffort" map="formInput.formInput"/>
<set-service-fields service-name="createWorkEffort" map="formInput.formInput" to-map="createWorkEffort"/>/>
<entity-one entity-name="UserLogin" value-field="sysUserLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
@@ -1381,7 +1381,7 @@
<result-to-field result-name="workEffortId" field="formInput.formInput.workEffortId"/>
</call-service>
<set field="formInput.formInput.custRequestId" from-field="custRequestId"/>
<set-service-fields service-name="createWorkEffortRequest" to-map="createWorkEffortRequest" map="formInput.formInput"/>
<set-service-fields service-name="createWorkEffortRequest" map="formInput.formInput" to-map="createWorkEffortRequest"/>/>
<call-service service-name="createWorkEffortRequest" in-map-name="createWorkEffortRequest"/>
<!--if plan hours(from task) more than first plan hours -->
@@ -1394,7 +1394,7 @@
<result-to-field result-name="initPlanHours"/>
</call-service>
<if-compare-field field="planHours" operator="greater" to-field="initPlanHours" type="Double">
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="formInput.formInput.custRequestId"/>
</entity-one>
<set field="planHoursIn" from-field="planHours" type="Double"/>
@@ -1402,7 +1402,7 @@
<store-value value-field="custRequestMap"/>
<else>
<if-compare-field field="initPlanHours" operator="greater" to-field="planHours" type="Double">
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="formInput.formInput.custRequestId"/>
</entity-one>
<set field="planHoursIn" from-field="planHours" type="Double"/>
@@ -1504,7 +1504,7 @@
<entity-and entity-name="UserLogin" list="userLogins">
<field-map field-name="partyId" from-field="parameters.partyId"/>
</entity-and>
<entity-one value-field="partyNameView" entity-name="PartyNameView"/>
<entity-one entity-name="PartyNameView" value-field="partyNameView"/>
<if-not-empty field="project">
<if-compare operator="equals" value="PRODUCT_OWNER" field="roleTypeId">
<set field="_error_message_" value="The system can add only one product owner!"/>
@@ -1527,11 +1527,11 @@
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set-service-fields service-name="ensurePartyRole" to-map="ensurePartyRole" map="parameters"/>
<set-service-fields service-name="ensurePartyRole" map="parameters" to-map="ensurePartyRole"/>/>
<set field="ensurePartyRole.userLogin" from-field="sysUserLogin"/>
<set field="ensurePartyRole.roleTypeId" from-field="parameters.roleTypeId"/>
<call-service service-name="ensurePartyRole" in-map-name="ensurePartyRole"/>
<set-service-fields service-name="assignPartyToWorkEffort" to-map="assignPartyToWorkEffort" map="parameters"/>
<set-service-fields service-name="assignPartyToWorkEffort" map="parameters" to-map="assignPartyToWorkEffort"/>/>
<set field="assignPartyToWorkEffort.userLogin" from-field="sysUserLogin"/>
<call-service service-name="assignPartyToWorkEffort" in-map-name="assignPartyToWorkEffort"/>
</simple-method>
@@ -1604,7 +1604,7 @@
</or>
</condition>
<then>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
<make-value value-field="product" entity-name="Product"/>
<set field="product.productId" from-field="parameters.productId"/>
<set field="product.productTypeId" value="SCRUM_ITEM"/>
@@ -1632,7 +1632,7 @@
</condition>
<then>
<call-simple-method method-name="getWebSiteId"/>
<entity-one value-field="custRequest" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequest">
<field-map field-name="custRequestId" from-field="parameters.custRequestId"/>
</entity-one>
<set field="update.custRequestId" from-field="parameters.custRequestId"/>
@@ -1654,7 +1654,7 @@
<entity-and entity-name="CustRequestItem" list="custRequestItemList">
<field-map field-name="custRequestId" from-field="parameters.custRequestId"/>
</entity-and>
<first-from-list entry="custRequestItemMap" list="custRequestItemList"/>
<first-from-list list="custRequestItemList" entry="custRequestItemMap"/>
<if-compare-field field="custRequestItemMap.productId" operator="not-equals" to-field="parameters.productId" type="String">
<set field="nullField" type="String"/>
<set field="custRequest.parentCustRequestId" from-field="nullField"/>
@@ -1744,7 +1744,7 @@
<set field="partyCompany" from-field="parameters.partyCompany"/>
<set field="companyId" value="${groovy:partyCompany.substring(partyCompany.indexOf('[')+1,partyCompany.indexOf(']'))}"/>
<!-- Create partyPreson -->
<entity-one value-field="partyRoles" entity-name="PartyRole">
<entity-one entity-name="PartyRole" value-field="partyRoles">
<field-map field-name="partyId" value="${parameters.partyId}"/>
<field-map field-name="roleTypeId" value="PRODUCT_OWNER"/>
</entity-one>
@@ -1761,7 +1761,7 @@
<set field="productRole.fromDate" from-field="nowTimestamp" />
<create-value value-field="productRole"/>
<!-- Create partyCompany -->
<entity-one value-field="partyRoles" entity-name="PartyRole">
<entity-one entity-name="PartyRole" value-field="partyRoles">
<field-map field-name="partyId" value="${companyId}"/>
<field-map field-name="roleTypeId" value="PRODUCT_OWNER_COMP"/>
</entity-one>
@@ -1850,7 +1850,7 @@
<field-map field-name="roleTypeId" value="PRODUCT_OWNER"/>
</entity-and>
<if-not-empty field="ownerProductRoles">
<first-from-list entry="ownerProductRole" list="ownerProductRoles"/>
<first-from-list list="ownerProductRoles" entry="ownerProductRole"/>
<set-service-fields service-name="removePartyFromProduct" to-map="removeProductOwnerRole" map="ownerProductRole"/>
<set field="removeProductOwnerRole.userLogin" from-field="systemUserLogin"/>
<call-service service-name="removePartyFromProduct" in-map-name="removeProductOwnerRole"/>
@@ -1861,7 +1861,7 @@
<field-map field-name="partyId" from-field="productRoleList[0].partyId"/>
</entity-and>
<if-not-empty field="companyRoles">
<first-from-list entry="companyRole" list="companyRoles"/>
<first-from-list list="companyRoles" entry="companyRole"/>
<set-service-fields service-name="removePartyFromProduct" to-map="removeCompanyRole" map="companyRole"/>
<set field="removeCompanyRole.userLogin" from-field="systemUserLogin"/>
<call-service service-name="removePartyFromProduct" in-map-name="removeCompanyRole"/>
@@ -2058,7 +2058,7 @@
<field-map field-name="custRequestTypeId" value="RF_SCRUM_MEETINGS"/>
</entity-and>
<if-empty field="meetingTasks">
<first-from-list entry="lastTimeEntry" list="lastTimeEntrys"/>
<first-from-list list="lastTimeEntrys" entry="lastTimeEntry"/>
<if-not-empty field="lastTimeEntry">
<set field="lastTimeEntry.planHours" from-field="parameters.planHours" type="Double"/>
<set field="parameters.timeEntryId" from-field="lastTimeEntry.timeEntryId"/>
@@ -2068,7 +2068,7 @@
</if-not-empty>
</if-empty>
<set-service-fields service-name="updateWorkEffort" to-map="inMap" map="parameters"/>
<set-service-fields service-name="updateWorkEffort" map="parameters" to-map="inMap"/>/>
<call-service service-name="updateWorkEffort" in-map-name="inMap"/>
<if-not-empty field="parameters.partyId">
<!-- Assigned -->
@@ -2088,7 +2088,7 @@
<condition-expr field-name="taskId" from-field="parameters.workEffortId"/>
</condition-list>
</entity-condition>
<first-from-list entry="sprint" list="sprintList"/>
<first-from-list list="sprintList" entry="sprint"/>
<entity-condition entity-name="WorkEffortPartyAssignment" list="sprintRoles">
<condition-list combine="and">
<condition-expr field-name="partyId" from-field="parameters.partyId"/>
@@ -2127,7 +2127,7 @@
<entity-and entity-name="CustRequestWorkEffort" list="custRequestWorkEffortList">
<field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
</entity-and>
<first-from-list entry="custRequestWorkEffortMap" list="custRequestWorkEffortList"/>
<first-from-list list="custRequestWorkEffortList" entry="custRequestWorkEffortMap"/>
<set field="backlogPlanMap.custRequestId" from-field="custRequestWorkEffortMap.custRequestId" />
<set field="taskPlanMap.custRequestId" from-field="custRequestWorkEffortMap.custRequestId" />
<call-service service-name="getScrumPlanHour" in-map-name="backlogPlanMap">
@@ -2137,7 +2137,7 @@
<result-to-field result-name="initPlanHours"/>
</call-service>
<if-compare-field field="planHours" operator="greater" to-field="initPlanHours" type="Double">
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="custRequestWorkEffortMap.custRequestId"/>
</entity-one>
<set field="planHoursIn" from-field="planHours" type="Double"/>
@@ -2145,7 +2145,7 @@
<store-value value-field="custRequestMap"/>
<else>
<if-compare-field field="initPlanHours" operator="greater" to-field="planHours" type="Double">
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="custRequestWorkEffortMap.custRequestId"/>
</entity-one>
<set field="planHoursIn" from-field="planHours" type="Double"/>
@@ -2184,12 +2184,12 @@
</if-not-empty>
</simple-method>
<simple-method method-name="deleteTaskNote" short-description="Delete Task Note">
<entity-one value-field="workNoteMap" entity-name="WorkEffortNote" auto-field-map="true"/>
<entity-one entity-name="WorkEffortNote" value-field="workNoteMap" auto-field-map="true"/>
<remove-value value-field="workNoteMap"/>
<remove-related relation-name="NoteData" value-field="workNoteMap"/>
</simple-method>
<simple-method method-name="DeleteTaskFromSprintOverview" short-description="Delete Task From Sprint Overview Screen">
<entity-one value-field="taskWorkEffort" entity-name="CustRequestWorkEffort">
<entity-one entity-name="CustRequestWorkEffort" value-field="taskWorkEffort">
<field-map field-name="workEffortId" from-field="parameters.workEffort"/>
<field-map field-name="custRequestId" from-field="parameters.custRequestId"/>
</entity-one>
@@ -2218,7 +2218,7 @@
<field-map field-name="roleTypeId" from-field="parameters.roleTypeId"/>
</entity-and>
<if-not-empty field="partyRoles">
<set-service-fields service-name="deletePartyRole" to-map="deletePartyRoleMap" map="parameters"/>
<set-service-fields service-name="deletePartyRole" map="parameters" to-map="deletePartyRoleMap"/>/>
<set field="deletePartyRoleMap.userLogin" from-field="sysUserLogin"/>
<call-service service-name="deletePartyRole" in-map-name="deletePartyRoleMap"/>
</if-not-empty>
@@ -2240,7 +2240,7 @@
</entity-one>
<set-service-fields service-name="assignPartyToWorkEffort" map="parameters" to-map="assignPartyToWorkEffortCtx"/>
<set field="assignPartyToWorkEffortCtx.userLogin" from-field="sysUserLogin"/>
<entity-condition list="partyRoleList" entity-name="PartyRole">
<entity-condition entity-name="PartyRole" list="partyRoleList">
<condition-expr field-name="partyId" from-field="assignPartyToWorkEffortCtx.partyId"/>
<select-field field-name="roleTypeId"/>
</entity-condition>
@@ -2273,7 +2273,7 @@
<field field="request" type="javax.servlet.http.HttpServletRequest"/>
<string value="uploadedFile"/>
</call-class-method>
<entity-one value-field="systemUser" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="systemUser">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<!--<log level="info" message="=========================parameters:${formInput.formInput}"></log>-->
@@ -2285,12 +2285,12 @@
</call-service>
<field-to-request field="workEffortId"/>
<set field="formInput.formInput.workEffortId" from-field="workEffortId"/>
<set-service-fields service-name="createWorkEffortRequest" to-map="workEffortRequestCtx" map="formInput.formInput"/>
<set-service-fields service-name="createWorkEffortRequest" map="formInput.formInput" to-map="workEffortRequestCtx"/>/>
<call-service service-name="createWorkEffortRequest" in-map-name="workEffortRequestCtx"/>
<!-- createWorkEffortRequest not provide to add the workEffortParentId into WorkEffort entity. -->
<!-- So, we have to add to the entity manualy -->
<entity-one value-field="taskInfo" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="taskInfo">
<field-map field-name="workEffortId"/>
</entity-one>
<if-not-empty field="formInput.formInput.sprintId">
@@ -2366,14 +2366,14 @@
<field-to-request field="custRequestId"/>
</if-not-empty>
<!-- Re-opened the backlog for status CRQ_COMPLETED -->
<entity-condition list="custCompletedList" entity-name="CustRequest">
<entity-condition entity-name="CustRequest" list="custCompletedList">
<condition-list combine="and">
<condition-expr field-name="custRequestId" from-field="formInput.formInput.custRequestId"/>
<condition-expr field-name="statusId" operator="equals" value="CRQ_COMPLETED"/>
</condition-list>
</entity-condition>
<if-not-empty field="custCompletedList">
<first-from-list entry="custRequestMap" list="custCompletedList"/>
<first-from-list list="custCompletedList" entry="custRequestMap"/>
<if>
<condition>
<and>
@@ -2418,7 +2418,7 @@
<select-field field-name="productId"/>
</entity-and>
<if-not-empty field="projectAndTaskList">
<first-from-list entry="projectAndTaskMap" list="projectAndTaskList"/>
<first-from-list list="projectAndTaskList" entry="projectAndTaskMap"/>
<entity-and entity-name="WorkEffortAndProduct" list="productList">
<field-map field-name="workEffortId" from-field="projectAndTaskMap.projectId"/>
<select-field field-name="productId"/>
@@ -2428,7 +2428,7 @@
<field-map field-name="productId" from-field="productList[0].productId"/>
</entity-and>
<else>
<first-from-list entry="unPlannedTaskMap" list="unPlannedTasks"/>
<first-from-list list="unPlannedTasks" entry="unPlannedTaskMap"/>
<entity-and entity-name="WorkEffortAndProduct" list="defaultTaskList">
<field-map field-name="workEffortPurposeTypeId" value="SCRUM_DEFAULT_TASK"/>
<field-map field-name="productId" from-field="unPlannedTaskMap.productId"/>
@@ -2494,7 +2494,7 @@
<call-simple-method method-name="getWebSiteId"/>
<set field="SprintId" from-field="parameters.sprintId"/>
<set field="ProjectId" from-field="parameters.projectId"/>
<entity-one value-field="sprint" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="sprint">
<field-map field-name="workEffortId" from-field="SprintId"/>
</entity-one>
<now-timestamp field="curDate"/>
@@ -2519,7 +2519,7 @@
</else>
</if-compare>
<set field="backlog" value="${backlog} ${tempBacklog}"/>
<entity-condition list="taskInSprintBacklogs" entity-name="CustRequestAndWorkEffort">
<entity-condition entity-name="CustRequestAndWorkEffort" list="taskInSprintBacklogs">
<condition-list combine="and">
<condition-expr field-name="custRequestId" from-field="listBackNotComplete[i].custRequestId"/>
<condition-expr field-name="workEffortTypeId" value="SCRUM_SPRINT" operator="not-equals"/>
@@ -2647,7 +2647,7 @@
<now-timestamp field="now"/>
<!-- calculate estimatedMilliSeconds from initail planned hours -->
<set field="plannedHours" from-field="parameters.plannedHours" default-value="0" type="Integer"/>
<set-service-fields service-name="createWorkEffort" to-map="workEffortMap" map="parameters"/>
<set-service-fields service-name="createWorkEffort" map="parameters" to-map="workEffortMap"/>/>
<set field="parameters.estimatedMilliSeconds" value="${groovy:plannedHours*60*60*1000}"/>
<call-service service-name="createWorkEffort" in-map-name="workEffortMap">
<result-to-field result-name="workEffortId"/>
@@ -2978,7 +2978,7 @@
</if-not-empty>
</simple-method>
<simple-method method-name="deleteProdBacklogNote" short-description="Delete Product Backlog Item Note">
<entity-one value-field="custNoteMap" entity-name="CustRequestNote" auto-field-map="true"/>
<entity-one entity-name="CustRequestNote" value-field="custNoteMap" auto-field-map="true"/>
<remove-value value-field="custNoteMap"/>
<remove-related relation-name="NoteData" value-field="custNoteMap"/>
</simple-method>
@@ -3116,7 +3116,7 @@
</condition-list>
<order-by field-name="-fromDate" />
</entity-condition>
<first-from-list entry="lastTimeEntry" list="lastTimeEntrys" />
<first-from-list list="lastTimeEntrys" entry="lastTimeEntry" />
<if-not-empty field="lastTimeEntry">
<set field="lastTimeEntry.planHours" from-field="planHours" />
<store-value value-field="lastTimeEntry" />
@@ -3169,14 +3169,14 @@
<then>
<call-simple-method method-name="getWebSiteId"/>
<!-- Re-opened the backlog for status CRQ_CANCELLED -->
<entity-condition list="custCancelledList" entity-name="CustRequest">
<entity-condition entity-name="CustRequest" list="custCancelledList">
<condition-list combine="and">
<condition-expr field-name="custRequestId" from-field="parameters.custRequestId"/>
<condition-expr field-name="statusId" operator="equals" value="CRQ_CANCELLED"/>
</condition-list>
</entity-condition>
<if-not-empty field="custCancelledList">
<first-from-list entry="custRequest" list="custCancelledList"/>
<first-from-list list="custCancelledList" entry="custRequest"/>
<get-related relation-name="CustRequestWorkEffort" list="custRequestWorkEffortList" value-field="custRequest"/>
<!-- Remove the backlog from sprint -->
<if-not-empty field="custRequestWorkEffortList">
@@ -3225,7 +3225,7 @@
<condition-expr field-name="taskId" from-field="parameters.workEffortId"/>
</condition-list>
</entity-condition>
<first-from-list entry="sprint" list="sprintList"/>
<first-from-list list="sprintList" entry="sprint"/>
<entity-condition entity-name="WorkEffortPartyAssignment" list="sprintRoles">
<condition-list combine="and">
<condition-expr field-name="partyId" from-field="parameters.partyId"/>
@@ -3263,12 +3263,12 @@
<entity-and entity-name="CustRequestWorkEffort" list="custRequestList">
<field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
</entity-and>
<entity-one value-field="custRequest" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequest">
<field-map field-name="custRequestId" from-field="custRequestList[0].custRequestId"/>
</entity-one>
<set field="custRequestTypeId" from-field="custRequest.custRequestTypeId"/>
<if-compare field="custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG">
<entity-one value-field="party" entity-name="PartyRole">
<entity-one entity-name="PartyRole" value-field="party">
<field-map field-name="partyId" from-field="userLogin.partyId"/>
<field-map field-name="roleTypeId" value="SCRUM_TEAM"/>
</entity-one>
@@ -3291,7 +3291,7 @@
<condition-expr field-name="taskId" from-field="parameters.workEffortId"/>
</condition-list>
</entity-condition>
<first-from-list entry="sprint" list="sprintList"/>
<first-from-list list="sprintList" entry="sprint"/>
<entity-condition entity-name="WorkEffortPartyAssignment" list="sprintRoles">
<condition-list combine="and">
<condition-expr field-name="partyId" from-field="parameters.partyId"/>
@@ -3341,7 +3341,7 @@
<loop count="${size}" field="i">
<if-compare operator="equals" value="${sprintId}" field="sprintList[i].workEffortId" >
<set field="previousSprintId" from-field="sprintList[i+1].workEffortId"/>
<entity-condition list="memberPrevSprint" entity-name="WorkEffortPartyAssignment">
<entity-condition entity-name="WorkEffortPartyAssignment" list="memberPrevSprint">
<condition-list combine="and">
<condition-expr field-name="workEffortId" from-field="previousSprintId"/>
<condition-list combine="or">
@@ -3483,7 +3483,7 @@
<if-not-empty field="workEffGSDList">
<remove-list list="workEffGSDList"/>
</if-not-empty>
<set-service-fields service-name="deleteWorkEffort" to-map="serviceMap" map="workEffortMap"/>
<set-service-fields service-name="deleteWorkEffort" map="workEffortMap" to-map="serviceMap"/>/>
<call-service service-name="deleteWorkEffort" in-map-name="serviceMap">
<default-message>The Default Task record successfully deleted.</default-message>
</call-service>
@@ -3540,7 +3540,7 @@
<if-compare field="getNum" operator="equals" value="0">
<set field="createCustRequestInMap.custSequenceNum" from-field="parameters.custSequenceNum"/>
<else>
<entity-condition list="custRequestList" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custRequestList">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId"/>
<condition-expr field-name="statusId" operator="equals" value="CRQ_ACCEPTED"/>
@@ -3556,7 +3556,7 @@
<set field="ready" value="${groovy:internalSeq&gt;=externalSeq}" type="Boolean"/>
<if-compare field="ready" operator="equals" value="true" type="Boolean">
<set field="custRequestIdIn" from-field="custRequestList[j].custRequestId"/>
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="custRequestIdIn"/>
</entity-one>
<set field="custSequenceNum" from-field="custRequestMap.custSequenceNum"/>
@@ -3668,7 +3668,7 @@
</condition-list>
</entity-condition>
<if-not-empty field="assigneds">
<first-from-list entry="assignedMap" list="assigneds"/>
<first-from-list list="assigneds" entry="assignedMap"/>
<set field="newInput.partyId" from-field="assignedMap.partyId"></set>
<set field="newInput.workEffortId" from-field="workEffortId"></set>
<set field="newInput.roleTypeId" from-field="assignedMap.roleTypeId"></set>
@@ -3724,7 +3724,7 @@
</condition-list>
</entity-condition>
<if-not-empty field="assigneds">
<first-from-list entry="assignedMap" list="assigneds"/>
<first-from-list list="assigneds" entry="assignedMap"/>
<set field="newInput.partyId" from-field="assignedMap.partyId"></set>
<set field="newInput.workEffortId" from-field="workEffortId"></set>
<set field="newInput.roleTypeId" from-field="assignedMap.roleTypeId"></set>
@@ -3827,7 +3827,7 @@
</condition-list>
</entity-condition>
<if-not-empty field="assigneds">
<first-from-list entry="assignedMap" list="assigneds"/>
<first-from-list list="assigneds" entry="assignedMap"/>
<set field="newInput.partyId" from-field="assignedMap.partyId"></set>
<set field="newInput.workEffortId" from-field="workEffortId"></set>
<set field="newInput.roleTypeId" from-field="assignedMap.roleTypeId"></set>
@@ -3862,7 +3862,7 @@
</condition-list>
</entity-condition>
<if-not-empty field="assigneds">
<first-from-list entry="assignedMap" list="assigneds"/>
<first-from-list list="assigneds" entry="assignedMap"/>
<set field="newInput.partyId" from-field="assignedMap.partyId"></set>
<set field="newInput.workEffortId" from-field="workEffortId"></set>
<set field="newInput.roleTypeId" from-field="assignedMap.roleTypeId"></set>
@@ -3891,7 +3891,7 @@
</condition>
<then>
<!-- update status task -->
<entity-one value-field="workEffortMap" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="workEffortMap">
<field-map field-name="workEffortId" from-field="parameters.taskId"/>
</entity-one>
<set field="update.workEffortId" from-field="parameters.taskId"/>
@@ -3946,7 +3946,7 @@
<select-field field-name="productId"/>
</entity-and>
<if-not-empty field="projectAndTaskList">
<first-from-list entry="projectAndTaskMap" list="projectAndTaskList"/>
<first-from-list list="projectAndTaskList" entry="projectAndTaskMap"/>
<entity-and entity-name="WorkEffortAndProduct" list="productList">
<field-map field-name="workEffortId" from-field="projectAndTaskMap.projectId"/>
<select-field field-name="productId"/>
@@ -3956,7 +3956,7 @@
<field-map field-name="productId" from-field="productList[0].productId"/>
</entity-and>
<else>
<first-from-list entry="unPlannedTaskMap" list="unPlannedTasks"/>
<first-from-list list="unPlannedTasks" entry="unPlannedTaskMap"/>
<entity-and entity-name="WorkEffortAndProduct" list="defaultTaskList">
<field-map field-name="workEffortPurposeTypeId" value="SCRUM_DEFAULT_TASK"/>
<field-map field-name="productId" from-field="unPlannedTaskMap.productId"/>
@@ -4043,7 +4043,7 @@
</if-compare>
<!-- re-open completed sprint -->
<if-not-empty field="backlogTask[0].sprintId">
<entity-one value-field="sprintMap" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="sprintMap">
<field-map field-name="workEffortId" from-field="backlogTask[0].sprintId"/>
</entity-one>
<if-compare operator="equals" value="SPRINT_CLOSED" field="sprintMap.currentStatusId">
@@ -4081,7 +4081,7 @@
</condition-list>
</entity-condition>
<if-not-empty field="assigneds">
<first-from-list entry="assignedMap" list="assigneds"/>
<first-from-list list="assigneds" entry="assignedMap"/>
<set field="newInput.partyId" from-field="assignedMap.partyId"></set>
<set field="newInput.workEffortId" from-field="workEffortId"></set>
<set field="newInput.roleTypeId" from-field="assignedMap.roleTypeId"></set>
@@ -4133,7 +4133,7 @@
<entity-one entity-name="UserLogin" value-field="systemUserLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set-service-fields service-name="updatePartyRate" to-map="partyRateMap" map="parameters"/>
<set-service-fields service-name="updatePartyRate" map="parameters" to-map="partyRateMap"/>/>
<set field="partyRateMap.userLogin" from-field="systemUserLogin"/>
<call-service service-name="updatePartyRate" in-map-name="partyRateMap"/>
<field-to-request field="parameters.partyId" request-name="partyId"/>
@@ -4143,7 +4143,7 @@
<entity-one entity-name="UserLogin" value-field="systemUserLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set-service-fields service-name="deletePartyRate" to-map="partyRateMap" map="parameters"/>
<set-service-fields service-name="deletePartyRate" map="parameters" to-map="partyRateMap"/>/>
<set field="partyRateMap.userLogin" from-field="systemUserLogin"/>
<call-service service-name="deletePartyRate" in-map-name="partyRateMap"/>
<field-to-request field="parameters.partyId" request-name="partyId"/>
@@ -4153,7 +4153,7 @@
<entity-one entity-name="UserLogin" value-field="systemUserLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set-service-fields service-name="createPartyRelationshipContactAccount" to-map="partyRelationshipMap" map="parameters"/>
<set-service-fields service-name="createPartyRelationshipContactAccount" map="parameters" to-map="partyRelationshipMap"/>/>
<set field="partyRelationshipMap.userLogin" from-field="systemUserLogin"/>
<call-service service-name="createPartyRelationshipContactAccount" in-map-name="partyRelationshipMap">
<default-message>Successfully created party relationship.</default-message>
@@ -4343,7 +4343,7 @@
</simple-method>
<simple-method method-name="removeProductMember" short-description="Remove Product Member">
<set field="parameters.fromDate" from-field="parameters.fromDate" type="Timestamp"/>
<entity-one value-field="productRoleMap" entity-name="ProductRole"/>
<entity-one entity-name="ProductRole" value-field="productRoleMap"/>
<remove-value value-field="productRoleMap"/>
</simple-method>
<simple-method method-name="updateNotBilledBacklog" short-description="Update Not Billed Backlog">
@@ -4356,7 +4356,7 @@
<loop count="${rowCount}" field="i">
<set field="billed" from-field="paramMap[&quot;billed_o_${i}&quot;]"/>
<set field="custRequestId" from-field="paramMap[&quot;custRequestId_o_${i}&quot;]"/>
<entity-one value-field="custRequestMap" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequestMap"/>
<set field="custRequestMap.billed" from-field="billed"/>
<store-value value-field="custRequestMap"/>
</loop>
+6 -6
View File
@@ -58,14 +58,14 @@
<!-- Scrum CommonDecorator Only-->
<if-compare operator="equals" value="SCRUM" field="sec_object">
<entity-condition list="securityGroupList" entity-name="ScrumMemberUserLoginAndSecurityGroup">
<entity-condition entity-name="ScrumMemberUserLoginAndSecurityGroup" list="securityGroupList">
<condition-list combine="and">
<condition-expr field-name="partyId" operator="equals" from-field="partyId"/>
<condition-expr field-name="partyStatusId" operator="not-equals" value="PARTY_DISABLED"/>
<condition-expr field-name="thruDate" operator="equals" value=""/>
</condition-list>
</entity-condition>
<first-from-list entry="securityGroupMap" list="securityGroupList"/>
<first-from-list list="securityGroupList" entry="securityGroupMap"/>
<if>
<condition>
<or>
@@ -474,7 +474,7 @@
<simple-method method-name="projectUpdateMemberPermission" short-description="Check Project update Member Permission">
<set field="hasPermission" value="false" type="Boolean"/>
<if-has-permission permission="PROJECT" action="_UPDATE">
<entity-condition list="workEffortPartyAssignments" entity-name="WorkEffortPartyAssignment">
<entity-condition entity-name="WorkEffortPartyAssignment" list="workEffortPartyAssignments">
<condition-list combine="and">
<condition-expr field-name="partyId" from-field="userLogin.partyId"/>
<condition-expr field-name="workEffortId" from-field="parameters.projectId"/>
@@ -489,7 +489,7 @@
<simple-method method-name="taskUpdateMemberPermission" short-description="Check Project update Member Permission">
<set field="hasPermission" value="false" type="Boolean"/>
<if-has-permission permission="TASK" action="_UPDATE">
<entity-condition list="workEffortPartyAssignments" entity-name="WorkEffortPartyAssignment">
<entity-condition entity-name="WorkEffortPartyAssignment" list="workEffortPartyAssignments">
<condition-list combine="and">
<condition-expr field-name="partyId" from-field="userLogin.partyId"/>
<condition-expr field-name="roleTypeId" value="SCRUM_MASTER"/>
@@ -558,7 +558,7 @@
<simple-method method-name="projectTaskCreatePermission" short-description="Check Project Create Task Permission">
<set field="hasPermission" value="false" type="Boolean"/>
<if-has-permission permission="TASK" action="_CREATE">
<entity-condition list="workEffortPartyAssignments" entity-name="WorkEffortPartyAssignment">
<entity-condition entity-name="WorkEffortPartyAssignment" list="workEffortPartyAssignments">
<condition-list combine="and">
<condition-expr field-name="partyId" from-field="userLogin.partyId"/>
<condition-expr field-name="workEffortId" from-field="parameters.projectId"/>
@@ -573,7 +573,7 @@
<simple-method method-name="projectTaskDeletePermission" short-description="Check Project Delete Task Permission">
<set field="hasPermission" value="false" type="Boolean"/>
<if-has-permission permission="TASK" action="_DELETE">
<entity-condition list="workEffortPartyAssignments" entity-name="WorkEffortPartyAssignment">
<entity-condition entity-name="WorkEffortPartyAssignment" list="workEffortPartyAssignments">
<condition-list combine="and">
<condition-expr field-name="partyId" from-field="userLogin.partyId"/>
<condition-expr field-name="workEffortId" from-field="parameters.projectId"/>
+89 -89
View File
@@ -27,7 +27,7 @@
</if-compare>
<if-compare field="parameters.mode" value="UP" operator="equals">
<!-- check custRequestTypeId -->
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<if-compare field="custRequest.custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG">
<entity-count count-field="getNum" entity-name="CustRequestAndCustRequestItem">
<condition-list combine="and">
@@ -39,7 +39,7 @@
</condition-list>
</condition-list>
</entity-count>
<entity-condition list="custReq" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custReq">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId" />
<condition-expr field-name="custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG"/>
@@ -61,7 +61,7 @@
<condition-expr field-name="statusId" operator="equals" value="CRQ_ACCEPTED"/>
</condition-list>
</entity-count>
<entity-condition list="custReq" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custReq">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId" />
<condition-expr field-name="custRequestTypeId" operator="equals" value="RF_PROD_BACKLOG"/>
@@ -79,7 +79,7 @@
<set field="custReq[i].custSequenceNum" from-field="custReq[i-1].custSequenceNum" />
<set field="custReq[i-1].custSequenceNum" from-field="temp" />
<entity-one value-field="firstup" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="firstup">
<field-map field-name="custRequestId" from-field="custReq[i].custRequestId" />
</entity-one><!--<log level="always" message="666666666666666666666 firstup : ${firstup}"></log>-->
<set field="firstup.custSequenceNum" from-field="custReq[i].custSequenceNum" />
@@ -91,7 +91,7 @@
</else>
</if-empty>
<entity-one value-field="lastup" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="lastup">
<field-map field-name="custRequestId" from-field="custReq[i-1].custRequestId" />
</entity-one>
<set field="lastup.custSequenceNum" from-field="custReq[i-1].custSequenceNum" />
@@ -108,7 +108,7 @@
</if-compare>
<!-- DOWN -->
<if-compare field="parameters.mode" value="DWN" operator="equals">
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<if-compare field="custRequest.custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG">
<entity-count count-field="getNum" entity-name="CustRequestAndCustRequestItem">
<condition-list combine="and">
@@ -120,7 +120,7 @@
</condition-list>
</condition-list>
</entity-count>
<entity-condition list="custReq" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custReq">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId" />
<condition-expr field-name="custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG"/>
@@ -142,7 +142,7 @@
<condition-expr field-name="statusId" operator="equals" value="CRQ_ACCEPTED"/>
</condition-list>
</entity-count>
<entity-condition list="custReq" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custReq">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId" />
<condition-expr field-name="custRequestTypeId" operator="equals" value="RF_PROD_BACKLOG"/>
@@ -161,7 +161,7 @@
<set field="custReq[i].custSequenceNum" from-field="custReq[i+1].custSequenceNum" />
<set field="custReq[i+1].custSequenceNum" from-field="temp" />
<entity-one value-field="first" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="first">
<field-map field-name="custRequestId" from-field="custReq[i].custRequestId" />
</entity-one>
<set field="first.custSequenceNum" from-field="custReq[i].custSequenceNum" />
@@ -173,7 +173,7 @@
</else>
</if-empty>
<entity-one value-field="last" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="last">
<field-map field-name="custRequestId" from-field="custReq[i+1].custRequestId" />
</entity-one>
<set field="last.custSequenceNum" from-field="custReq[i+1].custSequenceNum" />
@@ -190,7 +190,7 @@
</if-compare>
<!-- TOP -->
<if-compare field="parameters.mode" value="TOP" operator="equals">
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<if-compare field="custRequest.custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG">
<entity-count count-field="getNum" entity-name="CustRequestAndCustRequestItem">
<condition-list combine="and">
@@ -202,7 +202,7 @@
</condition-list>
</condition-list>
</entity-count>
<entity-condition list="custReq" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custReq">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId" />
<condition-expr field-name="custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG"/>
@@ -224,7 +224,7 @@
<condition-expr field-name="statusId" operator="equals" value="CRQ_ACCEPTED"/>
</condition-list>
</entity-count>
<entity-condition list="custReq" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custReq">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId" />
<condition-expr field-name="custRequestTypeId" operator="equals" value="RF_PROD_BACKLOG"/>
@@ -246,7 +246,7 @@
</if-compare>
</loop>
<loop count="${selectedIndex}" field="j">
<entity-one value-field="custReqBottom" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custReqBottom">
<field-map field-name="custRequestId" from-field="custReq[j].custRequestId" />
</entity-one>
<set field="custReqBottom.custSequenceNum" from-field="custReq[j+1].custSequenceNum"
@@ -260,7 +260,7 @@
</if-empty>
</loop>
<entity-one value-field="updatetop" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="updatetop">
<field-map field-name="custRequestId" from-field="selectedCustReq.custRequestId" />
</entity-one>
<set field="updatetop.custSequenceNum" from-field="topCustReq.custSequenceNum"
@@ -275,7 +275,7 @@
</if-compare>
<!-- buttom -->
<if-compare field="parameters.mode" value="BOT" operator="equals">
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<if-compare field="custRequest.custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG">
<entity-count count-field="getNum" entity-name="CustRequestAndCustRequestItem">
<condition-list combine="and">
@@ -287,7 +287,7 @@
</condition-list>
</condition-list>
</entity-count>
<entity-condition list="custReq" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custReq">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId" />
<condition-expr field-name="custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG"/>
@@ -309,7 +309,7 @@
<condition-expr field-name="statusId" operator="equals" value="CRQ_ACCEPTED"/>
</condition-list>
</entity-count>
<entity-condition list="custReq" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custReq">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId" />
<condition-expr field-name="custRequestTypeId" operator="equals" value="RF_PROD_BACKLOG"/>
@@ -333,7 +333,7 @@
<loop count="${diffIndex}" field="j"><!--<log level="always" message="////////// j : ${j}"></log>-->
<set field="lowerSeqNum" from-field="custReq[j+selectedIndex].custSequenceNum" />
<entity-one value-field="update" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="update">
<field-map field-name="custRequestId"
from-field="custReq[j+selectedIndex+1].custRequestId" />
</entity-one>
@@ -348,7 +348,7 @@
</else>
</if-empty>
</loop>
<entity-one value-field="update2" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="update2">
<field-map field-name="custRequestId" from-field="selectedCustReq.custRequestId" />
</entity-one>
<if-empty field="update2">
@@ -377,13 +377,13 @@
<field-map field-name="workEffortId" from-field="parameters.taskId" />
</entity-one>
<if-not-empty field="task">
<entity-condition list="sprintList" entity-name="ProjectSprintBacklogAndTask">
<entity-condition entity-name="ProjectSprintBacklogAndTask" list="sprintList">
<condition-list combine="and">
<condition-expr field-name="taskId" from-field="parameters.taskId"/>
<condition-expr field-name="sprintTypeId" operator="equals" value="SCRUM_SPRINT"/>
</condition-list>
</entity-condition>
<entity-one value-field="sprint" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="sprint">
<field-map field-name="workEffortId" from-field="sprintList[0].sprintId"/>
</entity-one>
<else>
@@ -400,14 +400,14 @@
<!-- get project info -->
<if-not-empty field="sprint">
<!-- get project from sprint -->
<entity-condition list="projectList" entity-name="ProjectSprintBacklogAndTask">
<entity-condition entity-name="ProjectSprintBacklogAndTask" list="projectList">
<condition-list combine="and">
<condition-expr field-name="sprintId" from-field="sprint.workEffortId"/>
<condition-expr field-name="sprintTypeId" operator="equals" value="SCRUM_SPRINT"/>
<condition-expr field-name="taskId" from-field="parameters.taskId"/>
</condition-list>
</entity-condition>
<first-from-list entry="project" list="projectList"/>
<first-from-list list="projectList" entry="project"/>
<field-to-result field="project.projectId"
result-name="projectId" />
<field-to-result field="project.projectName"
@@ -429,7 +429,7 @@
value="${project.projectId}.${sprint.sequenceNum}.${task.sequenceNum}" />
<field-to-result field="taskWbsId" />
<else>
<entity-condition list="tasksDetail" entity-name="ProjectSprintBacklogTaskAndParty">
<entity-condition entity-name="ProjectSprintBacklogTaskAndParty" list="tasksDetail">
<condition-list combine="and">
<condition-expr field-name="taskId" from-field="task.workEffortId"/>
</condition-list>
@@ -455,7 +455,7 @@
</if-compare>
<!-- Check : if parameter of workEffortId is leaveTypeId in EmplLeaveType -->
<entity-one value-field="emplLeaveTypeMap" entity-name="EmplLeaveType">
<entity-one entity-name="EmplLeaveType" value-field="emplLeaveTypeMap">
<field-map field-name="leaveTypeId" from-field="parameters.workEffortId"/>
</entity-one>
<if-not-empty field="emplLeaveTypeMap">
@@ -488,7 +488,7 @@
<set field="leaveThruDate" value="${groovy:import java.sql.Timestamp;
return new Timestamp(emplLeaveFromDate.getTime() + ((int) (60L*60L*1000L*hours)));}"/>
<set field="emplLeaveThruDate" from-field="leaveThruDate" type="Timestamp"/>
<entity-one value-field="emplLeaveMap" entity-name="EmplLeave">
<entity-one entity-name="EmplLeave" value-field="emplLeaveMap">
<field-map field-name="partyId" from-field="timesheet.partyId"/>
<field-map field-name="leaveTypeId" from-field="parameters.workEffortId"/>
<field-map field-name="fromDate" from-field="emplLeaveFromDate"/>
@@ -533,7 +533,7 @@
<set field="leaveThruDate" value="${groovy:import java.sql.Timestamp;
return new Timestamp(emplLeaveFromDate.getTime() + ((int) (60L*60L*1000L*hours)));}"/>
<set field="emplLeaveThruDate" from-field="leaveThruDate" type="Timestamp"/>
<entity-one value-field="emplLeave" entity-name="EmplLeave">
<entity-one entity-name="EmplLeave" value-field="emplLeave">
<field-map field-name="partyId" from-field="timesheet.partyId"/>
<field-map field-name="leaveTypeId" from-field="parameters.workEffortId"/>
<field-map field-name="fromDate" from-field="emplLeaveFromDate"/>
@@ -753,7 +753,7 @@
</condition-list>
<order-by field-name="-fromDate" />
</entity-condition>
<first-from-list entry="lastTimeEntry" list="lastTimeEntrys" />
<first-from-list list="lastTimeEntrys" entry="lastTimeEntry" />
<if-not-empty field="lastTimeEntry">
<set field="lastTimeEntry.planHours" from-field="parameters.planHours" />
<set field="lastTimeEntry.rateTypeId" from-field="parameters.rateTypeId" />
@@ -794,7 +794,7 @@
<field-map field-name="partyId" from-field="timesheet.partyId" />
</entity-and>
<if-compare operator="not-equals" value="SCAS_COMPLETED" field="assigns[0].statusId">
<first-from-list entry="alreadyAssign" list="assigns" />
<first-from-list list="assigns" entry="alreadyAssign" />
<if-compare field="alreadyAssign.statusId" value="SCAS_COMPLETED" operator="not-equals">
<set field="upStat.partyId" from-field="timesheet.partyId" />
<set field="upStat.statusId" value="SCAS_COMPLETED" />
@@ -829,7 +829,7 @@
<entity-and entity-name="CustRequestWorkEffort" list="custRequestWorkEffortList">
<field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
</entity-and>
<first-from-list entry="custRequestWorkEffortMap" list="custRequestWorkEffortList"/>
<first-from-list list="custRequestWorkEffortList" entry="custRequestWorkEffortMap"/>
<set field="backlogPlanMap.custRequestId" from-field="custRequestWorkEffortMap.custRequestId" />
<set field="taskPlanMap.custRequestId" from-field="custRequestWorkEffortMap.custRequestId" />
<call-service service-name="getScrumPlanHour" in-map-name="backlogPlanMap">
@@ -839,7 +839,7 @@
<result-to-field result-name="initPlanHours"/>
</call-service>
<if-compare-field field="planHours" operator="greater" to-field="initPlanHours" type="Double">
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="custRequestWorkEffortMap.custRequestId"/>
</entity-one>
<set field="planHoursIn" from-field="planHours" type="Double"/>
@@ -847,7 +847,7 @@
<store-value value-field="custRequestMap"/>
<else>
<if-compare-field field="initPlanHours" operator="greater" to-field="planHours" type="Double">
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="custRequestWorkEffortMap.custRequestId"/>
</entity-one>
<set field="planHoursIn" from-field="planHours" type="Double"/>
@@ -938,7 +938,7 @@
</entity-and>
</if-not-empty>
<if-empty field="resultCustType">
<entity-condition list="tasks" entity-name="ProjectSprintBacklogAndTask">
<entity-condition entity-name="ProjectSprintBacklogAndTask" list="tasks">
<condition-list combine="and">
<condition-expr field-name="projectId" operator="equals" from-field="parameters.projectId" ignore-if-empty="true" />
<condition-expr field-name="sprintId" operator="equals" from-field="parameters.sprintId" ignore-if-empty="true" />
@@ -956,13 +956,13 @@
<iterate list="tasks" entry="task">
<set field="taskIdCond[+0]" from-field="task.taskId" />
</iterate>
<entity-condition list="timeEntries" entity-name="TimeEntry">
<entity-condition entity-name="TimeEntry" list="timeEntries">
<condition-expr field-name="workEffortId" operator="in" from-field="taskIdCond" />
<order-by field-name="workEffortId" />
</entity-condition>
</if-not-empty>
<else>
<entity-condition list="tasks" entity-name="UnPlannedBacklogsAndTasks">
<entity-condition entity-name="UnPlannedBacklogsAndTasks" list="tasks">
<condition-list combine="and">
<condition-expr field-name="custRequestId" from-field="parameters.custRequestId"/>
<condition-expr field-name="custRequestTypeId" value="RF_UNPLAN_BACKLOG"/>
@@ -978,7 +978,7 @@
<iterate list="tasks" entry="task">
<set field="taskIdCond[+0]" from-field="task.workEffortId" />
</iterate>
<entity-condition list="timeEntries" entity-name="TimeEntry">
<entity-condition entity-name="TimeEntry" list="timeEntries">
<condition-expr field-name="workEffortId" operator="in" from-field="taskIdCond" />
<order-by field-name="workEffortId" />
</entity-condition>
@@ -986,7 +986,7 @@
</else>
</if-empty>
<if-empty field="taskIdCond">
<entity-condition list="tasks" entity-name="CustRequestAndWorkEffort">
<entity-condition entity-name="CustRequestAndWorkEffort" list="tasks">
<condition-list combine="and">
<condition-expr field-name="custRequestId" from-field="parameters.custRequestId"/>
<condition-list combine="or">
@@ -1001,7 +1001,7 @@
<iterate list="tasks" entry="task">
<set field="taskIdCond[+0]" from-field="task.workEffortId" />
</iterate>
<entity-condition list="timeEntries" entity-name="TimeEntry">
<entity-condition entity-name="TimeEntry" list="timeEntries">
<condition-expr field-name="workEffortId" operator="in" from-field="taskIdCond" />
<order-by field-name="workEffortId" />
</entity-condition>
@@ -1012,7 +1012,7 @@
<!-- get time entry from task -->
<if-not-empty field="parameters.taskId">
<entity-condition list="timeEntries" entity-name="TimeEntry">
<entity-condition entity-name="TimeEntry" list="timeEntries">
<condition-list combine="and">
<condition-expr field-name="workEffortId" from-field="parameters.taskId"/>
<condition-expr field-name="partyId" from-field="parameters.partyId" ignore-if-empty="true"/>
@@ -1020,12 +1020,12 @@
</entity-condition>
<else>
<if-not-empty field="taskIdCond">
<entity-condition list="timeEntries" entity-name="TimeEntry">
<entity-condition entity-name="TimeEntry" list="timeEntries">
<condition-list combine="and">
<condition-expr field-name="workEffortId" operator="in" from-field="taskIdCond"/>
</condition-list>
</entity-condition>
<entity-condition list="listTimeEntriesNotBill" entity-name="TimeEntry">
<entity-condition entity-name="TimeEntry" list="listTimeEntriesNotBill">
<condition-list combine="and">
<condition-expr field-name="workEffortId" operator="in" from-field="taskIdCond"/>
<condition-expr field-name="invoiceId" operator="equals" from-field="nullField"/>
@@ -1055,7 +1055,7 @@
<field-map field-name="partyId" from-field="timeEntryNotBill.partyId"/>
</entity-and>
<if-not-empty field="partyRates">
<first-from-list entry="partyRate" list="partyRates"/>
<first-from-list list="partyRates" entry="partyRate"/>
<if-not-empty field="partyRate.percentageUsed">
<calculate field="timeEntryNotBill.hours" type="Double">
<calcop operator="multiply" field="timeEntryNotBill.hours">
@@ -1085,7 +1085,7 @@
<simple-method method-name="getScrumActualHourByTimesheet" short-description=" Get actual hour from (TimeSheet).">
<if-not-empty field="parameters.timesheetId">
<entity-condition list="timeEntries" entity-name="TimeEntry">
<entity-condition entity-name="TimeEntry" list="timeEntries">
<condition-list combine="and">
<condition-expr field-name="timesheetId" from-field="parameters.timesheetId"/>
</condition-list>
@@ -1235,7 +1235,7 @@
<set field="notFirst" value="Y" /><!-- do not create, only add -->
</if-compare>
<!-- get partyId in Company -->
<entity-condition list="listPartyIdInCompany" entity-name="PartyRelationship">
<entity-condition entity-name="PartyRelationship" list="listPartyIdInCompany">
<condition-list combine="and">
<condition-expr field-name="partyIdFrom" from-field="parameters.partyIdFrom"/>
<condition-expr field-name="roleTypeIdFrom" value="ACCOUNT" />
@@ -1273,7 +1273,7 @@
</condition-list>
</entity-condition>
<!-- get tasks from cancelled backlog item -->
<entity-condition list="cancelledBacklogTasks" entity-name="CancelledBacklogsTaskAndTimeEntryTimeSheet">
<entity-condition entity-name="CancelledBacklogsTaskAndTimeEntryTimeSheet" list="cancelledBacklogTasks">
<condition-list combine="and">
<condition-expr field-name="productId" operator="equals" from-field="parameters.productId" />
<condition-expr field-name="invoiceId" operator="equals" from-field="nullField" />
@@ -1285,7 +1285,7 @@
</condition-list>
</entity-condition>
<!-- get unplanned task -->
<entity-condition list="unplannedTasks" entity-name="UnPlannedBacklogsTaskAndTimeEntryTimeSheet">
<entity-condition entity-name="UnPlannedBacklogsTaskAndTimeEntryTimeSheet" list="unplannedTasks">
<condition-list combine="and">
<condition-expr field-name="productId" operator="equals" from-field="parameters.productId" />
<condition-expr field-name="invoiceId" operator="equals" from-field="nullField" />
@@ -1449,7 +1449,7 @@
<set field="invoiceItemMap.description" value="${workEffort.workEffortName} [Task:${workEffort.workEffortId}]"/>
<get-related value-field="workEffort" relation-name="CustRequestWorkEffort" list="custRequestWorkEfforts"/>
<if-not-empty field="custRequestWorkEfforts">
<first-from-list entry="custRequestWorkEffort" list="custRequestWorkEfforts"/>
<first-from-list list="custRequestWorkEfforts" entry="custRequestWorkEffort"/>
<get-related-one value-field="custRequestWorkEffort" relation-name="CustRequest" to-value-field="custRequest"/>
<if-not-empty field="custRequest">
<if-compare field="custRequest.custRequestTypeId" operator="equals" value="RF_SCRUM_MEETINGS" >
@@ -1497,7 +1497,7 @@
<field-map field-name="partyId" from-field="timeEntry.partyId"/>
</entity-and>
<if-not-empty field="partyRates">
<first-from-list entry="partyRate" list="partyRates"/>
<first-from-list list="partyRates" entry="partyRate"/>
<if-not-empty field="partyRate.percentageUsed">
<calculate field="timeEntry.hours" type="Double">
<calcop operator="multiply" field="timeEntry.hours">
@@ -1683,7 +1683,7 @@
</condition-list>
<order-by field-name="-fromDate" />
</entity-condition>
<first-from-list entry="planTimeEntry" list="listPlanHoursByPartyId"/>
<first-from-list list="listPlanHoursByPartyId" entry="planTimeEntry"/>
<if-not-empty field="planTimeEntry">
<calculate field="taskPlanHours" type="Double">
<calcop operator="add" field="planTimeEntry.planHours">
@@ -1694,7 +1694,7 @@
</loop>
</if-not-empty>
<else>
<first-from-list entry="timeEntry" list="timeEntries" />
<first-from-list list="timeEntries" entry="timeEntry" />
<!-- Check if have TimeEntry -->
<if-not-empty field="timeEntry">
<calculate field="taskPlanHours" type="Double">
@@ -1752,7 +1752,7 @@
</if-not-empty>
<else>
<entity-condition list="tasks" entity-name="UnPlannedBacklogsAndTasks">
<entity-condition entity-name="UnPlannedBacklogsAndTasks" list="tasks">
<condition-list combine="and">
<condition-expr field-name="custRequestId" from-field="parameters.custRequestId"/>
<condition-expr field-name="custRequestTypeId" value="RF_UNPLAN_BACKLOG"/>
@@ -1778,7 +1778,7 @@
</if-not-empty>
</else>
</if-empty>
<entity-one value-field="custRequestMap" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequestMap"/>
<if-compare field="custRequestMap.statusId" operator="equals" value="CRQ_ACCEPTED">
<get-related relation-name="CustRequestWorkEffort" list="custWorkEffList" value-field="custRequestMap"/>
<if-not-empty field="custWorkEffList">
@@ -1988,7 +1988,7 @@
</condition-list>
<order-by field-name="-fromDate" />
</entity-condition>
<first-from-list entry="lastTimeEntry" list="lastTimeEntrys" />
<first-from-list list="lastTimeEntrys" entry="lastTimeEntry" />
<if-not-empty field="lastTimeEntry">
<set field="planHours" from-field="lastTimeEntry.planHours" />
</if-not-empty>
@@ -2013,7 +2013,7 @@
<set field="status" value="SRPINT_ACTIVE" />
<set field="curDate" type="Timestamp" />
<set field="projectId" from-field="sprint.workEffortParentId" />
<entity-one value-field="project" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="project">
<field-map field-name="workEffortId" from-field="projectId" />
</entity-one>
<if-not-empty field="project">
@@ -2092,7 +2092,7 @@
</if-not-empty>
<if-not-empty field="custRequest">
<calculate field="defaultBacklogPlanHours" type="Double">
<calcop field="custRequest.custEstimatedMilliSeconds" operator="divide">
<calcop operator="divide" field="custRequest.custEstimatedMilliSeconds">
<number value="3600000" />
</calcop>
</calculate>
@@ -2115,8 +2115,8 @@
<if-compare field="taskPlanHours" operator="greater"
value="0" type="Double">
<calculate field="planHours" type="Double">
<calcop field="planHours" operator="subtract">
<calcop field="taskPlanHours" operator="get" />
<calcop operator="subtract" field="planHours">
<calcop operator="get" field="taskPlanHours" />
</calcop>
</calculate>
</if-compare>
@@ -2145,8 +2145,8 @@
<result-to-field result-name="planHours" field="taskPlanChack" />
</call-service>
<calculate field="totalTaskPlanHours" type="Double">
<calcop field="taskPlanChack" operator="add">
<calcop field="totalTaskPlanHours" operator="get" />
<calcop operator="add" field="taskPlanChack">
<calcop operator="get" field="totalTaskPlanHours" />
</calcop>
</calculate>
</iterate>
@@ -2166,8 +2166,8 @@
</then>
<else>
<calculate field="newPlanHours" type="Double">
<calcop field="planHours" operator="add">
<calcop field="parameters.planHours" operator="get" />
<calcop operator="add" field="planHours">
<calcop operator="get" field="parameters.planHours" />
</calcop>
</calculate>
</else>
@@ -2199,7 +2199,7 @@
<set field="sequenceNumStep" value="1" type="Long" />
<iterate list="custRequestAndCustRequestItems" entry="custRequestAndCustRequestItem">
<!-- update custSequenceNum field of cust request -->
<entity-one value-field="custRequest" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequest">
<field-map field-name="custRequestId"
from-field="custRequestAndCustRequestItem.custRequestId" />
</entity-one>
@@ -2220,9 +2220,9 @@
<entity-and entity-name="CustRequestWorkEffort" list="sprintBacklogs">
<field-map field-name="workEffortId" from-field="parameters.workEffortId" />
</entity-and>
<first-from-list entry="sprintBacklog" list="sprintBacklogs" />
<first-from-list list="sprintBacklogs" entry="sprintBacklog" />
<set field="custRequestId" from-field="sprintBacklog.custRequestId" />
<entity-one value-field="custRequestMap" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequestMap"/>
<set field="custRequestTypeId" from-field="custRequestMap.custRequestTypeId" />
<if-not-empty field="custRequestId">
<if-compare field="custRequestTypeId" operator="equals" value="RF_UNPLAN_BACKLOG">
@@ -2290,11 +2290,11 @@
</and>
</condition>
<then>
<entity-one value-field="custRequest" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequest">
<field-map field-name="custRequestId" from-field="custRequestId"/>
</entity-one>
<if-compare operator="not-equals" value="CRQ_COMPLETED" field="custRequest.statusId">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<if-empty field="custRequest.custRequestName">
@@ -2313,7 +2313,7 @@
<set field="custRequest.fromPartyId" from-field="productRole[0].partyId"/>
</if-compare>
</if-empty>
<set-service-fields service-name="updateCustRequest" to-map="updateCustRequest" map="custRequest"/>
<set-service-fields service-name="updateCustRequest" map="custRequest" to-map="updateCustRequest"/>/>
<set field="updateCustRequest.webSiteId" from-field="parameters.webSiteId"/>
<call-service service-name="updateCustRequest" in-map-name="updateCustRequest"/>
<log level="info" message="Completed Sprint Backlog # ${custRequestId}"/>
@@ -2326,7 +2326,7 @@
<entity-one entity-name="WorkEffort" value-field="resultWorkEffort">
<field-map field-name="workEffortId" from-field="parameters.workEffortId"/>
</entity-one>
<entity-condition list="listCustInSprint" entity-name="CustRequestAndWorkEffort" distinct="true">
<entity-condition entity-name="CustRequestAndWorkEffort" list="listCustInSprint" distinct="true">
<condition-list combine="and">
<condition-expr field-name="workEffortId" from-field="resultWorkEffort.workEffortParentId"/>
</condition-list>
@@ -2448,15 +2448,15 @@
</simple-method>
<simple-method method-name="checkProductOwnerOfSprint" short-description="Check Product Owner Of Sprint">
<set field="isProductOwner" type="Boolean" value="false"/>
<entity-one value-field="projectMap" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="projectMap">
<field-map field-name="workEffortId" from-field="parameters.sprintId"/>
</entity-one>
<entity-and entity-name="WorkEffortAndProduct" list="productList">
<field-map field-name="workEffortId" from-field="projectMap.workEffortParentId"/>
</entity-and>
<first-from-list entry="productMap" list="productList"/>
<first-from-list list="productList" entry="productMap"/>
<if-not-empty field="productMap.productId">
<entity-condition list="productRoles" entity-name="ProductRole">
<entity-condition entity-name="ProductRole" list="productRoles">
<condition-list combine="and">
<condition-expr field-name="roleTypeId" value="PRODUCT_OWNER"/>
<condition-expr field-name="productId" from-field="productMap.productId"/>
@@ -2468,12 +2468,12 @@
</if-not-empty>
</simple-method>
<simple-method method-name="checkProductOwnerOfBacklog" short-description="Check Product Owner Of Backlog">
<entity-condition list="custRequestItems" entity-name="CustRequestItem">
<entity-condition entity-name="CustRequestItem" list="custRequestItems">
<condition-expr field-name="custRequestId" from-field="parameters.custRequestId"/>
</entity-condition>
<first-from-list entry="custRequestItem" list="custRequestItems"/>
<first-from-list list="custRequestItems" entry="custRequestItem"/>
<if-not-empty field="custRequestItem.productId">
<entity-condition list="productRoles" entity-name="ProductRole">
<entity-condition entity-name="ProductRole" list="productRoles">
<condition-list combine="and">
<condition-expr field-name="roleTypeId" value="PRODUCT_OWNER"/>
<condition-expr field-name="productId" from-field="custRequestItem.productId"/>
@@ -2513,7 +2513,7 @@
<if-not-empty field="committer">
<set field="committer" value="${groovy: committer.toString().trim();}"/>
</if-not-empty>
<entity-one value-field="user" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="user">
<field-map field-name="userLoginId" from-field="committer"/>
</entity-one>
<if-empty field="user">
@@ -2524,7 +2524,7 @@
</entity-and>
<if-not-empty field="partyIdenList">
<first-from-list entry="partyIdenMap" list="partyIdenList"/>
<entity-one value-field="user" entity-name="Party">
<entity-one entity-name="Party" value-field="user">
<field-map field-name="partyId" from-field="partyIdenMap.partyId"/>
</entity-one>
<else>
@@ -2535,7 +2535,7 @@
</else>
</if-not-empty>
</if-empty>
<entity-one value-field="task" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="task">
<field-map field-name="workEffortId" from-field="parameters.taskId"/>
</entity-one>
<if-not-empty field="task">
@@ -2544,7 +2544,7 @@
<field-map field-name="roleTypeId" value="OWNER"/>
</entity-and>
<set field="contentIds" type="List" value="${groovy:return org.apache.ofbiz.entity.util.EntityUtil.getFieldListFromEntityList(contentRoles, &quot;contentId&quot;, true)}"/>
<entity-condition list="listIt" entity-name="WorkEffortAndContentDataResource">
<entity-condition entity-name="WorkEffortAndContentDataResource" list="listIt">
<condition-list combine="and">
<condition-expr field-name="workEffortId" from-field="parameters.taskId"/>
<condition-expr field-name="contentId" from-field="contentIds" operator="in"/>
@@ -2562,7 +2562,7 @@
<set field="parameters.objectInfo" from-field="parameters.revisionLink"/>
<set field="parameters.mimeTypeId" value="text/plain"/>
<set-service-fields service-name="createDataResource" to-map="newDataResource" map="parameters"/>
<set-service-fields service-name="createDataResource" map="parameters" to-map="newDataResource"/>/>
<call-service service-name="createDataResource" in-map-name="newDataResource">
<result-to-field result-name="dataResourceId" field="parameters.dataResourceId"/>
</call-service>
@@ -2571,14 +2571,14 @@
<set field="parameters.partyId" from-field="user.partyId"/>
<set field="parameters.contentName" value="R${parameters.revisionNumber}"/>
<set field="parameters.description" from-field="parameters.revisionDescription"/>
<set-service-fields service-name="createContent" to-map="newContent" map="parameters"/>
<set-service-fields service-name="createContent" map="parameters" to-map="newContent"/>/>
<call-service service-name="createContent" in-map-name="newContent">
<result-to-field result-name="contentId" field="parameters.contentId"/>
</call-service>
<set field="parameters.workEffortContentTypeId" value="TASK_SUB_INFO"/>
<set field="parameters.workEffortId" from-field="task.workEffortId"/>
<set-service-fields service-name="createWorkEffortContent" to-map="newWorkEffortContent" map="parameters"/>
<set-service-fields service-name="createWorkEffortContent" map="parameters" to-map="newWorkEffortContent"/>/>
<call-service service-name="createWorkEffortContent" in-map-name="newWorkEffortContent"/>
<!-- check if party assigned to task-->
@@ -2588,7 +2588,7 @@
</entity-and>
<!-- create link from partyId to svn name -->
<if-not-empty field="assignList">
<entity-one value-field="partyIdenMap" entity-name="PartyIdentification">
<entity-one entity-name="PartyIdentification" value-field="partyIdenMap">
<field-map field-name="partyId" from-field="user.partyId"/>
<field-map field-name="partyIdentificationTypeId" value="SVN_LOGIN"/>
</entity-one>
@@ -2641,7 +2641,7 @@
</and>
</condition>
<then>
<first-from-list entry="timesheetMap" list="timesheetList"/>
<first-from-list list="timesheetList" entry="timesheetMap"/>
<set field="planHourMap.taskId" from-field="task.workEffortId"/>
<set field="planHourMap.userLogin" from-field="userLogin"/>
<call-service service-name="getScrumPlanHour" in-map-name="planHourMap">
@@ -2655,7 +2655,7 @@
<field-map field-name="workEffortId" from-field="task.workEffortId"/>
</entity-and>
<if-not-empty field="timeEntryList">
<first-from-list entry="timeEntryMap" list="timeEntryList"/>
<first-from-list list="timeEntryList" entry="timeEntryMap"/>
<!-- remove old planned hour -->
<if-not-empty field="planHours">
<calculate field="planHours">
@@ -2698,7 +2698,7 @@
<entity-and entity-name="CustRequestWorkEffort" list="custRequestWorkEffortList">
<field-map field-name="workEffortId" from-field="task.workEffortId"/>
</entity-and>
<first-from-list entry="custRequestWorkEffortMap" list="custRequestWorkEffortList"/>
<first-from-list list="custRequestWorkEffortList" entry="custRequestWorkEffortMap"/>
<set field="backlogPlanMap.custRequestId" from-field="custRequestWorkEffortMap.custRequestId" />
<set field="backlogPlanMap.userLogin" from-field="userLogin"/>
<set field="taskPlanMap.custRequestId" from-field="custRequestWorkEffortMap.custRequestId" />
@@ -2710,7 +2710,7 @@
<result-to-field result-name="initPlanHours"/>
</call-service>
<if-compare-field field="planHours" operator="greater" to-field="initPlanHours" type="Double">
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="custRequestWorkEffortMap.custRequestId"/>
</entity-one>
<set field="planHoursIn" from-field="planHours" type="Double"/>
@@ -2718,7 +2718,7 @@
<store-value value-field="custRequestMap"/>
<else>
<if-compare-field field="initPlanHours" operator="greater" to-field="planHours" type="Double">
<entity-one value-field="custRequestMap" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custRequestMap">
<field-map field-name="custRequestId" from-field="custRequestWorkEffortMap.custRequestId"/>
</entity-one>
<set field="planHoursIn" from-field="planHours" type="Double"/>
@@ -2739,7 +2739,7 @@
</simple-method>
<simple-method method-name="getPartyLeaveHoursForDate" short-description="Get party leave hours for date.">
<entity-one value-field="emplLeaveMap" entity-name="EmplLeave">
<entity-one entity-name="EmplLeave" value-field="emplLeaveMap">
<field-map field-name="partyId" from-field="parameters.partyId"/>
<field-map field-name="leaveTypeId" from-field="parameters.leaveTypeId"/>
<field-map field-name="fromDate" from-field="parameters.fromDate"/>
@@ -22,7 +22,7 @@ under the License.
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="testDailyMinute" short-description="Daily Meeting Minute Test" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
+6 -6
View File
@@ -21,7 +21,7 @@ under the License.
<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="testUpdateTimesheetEntryByWorkeffortNotComplete" short-description="Test update timesheet entry by workeffort" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrumteam1"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -34,7 +34,7 @@ under the License.
</simple-method>
<simple-method method-name="testUpdateTimesheetEntryByWorkeffortComplete" short-description="Test update timesheet entry by workeffort" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrumteam1"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -46,7 +46,7 @@ under the License.
<call-service service-name="updateTimesheetEntryByWorkeffort" in-map-name="inMap"></call-service>
</simple-method>
<simple-method method-name="testUpdateTask" short-description="Test update tasks" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrumteam2"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -58,7 +58,7 @@ under the License.
</simple-method>
<simple-method method-name="testRemoveTaskAssignToMe" short-description="Test remove task assign to me" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrumteam2"/>
</entity-one>
<entity-and entity-name="WorkEffortPartyAssignment" list="listWorkAssignment">
@@ -74,7 +74,7 @@ under the License.
</simple-method>
<simple-method method-name="testAddNewTimesheet" short-description="Test add a new timesheet" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrumteam2"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -84,7 +84,7 @@ under the License.
</call-service>
</simple-method>
<simple-method method-name="testSetTimeSheetStatusToComplete" short-description="Test set timesheet status to complete" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrumteam2"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
+21 -21
View File
@@ -22,7 +22,7 @@ under the License.
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="testCreateProductBacklogByAdmin" short-description="Test Create Product Backlog" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -34,7 +34,7 @@ under the License.
</simple-method>
<simple-method method-name="testCreateProductBacklogByProductOwner" short-description="Test Create Product Backlog" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="productowner"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -46,7 +46,7 @@ under the License.
</simple-method>
<simple-method method-name="testCreateProductBacklogByScrumMaster" short-description="Test Create Product Backlog" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrummaster"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -58,7 +58,7 @@ under the License.
</simple-method>
<simple-method method-name="testUpdateProductBacklogByAdmin" short-description="Test Update Product Backlog" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -71,7 +71,7 @@ under the License.
</simple-method>
<simple-method method-name="testUpdateProductBacklogByProductOwner" short-description="Test Update Product Backlog" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="productowner"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -88,14 +88,14 @@ under the License.
</simple-method>
<simple-method method-name="testDeleteProductBacklogByAdmin" short-description="Test Delete Product Backlog" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
<set field="parameters.userLogin" from-field="userLogin"/>
<set field="parameters.productId" value="DEMO-PRODUCT-1"/>
<set field="parameters.custRequestId" value="TEST5"/>
<entity-one value-field="result" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="result">
<field-map field-name="custRequestId" from-field="parameters.custRequestId"/>
</entity-one>
<if-compare operator="equals" value="CRQ_ACCEPTED" field="result.statusId">
@@ -104,14 +104,14 @@ under the License.
</simple-method>
<simple-method method-name="testDeleteProductBacklogByProducOwner" short-description="Test Delete Product Backlog" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="productowner"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
<set field="parameters.userLogin" from-field="userLogin"/>
<set field="parameters.productId" value="DEMO-PRODUCT-1"/>
<set field="parameters.custRequestId" value="TEST6"/>
<entity-one value-field="result" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="result">
<field-map field-name="custRequestId" from-field="parameters.custRequestId"/>
</entity-one>
<if-compare operator="equals" value="CRQ_ACCEPTED" field="result.statusId">
@@ -120,7 +120,7 @@ under the License.
</simple-method>
<simple-method method-name="testDeleteProductBacklogByScrumMaster" short-description="Test Delete Product Backlog" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrummaster"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -131,7 +131,7 @@ under the License.
</simple-method>
<simple-method method-name="testCreateBacklogSetStatus" short-description=" Test Set Status Create Product Backlog" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="productowner"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -143,11 +143,11 @@ under the License.
</simple-method>
<simple-method method-name="testCreateDefaultBacklogs" short-description="Test Create DefaultBacklogs" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
<entity-one value-field="workEffort" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="workEffort">
<field-map field-name="workEffortId" value="DEMO-PROJECT-1"/>
</entity-one>
<set field="parameters.workEffortName" value="Test Default Task"/>
@@ -160,7 +160,7 @@ under the License.
</simple-method>
<simple-method method-name="testCreateProductBacklogCategory" short-description="Test Create Product Backlog Category" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -171,7 +171,7 @@ under the License.
</simple-method>
<simple-method method-name="testUpdateProductBacklogCategory" short-description="Test Update Product Backlog Category" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -182,7 +182,7 @@ under the License.
</simple-method>
<simple-method method-name="testNewProductBacklogEmail" short-description="Test New Product Backlog Email" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set field="serviceCtx.userLogin" from-field="userLogin"/>
@@ -196,7 +196,7 @@ under the License.
</simple-method>
<simple-method method-name="testUpdateProductBacklogEmail" short-description="Test Update Product Backlog Email" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set field="serviceCtx.userLogin" from-field="userLogin"/>
@@ -209,7 +209,7 @@ under the License.
</simple-method>
<simple-method method-name="testUpdateSprintBacklogseqDown" short-description="Test Update Sprint Backlog Sequence on Down" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set field="serviceCtx.userLogin" from-field="userLogin"/>
@@ -222,7 +222,7 @@ under the License.
<call-service service-name="updateSprintBacklogseq" in-map-name="serviceCtx"/>
</simple-method>
<simple-method method-name="testUpdateSprintBacklogseqUP" short-description="Test Update Sprint Backlog Sequence on UP" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set field="serviceCtx.userLogin" from-field="userLogin"/>
@@ -235,7 +235,7 @@ under the License.
<call-service service-name="updateSprintBacklogseq" in-map-name="serviceCtx"/>
</simple-method>
<simple-method method-name="testUpdateSprintBacklogseqBotton" short-description="Test Update Sprint Backlog Sequence on Botton" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set field="serviceCtx.userLogin" from-field="userLogin"/>
@@ -248,7 +248,7 @@ under the License.
<call-service service-name="updateSprintBacklogseq" in-map-name="serviceCtx"/>
</simple-method>
<simple-method method-name="testUpdateSprintBacklogseqTOP" short-description="Test Update Sprint Backlog Sequence on TOP" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set field="serviceCtx.userLogin" from-field="userLogin"/>
+2 -2
View File
@@ -22,7 +22,7 @@ under the License.
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="testCreateProductByAdmin" short-description="" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -37,7 +37,7 @@ under the License.
</simple-method>
<simple-method method-name="testUpdateProductByAdmin" short-description="" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
+1 -1
View File
@@ -21,7 +21,7 @@ under the License.
<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="testCreateTestTask" short-description="" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="testadmin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
+4 -4
View File
@@ -22,7 +22,7 @@ under the License.
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="testCreateScrumProjectByProductOwner" short-description="Test Create Scrum Project" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="productowner"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -37,7 +37,7 @@ under the License.
</simple-method>
<simple-method method-name="testUpdateScrumProjectByProductOwner" short-description="Test Create Scrum Project" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="productowner"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -52,7 +52,7 @@ under the License.
</simple-method>
<simple-method method-name="testUpdateScrumProjectByScrumMaster" short-description="Test Create Scrum Project" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="productowner"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -67,7 +67,7 @@ under the License.
</simple-method>
<simple-method method-name="testCloseScrumProject" short-description="Test Close Scrum Project " login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
+4 -4
View File
@@ -21,7 +21,7 @@ under the License.
<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="testcreateSprintBacklogByAdmin" short-description="" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -32,7 +32,7 @@ under the License.
</simple-method>
<simple-method method-name="testcreateSprintBacklogByScrummaster" short-description="" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrummaster"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -43,7 +43,7 @@ under the License.
</simple-method>
<simple-method method-name="testdeleteSprintBacklogByAdmin" short-description="" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -53,7 +53,7 @@ under the License.
</simple-method>
<simple-method method-name="testdeleteSprintBacklogByScurmmaster" short-description="" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrummaster"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
+6 -6
View File
@@ -22,18 +22,18 @@ under the License.
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="testUpdateSprintBacklog" short-description="Update Sprint Backlog" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set field="parameters.custRequestId" value="TEST9"/>
<set field="parameters.estimatedMilliSeconds" value="36000000"/>
<set field="parameters.userLogin" from-field="userLogin"/>
<set-service-fields service-name="updateCustRequest" to-map="inMap" map="parameters"/>
<set-service-fields service-name="updateCustRequest" map="parameters" to-map="inMap"/>/>
<call-service service-name="updateCustRequest" in-map-name="inMap"/>
</simple-method>
<simple-method method-name="testCreateSprintByScrummaster" short-description="Test Create Sprint By Scrummaster" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrummaster"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -62,7 +62,7 @@ under the License.
</simple-method>
<simple-method method-name="testCreateSprintByAdmin" short-description="Test Create Sprint By Admin" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="admin"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -91,7 +91,7 @@ under the License.
</simple-method>
<simple-method method-name="testAddSprintMember" short-description="Test add Sprint member" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrummaster"/>
</entity-one>
<set field="parameters.workEffortId" value="DEMO-SPRINT-1"/>
@@ -104,7 +104,7 @@ under the License.
</simple-method>
<simple-method method-name="testRemoveSprintMember" short-description="Test remove Sprint member" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrummaster"/>
</entity-one>
<set field="parameters.workEffortId" value="DEMO-SPRINT-1"/>
+3 -3
View File
@@ -22,7 +22,7 @@ under the License.
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="testViewScrumRevision" short-description="Test View Scrum Revision" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -41,7 +41,7 @@ under the License.
<check-errors/>
</simple-method>
<simple-method method-name="testRetrieveMissingScrumRevision" short-description="Test Retrieve Missing Scrum Revision" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -59,7 +59,7 @@ under the License.
<check-errors/>
</simple-method>
<simple-method method-name="testRemoveDuplicateScrumRevision" short-description="Test Remove Duplicate Scrum Revision" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="system"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
+2 -2
View File
@@ -22,7 +22,7 @@ under the License.
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
<simple-method method-name="testTimesheetToComplete" short-description="Test set timesheet status to complete" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrumteam2"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
@@ -31,7 +31,7 @@ under the License.
<call-service service-name="updateTimesheet" in-map-name="inMap"></call-service>
</simple-method>
<simple-method method-name="testTimesheetToInProcess" short-description="Test set timesheet status to In Process" login-required="false">
<entity-one value-field="userLogin" entity-name="UserLogin">
<entity-one entity-name="UserLogin" value-field="userLogin">
<field-map field-name="userLoginId" value="scrumteam2"/>
</entity-one>
<set-current-user-login value-field="userLogin"/>
+1 -1
View File
@@ -512,7 +512,7 @@ under the License.
<section>
<actions>
<set field="headerItem" value="Sprints"/>
<entity-one value-field="sprint" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="sprint">
<field-map field-name="workEffortId" from-field="parameters.sprintId"/>
</entity-one>
<set field="parameters.projectId" from-field="sprint.workEffortParentId"/>
+3 -3
View File
@@ -130,7 +130,7 @@ under the License.
<field name="fromDate"><hidden/></field>
<field name="my"><hidden/></field>
<field name="contentName">
<hyperlink also-hidden="false" description="${contentName} [${contentId}]" target="ViewSimpleContent">
<hyperlink description="${contentName} [${contentId}]" target="ViewSimpleContent" also-hidden="false">
<parameter param-name="contentId"/>
<parameter param-name="dataResourceId"/>
<parameter param-name="communicationEventId"/>
@@ -181,7 +181,7 @@ under the License.
<field name="subject" tooltip="Do not remove the &quot;PD#${product.productId}&quot; number"><text size="74" maxlength="255" default-value="PD#${product.productId} - ${product.internalName}"/></field>
<field name="send" title=" " position="1" widget-style="buttontext"
use-when="&quot;${communicationEvent.statusId}&quot;!=&quot;COM_COMPLETE&quot;&amp;&amp;&quot;${communicationEvent.statusId}&quot;!=&quot;COM_IN_PROGRESS&quot;">
<hyperlink also-hidden="false" target-type="plain" description="${uiLabelMap.CommonSend}" target="javascript:(document.EditEmailForProduct.form.value='list'),(document.EditEmailForProduct.statusId.value='COM_IN_PROGRESS'),(document.EditEmailForProduct.submit())"/>
<hyperlink description="${uiLabelMap.CommonSend}" target="javascript:(document.EditEmailForProduct.form.value='list'),(document.EditEmailForProduct.statusId.value='COM_IN_PROGRESS'),(document.EditEmailForProduct.submit())" also-hidden="false" target-type="plain"/>
</field>
</form>
<form name="ViewEmailForProduct" type="single" extends="EditEmail" target="${target}" default-map-name="communicationEvent" id="updateEmailForProduct">
@@ -192,7 +192,7 @@ under the License.
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="custRequestId"><ignored/> </field>
<field name="contentName">
<hyperlink also-hidden="false" description="${contentName} [${contentId}]" target="ViewSimpleContent">
<hyperlink description="${contentName} [${contentId}]" target="ViewSimpleContent" also-hidden="false">
<parameter param-name="contentId"/>
<parameter param-name="dataResourceId"/>
<parameter param-name="communicationEventId"/>
+1 -1
View File
@@ -49,7 +49,7 @@ under the License.
</service>
</actions>
<field name="custRequestId" widget-style="buttontext" title="Product Backlog Item Id">
<hyperlink also-hidden="false" target-type="plain" description="${custRequestId}" target="javascript:set_value('${custRequestId}')"/>
<hyperlink description="${custRequestId}" target="javascript:set_value('${custRequestId}')" also-hidden="false" target-type="plain"/>
</field>
<field name="description" title="Product Backlog Item"><display/></field>
<field name="parentCustRequestId" title="Parent Product Backlog Item"><display/></field>
+2 -2
View File
@@ -26,7 +26,7 @@
<set field="complete" value="${uiLabelMap.ScrumToComplete}"/>
</actions>
<field name="timesheetId" title="${uiLabelMap.WorkEffortTimesheetTimesheetId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${timesheetId}" target="MyWork">
<hyperlink description="${timesheetId}" target="MyWork" also-hidden="false">
<parameter param-name="timesheetId"/>
</hyperlink>
</field>
@@ -36,7 +36,7 @@
<field name="hours"><display/></field>
<field name="comments" title="${uiLabelMap.CommonComments}"><display/></field>
<field name="completeLink" title="${uiLabelMap.CommonStatustoComplete}" widget-style="buttontext">
<hyperlink target="${my}TimeSheetStatusToComplete" description="${groovy:statusId.equals(&quot;TIMESHEET_IN_PROCESS&quot;)?complete:&quot;&quot;}" also-hidden="false">
<hyperlink description="${groovy:statusId.equals(&quot;TIMESHEET_IN_PROCESS&quot;)?complete:&quot;&quot;}" target="${my}TimeSheetStatusToComplete" also-hidden="false">
<parameter param-name="timesheetId"/>
<parameter param-name="statusId" value="TIMESHEET_COMPLETED"/>
</hyperlink>
+7 -7
View File
@@ -33,7 +33,7 @@
<set field="partyId" from-field="partyAssignViewList[0].partyId"/>
</row-actions>
<field name="workEffortId" title="${uiLabelMap.ScrumTaskName}">
<hyperlink target="editDefaultTask" description="${workEffortName}">
<hyperlink description="${workEffortName}" target="editDefaultTask">
<parameter param-name="workEffortId"/>
<parameter param-name="productId"/>
</hyperlink></field>
@@ -43,7 +43,7 @@
<display-entity entity-name="PartyNameView" description="${lastName} ${firstName} ${middleName}" key-field-name="partyId"/>
</field>
<field name="deleteButton" title="${uiLabelMap.CommonRemove}" widget-style="buttontext">
<hyperlink target="deleteDefaultTask" description="${uiLabelMap.CommonRemove}">
<hyperlink description="${uiLabelMap.CommonRemove}" target="deleteDefaultTask">
<parameter param-name="workEffortId"/>
<parameter param-name="productId"/>
</hyperlink>
@@ -99,13 +99,13 @@
<entity-one entity-name="PartyNameView" value-field="party"/>
</row-actions>
<field name="workEffortId" title="Task Name">
<hyperlink target="taskView" description="${workEffortName}">
<hyperlink description="${workEffortName}" target="taskView">
<parameter param-name="taskId" from-field="workEffortId"/>
</hyperlink>
</field>
<field name="description"><display/></field>
<field name="partyId">
<hyperlink target="viewprofile" description="${party.firstName} ${party.lastName}">
<hyperlink description="${party.firstName} ${party.lastName}" target="viewprofile">
<parameter param-name="partyId"/>
</hyperlink>
</field>
@@ -135,7 +135,7 @@
}"/>
</row-actions>
<field name="backlogName" title="${uiLabelMap.ScrumBacklogItem}">
<hyperlink target="ViewProdBacklogItem" description="${description}[${custRequestId}]" target-window="_blank">
<hyperlink description="${description}[${custRequestId}]" target="ViewProdBacklogItem" target-window="_blank">
<parameter param-name="custRequestId" from-field="custRequestId"/>
<parameter param-name="productId" from-field="parameters.productId"/>
</hyperlink>
@@ -242,7 +242,7 @@
<set field="partyId" from-field="partyAssignViewList[0].partyId"/>
</row-actions>
<field name="workEffortId" title="${uiLabelMap.ScrumTaskName}">
<hyperlink target="editDefaultTaskScrum" description="${workEffortName}">
<hyperlink description="${workEffortName}" target="editDefaultTaskScrum">
<parameter param-name="workEffortId"/>
</hyperlink></field>
<field name="workEffortTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="WorkEffortType"/></field>
@@ -251,7 +251,7 @@
<display-entity entity-name="PartyNameView" description="${lastName} ${firstName} ${middleName}" key-field-name="partyId"/>
</field>
<field name="deleteButton" title="${uiLabelMap.CommonRemove}" widget-style="buttontext">
<hyperlink target="deleteDefaultTaskScrum" description="${uiLabelMap.CommonRemove}">
<hyperlink description="${uiLabelMap.CommonRemove}" target="deleteDefaultTaskScrum">
<parameter param-name="workEffortId"/>
</hyperlink>
</field>
+2 -2
View File
@@ -41,7 +41,7 @@ under the License.
<actions>
<set field="titleProperty" value="PageTitleDefaultTasks"/>
<set field="tabButtonItem" value="defaultTasks"/>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
</actions>
<widgets>
<decorator-screen name="CommonScrumProductDecorator" location="${parameters.mainDecoratorLocation}">
@@ -64,7 +64,7 @@ under the License.
<set field="titleProperty" value="PageTitleEditDefaultTasks"/>
<set field="tabButtonItem" value="defaultTasks"/>
<set field="workEffortId" from-field="parameters.workEffortId"/>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
</actions>
<widgets>
<decorator-screen name="CommonScrumProductDecorator" location="${parameters.mainDecoratorLocation}">
+2 -2
View File
@@ -38,7 +38,7 @@
<field name="partyId"><hidden/></field>
<field use-when="workEffortId==projectId" name="workEffortId" entry-name="test" title="${uiLabelMap.ScrumProjectName}"><!-- project level -->
<drop-down allow-empty="false">
<entity-options entity-name="WorkEffort" description="${workEffortName}" key-field-name="workEffortId">
<entity-options entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName}">
<entity-constraint name="workEffortTypeId" value="SCRUM_PROJECT"/>
<entity-constraint name="currentStatusId" operator="equals" value="SPJ_ACTIVE"/>
<entity-order-by field-name="workEffortName"/>
@@ -78,7 +78,7 @@
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="fromDate"><hidden/></field>
<field entry-name="workEffortName" name="projectName" parameter-name="workEffortName" title="${uiLabelMap.CommonName}" widget-style="buttontext">
<hyperlink target="viewScrumProject" description="${workEffortName}[${workEffortId}]">
<hyperlink description="${workEffortName}[${workEffortId}]" target="viewScrumProject">
<parameter param-name="projectId" from-field="workEffortId"/>
</hyperlink>
</field>
+7 -7
View File
@@ -74,7 +74,7 @@
<set field="rateAmount" from-field="rateResult[0].rateAmount"/>
</row-actions>
<field name="lastName" parameter-name="partyId" title="${uiLabelMap.ScrumMember}" sort-field="true">
<hyperlink also-hidden="false" description="${partyNameView.lastName}, ${partyNameView.firstName} ${partyNameView.middleName} - [${partyId}]" target="viewprofile" link-type="hidden-form">
<hyperlink description="${partyNameView.lastName}, ${partyNameView.firstName} ${partyNameView.middleName} - [${partyId}]" target="viewprofile" also-hidden="false" link-type="hidden-form">
<parameter param-name="partyId"/>
</hyperlink>
</field>
@@ -86,14 +86,14 @@
<field name="rateAmount" use-when="rateTypeId!=null"><display/></field>
<field name="percentageUsed" use-when="rateTypeId!=null"><display/></field>
<field name="update" title="${uiLabelMap.CommonUpdate}" widget-style="buttontext" use-when="rateTypeId!=null">
<hyperlink target="QuickAddPartyRate" description="${uiLabelMap.CommonUpdate}" link-type="hidden-form">
<hyperlink description="${uiLabelMap.CommonUpdate}" target="QuickAddPartyRate" link-type="hidden-form">
<parameter param-name="partyId"/>
<parameter param-name="rateTypeId"/>
<parameter param-name="fromDate"/>
</hyperlink>
</field>
<field name="remove" title="${uiLabelMap.CommonRemove}" widget-style="buttontext">
<hyperlink target="removeResource" description="${uiLabelMap.CommonRemove}" link-type="hidden-form" confirmation-message="Are you sure to delete this person ?">
<hyperlink description="${uiLabelMap.CommonRemove}" target="removeResource" link-type="hidden-form" confirmation-message="Are you sure to delete this person ?">
<parameter param-name="partyId"/>
<parameter param-name="groupId"/>
<parameter param-name="userLoginId"/>
@@ -200,14 +200,14 @@
<set field="parameters.workEffortTypeId" value="PROJECT"/>
<set field="fieldList[]" value="workEffortId"/>
<set field="fieldList[]" value="lastStatusUpdate"/>
<entity-condition list="contents" entity-name="ContentRole">
<entity-condition entity-name="ContentRole" list="contents">
<condition-list>
<condition-expr field-name="partyId" from-field="parameters.partyId"/>
<condition-expr field-name="roleTypeId" value="OWNER"/>
</condition-list>
</entity-condition>
<set field="contentIds" value="${groovy:return org.apache.ofbiz.entity.util.EntityUtil.getFieldListFromEntityList(contents, &quot;contentId&quot;, true)}" type="List" />
<entity-condition list="listIt" entity-name="WorkEffortAndContentDataResource">
<entity-condition entity-name="WorkEffortAndContentDataResource" list="listIt">
<condition-list>
<condition-expr field-name="contentName" operator="like" value="%${parameters.contentName}%" ignore-if-empty="true" ignore-case="true"/>
<condition-expr field-name="description" operator="like" value="%${parameters.description}%" ignore-if-empty="true" ignore-case="true"/>
@@ -366,7 +366,7 @@
<set field="compCheck" value="${groovy: if (roleTypeId==&quot;PRODUCT_OWNER_COMP&quot; || roleTypeId==&quot;PRODUCT_OWNER&quot;) compCheck = true; else compCheck = false;}" type="Boolean"/>
</row-actions>
<field name="lastName" parameter-name="partyId" title="${uiLabelMap.ScrumMember}" sort-field="true">
<hyperlink also-hidden="false" description="${partyNameView.lastName} ${partyNameView.middleName} ${partyNameView.firstName} ${partyNameView.groupName} - [${partyId}]" target="viewprofile" link-type="hidden-form">
<hyperlink description="${partyNameView.lastName} ${partyNameView.middleName} ${partyNameView.firstName} ${partyNameView.groupName} - [${partyId}]" target="viewprofile" also-hidden="false" link-type="hidden-form">
<parameter param-name="partyId"/>
</hyperlink>
</field>
@@ -377,7 +377,7 @@
<display type="date"/>
</field>
<field name="remove" title="${uiLabelMap.CommonRemove}" widget-style="buttontext" use-when="!compCheck">
<hyperlink target="removeProductMember" description="${uiLabelMap.CommonRemove}" link-type="hidden-form">
<hyperlink description="${uiLabelMap.CommonRemove}" target="removeProductMember" link-type="hidden-form">
<parameter param-name="productId" from-field="productId"/>
<parameter param-name="partyId"/>
<parameter param-name="roleTypeId"/>
+3 -3
View File
@@ -272,14 +272,14 @@ under the License.
<set field="title" value="${uiLabelMap.ScrumRevisions}"/>
<set field="parameters.custRequestId" from-field="custRequestWorkEffort[0].custRequestId"/>
<set field="parameters.noConditionFind" value="Y"/>
<entity-condition list="contents" entity-name="ContentRole">
<entity-condition entity-name="ContentRole" list="contents">
<condition-list>
<condition-expr field-name="partyId" from-field="parameters.partyId"/>
<condition-expr field-name="roleTypeId" value="OWNER"/>
</condition-list>
</entity-condition>
<set field="contentIds" value="${groovy:return org.apache.ofbiz.entity.util.EntityUtil.getFieldListFromEntityList(contents, &quot;contentId&quot;, true)}" type="List" />
<entity-condition list="listIt" entity-name="WorkEffortAndContentDataResource">
<entity-condition entity-name="WorkEffortAndContentDataResource" list="listIt">
<condition-list>
<condition-expr field-name="workEffortContentTypeId" value="TASK_SUB_INFO"/>
<condition-expr field-name="contentId" operator="in" from-field="contentIds"/>
@@ -403,7 +403,7 @@ under the License.
<set field="titleProperty" value="PageTitleScrumProductMembers"/>
<set field="productId" from-field="parameters.productId"/>
<set field="tabButtonItem" value="productMember"/>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
<script location="component://scrum/groovyScripts/ListScrumRolesPersonAndCompany.groovy"/>
</actions>
<widgets>
+13 -13
View File
@@ -220,29 +220,29 @@
<field name="workEffortName" title="${uiLabelMap.ScrumTaskName}"><display description="${resultTask.workEffortName}"/></field>
<field name="workEffortTypeId" title="${uiLabelMap.ScrumTaskType}" ><display description="${workEffortType.description}"/></field>
<field name="custRequestId" title="${uiLabelMap.ScrumProductBacklog}">
<hyperlink target="ViewProdBacklogItem" description="${custRequest.description} [${custRequest.custRequestId}]">
<hyperlink description="${custRequest.description} [${custRequest.custRequestId}]" target="ViewProdBacklogItem">
<parameter param-name="custRequestId" from-field="custRequest.custRequestId"/>
<parameter param-name="productId" from-field="productId"/>
</hyperlink>
</field>
<field name="sprintName" title="${uiLabelMap.ScrumSprint}" use-when="sprintId!=null">
<hyperlink target="ViewSprint" description="${sprintName} [${sprintId}]">
<hyperlink description="${sprintName} [${sprintId}]" target="ViewSprint">
<parameter param-name="projectId" from-field="projectId"/>
<parameter param-name="sprintId" from-field="sprintId"/>
</hyperlink>
</field>
<field name="projectName" title="${uiLabelMap.ScrumProject}" use-when="projectId!=null">
<hyperlink target="viewScrumProject" description="${projectName} [${projectId}]">
<hyperlink description="${projectName} [${projectId}]" target="viewScrumProject">
<parameter param-name="projectId"/>
</hyperlink>
</field>
<field name="productId" title="${uiLabelMap.PageTitleProduct}">
<hyperlink target="ViewProduct" description="${product.internalName} [${productId}]">
<hyperlink description="${product.internalName} [${productId}]" target="ViewProduct">
<parameter param-name="productId" from-field="productId"/>
</hyperlink>
</field>
<field name="groupName" title="${uiLabelMap.ScrumCompany}">
<hyperlink target="viewprofile" description="${companyList[0].groupName}">
<hyperlink description="${companyList[0].groupName}" target="viewprofile">
<parameter param-name="partyId" from-field="companyList[0].partyId"/>
</hyperlink>
</field>
@@ -592,7 +592,7 @@
</entity-condition>
</actions>
<field name="partyId" title="${uiLabelMap.CommonName}">
<hyperlink target="viewprofile" description="${lastName} ${firstName}">
<hyperlink description="${lastName} ${firstName}" target="viewprofile">
<parameter param-name="partyId"/>
</hyperlink>
</field>
@@ -627,7 +627,7 @@
</row-actions>
<field name="workEffortId"><hidden/></field>
<field name="taskName" title="${uiLabelMap.ScrumTaskName}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${taskName} - [${taskId}] " target="taskView">
<hyperlink description="${taskName} - [${taskId}] " target="taskView" also-hidden="false">
<parameter param-name="taskId" from-field="workEffortId"/>
</hyperlink>
</field>
@@ -647,7 +647,7 @@
</field>
<field name="UpdateButton" title="${uiLabelMap.CommonUpdate}"><submit/></field>
<field name="RemoveButton" title="${uiLabelMap.CommonRemove}" widget-style="buttontext">
<hyperlink target="unassignPartyFromWorkEffort" description="${uiLabelMap.CommonRemove}" confirmation-message="Are you sure to remove this task ?" link-type="hidden-form">
<hyperlink description="${uiLabelMap.CommonRemove}" target="unassignPartyFromWorkEffort" confirmation-message="Are you sure to remove this task ?" link-type="hidden-form">
<parameter param-name="workEffortId" from-field="taskId"/>
<parameter param-name="partyId" from-field="partyId"/>
<parameter param-name="roleTypeId" from-field="roleTypeId"/>
@@ -703,7 +703,7 @@
</display-entity>
</field>
<field name="sprintId" use-when="sprintId==null">
<hyperlink target="unplanBacklog" description="${uiLabelMap.ScrumUnplanSprint}">
<hyperlink description="${uiLabelMap.ScrumUnplanSprint}" target="unplanBacklog">
<parameter param-name="productId" from-field="productId"/>
</hyperlink>
</field>
@@ -736,13 +736,13 @@
<field name="taskActualMilliSeconds" title="${uiLabelMap.ScrumActualHours}" parameter-name="actualHours"><display description="${result.actualHours}"/></field>
<field name="taskEstimatedStartDate" title="${uiLabelMap.CommonStartDate}" parameter-name="estimatedStartDate"><display type="date"/></field>
<field name="editButton" title=" " widget-style="buttontext">
<hyperlink target="EditTask" description="${uiLabelMap.CommonEdit}" link-type="hidden-form">
<hyperlink description="${uiLabelMap.CommonEdit}" target="EditTask" link-type="hidden-form">
<parameter param-name="taskId"/>
<parameter param-name="sprintId"></parameter>
</hyperlink>
</field>
<field name="deleteButton" title=" " widget-style="buttontext">
<hyperlink target="deleteTask" description="${uiLabelMap.CommonDelete}" link-type="hidden-form" confirmation-message="Are you sure to delete this task?">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteTask" link-type="hidden-form" confirmation-message="Are you sure to delete this task?">
<parameter param-name="custRequestId"/>
<parameter param-name="workEffortId" from-field="taskId"/>
</hyperlink>
@@ -832,7 +832,7 @@
<property-to-field resource="revision" property="revision.url" field="url"/>
</row-actions>
<field name="contentName" title="${uiLabelMap.ScrumRevision}" widget-style="buttontext">
<hyperlink target="RevisionInfo?repository=${url}${drObjectInfo}" description="${contentName}" link-type="anchor" target-window="_BLANK" target-type="plain"/>
<hyperlink description="${contentName}" target="RevisionInfo?repository=${url}${drObjectInfo}" link-type="anchor" target-window="_BLANK" target-type="plain"/>
</field>
<field name="description" title="${uiLabelMap.CommonMessage}"><display description="${groovy:description.toString().substring(0,Math.min(description.toString().length(),100))}"/></field>
<field name="partyId" title="${uiLabelMap.ScrumCommitter}">
@@ -946,7 +946,7 @@
<field name="sprintId"><hidden value="${parameters.sprintId}"/></field>
<field name="partyId"><hidden/></field>
<field name="memberName" title="${uiLabelMap.ScrumMembersName}">
<hyperlink target="viewprofile" description="${lastName} ${firstName} ${middleName} [${partyId}]">
<hyperlink description="${lastName} ${firstName} ${middleName} [${partyId}]" target="viewprofile">
<parameter param-name="partyId"/>
</hyperlink>
</field>
+5 -5
View File
@@ -281,7 +281,7 @@ under the License.
<field-map field-name="workEffortId" from-field="parameters.taskId"/>
</entity-and>
<set field="partyId" from-field="assignTo[0].partyId"/>
<entity-one value-field="person" entity-name="Person"/>
<entity-one entity-name="Person" value-field="person"/>
<entity-condition list="SprintTasks" entity-name="ProjectSprintBacklogAndTask">
<condition-list combine="and">
<condition-expr field-name="projectId" from-field="parameters.projectId"/>
@@ -325,7 +325,7 @@ under the License.
<field-map field-name="custRequestId" from-field="custRequestId"/>
</entity-and>
<set field="sprintId" from-field="parameters.sprintId"/>
<entity-one value-field="sprint" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="sprint">
<field-map field-name="workEffortId" from-field="sprintId"/>
</entity-one>
</actions>
@@ -381,7 +381,7 @@ under the License.
<actions>
<set field="workEffortId" from-field="parameters.taskId"/>
<set field="taskId" from-field="parameters.taskId"/>
<entity-condition list="workNoteList" entity-name="WorkEffortNote" >
<entity-condition entity-name="WorkEffortNote" list="workNoteList" >
<condition-expr field-name="workEffortId" from-field="workEffortId"/>
<order-by field-name="-noteId"/>
<limit-range start="0" size="5"/>
@@ -410,7 +410,7 @@ under the License.
<screen name="ViewTask">
<section>
<actions>
<entity-one value-field="task" entity-name="WorkEffort"/>
<entity-one entity-name="WorkEffort" value-field="task"/>
</actions>
<widgets>
<include-screen name="taskInfo"/>
@@ -420,7 +420,7 @@ under the License.
<screen name="InfoTestTaskNote">
<section>
<actions>
<entity-one value-field="task" entity-name="WorkEffort"/>
<entity-one entity-name="WorkEffort" value-field="task"/>
<set field="taskId" from-field="task.workEffortId"/>
</actions>
<widgets>
+5 -5
View File
@@ -64,7 +64,7 @@
<set field="completeLink" value="${groovy:&quot;TIMESHEET_IN_PROCESS&quot;.equals(statusId)?complete:&quot;&quot;}"/>
</row-actions>
<field name="timesheetId" title="${uiLabelMap.WorkEffortTimesheetTimesheetId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${timesheetId}" target="ViewTimeSheet">
<hyperlink description="${timesheetId}" target="ViewTimeSheet" also-hidden="false">
<parameter param-name="timesheetId"/>
</hyperlink>
</field>
@@ -75,13 +75,13 @@
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"><display type="date"/></field>
<!--field name="comments" title="${uiLabelMap.CommonComments}"><display/></field-->
<field name="completeLink" title="${uiLabelMap.CommonStatustoComplete}" widget-style="buttontext">
<hyperlink target="TimeSheetStatusToComplete" description="${groovy:statusId.equals(&quot;TIMESHEET_IN_PROCESS&quot;)?complete:&quot;&quot;}">
<hyperlink description="${groovy:statusId.equals(&quot;TIMESHEET_IN_PROCESS&quot;)?complete:&quot;&quot;}" target="TimeSheetStatusToComplete">
<parameter param-name="timesheetId"/>
<parameter param-name="statusId" value="TIMESHEET_COMPLETED"/>
</hyperlink>
</field>
<field name="inProcessLink" title="${uiLabelMap.StatusToInProcess}" widget-style="buttontext">
<hyperlink target="updateTimesheetToInProcess" description="${groovy:statusId.equals(&quot;TIMESHEET_COMPLETED&quot;)?inProcess:&quot;&quot;}" >
<hyperlink description="${groovy:statusId.equals(&quot;TIMESHEET_COMPLETED&quot;)?inProcess:&quot;&quot;}" target="updateTimesheetToInProcess" >
<parameter param-name="timesheetId"/>
<parameter param-name="statusId" value="TIMESHEET_IN_PROCESS"/>
</hyperlink>
@@ -93,7 +93,7 @@
<set field="complete" value="${uiLabelMap.ScrumToComplete}"/>
</actions>
<field name="timesheetId" title="${uiLabelMap.WorkEffortTimesheetTimesheetId}" widget-style="buttontext">
<hyperlink also-hidden="false" description="${timesheetId}" target="${my}Timesheet">
<hyperlink description="${timesheetId}" target="${my}Timesheet" also-hidden="false">
<parameter param-name="timesheetId"/>
</hyperlink>
</field>
@@ -104,7 +104,7 @@
<field name="hours"><display/></field>
<field name="comments" title="${uiLabelMap.CommonComments}"><display/></field>
<field name="completeLink" title="${uiLabelMap.CommonStatustoComplete}" widget-style="buttontext">
<hyperlink target="TimeSheetStatusToComplete" description="${groovy:statusId.equals(&quot;TIMESHEET_IN_PROCESS&quot;)?complete:&quot;&quot;}" also-hidden="false">
<hyperlink description="${groovy:statusId.equals(&quot;TIMESHEET_IN_PROCESS&quot;)?complete:&quot;&quot;}" target="TimeSheetStatusToComplete" also-hidden="false">
<parameter param-name="timesheetId"/>
<parameter param-name="statusId" value="TIMESHEET_COMPLETED"/>
</hyperlink>
+1 -1
View File
@@ -54,7 +54,7 @@ under the License.
<set field="headerItem" value="timesheet"/>
<set field="tabButtonItem" value="timesheets"/>
<script location="component://scrum/groovyScripts/EditDailyHourReport.groovy"/>
<entity-one value-field="partyNameViewMap" entity-name="PartyNameView">
<entity-one entity-name="PartyNameView" value-field="partyNameViewMap">
<field-map field-name="partyId" from-field="timesheet.partyId"/>
</entity-one>
</actions>
+50 -50
View File
@@ -41,7 +41,7 @@ under the License.
<field name="projectId"><hidden value="${parameters.projectId}"/></field>
<field name="workEffortId"><hidden value="${workEffortId}"/></field>
<field name="workEffortName" title="Sprint Name">
<hyperlink target="ViewSprint" description="${workEffortName}">
<hyperlink description="${workEffortName}" target="ViewSprint">
<parameter param-name="sprintId" from-field="workEffortId"/>
<parameter param-name="projectId" from-field="projectWorkEffort.workEffortId"/>
</hyperlink>
@@ -75,7 +75,7 @@ under the License.
<field-map field-name="workEffortId" from-field="parameters.projectId"/>
</entity-and>
<set field="productId" from-field="projectList[0].productId"/>
<entity-condition list="custRequestAndCustRequestItem" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="custRequestAndCustRequestItem">
<condition-list combine="and">
<condition-expr field-name="custRequestTypeId" value="RF_PROD_BACKLOG" />
<condition-expr field-name="statusId" value="CRQ_ACCEPTED" />
@@ -86,7 +86,7 @@ under the License.
</actions>
<field name="custRequestId"><hidden/></field>
<field name="description" title="${uiLabelMap.ScrumProductBacklogName}">
<hyperlink target="ViewProdBacklogItem" description="${context.description} - [${custRequestId}]">
<hyperlink description="${context.description} - [${custRequestId}]" target="ViewProdBacklogItem">
<parameter param-name="custRequestId"/>
<parameter param-name="productId"/>
</hyperlink>
@@ -187,14 +187,14 @@ under the License.
<field name="planHours" title="${uiLabelMap.ScrumPlannedHours}" position="2" use-when="!&quot;SCRUM_SPRINT&quot;.equals(taskTypeId)"><display></display>
</field>
<field name="deleteButton" title=" " position="1" use-when="showPosition1&amp;&amp;!&quot;CRQ_COMPLETED&quot;.equals(&quot;${custRequest.statusId}&quot;)" widget-style="buttontext">
<hyperlink target="DeleteSprintBackLogs" description="Delete" confirmation-message="Are you sure to delete this sprint backlog ?" link-type="hidden-form">
<hyperlink description="Delete" target="DeleteSprintBackLogs" confirmation-message="Are you sure to delete this sprint backlog ?" link-type="hidden-form">
<parameter param-name="custRequestId"/>
<parameter param-name="sprintId"/>
<parameter param-name="projectId"/>
</hyperlink>
</field>
<field name="newTask" title=" " position="1" use-when="showPosition1&amp;&amp;!&quot;CRQ_COMPLETED&quot;.equals(&quot;${custRequest.statusId}&quot;)" widget-style="buttontext">
<hyperlink target="NewSprintBacklogTask" description="Add Task" link-type="hidden-form">
<hyperlink description="Add Task" target="NewSprintBacklogTask" link-type="hidden-form">
<parameter param-name="custRequestId"/>
<parameter param-name="sprintId"/>
<parameter param-name="projectId"/>
@@ -205,13 +205,13 @@ under the License.
<display-entity entity-name="PartyNameView" description="${lastName}, ${firstName} ${middleName}" key-field-name="partyId"/>
</field>
<field name="editTaskParty" title=" " position="2" use-when="!&quot;STS_COMPLETED&quot;.equals(taskCurrentStatusId)&amp;&amp;!&quot;SCRUM_SPRINT&quot;.equals(taskTypeId)" widget-style="buttontext">
<hyperlink target="EditTask" description="${uiLabelMap.CommonEdit}" link-type="hidden-form" target-window="_BLANK">
<hyperlink description="${uiLabelMap.CommonEdit}" target="EditTask" link-type="hidden-form" target-window="_BLANK">
<parameter param-name="taskId"/>
<parameter param-name="sprintId"></parameter>
</hyperlink>
</field>
<field name="deleteTaskButton" title=" " position="2" use-when="!&quot;STS_COMPLETED&quot;.equals(taskCurrentStatusId)&amp;&amp;!&quot;SCRUM_SPRINT&quot;.equals(taskTypeId)" widget-style="buttontext">
<hyperlink target="DeleteTaskFromSprintOverview" description="Delete" confirmation-message="Are you sure to delete this task ?" link-type="hidden-form">
<hyperlink description="Delete" target="DeleteTaskFromSprintOverview" confirmation-message="Are you sure to delete this task ?" link-type="hidden-form">
<parameter param-name="workEffortId" from-field="taskId"/>
<parameter param-name="custRequestId"/>
<parameter param-name="sprintId"/>
@@ -220,7 +220,7 @@ under the License.
</field>
<field name="setCompleteButton" title=" " widget-style="buttontext" use-when="!&quot;STS_COMPLETED&quot;.equals(taskCurrentStatusId)&amp;&amp;!&quot;SCRUM_SPRINT&quot;.equals(taskTypeId)"
position="2">
<hyperlink target="setCompleteTask" description="${uiLabelMap.ScrumSetComplete}" link-type="hidden-form">
<hyperlink description="${uiLabelMap.ScrumSetComplete}" target="setCompleteTask" link-type="hidden-form">
<parameter param-name="workEffortId" from-field="taskId"/>
<parameter param-name="sprintId"></parameter>
</hyperlink>
@@ -280,12 +280,12 @@ under the License.
<set field="actualCompletionDate" from-field="sprint.actualCompletionDate" type="Timestamp"/>
</actions>
<field name="productId" title="${uiLabelMap.ScrumProductName}">
<hyperlink target="ViewProduct" description="${resultProduct.internalName} [${resultProduct.productId}]">
<hyperlink description="${resultProduct.internalName} [${resultProduct.productId}]" target="ViewProduct">
<parameter param-name="productId" from-field="resultProduct.productId"/>
</hyperlink>
</field>
<field name="projectId" title="${uiLabelMap.ScrumProjectName}">
<hyperlink target="viewScrumProject" description="${project.workEffortName} [${project.workEffortId}]">
<hyperlink description="${project.workEffortName} [${project.workEffortId}]" target="viewScrumProject">
<parameter param-name="projectId" from-field="parameters.projectId"/>
</hyperlink>
</field>
@@ -337,7 +337,7 @@ under the License.
<field name="statusId" title="${uiLabelMap.CommonStatus}">
<drop-down>
<entity-options entity-name="StatusItem">
<entity-constraint name="statusTypeId" value="SPRINT_STATUS" operator="equals"/>
<entity-constraint name="statusTypeId" operator="equals" value="SPRINT_STATUS"/>
</entity-options>
</drop-down>
</field>
@@ -442,7 +442,7 @@ under the License.
<field name="sprintId"> <hidden value="${parameters.sprintId}"/></field>
<field name="partyId"><hidden/></field>
<field name="workEffortId"><hidden value="${parameters.sprintId}"/></field>
<field name="memberName" title="${uiLabelMap.ScrumMembersName}"><hyperlink target="viewprofile" description="${lastName}, ${firstName} ${middleName} [${partyId}]"><parameter param-name="partyId"/></hyperlink></field>
<field name="memberName" title="${uiLabelMap.ScrumMembersName}"><hyperlink description="${lastName}, ${firstName} ${middleName} [${partyId}]" target="viewprofile"><parameter param-name="partyId"/></hyperlink></field>
<field name="roleTypeId">
<display-entity entity-name="RoleType"/>
</field>
@@ -463,7 +463,7 @@ under the License.
<form name="EditScrumProject" default-map-name="workEffort" target="updateScrumProject" title="" type="single">
<actions>
<entity-one value-field="workEffortAttMap" entity-name="WorkEffortAttribute">
<entity-one entity-name="WorkEffortAttribute" value-field="workEffortAttMap">
<field-map field-name="workEffortId" from-field="workEffortId"/>
<field-map field-name="attrName" value="PROJECT_BILLED"/>
</entity-one>
@@ -543,7 +543,7 @@ under the License.
<field-map field-name="roleTypeId" value="PRODUCT_OWNER"/>
</entity-and>
<set field="partyMap.productOwnerId" from-field="productRoleList[0].partyId"/>
<entity-one value-field="workEffortAttMap" entity-name="WorkEffortAttribute">
<entity-one entity-name="WorkEffortAttribute" value-field="workEffortAttMap">
<field-map field-name="workEffortId" from-field="parameters.projectId"/>
<field-map field-name="attrName" value="PROJECT_BILLED"/>
</entity-one>
@@ -597,7 +597,7 @@ under the License.
<set field="sprintName" from-field="workEffort.workEffortName"/>
<set field="projectId" from-field="workEffort.workEffortParentId"/>
<set field="noteInfo" from-field="custRequestNotes[0].noteInfo"/>
<entity-one value-field="workEffortAttMap" entity-name="WorkEffortAttribute">
<entity-one entity-name="WorkEffortAttribute" value-field="workEffortAttMap">
<field-map field-name="workEffortId" from-field="projectId"/>
<field-map field-name="attrName" value="PROJECT_BILLED"/>
</entity-one>
@@ -738,7 +738,7 @@ under the License.
<display description="${request[0].lastName} ${request[0].firstName} ${request[0].middleName}"/>
</field>
<field name="Sprint" title="${uiLabelMap.ScrumSprintName}" use-when="sprintName!=null">
<hyperlink target="ViewSprint" description="${sprintName} [${workEffortlist[0].workEffortId}]">
<hyperlink description="${sprintName} [${workEffortlist[0].workEffortId}]" target="ViewSprint">
<parameter param-name="prjectId" from-field="projectId"/>
<parameter param-name="sprintId" from-field="workEffortlist[0].workEffortId"/>
</hyperlink>
@@ -993,7 +993,7 @@ under the License.
</field>
<field name="custSequenceNum" position="2" title="${uiLabelMap.ScrumSeq}"><display/></field>
<field name="custRequestId" position="2" title="${uiLabelMap.ScrumProductBacklogItem}">
<hyperlink target="ViewProdBacklogItem" description="${description} [${custRequestId}]">
<hyperlink description="${description} [${custRequestId}]" target="ViewProdBacklogItem">
<parameter param-name="custRequestId"/>
<parameter param-name="productId"/>
</hyperlink>
@@ -1108,7 +1108,7 @@ under the License.
<field name="realSequenceNum"><hidden/></field>
<field name="custRequestId"><hidden/></field>
<field name="backlogId" position="1" title="${uiLabelMap.ScrumBacklogId}">
<hyperlink target="ViewProdBacklogItem" description="${custRequestId}">
<hyperlink description="${custRequestId}" target="ViewProdBacklogItem">
<parameter param-name="custRequestId"/>
<parameter param-name="productId"/>
</hyperlink>
@@ -1133,7 +1133,7 @@ under the License.
</field>
<field name="setToReview" widget-style="buttontext" title="${uiLabelMap.ScrumMoveToUnplannedSprint}"><hidden/></field>
<field name="deleteFlag" position="1" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
<hyperlink target="DeleteProductBacklogItem" description="${uiLabelMap.CommonDelete}">
<hyperlink description="${uiLabelMap.CommonDelete}" target="DeleteProductBacklogItem">
<parameter param-name="productId" from-field="parameters.productId"/>
<parameter param-name="custRequestId" from-field="custRequestId"/>
<parameter param-name="statusId" from-field="parameters.statusId"/>
@@ -1199,12 +1199,12 @@ under the License.
</entity-one>
</row-actions>
<field name="companyId" title="${uiLabelMap.ScrumOwnerCompany}" position="1" use-when="!isCurrentCompany" widget-style="buttontext">
<hyperlink target="viewprofile" description="${companyName} [${companyId}]">
<hyperlink description="${companyName} [${companyId}]" target="viewprofile">
<parameter param-name="partyId" from-field="companyId"/>
</hyperlink>
</field>
<field name="projectName" title="${uiLabelMap.ScrumProject}" position="1" use-when="!isCurrentProject" widget-style="buttontext">
<hyperlink target="viewScrumProject" description="${projectName} [${projectId}]">
<hyperlink description="${projectName} [${projectId}]" target="viewScrumProject">
<parameter param-name="projectId"/>
</hyperlink>
</field>
@@ -1216,13 +1216,13 @@ under the License.
</display-entity>
</field>
<field name="productOwnerName" title="${uiLabelMap.ScrumProductOwner}" position="1" use-when="!isCurrentProject">
<hyperlink target="viewprofile" description="${productOwnerName} [${productOwnerId}]">
<hyperlink description="${productOwnerName} [${productOwnerId}]" target="viewprofile">
<parameter param-name="partyId" from-field="productOwnerId"/>
</hyperlink>
</field>
<field name="dummy" title=" " position="2" use-when="&quot;${sprintId}&quot;!=&quot;&quot;"><display description=" "/></field>
<field name="sprintName" title="${uiLabelMap.ScrumTab} ${uiLabelMap.ScrumSprint}" position="2" use-when="&quot;${sprintId}&quot;!=&quot;&quot;">
<hyperlink target="ViewSprint" description="${uiLabelMap.ScrumTab} ${sprintName} [${sprintId}]">
<hyperlink description="${uiLabelMap.ScrumTab} ${sprintName} [${sprintId}]" target="ViewSprint">
<parameter param-name="projectId"/>
<parameter param-name="sprintId"/>
</hyperlink>
@@ -1289,12 +1289,12 @@ under the License.
</row-actions>
<field name="projectName" title="${uiLabelMap.ScrumProject}" position="1" use-when="!isCurrentProject">
<hyperlink target="viewScrumProject" description="${projectName} [${projectId}]">
<hyperlink description="${projectName} [${projectId}]" target="viewScrumProject">
<parameter param-name="projectId" from-field="workEffortId"/>
</hyperlink>
</field>
<field name="sprintName" title="${uiLabelMap.ScrumTab} ${uiLabelMap.ScrumSprint}" position="2" use-when="&quot;${sprintId}&quot;!=&quot;&quot;">
<hyperlink target="ViewSprint" description="${uiLabelMap.ScrumTab} ${sprintName} [${sprintId}]">
<hyperlink description="${uiLabelMap.ScrumTab} ${sprintName} [${sprintId}]" target="ViewSprint">
<parameter param-name="projectId"/>
<parameter param-name="sprintId"/>
</hyperlink>
@@ -1324,7 +1324,7 @@ under the License.
</actions>
<field name="projectId"><hidden value="${parameters.projectId}"/></field>
<field name="workEffortName" title="${uiLabelMap.ScrumSprintName}">
<hyperlink target="ViewSprint" description="${workEffortName} [${workEffortId}]">
<hyperlink description="${workEffortName} [${workEffortId}]" target="ViewSprint">
<parameter param-name="sprintId" from-field="workEffortId"/>
<parameter param-name="projectId" from-field="project.workEffortId"/>
</hyperlink>
@@ -1424,7 +1424,7 @@ under the License.
<field-map field-name="workEffortId" from-field="parameters.projectId"/>
</entity-and>
<set field="productId" from-field="projectList[0].productId"/>
<entity-condition list="productBacklog" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="productBacklog">
<condition-list combine="and">
<condition-expr field-name="custRequestTypeId" value="RF_PROD_BACKLOG" />
<condition-expr field-name="statusId" value="CRQ_ACCEPTED" />
@@ -1538,7 +1538,7 @@ under the License.
<set field="statusMap.statusId" value="${groovy: if(supportDiscontinuationDate == null) return 'PRODUCT_ACTIVE' else return 'PRODUCT_CLOSED'}"/>
</actions>
<field name="productOwerId" title="${uiLabelMap.ScrumCompanyAndProductOwner}">
<hyperlink target="viewprofile" description="${parties[0].groupName} -- ${parties[0].lastName} ${parties[0].firstName} ${parties[0].middleName}">
<hyperlink description="${parties[0].groupName} -- ${parties[0].lastName} ${parties[0].firstName} ${parties[0].middleName}" target="viewprofile">
<parameter param-name="partyId" from-field="productRole[0].partyId"/>
</hyperlink>
</field>
@@ -1791,12 +1791,12 @@ under the License.
<set field="billed" from-field="backlogItem.billed"/>
</row-actions>
<field name="projectId" position="1" use-when="${groovy:showPosition1==true}" title="${uiLabelMap.ScrumProject}">
<hyperlink target="viewScrumProject" description="${projectName}">
<hyperlink description="${projectName}" target="viewScrumProject">
<parameter param-name="projectId"/>
</hyperlink>
</field>
<field name="sprintId" position="1" use-when="${groovy:showPosition1==true}" title="${uiLabelMap.ScrumSprint}">
<hyperlink target="ViewSprint" description="${sprintName}">
<hyperlink description="${sprintName}" target="ViewSprint">
<parameter param-name="projectId"/>
<parameter param-name="sprintId"/>
</hyperlink>
@@ -1960,7 +1960,7 @@ under the License.
<display description="${categoryList[0].custRequestName} [${categoryList[0].custRequestId}]"/>
</field>
<field name="Sprint" title="${uiLabelMap.ScrumSprintName}" use-when="sprintName!=null">
<hyperlink target="ViewSprint" description="${sprintName} [${productBacklogs[0].workEffortId}]">
<hyperlink description="${sprintName} [${productBacklogs[0].workEffortId}]" target="ViewSprint">
<parameter param-name="prjectId" from-field="projectId"/>
<parameter param-name="sprintId" from-field="workEffortlist[0].workEffortId"/>
</hyperlink>
@@ -1990,7 +1990,7 @@ under the License.
</row-actions>
<field name="custSequenceNum" position="2" title="${uiLabelMap.ScrumSeq}"><display/></field>
<field name="custRequestId" position="2" title="${uiLabelMap.ScrumProductBacklogItem}">
<hyperlink target="ViewProdBacklogItem" description="${description} [${custRequestId}]">
<hyperlink description="${description} [${custRequestId}]" target="ViewProdBacklogItem">
<parameter param-name="custRequestId"/>
<parameter param-name="productId"/>
</hyperlink>
@@ -2030,7 +2030,7 @@ under the License.
</field>
<field name="custSequenceNum" position="2" title="${uiLabelMap.ScrumSeq}"><display/></field>
<field name="custRequestId" position="2" title="${uiLabelMap.ScrumProductBacklogItem}">
<hyperlink target="ViewProdBacklogItem" description="${description} [${custRequestId}]">
<hyperlink description="${description} [${custRequestId}]" target="ViewProdBacklogItem">
<parameter param-name="custRequestId"/>
<parameter param-name="productId"/>
</hyperlink>
@@ -2111,7 +2111,7 @@ under the License.
</row-actions>
<field name="sprintId"><hidden value="${parameters.sprintId}"/></field>
<field name="taskId" title="${uiLabelMap.ScrumTask}" parameter-name="workEffortId">
<hyperlink target="SprintTaskView" description="${taskName} [${taskId}]">
<hyperlink description="${taskName} [${taskId}]" target="SprintTaskView">
<parameter param-name="sprintId"/>
<parameter param-name="taskId"/>
</hyperlink>
@@ -2139,13 +2139,13 @@ under the License.
<field name="taskActualMilliSeconds" title="${uiLabelMap.ScrumActualHours}" parameter-name="actualHours"><display/></field>
<field name="updateButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button" /></field>
<field name="editButton" title=" " widget-style="buttontext">
<hyperlink target="EditSprintTask" description="${uiLabelMap.CommonEdit}" link-type="hidden-form">
<hyperlink description="${uiLabelMap.CommonEdit}" target="EditSprintTask" link-type="hidden-form">
<parameter param-name="sprintId" from-field="parameters.parameters.sprintId"/>
<parameter param-name="taskId"/>
</hyperlink>
</field>
<field name="deleteButton" title=" " widget-style="buttontext">
<hyperlink target="deleteSprintTask" description="${uiLabelMap.CommonDelete}" link-type="hidden-form" confirmation-message="Are you sure to delete this task?">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteSprintTask" link-type="hidden-form" confirmation-message="Are you sure to delete this task?">
<parameter param-name="sprintId" from-field="parameters.sprintId"/>
<parameter param-name="custRequestId"/>
<parameter param-name="workEffortId" from-field="taskId"/>
@@ -2418,7 +2418,7 @@ under the License.
<display-entity entity-name="StatusItem"/>
</field>
<field name="companyNameId" title="${uiLabelMap.ScrumOwnerCompany}" use-when="!isCurrentCompany">
<hyperlink target="viewprofile" description="${resultCompanyGroup.groupName} [${companyNameId}]">
<hyperlink description="${resultCompanyGroup.groupName} [${companyNameId}]" target="viewprofile">
<parameter param-name="partyId" from-field="companyNameId"/>
</hyperlink>
</field>
@@ -2468,7 +2468,7 @@ under the License.
</entity-condition>
</actions>
<field name="taskName" title="Task Name" >
<hyperlink target="taskView" description="${taskName}">
<hyperlink description="${taskName}" target="taskView">
<parameter param-name="taskId" from-field="taskId"/>
</hyperlink>
</field>
@@ -2484,7 +2484,7 @@ under the License.
<form name="ListTaskSprint" list-name="notes" title="" type="list" paginate-target="backlogView"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="custRequestId" title="Backlog ID" widget-style="buttontext">
<hyperlink target="backlogView" description="${custRequestId}">
<hyperlink description="${custRequestId}" target="backlogView">
<parameter param-name="custRequestId" from-field="${custRequestId}"/>
</hyperlink>
</field>
@@ -2512,7 +2512,7 @@ under the License.
<field name="thruDate"><ignored/></field>
<field name="submitButton"><ignored/></field>
<field name="deleteLink" title=" " widget-style="buttontext" use-when="headerItem.equals(&quot;EditProjectContents&quot;)">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteProjectContent" request-confirmation="true">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteProjectContent" also-hidden="false" request-confirmation="true">
<parameter param-name="contentId"/>
<parameter param-name="workEffortId"/>
<parameter param-name="workEffortContentTypeId"/>
@@ -2582,7 +2582,7 @@ under the License.
<field name="contentName"><display description="${contentMap.contentName} [${contentId}]"/></field>
<field name="fromDate"><display/> </field>
<field name="deleteLink" title=" " widget-style="buttontext">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteScrumProductContent" request-confirmation="true">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteScrumProductContent" also-hidden="false" request-confirmation="true">
<parameter param-name="contentId"/>
<parameter param-name="fromDate"/>
<parameter param-name="productId"/>
@@ -2689,7 +2689,7 @@ under the License.
<field name="mimeTypeId"><hidden/></field>
<field name="fromDate"><display/></field>
<field name="deleteLink" title=" " widget-style="buttontext" >
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteBacklogItemContent" request-confirmation="true">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteBacklogItemContent" also-hidden="false" request-confirmation="true">
<parameter param-name="custRequestId"/>
<parameter param-name="contentId"/>
<parameter param-name="fromDate"/>
@@ -2764,7 +2764,7 @@ under the License.
<set field="taskName" from-field="resultTask.workEffortName"/>
</row-actions>
<field name="taskId" title="${uiLabelMap.ScrumTask}" parameter-name="workEffortId">
<hyperlink target="taskView" link-type="hidden-form" description="${taskName} [${taskId}]" target-window="_BLANK" target-type="intra-app">
<hyperlink description="${taskName} [${taskId}]" target="taskView" link-type="hidden-form" target-window="_BLANK" target-type="intra-app">
<parameter param-name="taskId" from-field="taskId"/>
</hyperlink>
</field>
@@ -2868,7 +2868,7 @@ under the License.
<form name="QuickAddNewTask" type="upload" target="createTaskForBacklog">
<actions>
<entity-condition list="custRequestList" entity-name="CustRequest">
<entity-condition entity-name="CustRequest" list="custRequestList">
<condition-list combine="and">
<condition-list combine="or">
<condition-expr field-name="custRequestTypeId" value="RF_PROD_BACKLOG" operator="equals"/>
@@ -2925,7 +2925,7 @@ under the License.
</row-actions>
<field name="UnplannedSequence"><hidden value="Y"/></field>
<field name="deleteFlag" position="1" title="${uiLabelMap.ScrumMoveToUnplannedSprint}" widget-style="buttontext">
<hyperlink target="DeleteProductBacklogItem" description="${uiLabelMap.CommonDelete}">
<hyperlink description="${uiLabelMap.CommonDelete}" target="DeleteProductBacklogItem">
<parameter param-name="productId" from-field="parameters.productId"/>
<parameter param-name="custRequestId" from-field="custRequestId"/>
<parameter param-name="statusId" from-field="parameters.statusId"/>
@@ -3042,14 +3042,14 @@ under the License.
<display/>
</field>
<field name="deleteButton" title=" " position="1" use-when="showPosition1&amp;&amp;!&quot;CRQ_COMPLETED&quot;.equals(&quot;${custRequest.statusId}&quot;)" widget-style="buttontext">
<hyperlink target="DeleteUnplanBacklog" description="Delete" confirmation-message="Are you sure to delete this sprint backlog ?" link-type="hidden-form">
<hyperlink description="Delete" target="DeleteUnplanBacklog" confirmation-message="Are you sure to delete this sprint backlog ?" link-type="hidden-form">
<parameter param-name="workEffortId"/>
<parameter param-name="custRequestId"/>
<parameter param-name="productId"/>
</hyperlink>
</field>
<field name="newTask" title=" " use-when="showPosition1&amp;&amp;!&quot;CRQ_COMPLETED&quot;.equals(&quot;${custRequest.statusId}&quot;)" widget-style="buttontext">
<hyperlink target="NewUnplanBacklogTask" description="Add Task" link-type="hidden-form">
<hyperlink description="Add Task" target="NewUnplanBacklogTask" link-type="hidden-form">
<parameter param-name="custRequestId"/>
<parameter param-name="productId"/>
</hyperlink>
@@ -3059,12 +3059,12 @@ under the License.
<display description="${partyList[0].lastName} ${partyList[0].firstName} ${partyList[0].middleName}"></display>
</field>
<field name="editTaskParty" title=" " position="2" use-when="workEffortId!=null&amp;&amp;!&quot;STS_COMPLETED&quot;.equals(currentStatusId)" widget-style="buttontext">
<hyperlink target="EditTask" description="${uiLabelMap.CommonEdit}" link-type="hidden-form" target-window="_BLANK">
<hyperlink description="${uiLabelMap.CommonEdit}" target="EditTask" link-type="hidden-form" target-window="_BLANK">
<parameter param-name="taskId" from-field="${workEffortId}"/>
</hyperlink>
</field>
<field name="deleteTaskButton" title=" " position="2" use-when="workEffortId!=null&amp;&amp;!&quot;STS_COMPLETED&quot;.equals(currentStatusId)" widget-style="buttontext">
<hyperlink target="DeleteTaskFromUnplanBacklog" description="Delete" confirmation-message="Are you sure to delete this task ?" link-type="hidden-form">
<hyperlink description="Delete" target="DeleteTaskFromUnplanBacklog" confirmation-message="Are you sure to delete this task ?" link-type="hidden-form">
<parameter param-name="workEffortId" from-field="workEffortId"/>
<parameter param-name="custRequestId"/>
<parameter param-name="productId" from-field="parameters.productId"/>
@@ -3072,7 +3072,7 @@ under the License.
</field>
<field name="setCompleteButton" title=" " widget-style="buttontext" use-when="workEffortId!=null&amp;&amp;!&quot;STS_COMPLETED&quot;.equals(currentStatusId)"
position="2">
<hyperlink target="setCompleteFromUnplanBacklog" description="${uiLabelMap.ScrumSetComplete}" link-type="hidden-form">
<hyperlink description="${uiLabelMap.ScrumSetComplete}" target="setCompleteFromUnplanBacklog" link-type="hidden-form">
<parameter param-name="workEffortId" from-field="workEffortId"/>
<parameter param-name="productId" from-field="parameters.productId"/>
</hyperlink>
+43 -43
View File
@@ -75,7 +75,7 @@ under the License.
<set field="titleProperty" value="PageTitleAddSprint"/>
<set field="tabButtonItem" value="editProject"/>
<set field="sprintId" from-field="parameters.sprintId"/>
<entity-one value-field="projectWorkEffort" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="projectWorkEffort">
<field-map field-name="workEffortId" from-field="parameters.projectId"/>
</entity-one>
</actions>
@@ -113,7 +113,7 @@ under the License.
<set field="titleProperty" value="PageTitleSprintOverview"/>
<set field="tabButtonItem" value="SprintSummary"/>
<set field="permissionMap.sprintId" from-field="parameters.sprintId"/>
<entity-one value-field="sprintStatus" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="sprintStatus">
<field-map field-name="workEffortId" from-field="parameters.sprintId"/>
</entity-one>
<script location="component://scrum/groovyScripts/SprintBacklogListItems.groovy"/>
@@ -131,7 +131,7 @@ under the License.
<widgets>
<section>
<actions>
<entity-one value-field="project" entity-name="WorkEffort">
<entity-one entity-name="WorkEffort" value-field="project">
<field-map field-name="workEffortId" from-field="parameters.projectId"/>
</entity-one>
</actions>
@@ -489,7 +489,7 @@ under the License.
<set field="titleProperty" value="PageTitleProductBacklog"/>
<set field="tabButtonItem" value="editProductBacklog"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one value-field="product" entity-name="Product">
<entity-one entity-name="Product" value-field="product">
<field-map field-name="productId"/>
</entity-one>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
@@ -650,7 +650,7 @@ under the License.
<actions>
<set field="tabButtonItem" value="editProductBacklog"/>
<set field="custRequestId" from-field="parameters.custRequestId"/>
<entity-one value-field="custRequestMap" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequestMap"/>
<entity-and entity-name="CustRequestAndCustRequestItem" list="categoryList">
<field-map field-name="productId" from-field="parameters.productId"/>
<field-map field-name="custRequestTypeId" value="RF_PARENT_BACKLOG"/>
@@ -694,7 +694,7 @@ under the License.
<entity-and entity-name="CustRequestItem" list="custRequestItemList">
<field-map field-name="custRequestId" from-field="parameters.custRequestId"/>
</entity-and>
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<set field="parameters.productId" from-field="custRequestItemList[0].productId"/>
<entity-one entity-name="Product" value-field="productMap">
<field-map field-name="productId" from-field="parameters.productId"/>
@@ -717,7 +717,7 @@ under the License.
</entity-and>
<set field="update.productId" from-field="custRequestItemList[0].productId"/>
<set field="update.custRequestId" from-field="parameters.custRequestId"/>
<entity-condition list="commEvents" entity-name="CommunicationEventAndCustRequest">
<entity-condition entity-name="CommunicationEventAndCustRequest" list="commEvents">
<condition-list combine="and">
<condition-expr field-name="custRequestId" operator="equals" from-field="parameters.custRequestId"/>
<condition-expr field-name="statusId" operator="not-equals" value="COM_CANCELLED"/>
@@ -735,10 +735,10 @@ under the License.
<field-map field-name="roleTypeId" value="PRODUCT_OWNER"/>
</entity-and>
<set field="productOwnerId" value="${productRole[0].partyId}"/>
<entity-one value-field="parentCom" entity-name="CommunicationEvent">
<entity-one entity-name="CommunicationEvent" value-field="parentCom">
<field-map field-name="communicationEventId" from-field="parameters.parentCommEventId"/>
</entity-one>
<entity-one value-field="custStatus" entity-name="CustRequest">
<entity-one entity-name="CustRequest" value-field="custStatus">
<field-map field-name="custRequestId" from-field="parameters.custRequestId"/>
</entity-one>
<entity-condition entity-name="ProductBacklog" list="productBacklogs">
@@ -778,7 +778,7 @@ under the License.
<screenlet title="${uiLabelMap.ScrumRevisions}" name="RevisionsList">
<section>
<actions>
<entity-condition list="plannedTasks" entity-name="ProjectSprintBacklogAndTask">
<entity-condition entity-name="ProjectSprintBacklogAndTask" list="plannedTasks">
<condition-list combine="and">
<condition-expr field-name="custRequestId" from-field="parameters.custRequestId"/>
<condition-expr field-name="sprintTypeId" value="SCRUM_SPRINT"/>
@@ -792,7 +792,7 @@ under the License.
<select-field field-name="taskId"/>
</entity-condition>
<set field="taskIds" type="List" value="${groovy:return org.apache.ofbiz.entity.util.EntityUtil.getFieldListFromEntityList(plannedTasks, &quot;taskId&quot;, true)}"/>
<entity-condition list="unplannedTasks" entity-name="UnPlannedBacklogsAndTasks">
<entity-condition entity-name="UnPlannedBacklogsAndTasks" list="unplannedTasks">
<condition-list combine="and">
<condition-expr field-name="custRequestId" from-field="parameters.custRequestId"/>
<condition-list combine="or">
@@ -805,7 +805,7 @@ under the License.
<select-field field-name="workEffortId"/>
</entity-condition>
<set field="workEffortIds" type="List" value="${groovy:return org.apache.ofbiz.entity.util.EntityUtil.getFieldListFromEntityList(unplannedTasks, &quot;workEffortId&quot;, true)}"/>
<entity-condition list="listIt" entity-name="WorkEffortAndContentDataResource">
<entity-condition entity-name="WorkEffortAndContentDataResource" list="listIt">
<condition-list combine="and">
<condition-expr field-name="workEffortContentTypeId" value="TASK_SUB_INFO"/>
<condition-list combine="or">
@@ -865,12 +865,12 @@ under the License.
<entity-and entity-name="CustRequestItem" list="custRequestItem">
<field-map field-name="custRequestId" from-field="parameters.custRequestId"/>
</entity-and>
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<set field="custRequestItemSeqId" from-field="parameters.custRequestItemSeqId"/>
<set field="productId" from-field="custRequestItem[0].productId"/>
<set field="update.productId" from-field="custRequestItem[0].productId"/>
<set field="update.custRequestId" from-field="parameters.custRequestId"/>
<entity-condition list="commEvents" entity-name="CommunicationEventAndCustRequest">
<entity-condition entity-name="CommunicationEventAndCustRequest" list="commEvents">
<condition-list combine="and">
<condition-expr field-name="custRequestId" operator="equals" from-field="parameters.custRequestId"/>
<condition-expr field-name="statusId" operator="not-equals" value="COM_CANCELLED"/>
@@ -884,7 +884,7 @@ under the License.
<field-map field-name="roleTypeId" value="PRODUCT_OWNER"/>
</entity-and>
<set field="productOwnerId" value="${productRole[0].partyId}"/>
<entity-one value-field="parentCom" entity-name="CommunicationEvent">
<entity-one entity-name="CommunicationEvent" value-field="parentCom">
<field-map field-name="communicationEventId" from-field="parameters.parentCommEventId"/>
</entity-one>
</actions>
@@ -1000,7 +1000,7 @@ under the License.
<field-map field-name="noteName" value="How to test"/>
</entity-and>
<set field="noteIds" value="${groovy:org.apache.ofbiz.entity.util.EntityUtil.getFieldListFromEntityList(noteDataList, 'noteId', true);}" type="List"/>
<entity-condition list="custNoteList" entity-name="CustRequestNote" >
<entity-condition entity-name="CustRequestNote" list="custNoteList" >
<condition-list combine="and">
<condition-expr field-name="custRequestId" from-field="custRequestId"/>
<condition-expr field-name="noteId" operator="not-in" from-field="noteIds" ignore-if-empty="true"/>
@@ -1077,7 +1077,7 @@ under the License.
<entity-and entity-name="CustRequestItem" list="custRequestItem">
<field-map field-name="custRequestId" from-field="parameters.custRequestId"/>
</entity-and>
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<entity-condition list="commEvents" entity-name="CommunicationEventAndCustRequest">
<condition-list combine="and">
<condition-expr field-name="custRequestId" operator="equals" from-field="parameters.custRequestId"/>
@@ -1096,7 +1096,7 @@ under the License.
<field-map field-name="roleTypeId" value="PRODUCT_OWNER"/>
</entity-and>
<set field="productOwnerId" value="${productRole[0].partyId}"/>
<entity-one value-field="parentCom" entity-name="CommunicationEvent">
<entity-one entity-name="CommunicationEvent" value-field="parentCom">
<field-map field-name="communicationEventId" from-field="parameters.parentCommEventId"/>
</entity-one>
</actions>
@@ -1177,7 +1177,7 @@ under the License.
<actions>
<set field="tabButtonItem" value="view"/>
<set field="custRequestId" from-field="parameters.custRequestId"/>
<entity-one value-field="custRequestMap" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequestMap"/>
<entity-and entity-name="CustRequestAndCustRequestItem" list="categoryList">
<field-map field-name="productId" from-field="parameters.productId"/>
<field-map field-name="custRequestTypeId" value="RF_PARENT_BACKLOG"/>
@@ -1275,7 +1275,7 @@ under the License.
<set field="workEffortId" from-field="parameters.projectId"/>
<set field="sprintId" from-field="parameters.sprintId"/>
<entity-one entity-name="WorkEffort" value-field="project"/>
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
</actions>
<widgets>
<decorator-screen name="CommonSprintScreenDecorator" location="${parameters.mainDecoratorLocation}">
@@ -1317,7 +1317,7 @@ under the License.
<set field="tabButtonItem" value="SprintList"/>
<set field="workEffortId" from-field="parameters.projectId"/>
<entity-one entity-name="WorkEffort" value-field="project"/>
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
</actions>
<widgets>
<include-form name="ListDailyMeetingMinute" location="component://scrum/widget/scrumForms.xml"/>
@@ -1331,7 +1331,7 @@ under the License.
<set field="tabButtonItem" value="SprintList"/>
<set field="workEffortId" from-field="parameters.projectId"/>
<entity-one entity-name="WorkEffort" value-field="project"/>
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
</actions>
<widgets>
<decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}">
@@ -1359,7 +1359,7 @@ under the License.
<set field="tabButtonItem" value="SprintList"/>
<set field="workEffortId" from-field="parameters.projectId"/>
<entity-one entity-name="WorkEffort" value-field="project"/>
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<set field="permissionMap.projectId" from-field="parameters.projectId"/>
<set field="permissionMap.sprintId" from-field="parameters.sprintId"/>
</actions>
@@ -1462,7 +1462,7 @@ under the License.
<set field="tabButtonItem" value="listResourcesTask"/>
<set field="titleProperty" value="PageTitleListTaskByParty"/>
<set field="workEffortId" from-field="parameters.projectId"/>
<entity-condition list="tasks" entity-name="ProjectSprintBacklogTaskAndParty">
<entity-condition entity-name="ProjectSprintBacklogTaskAndParty" list="tasks">
<condition-list combine="and">
<condition-expr field-name="memberThruDate" value=""/>
<condition-list combine="or">
@@ -1592,7 +1592,7 @@ under the License.
<actions>
<set field="titleProperty" value="PageTitleEditProduct"/>
<set field="tabButtonItem" value="edit"/>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
<set field="permissionMap.productId" from-field="parameters.productId"/>
<script location="component://scrum/groovyScripts/ListScrumRolesPersonAndCompany.groovy"/>
</actions>
@@ -1642,7 +1642,7 @@ under the License.
<field-map field-name="workEffortId" from-field="workEffortId"/>
</entity-and>
<set field="custRequestId" from-field="custRequestWorkEffort[0].custRequestId"/>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
<entity-condition entity-name="CommunicationEventAndProduct" list="commEvents">
<condition-list combine="and">
<condition-list combine="or">
@@ -1664,7 +1664,7 @@ under the License.
<field-map field-name="thruDate" value=""/>
</entity-and>
<set field="workEffortId" from-field="parameters.projectId"/>
<entity-condition list="sprints" entity-name="ProjectSprint">
<entity-condition entity-name="ProjectSprint" list="sprints">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="parameters.productId"/>
</condition-list>
@@ -1690,7 +1690,7 @@ under the License.
<screenlet title="${uiLabelMap.ScrumRevisions}">
<section>
<actions>
<entity-condition list="backlogList" entity-name="CustRequestAndCustRequestItem">
<entity-condition entity-name="CustRequestAndCustRequestItem" list="backlogList">
<condition-list combine="and">
<condition-expr field-name="productId" from-field="productId"/>
<condition-list combine="or">
@@ -1700,7 +1700,7 @@ under the License.
</condition-list>
</entity-condition>
<set field="custRequestIds" value="${groovy:org.apache.ofbiz.entity.util.EntityUtil.getFieldListFromEntityList(backlogList, 'custRequestId', true);}" type="List"/>
<entity-condition list="plannedTasks" entity-name="ProjectSprintBacklogAndTask">
<entity-condition entity-name="ProjectSprintBacklogAndTask" list="plannedTasks">
<condition-list combine="and">
<condition-expr field-name="custRequestId" operator="in" from-field="custRequestIds"/>
<condition-expr field-name="sprintTypeId" value="SCRUM_SPRINT"/>
@@ -1714,7 +1714,7 @@ under the License.
<select-field field-name="taskId"/>
</entity-condition>
<set field="taskIds" type="List" value="${groovy:return org.apache.ofbiz.entity.util.EntityUtil.getFieldListFromEntityList(plannedTasks, &quot;taskId&quot;, true)}"/>
<entity-condition list="unplannedTasks" entity-name="UnPlannedBacklogsAndTasks">
<entity-condition entity-name="UnPlannedBacklogsAndTasks" list="unplannedTasks">
<condition-list combine="and">
<condition-expr field-name="custRequestId" operator="in" from-field="custRequestIds"/>
<condition-list combine="or">
@@ -1729,7 +1729,7 @@ under the License.
<set field="workEffortIds" type="List" value="${groovy:return org.apache.ofbiz.entity.util.EntityUtil.getFieldListFromEntityList(unplannedTasks, &quot;workEffortId&quot;, true)}"/>
<set field="parameters.custRequestId" from-field="custRequestWorkEffort[0].custRequestId"/>
<set field="parameters.noConditionFind" value="Y"/>
<entity-condition list="listIt" entity-name="WorkEffortAndContentDataResource">
<entity-condition entity-name="WorkEffortAndContentDataResource" list="listIt">
<condition-list combine="and">
<condition-expr field-name="workEffortContentTypeId" value="TASK_SUB_INFO"/>
<condition-list combine="or">
@@ -1809,7 +1809,7 @@ under the License.
<set field="titleProperty" value="PageTitleBilling"/>
<set field="tabButtonItem" value="billing"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
<set field="includeMeeting" from-field="parameters.includeMeeting" default-value="N"/>
<set field="organizationPartyId" from-field="userPreferences.ORGANIZATION_PARTY" default-value="${defaultOrganizationPartyId}"/>
<script location="component://scrum/groovyScripts/ProductBilling.groovy"/>
@@ -1823,10 +1823,10 @@ under the License.
</entity-and>
<set field="partyId" from-field="productRole[0].partyId"/>
<set field="partyIdFrom" from-field="organizationPartyId"/>
<entity-one value-field="partyMap" entity-name="PartyNameView">
<entity-one entity-name="PartyNameView" value-field="partyMap">
<field-map field-name="partyId" from-field="partyId"/>
</entity-one>
<entity-one value-field="companyMap" entity-name="PartyNameView">
<entity-one entity-name="PartyNameView" value-field="companyMap">
<field-map field-name="partyId" from-field="partyIdFrom"/>
</entity-one>
</actions>
@@ -1929,7 +1929,7 @@ under the License.
<actions>
<set field="titleProperty" value="PageTitleProductBacklogCategories"/>
<set field="tabButtonItem" value="categories"/>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
<set field="productId" from-field="product.productId"/>
</actions>
<widgets>
@@ -1960,9 +1960,9 @@ under the License.
<actions>
<set field="titleProperty" value="PageTitleEditProductBacklogCategories"/>
<set field="tabButtonItem" value="categories"/>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
<set field="productId" from-field="product.productId"/>
<entity-one value-field="custRequest" entity-name="CustRequest"/>
<entity-one entity-name="CustRequest" value-field="custRequest"/>
<set field="custRequestId" from-field="custRequest.custRequestId"/>
</actions>
<widgets>
@@ -2061,7 +2061,7 @@ under the License.
<field-map field-name="roleTypeId" value="PRODUCT_OWNER"/>
</entity-and>
<set field="productOwnerId" value="${productRole[0].partyId}"/>
<entity-one value-field="parentCom" entity-name="CommunicationEvent">
<entity-one entity-name="CommunicationEvent" value-field="parentCom">
<field-map field-name="communicationEventId" from-field="parameters.parentCommEventId"/>
</entity-one>
<set field="permissionMap.productId" from-field="productId"/>
@@ -2179,7 +2179,7 @@ under the License.
<set field="productId" from-field="parameters.productId"/>
<set field="titleProperty" value="PageTitleEditCommunication" />
<set field="target" from-field="parameters.target" default-value="updateEmailForProduct"/>
<entity-one value-field="communicationEvent" entity-name="CommunicationEvent"/>
<entity-one entity-name="CommunicationEvent" value-field="communicationEvent"/>
</actions>
<widgets>
<decorator-screen name="CommonScrumProductDecorator" location="${parameters.mainDecoratorLocation}">
@@ -2660,7 +2660,7 @@ under the License.
<set field="headerItem" value="admin"/>
<set field="tabButtonItem" value="totalBilling"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
<set field="includeMeeting" from-field="parameters.includeMeeting" default-value="N"/>
<set field="organizationPartyId" from-field="userPreferences.ORGANIZATION_PARTY" default-value="${defaultOrganizationPartyId}"/>
<script location="component://scrum/groovyScripts/ProductBilling.groovy"/>
@@ -2674,10 +2674,10 @@ under the License.
</entity-and>
<set field="partyId" from-field="productRole[0].partyId"/>
<set field="partyIdFrom" from-field="organizationPartyId"/>
<entity-one value-field="partyMap" entity-name="PartyNameView">
<entity-one entity-name="PartyNameView" value-field="partyMap">
<field-map field-name="partyId" from-field="partyId"/>
</entity-one>
<entity-one value-field="companyMap" entity-name="PartyNameView">
<entity-one entity-name="PartyNameView" value-field="companyMap">
<field-map field-name="partyId" from-field="partyIdFrom"/>
</entity-one>
</actions>
@@ -2722,7 +2722,7 @@ under the License.
<set field="headerItem" value="admin"/>
<set field="tabButtonItem" value="productStatistics"/>
<set field="productId" from-field="parameters.productId"/>
<entity-one value-field="product" entity-name="Product"/>
<entity-one entity-name="Product" value-field="product"/>
</actions>
<widgets>
<decorator-screen name="CommonAdminDecorator" location="${parameters.mainDecoratorLocation}">
+1 -1
View File
@@ -250,7 +250,7 @@ under the License.
<field-map field-name="currencyUomId" from-field="parameters.currencyUomId"/>
</entity-and>
<if-not-empty field="productFeaturePrices">
<first-from-list entry="productFeaturePrice" list="productFeaturePrices"/>
<first-from-list list="productFeaturePrices" entry="productFeaturePrice"/>
<set field="amount" from-field="productFeaturePrice.price" type="BigDecimal" default-value="0"/>
<set field="isoCode" from-field="productFeaturePrice.currencyUomId" type="String"/>
<set field="maximumFractionDigits" value="2" type="Integer"/>
+1 -1
View File
@@ -562,7 +562,7 @@ under the License.
</if-not-empty>
</if-not-empty>
<calculate field="payment" type="Integer">
<calcop field="payment" operator="add"/>
<calcop operator="add" field="payment"/>
<number value="1"/>
</calculate>
</then>