Added a migrateAgreementWorkEffortAppl service to migrate existing data to the new entity. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883140 13f79535-47bb-0310-9956-ffa450edef68
626 lines
38 KiB
XML
626 lines
38 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
|
|
|
|
<form name="FindAgreements" target="FindAgreement" title="" type="single"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-entity entity-name="Agreement" default-field-type="find"/>
|
|
<field name="productId" title="${uiLabelMap.AccountingProductId}">
|
|
<lookup target-form-name="LookupProduct"/>
|
|
</field>
|
|
<field name="agreementTypeId" title="${uiLabelMap.AccountingAgreementTypeId}">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="AgreementType"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="partyIdFrom" title="${uiLabelMap.AccountingPartyIdFrom}">
|
|
<lookup target-form-name="LookupPartyName"/>
|
|
</field>
|
|
<field name="partyIdTo" title="${uiLabelMap.AccountingPartyIdTo}">
|
|
<lookup target-form-name="LookupPartyName"/>
|
|
</field>
|
|
<field name="roleTypeIdFrom" title="${uiLabelMap.AccountingRoleTypeIdFrom}"><hidden/></field>
|
|
<field name="roleTypeIdTo" title="${uiLabelMap.AccountingRoleTypeIdTo}"><hidden/></field>
|
|
<field name="agreementDate" title="${uiLabelMap.AccountingAgreementDate}"><hidden/></field>
|
|
<field name="description" title="${uiLabelMap.Description}"><hidden/></field>
|
|
<field name="textData" title="${uiLabelMap.AccountingTextData}"><hidden/></field>
|
|
<field name="thruDate" title="${uiLabelMap.AccountingThruDate}"><hidden/></field>
|
|
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="ListAgreements" list-name="listIt" target="" title="" type="list" paginate-target="FindAgreement"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" header-row-style="header-row-2">
|
|
<actions>
|
|
<set field="entityName" value="Agreement"/>
|
|
<service service-name="performFind" result-map="result" result-map-list="listIt">
|
|
<field-map field-name="inputFields" from-field="requestParameters"/>
|
|
<field-map field-name="entityName" from-field="entityName"/>
|
|
<field-map field-name="orderBy" from-field="parameters.sortField"/>
|
|
<field-map field-name="viewIndex" from-field="viewIndex"/>
|
|
<field-map field-name="viewSize" from-field="viewSize"/>
|
|
</service>
|
|
</actions>
|
|
<auto-fields-entity entity-name="Agreement" default-field-type="display"/>
|
|
<field name="agreementId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext" sort-field="true">
|
|
<hyperlink also-hidden="false" description="${agreementId}" target="EditAgreement">
|
|
<parameter param-name="agreementId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="productId" sort-field="true"></field>
|
|
<field name="partyIdFrom" sort-field="true">
|
|
<hyperlink target="/partymgr/control/viewprofile" description="${partyIdFrom}" target-type="inter-app">
|
|
<parameter param-name="partyId" from-field="partyIdFrom"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="partyIdTo" sort-field="true">
|
|
<hyperlink target="/partymgr/control/viewprofile" description="${partyIdTo}" target-type="inter-app">
|
|
<parameter param-name="partyId" from-field="partyIdTo"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="roleTypeIdFrom" title="${uiLabelMap.AccountingRoleTypeIdFrom}"><hidden/></field>
|
|
<field name="roleTypeIdTo" title="${uiLabelMap.AccountingRoleTypeIdTo}" sort-field="true">
|
|
<display-entity entity-name="RoleType" key-field-name="roleTypeId"/>
|
|
</field>
|
|
<field name="agreementTypeId" title="${uiLabelMap.AccountingAgreementTypeId}" sort-field="true">
|
|
<display-entity entity-name="AgreementType"/>
|
|
</field>
|
|
<field name="fromDate" sort-field="true"></field>
|
|
<field name="thruDate" title="${uiLabelMap.AccountingThruDate}" sort-field="true"></field>
|
|
<field name="agreementDate" title="${uiLabelMap.AccountingAgreementDate}"><hidden/></field>
|
|
<field name="textData" title="${uiLabelMap.AccountingTextData}"><hidden/></field>
|
|
<field name="description" sort-field="true"></field>
|
|
<field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="cancelAgreement" description="${uiLabelMap.CommonCancel}" also-hidden="false">
|
|
<parameter param-name="agreementId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="EditAgreement" type="single" target="updateAgreement" title="" default-map-name="agreement"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<alt-target use-when="agreement==null" target="createAgreement"/>
|
|
<auto-fields-service service-name="updateAgreement" default-field-type="edit" map-name="agreement"/>
|
|
<field name="agreementId" use-when="agreementId!=null" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
|
|
<field name="agreementId" use-when="agreement==null&&agreementId==null"><ignored/></field>
|
|
<field name="productId" title="${uiLabelMap.AccountingProductId}">
|
|
<lookup target-form-name="LookupProduct"/>
|
|
</field>
|
|
<field name="agreementTypeId" title="${uiLabelMap.AccountingAgreementTypeId}">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="AgreementType" key-field-name="agreementTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="partyIdFrom" title="${uiLabelMap.AccountingPartyIdFrom}">
|
|
<lookup target-form-name="LookupPartyName"/>
|
|
</field>
|
|
<field name="roleTypeIdFrom" title="${uiLabelMap.AccountingRoleTypeIdFrom}">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="RoleType" key-field-name="roleTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="roleTypeIdTo" title="${uiLabelMap.AccountingRoleTypeIdTo}">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="RoleType" key-field-name="roleTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="partyIdTo" title="${uiLabelMap.AccountingPartyIdTo}">
|
|
<lookup target-form-name="LookupPartyName"/>
|
|
</field>
|
|
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="ListAgreementItems" list-name="agreementItems" target="" title="" type="list" paginate-target="ListAgreementItems"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<auto-fields-entity entity-name="AgreementItem" default-field-type="display"/>
|
|
<field name="agreementId" title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
|
|
<field name="agreementItemSeqId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${agreementItemSeqId}" target="EditAgreementItem">
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="agreementItemTypeId" title="${uiLabelMap.AccountingAgreementItemTypeId}">
|
|
<display-entity entity-name="AgreementItemType"/>
|
|
</field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="removeAgreementItem" description="${uiLabelMap.CommonRemove}" also-hidden="false">
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
<parameter param-name="agreementId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="EditAgreementItem" type="single" target="updateAgreementItem" title="" default-map-name="agreementItem"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<alt-target use-when="agreementItem==null" target="createAgreementItem"/>
|
|
<auto-fields-entity entity-name="AgreementItem" default-field-type="edit"/>
|
|
<field name="agreementId" title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
|
|
<field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}"><display/></field>
|
|
<field name="agreementItemTypeId" title="${uiLabelMap.AccountingAgreementItemTypeId}">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="AgreementItemType" key-field-name="agreementItemTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
|
|
<drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}">
|
|
<entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom">
|
|
<entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/>
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="ListAgreementItemTerms" target="" title="" type="list" list-name="agreementTerms" paginate-target="ListAgreementItemTerms"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<auto-fields-entity entity-name="AgreementTerm" default-field-type="display"/>
|
|
<field name="agreementId" title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
|
|
<field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}"><hidden/></field>
|
|
<field name="agreementTermId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${agreementTermId}" target="EditAgreementItemTerm">
|
|
<parameter param-name="agreementTermId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="termTypeId" title="${uiLabelMap.AccountingTermTypeId}">
|
|
<display-entity entity-name="TermType"/>
|
|
</field>
|
|
<field name="invoiceItemTypeId">
|
|
<display-entity entity-name="InvoiceItemType"/>
|
|
</field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="removeAgreementItemTerm" description="${uiLabelMap.CommonRemove}" also-hidden="false">
|
|
<parameter param-name="agreementTermId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="ListAgreementTerms" target="updateAgreementTerm" list-name="agreementTerms" paginate-target="ListAgreementTerms" title="" type="list"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<entity-and entity-name="AgreementTerm" list="agreementTerms">
|
|
<field-map field-name="agreementId" from-field="agreementId"/>
|
|
<order-by field-name="agreementItemSeqId"/>
|
|
<order-by field-name="agreementTermId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<auto-fields-service service-name="updateAgreementTerm"/>
|
|
<field name="agreementId" title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
|
|
<field name="agreementTermId" ><hidden/></field>
|
|
<field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}"><display/></field>
|
|
<field name="termTypeId" title="${uiLabelMap.AccountingTermTypeId}">
|
|
<display-entity entity-name="TermType"/>
|
|
</field>
|
|
<field name="invoiceItemTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="InvoiceItemType" description="${description}">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="deleteAgreementTerm" description="${uiLabelMap.CommonRemove}" also-hidden="false">
|
|
<parameter param-name="agreementTermId"/>
|
|
<parameter param-name="agreementId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="AddAgreementTerm" type="single" target="createAgreementTerm" title="" default-map-name="agreementTerm"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-entity entity-name="AgreementTerm" default-field-type="edit"/>
|
|
<field name="agreementTermId" title="${uiLabelMap.AccountingAgreementTermId}"><hidden/></field>
|
|
<field name="termTypeId" title="${uiLabelMap.AccountingTermTypeId}">
|
|
<drop-down allow-empty="false">
|
|
<entity-options entity-name="TermType" description="${description}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="agreementId" title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
|
|
<field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}"><hidden/></field>
|
|
<field name="invoiceItemTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="InvoiceItemType" description="${description}">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
<form name="EditAgreementItemTerm" type="single" target="updateAgreementItemTerm" title="" default-map-name="agreementTerm"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<alt-target use-when="agreementTerm==null" target="createAgreementItemTerm"/>
|
|
<auto-fields-entity entity-name="AgreementTerm" default-field-type="edit"/>
|
|
<field name="agreementTermId" title="${uiLabelMap.AccountingAgreementTermId}"><display/></field>
|
|
<field name="termTypeId" title="${uiLabelMap.AccountingTermTypeId}">
|
|
<drop-down allow-empty="false">
|
|
<entity-options entity-name="TermType" description="${description}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="agreementId" title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
|
|
<field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}"><hidden/></field>
|
|
<field name="invoiceItemTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="InvoiceItemType" description="${description}">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
<form name="ListAgreementItemProducts" list-name="agreementProducts" target="" title="" type="list" paginate-target="ListAgreementItemProducts"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<auto-fields-entity entity-name="AgreementProductAppl" default-field-type="display"/>
|
|
<field name="agreementId" title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
|
|
<field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}"><hidden/></field>
|
|
<field name="productId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${productId}" target="EditAgreementItemProduct">
|
|
<parameter param-name="productId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="internalName" entry-name="productId">
|
|
<display-entity entity-name="Product" key-field-name="productId" description="${internalName}"/>
|
|
</field>
|
|
<field name="price" widget-area-style="align-text"><display/></field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="removeAgreementItemProduct" description="${uiLabelMap.CommonRemove}" also-hidden="false">
|
|
<parameter param-name="productId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="ListAgreementItemSupplierProducts" list-name="agreementProducts" target="" title="" type="list" paginate-target="ListAgreementItemSupplierProducts"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<auto-fields-entity entity-name="SupplierProduct" default-field-type="display"/>
|
|
<field name="agreementId"><hidden/></field>
|
|
<field name="agreementItemSeqId"><hidden/></field>
|
|
<field name="partyId"><hidden/></field>
|
|
<field name="currencyUomId"><hidden/></field>
|
|
<field name="productId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${productId}" target="EditAgreementItemSupplierProduct">
|
|
<parameter param-name="minimumOrderQuantity"/>
|
|
<parameter param-name="currencyUomId"/>
|
|
<parameter param-name="availableFromDate"/>
|
|
<parameter param-name="partyId"/>
|
|
<parameter param-name="productId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="internalName" entry-name="productId">
|
|
<display-entity entity-name="Product" key-field-name="productId" description="${internalName}"/>
|
|
</field>
|
|
<field name="lastPrice" widget-area-style="align-text"><display/></field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="removeAgreementItemSupplierProduct" description="${uiLabelMap.CommonRemove}" also-hidden="false">
|
|
<parameter param-name="minimumOrderQuantity"/>
|
|
<parameter param-name="currencyUomId"/>
|
|
<parameter param-name="availableFromDate"/>
|
|
<parameter param-name="partyId"/>
|
|
<parameter param-name="productId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="ViewAgreementInfoForReport" type="single" title="" default-map-name="agreement"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="agreementId"><text/></field>
|
|
<field name="partyIdFrom"><text/></field>
|
|
<field name="partyIdTo">
|
|
<display-entity entity-name="PartyGroup" key-field-name="partyId" description="${partyId} - ${groupName}"/>
|
|
</field>
|
|
<field name="fromDate"><display/></field>
|
|
<field name="thruDate" title="${uiLabelMap.AccountingThruDate}"><display/></field>
|
|
<field name="description"><display/></field>
|
|
</form>
|
|
<form name="ViewAgreementItemInfoForReport" type="single" title="" default-map-name="agreementItem"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="agreementItemSeqId"><display/></field>
|
|
<field name="currencyUomId"><display/></field>
|
|
</form>
|
|
<form name="ListAgreementItemProductsForReport" list-name="agreementProducts" target="" title="" type="list"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="productId" title-area-style="tableheadmedium"><display/></field>
|
|
<field name="internalName" entry-name="productId">
|
|
<display-entity entity-name="Product" key-field-name="productId" description="${internalName}"/>
|
|
</field>
|
|
<field name="price" title-area-style="tableheadmedium" widget-area-style="align-text"><display/></field>
|
|
</form>
|
|
<form name="ListAgreementItemSupplierProductsForReport" list-name="agreementProducts" target="" title="" type="list"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="productId" title-area-style="tableheadmedium"><display/></field>
|
|
<field name="supplierProductId" title-area-style="tableheadmedium"><display/></field>
|
|
<field name="internalName" entry-name="productId">
|
|
<display-entity entity-name="Product" key-field-name="productId" description="${internalName}"/>
|
|
</field>
|
|
<field name="lastPrice" title-area-style="tableheadmedium" widget-area-style="align-text"><display/></field>
|
|
</form>
|
|
<form name="EditAgreementItemProduct" type="single" target="updateAgreementItemProduct" title="" default-map-name="agreementProductAppl"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<alt-target use-when="agreementProductAppl==null" target="createAgreementItemProduct"/>
|
|
<auto-fields-entity entity-name="AgreementProductAppl" default-field-type="edit"/>
|
|
<field name="agreementId"><hidden/></field>
|
|
<field name="agreementItemSeqId"><hidden/></field>
|
|
<field name="productId" use-when="agreementProductAppl==null">
|
|
<lookup target-form-name="LookupProduct"/>
|
|
</field>
|
|
<field name="productId" use-when="agreementProductAppl!=null"><display/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
<form name="EditAgreementItemSupplierProduct" type="single" target="updateAgreementItemSupplierProduct" title="" default-map-name="agreementProductAppl"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<alt-target use-when="agreementProductAppl==null" target="createAgreementItemSupplierProduct"/>
|
|
<auto-fields-entity entity-name="SupplierProduct" default-field-type="edit"/>
|
|
<field name="agreementId"><hidden/></field>
|
|
<field name="agreementItemSeqId"><hidden/></field>
|
|
<field name="partyId"><hidden value="${agreement.partyIdTo}"/></field>
|
|
<field name="currencyUomId"><hidden value="${agreementItem.currencyUomId}"/></field>
|
|
<field name="availableFromDate" use-when="agreementProductAppl==null">
|
|
<!--<date-time default-value="${groovy: org.ofbiz.base.util.UtilDateTime.nowTimestamp()}"/>-->
|
|
<date-time default-value="${agreement.fromDate}"/>
|
|
</field>
|
|
<field name="availableFromDate" use-when="agreementProductAppl!=null">
|
|
<display/>
|
|
</field>
|
|
<field name="minimumOrderQuantity" use-when="agreementProductAppl==null">
|
|
<text default-value="0" size="5"/>
|
|
</field>
|
|
<field name="minimumOrderQuantity" use-when="agreementProductAppl!=null">
|
|
<display/>
|
|
</field>
|
|
<field name="productId" use-when="agreementProductAppl==null">
|
|
<lookup target-form-name="LookupProduct"/>
|
|
</field>
|
|
<field name="productId" use-when="agreementProductAppl!=null"><display/></field>
|
|
<field name="supplierPrefOrderId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="SupplierPrefOrder" key-field-name="supplierPrefOrderId" description="${description}">
|
|
<entity-order-by field-name="supplierPrefOrderId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="supplierRatingTypeId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="SupplierRatingType" key-field-name="supplierRatingTypeId" description="${description}">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="quantityUomId" title="${uiLabelMap.ProductQuantityUomId}">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="UomAndType" key-field-name="uomId" description="${typeDescription}: ${description} (${abbreviation})">
|
|
<entity-constraint name="uomTypeId" operator="not-equals" value="CURRENCY_MEASURE"/>
|
|
<entity-order-by field-name="typeDescription"/>
|
|
<entity-order-by field-name="uomId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="ListAgreementPromoAppls" list-name="agreementPromoAppls" target="" title="" type="list" paginate-target="ListAgreementPromoAppls"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<auto-fields-entity entity-name="AgreementPromoAppl" default-field-type="display"/>
|
|
<field name="agreementId" title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
|
|
<field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}"><hidden/></field>
|
|
<field name="productPromoId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${productPromoId}" target="EditAgreementPromoAppl">
|
|
<parameter param-name="productPromoId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
<parameter param-name="fromDate"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="productPromoName" entry-name="productPromoId">
|
|
<display-entity entity-name="ProductPromo" key-field-name="productPromoId" description="${promoName}"/>
|
|
</field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="removeAgreementPromoAppl" description="${uiLabelMap.CommonRemove}" also-hidden="false">
|
|
<parameter param-name="productPromoId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
<parameter param-name="fromDate"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="EditAgreementPromoAppl" type="single" target="updateAgreementPromoAppl" title="" default-map-name="agreementPromoAppl"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<alt-target use-when="agreementPromoAppl==null" target="createAgreementPromoAppl"/>
|
|
<auto-fields-entity entity-name="AgreementPromoAppl" default-field-type="edit"/>
|
|
<field name="agreementId" title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
|
|
<field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}"><hidden/></field>
|
|
<field use-when="agreementPromoAppl!=null" name="productPromoId" title="${uiLabelMap.FormFieldTitle_productPromoId}">
|
|
<display-entity entity-name="ProductPromo" key-field-name="productPromoId" description="${promoName}"/>
|
|
</field>
|
|
<field name="productPromoId" use-when="agreementPromoAppl==null">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${promoName}" entity-name="ProductPromo" key-field-name="productPromoId"/>
|
|
</drop-down>
|
|
</field>
|
|
|
|
<field use-when="agreementPromoAppl!=null" name="fromDate"><display/></field>
|
|
<field use-when="agreementPromoAppl==null" name="fromDate"><date-time/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
<form name="ListAgreementItemParties" list-name="agreementParties" target="" title="" type="list" paginate-target="ListAgreementItemParties"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<auto-fields-entity entity-name="AgreementPartyApplic" default-field-type="display"/>
|
|
<field name="agreementId" title="${uiLabelMap.AccountingAgreementId}"><hidden/></field>
|
|
<field name="agreementItemSeqId" title="${uiLabelMap.AccountingAgreementItemSeqId}"><hidden/></field>
|
|
<field name="partyId" title="${uiLabelMap.CommonEdit}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${partyId}" target="EditAgreementItemParty">
|
|
<parameter param-name="partyId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="partyName" title="${uiLabelMap.PartyName}" entry-name="partyId">
|
|
<display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName} ${firstName} ${lastName}"/>
|
|
</field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="removeAgreementItemParty" description="${uiLabelMap.CommonDelete}" also-hidden="false">
|
|
<parameter param-name="partyId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="EditAgreementItemParty" type="single" target="updateAgreementItemParty" title="" default-map-name="agreementPartyApplic"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<alt-target use-when="agreementPartyApplic==null" target="createAgreementItemParty"/>
|
|
<auto-fields-entity entity-name="AgreementPartyApplic" default-field-type="edit"/>
|
|
<field name="agreementId"><hidden/></field>
|
|
<field name="agreementItemSeqId"><hidden/></field>
|
|
<field name="partyId" use-when="agreementPartyApplic==null">
|
|
<lookup target-form-name="LookupPartyName"/>
|
|
</field>
|
|
<field name="partyId" use-when="agreementPartyApplic!=null"><display/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
<form name="ListAgreementGeographicalApplic" target="" title="" type="list" list-name="agreementGeographicalApplics" paginate-target="ListAgreementGeographicalApplic"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<auto-fields-entity entity-name="AgreementGeographicalApplic" default-field-type="display"/>
|
|
<field name="agreementId"><hidden/></field>
|
|
<field name="agreementItemSeqId"><hidden/></field>
|
|
<field name="geoId" title="${uiLabelMap.CommonDescription}">
|
|
<display-entity entity-name="Geo" key-field-name="geoId" description="${geoName} [${geoId}]"/>
|
|
</field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="removeAgreementGeographicalApplic" description="${uiLabelMap.CommonDelete}" also-hidden="false">
|
|
<parameter param-name="geoId"/>
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="EditAgreementGeographicalApplic" type="single" target="updateAgreementGeographicalApplic" title="" default-map-name="agreementGeographicalApplic"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<alt-target use-when="agreementGeographicalApplic==null" target="createAgreementGeographicalApplic"/>
|
|
<auto-fields-entity entity-name="AgreementGeographicalApplic" default-field-type="edit"/>
|
|
<field name="agreementId"><hidden/></field>
|
|
<field name="agreementItemSeqId"><hidden/></field>
|
|
<field name="geoId" use-when="agreementGeographicalApplic==null">
|
|
<drop-down allow-empty="false">
|
|
<entity-options entity-name="Geo" description="${geoName} [${geoId}]">
|
|
<entity-order-by field-name="geoName"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="geoId" use-when="agreementGeographicalApplic!=null"><display/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
<!-- Agreement WorkEffort Applic-->
|
|
<form name="AddAgreementWorkEffortApplic" target="createAgreementWorkEffortApplic" title="" type="single"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="agreementId"><hidden value="${agreementId}"/></field>
|
|
<field name="agreementItemSeqId">
|
|
<drop-down allow-empty="false">
|
|
<option key="_NA_" description="${uiLabelMap.CommonNA}"/>
|
|
<entity-options entity-name="AgreementItem" description="${agreementItemSeqId}">
|
|
<entity-constraint name="agreementId" operator="equals" env-name="agreementId"/>
|
|
<entity-order-by field-name="agreementItemSeqId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="workEffortId">
|
|
<lookup target-form-name="LookupWorkEffort"/>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="ListAgreementWorkEffortApplics" type="list" target="updateAgreementWorkEffortApplic" list-name="agreementWorkEffortApplics"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<entity-and entity-name="AgreementWorkEffortApplic" use-cache="true" list="agreementWorkEffortApplics">
|
|
<field-map from-field="agreementId" field-name="agreementId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<field name="agreementItemSeqId"><display/></field>
|
|
<field name="workEffortId"><display/></field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteAgreementWorkEffortApplic">
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
<parameter param-name="workEffortId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="ListAgreementRoles" list-name="agreementRoles" type="list" paginate-target="FindAgreementRoles"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<entity-and entity-name="AgreementRole" use-cache="true" list="agreementRoles">
|
|
<field-map field-name="agreementId" from-field="agreementId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<auto-fields-entity entity-name="AgreementRole" default-field-type="display"/>
|
|
<field name="agreementId"><hidden/></field>
|
|
<field name="partyId" title="${uiLabelMap.PartyPartyId}"><display/></field>
|
|
<field name="roleTypeId" title="${uiLabelMap.PartyRoleTypeId}"><display/></field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="deleteAgreementRole" description="${uiLabelMap.CommonRemove}" also-hidden="false">
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="partyId"/>
|
|
<parameter param-name="roleTypeId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="AddAgreementRole" type="single" target="createAgreementRole"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-entity entity-name="AgreementRole" default-field-type="edit"/>
|
|
<field name="agreementId"><hidden/></field>
|
|
<field name="partyId" title="${uiLabelMap.PartyPartyId}"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field name="roleTypeId" title="${uiLabelMap.PartyRoleTypeId}">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="RoleType" key-field-name="roleTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
</forms>
|