Author: mor
Date: Mon May 26 00:46:10 2008 New Revision: 660117 URL: http://svn.apache.org/viewvc?rev=660117&view=rev Log: Opps ! missed a file in previous commit Added: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml (with props) Added: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml?rev=660117&view=auto ============================================================================== --- ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml (added) +++ ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml Mon May 26 00:46:10 2008 @@ -0,0 +1,175 @@ +<?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="FindOpportunity" type="single" target="FindOpportunity" + header-row-style="header-row" default-table-style="basic-table"> + <field name="salesOpportunityId"><hidden/></field> + <field name="opportunityName" title="${uiLabelMap.SfaFindOpportunities}"><text-find size="25" default-option="contains"></text-find></field> + <field name="opportunityStageId" title="${uiLabelMap.SfaInitialStage}"> + <drop-down allow-empty="true"> + <entity-options description="${description}" entity-name="SalesOpportunityStage"> + </entity-options> + </drop-down> + </field> + <field name="type" title="${uiLabelMap.SfaType}"> + <drop-down allow-empty="true"> + <entity-options key-field-name="enumId" description="${description}" entity-name="Enumeration"> + <entity-constraint name="enumTypeId" operator="equals" value="SLSOPP_TYP_ENUM"/> + <entity-order-by field-name="sequenceId"/> + </entity-options> + </drop-down> + </field> + <field name="searchButton" widget-style="smallSubmit"><submit/></field> + </form> + + <form name="listOpportunity" type="multi" list-name="listIt" paginate-target="FindOpportunity" + odd-row-style="alternate-row" default-table-style="basic-table hover-bar" separate-columns="true"> + <actions> + <set field="parameters.noConditionFind" value="Y"/> + <service service-name="performFind" result-map-name="result" result-map-list-name="listIt"> + <field-map field-name="inputFields" env-name="parameters"/> + <field-map field-name="entityName" value="SalesOpportunity"/> + <field-map field-name="orderBy" value="salesOpportunityId"/> + </service> + </actions> + <field name="salesOpportunityId"><hidden/></field> + <field name="opportunityName" title="${uiLabelMap.SfaOpportunityName}"> + <hyperlink target="viewOpportunity?salesOpportunityId=${salesOpportunityId}" description="${opportunityName}"/> + </field> + <field name="opportunityStageId" title="${uiLabelMap.SfaInitialStage}"><display/></field> + <field name="estimatedAmount" title="${uiLabelMap.SfaEstimatedAmount}"><display/></field> + <field name="estimatedCloseDate" title="${uiLabelMap.SfaCloseDate}"><display/></field> + <field name="editButton" title="${uiLabelMap.CommonEdit}" widget-style="buttontext"> + <hyperlink target="EditOpportunity?salesOpportunityId=${salesOpportunityId}" description="${uiLabelMap.CommonEdit}"/> + </field> + </form> + + <form name="NewOpportunity" type="single" target="createOpportunity" + header-row-style="header-row" default-table-style="basic-table"> + <field name="opportunityName" position="1" title="${uiLabelMap.SfaOpportunityName}" widget-style="required"><text size="25"></text></field> + <field name="initialAccount" position="1" title="${uiLabelMap.SfaInitialAccount}" widget-style="required"><lookup target-form-name="LookupPartyName"/></field> + <field name="typeEnumId" position="1" title="${uiLabelMap.SfaType}"> + <drop-down allow-empty="true"> + <entity-options key-field-name="enumId" description="${description}" entity-name="Enumeration"> + <entity-constraint name="enumTypeId" operator="equals" value="SLSOPP_TYP_ENUM"/> + <entity-order-by field-name="sequenceId"/> + </entity-options> + </drop-down> + </field> + <field name="estimatedAmount" position="1" title="${uiLabelMap.SfaEstimatedAmount}"><text size="25"></text></field> + <field name="currencyUomId" position="2" title="${uiLabelMap.CommonCurrency}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> + <entity-order-by field-name="abbreviation"/> + </entity-options> + </drop-down> + </field> + <field name="estimatedCloseDate" position="1" title="${uiLabelMap.SfaCloseDate}" widget-style="required"><date-time/></field> + <field name="opportunityStageId" position="2" title="${uiLabelMap.SfaInitialStage}" widget-style="required"> + <drop-down > + <entity-options description="${description}" entity-name="SalesOpportunityStage"> + </entity-options> + </drop-down> + </field> + <field name="estimatedProbability" position="1" title="${uiLabelMap.SfaProbability}"><text size="25"></text></field> + <field name="dataSourceId" position="2" title="${uiLabelMap.DataSourceLabel}"> + <drop-down allow-empty="true"> + <entity-options key-field-name="dataSourceId" description="${description}" entity-name="DataSource"> + <entity-constraint name="dataSourceTypeId" operator="equals" value="SLSOPP_SRC"/> + </entity-options> + </drop-down> + </field> + <field name="marketingCampaignId" position="1" title="${uiLabelMap.MarketingCampaign}"> + <drop-down allow-empty="true"> + <entity-options description="${campaignName}" entity-name="MarketingCampaign" key-field-name="marketingCampaignId"> + </entity-options> + </drop-down> + </field> + <field name="description" position="1" title="${uiLabelMap.SegmentGroupDescription}"><textarea/></field> + <field name="nextStep" position="1" title="${uiLabelMap.SfaNextStep}"><textarea/></field> + <field name="createButton" widget-style="smallSubmit" title="${uiLabelMap.CommonSave}"><submit button-type="button"/></field> + </form> + + <form name="ViewOpportunity" type="single" default-map-name="salesOpportunity" + header-row-style="header-row" default-table-style="basic-table"> + <field name="salesOpportunityId"><hidden/></field> + <field name="opportunityName" position="1" title="${uiLabelMap.SfaOpportunityName}"><display/></field> + <field name="initialAccount" position="1" title="${uiLabelMap.SfaInitialAccount}"><display/></field> + <field name="estimatedAmount" position="1" title="${uiLabelMap.SfaEstimatedAmount} ${currencyUomId}"><display/></field> + <field name="typeEnumId" position="1" title="${uiLabelMap.SfaType}"><display/></field> + <field name="estimatedCloseDate" position="1" title="${uiLabelMap.SfaCloseDate}"><display/></field> + <field name="opportunityStageId" position="2" title="${uiLabelMap.SfaInitialStage}"><display/></field> + <field name="estimatedProbability" position="1" title="${uiLabelMap.SfaProbability}"><display/></field> + <field name="dataSourceId" position="2" title="${uiLabelMap.DataSourceLabel}"><display/></field> + <field name="marketingCampaignId" position="1" title="${uiLabelMap.MarketingCampaign}"><display/></field> + <field name="description" position="1" title="${uiLabelMap.SegmentGroupDescription}"><display/></field> + <field name="nextStep" position="1" title="${uiLabelMap.SfaNextStep}"><display/></field> + </form> + <form name="EditOpportunity" type="single" target="updateOpportunity" default-map-name="salesOpportunity" header-row-style="header-row" default-table-style="basic-table"> + <field name="salesOpportunityId" position="1" title="${uiLabelMap.SfaOpportunityId}"><display/></field> + <field name="opportunityName" position="1" title="${uiLabelMap.SfaOpportunityName}" widget-style="required"><text/></field> + <field name="initialAccount" position="1" title="${uiLabelMap.SfaInitialAccount}" widget-style="required"><lookup target-form-name="LookupPartyName"/></field> + <field name="typeEnumId" position="1" title="${uiLabelMap.SfaType}"> + <drop-down allow-empty="true"> + <entity-options key-field-name="enumId" description="${description}" entity-name="Enumeration"> + <entity-constraint name="enumTypeId" operator="equals" value="SLSOPP_TYP_ENUM"/> + <entity-order-by field-name="sequenceId"/> + </entity-options> + </drop-down> + </field> + <field name="estimatedAmount" position="1" title="${uiLabelMap.SfaEstimatedAmount}"><text/></field> + <field name="currencyUomId" position="2" title="${uiLabelMap.CommonCurrency}"> + <drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}"> + <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom"> + <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/> + <entity-order-by field-name="abbreviation"/> + </entity-options> + </drop-down> + </field> + <field name="estimatedCloseDate" position="1" title="${uiLabelMap.SfaCloseDate}" widget-style="required"><date-time/></field> + <field name="opportunityStageId" position="2" title="${uiLabelMap.SfaInitialStage}" widget-style="required"> + <drop-down > + <entity-options description="${description}" entity-name="SalesOpportunityStage"> + </entity-options> + </drop-down> + </field> + <field name="estimatedProbability" position="1" title="${uiLabelMap.SfaProbability}"><text/></field> + <field name="dataSourceId" position="2" title="${uiLabelMap.DataSourceLabel}"> + <drop-down allow-empty="true"> + <entity-options key-field-name="dataSourceId" description="${description}" entity-name="DataSource"> + <entity-constraint name="dataSourceTypeId" operator="equals" value="SLSOPP_SRC"/> + </entity-options> + </drop-down> + </field> + <field name="marketingCampaignId" position="1" title="${uiLabelMap.MarketingCampaign}"> + <drop-down allow-empty="true"> + <entity-options description="${campaignName}" entity-name="MarketingCampaign" key-field-name="marketingCampaignId"> + </entity-options> + </drop-down> + </field> + <field name="description" position="1" title="${uiLabelMap.SegmentGroupDescription}"><textarea/></field> + <field name="nextStep" position="1" title="${uiLabelMap.SfaNextStep}"><textarea/></field> + <field name="createButton" widget-style="smallSubmit" title="${uiLabelMap.CommonSave}"><submit button-type="button"/></field> + </form> +</forms> \ No newline at end of file Propchange: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/trunk/applications/marketing/widget/sfa/forms/OpportunityForms.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml |
Free forum by Nabble | Edit this page |