blob: 4dabdfa6140af8455f18619ccd7e9e5b7c04ac14 [file] [log] [blame]
<?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"
xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
<form name="LookupParty" type="single" target="findparty" focus-field-name="partyId">
<actions>
<set field="states" value="${groovy: org.apache.ofbiz.common.CommonWorkers.getStateList(delegator)}"/>
<!-- Here is some alternate code to get states limited to a region
<set field="states" value="${groovy: org.apache.ofbiz.common.CommonWorkers.getAssociatedStateList(delegator,requestParameters.CUSTOMER_COUNTRY)}"/>
-->
</actions>
<field name="statusId"><hidden value="PARTY_ENABLED"/></field>
<field name="noConditionFind"><hidden value="Y"/></field>
<field name="extInfo" event="onClick" action="javascript:$('#ListParty' + this.value +'_body').toggle(true);collapseFindPartyOptions('ListParty' + this.value +'_body');" title="${uiLabelMap.PartyContactInformation}">
<radio>
<option key="N" description="${uiLabelMap.CommonNone}"/>
<option key="P" description="${uiLabelMap.PartyPostal}"/>
<option key="T" description="${uiLabelMap.PartyTelecom}"/>
<option key="O" description="${uiLabelMap.CommonOther}"/>
</radio>
</field>
<field name="hideFields"><hidden value="Y"/></field>
<field name="partyId"><text size="15" /></field>
<field name="userLoginId"><lookup target-form-name="LookupUserLogin" size="15"/></field>
<field name="externalId"><text size="15" /></field>
<field name="lastName"><text size="15"/></field>
<field name="firstName"><text size="15"/></field>
<field name="groupName" title="${uiLabelMap.PartyGroupName}"><text size="15"/></field>
<field name="roleTypeId">
<drop-down allow-empty="true">
<entity-options entity-name="RoleType" key-field-name="roleTypeId">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="partyTypeId" title="${uiLabelMap.CommonType}">
<drop-down allow-empty="true">
<entity-options entity-name="PartyType"/>
</drop-down>
</field>
<field name="idValue"><text size="15"/></field>
<field name="partyIdentificationTypeId">
<drop-down allow-empty="true">
<entity-options entity-name="PartyIdentificationType"/>
</drop-down>
</field>
<field name="address1"><text size="15"/></field>
<field name="address2"><text size="15"/></field>
<field name="city"><text size="15"/></field>
<field name="stateProvinceGeoId">
<drop-down allow-empty="true">
<list-options list-name="states" key-name="geoId" description="${geoName}"/>
</drop-down>
</field>
<field name="postalCode"><text size="6"/></field>
<field name="countryCode" title="${uiLabelMap.CommonCountryCode}"><text size="15"/></field>
<field name="areaCode" title="${uiLabelMap.PartyAreaCode}"><text size="15"/></field>
<field name="contactNumber" title="${uiLabelMap.PartyContactNumber}"><text size="15"/></field>
<field name="infoString" title="${uiLabelMap.PartyContactInformation}">
<text size="15"/>
</field>
<field name="partyClassificationGroupId" title="${uiLabelMap.PartyClassificationGroup}" use-when="parentTypeId == null">
<drop-down allow-multiple="true" size="5" allow-empty="false">
<entity-options entity-name="PartyClassificationGroupAndType" key-field-name="partyClassificationTypeId">
<entity-order-by field-name="partyClassificationTypeId"/>
</entity-options>
</drop-down>
</field>
<field name="inventoryItemId"><text size="15"/></field>
<field name="serialNumber"><text size="15"/></field>
<field name="softIdentifier"><text size="15"/></field>
<field name="searchButton" widget-style="search"><submit/></field>
<sort-order>
<sort-field name="extInfo"/>
<sort-field name="partyId"/>
<sort-field name="userLoginId"/>
<sort-field name="externalId"/>
<sort-field name="lastName"/>
<sort-field name="firstName"/>
<sort-field name="groupName"/>
<sort-field name="roleTypeId"/>
<sort-field name="partyTypeId"/>
<sort-field name="partyClassificationGroupId"/>
<field-group title="${uiLabelMap.PartyPartyIdentification}" initially-collapsed="true">
<sort-field name="idValue"/>
<sort-field name="partyIdentificationTypeId"/>
</field-group>
<field-group title="${uiLabelMap.PartyPostal}" initially-collapsed="true" id="ListPartyP">
<sort-field name="address1"/>
<sort-field name="address2"/>
<sort-field name="city"/>
<sort-field name="stateProvinceGeoId"/>
<sort-field name="postalCode"/>
</field-group>
<field-group title="${uiLabelMap.PartyTelecom}" initially-collapsed="true" id="ListPartyT">
<sort-field name="countryCode"/>
<sort-field name="areaCode"/>
<sort-field name="contactNumber"/>
</field-group>
<field-group title="${uiLabelMap.PartyContactInformationOther}" initially-collapsed="true" id="ListPartyO">
<sort-field name="infoString"/>
</field-group>
<field-group title="${uiLabelMap.ProductProduct}" initially-collapsed="true">
<sort-field name="inventoryItemId"/>
<sort-field name="serialNumber"/>
<sort-field name="softIdentifier"/>
</field-group>
<sort-field name="searchButton"/>
</sort-order>
</form>
<grid name="ListParty" target="deletePartyRate" list-name="listIt"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
<actions>
<service service-name="performFindParty" auto-field-map="parameters" result-map-list="listIt"/>
</actions>
<row-actions>
<entity-and entity-name="UserLogin" list="logins" use-cache="true">
<field-map field-name="partyId" from-field="partyId"/>
</entity-and>
<set field="userLoginSize" value="${util:size(logins)}" type="Integer"/>
<service service-name="getPartyMainRole" result-map="mainRole">
<field-map field-name="partyId" from-field="partyId"/>
<field-map field-name="userLogin" from-field="userLogin"/>
</service>
</row-actions>
<field name="partyId" sort-field="true">
<hyperlink description="${partyId}" target="viewprofile">
<parameter param-name="partyId"/>
</hyperlink>
</field>
<field name="userLoginId" use-when="userLoginSize > 1"><include-grid name="ListPartyUserLogin" location="component://party/widget/partymgr/PartyForms.xml"/></field>
<field name="userLoginId" use-when="userLoginSize == 1"><display description="${logins[0].userLoginId}"/></field>
<field name="userLoginId" use-when="userLoginSize == 0"><display description="(${uiLabelMap.CommonNone})"/></field>
<field name="externalId"><display description="${externalId}"/></field>
<field name="name"><display description="${groovy:org.apache.ofbiz.party.party.PartyHelper.getPartyName(delegator, partyId, true)}"/></field>
<field name="partyTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="PartyType"/></field>
<field name="mainRole" title="${uiLabelMap.PartyMainRole}"><display description="${mainRole.description}"/></field>
<field name="createdDate" sort-field="true"><display type="date"/></field>
<field name="lastModifiedDate" sort-field="true"><display type="date"/></field>
<field name="partyAction" title=" "><include-menu name="ListPartyAction" location="component://party/widget/partymgr/PartyMenus.xml"/></field>
<sort-order>
<last-field name="createdDate"/>
<last-field name="lastModifiedDate"/>
<last-field name="partyAction"/>
</sort-order>
</grid>
<grid name="ListPartyN" extends="ListParty"/>
<grid name="ListPartyI" extends="ListParty">
<field name="idValue" sort-field="true"><display/></field>
<field name="partyIdentificationTypeId" sort-field="true"><display-entity entity-name="PartyIdentificationType"/></field>
</grid>
<grid name="ListPartyP" extends="ListParty">
<field name="city" sort-field="true"><display description="${city}, ${stateProvinceGeoId}"/></field>
<field name="postalCode" sort-field="true"><display/></field>
</grid>
<grid name="ListPartyT" extends="ListParty">
<field name="contactNumber" title="${uiLabelMap.PartyContactNumber}" sort-field="true"><display/></field>
</grid>
<grid name="ListPartyO" extends="ListParty">
<field name="infoString" title="${uiLabelMap.PartyContactInformation}"><display/></field>
</grid>
<grid name="ListPartyUserLogin" list-name="logins" default-table-style="basic-table" hide-header="true">
<field name="userLoginId"><display/></field>
<field name="enabled"><display/></field>
<field name="disabledDateTime"><display type="date"/></field>
</grid>
<form name="EditPerson" type="single" target="updatePerson" default-map-name="personInfo"
focus-field-name="salutation" header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="personInfo==null" target="createPerson"/>
<auto-fields-service service-name="updatePerson"/>
<field use-when="personInfo!=null" name="partyId" title="${uiLabelMap.PartyPartyId}"><display/></field>
<field use-when="personInfo==null&amp;&amp;partyId==null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonIdGeneratedIfEmpty}"><text/></field>
<field use-when="personInfo==null&amp;&amp;partyId!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display also-hidden="false"/></field>
<field name="firstName" title="${uiLabelMap.PartyFirstName}" required-field="true"><text size="40" maxlength="60"/></field>
<field name="lastName" title="${uiLabelMap.PartyLastName}" required-field="true"><text size="40" maxlength="60"/></field>
<field name="gender">
<drop-down allow-empty="true">
<option key="M" description="${uiLabelMap.CommonMale}"/>
<option key="F" description="${uiLabelMap.CommonFemale}"/>
</drop-down>
</field>
<field name="maritalStatus">
<drop-down allow-empty="true">
<option key="S" description="${uiLabelMap.PartyMaritalStatusSingle}"/>
<option key="M" description="${uiLabelMap.PartyMaritalStatusMarried}"/>
<option key="P" description="${uiLabelMap.PartyMaritalStatusSeparated}"/>
<option key="D" description="${uiLabelMap.PartyMaritalStatusDivorced}"/>
<option key="W" description="${uiLabelMap.PartyMaritalStatusWidowed}"/>
</drop-down>
</field>
<field name="employmentStatusEnumId">
<drop-down allow-empty="true">
<entity-options entity-name="Enumeration" key-field-name="enumId" description="${description} [${enumCode}]">
<entity-constraint name="enumTypeId" value="EMPLOY_STTS"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field name="residenceStatusEnumId">
<drop-down allow-empty="true">
<entity-options entity-name="Enumeration" key-field-name="enumId" description="${description} [${enumCode}]">
<entity-constraint name="enumTypeId" value="PTY_RESID_STTS"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field name="existingCustomer">
<drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
</field>
<field name="preferredCurrencyUomId">
<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="statusId" use-when="person==null"><hidden/></field>
<field name="statusId" use-when="person!=null &amp;&amp; leadDescription==null">
<drop-down allow-empty="false">
<entity-options entity-name="StatusItem">
<entity-constraint name="statusTypeId" value="PARTY_STATUS"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field name="statusId" use-when="person!=null &amp;&amp; leadDescription!=null">
<drop-down allow-empty="false">
<entity-options entity-name="StatusItem">
<entity-constraint name="statusId" operator="in" value="LEAD_ASSIGNED,PARTY_ENABLED,PARTY_DISABLED"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonSave}"><submit button-type="button"/></field>
<field name="cancelLink" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonCancelDone}" target="${donePage}" also-hidden="false">
<parameter param-name="partyId"/>
</hyperlink>
</field>
</form>
<form name="EditPartyGroup" type="single" target="updatePartyGroup" default-map-name="partyGroup"
focus-field-name="groupName" header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="partyGroup==null" target="createPartyGroup"/>
<auto-fields-service service-name="updatePartyGroup"/>
<field use-when="partyGroup!=null" name="partyId" title="${uiLabelMap.PartyPartyId}"><display/></field>
<field use-when="partyGroup==null&amp;&amp;partyId==null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonIdGeneratedIfEmpty}"><text/></field>
<field use-when="partyGroup==null&amp;&amp;partyId!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display also-hidden="false"/></field>
<field name="groupName" required-field="true"></field>
<field name="partyTypeId"><ignored/></field>
<field name="description" title="${uiLabelMap.CommonDescription}"><text/></field>
<field name="preferredCurrencyUomId">
<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="statusId" use-when="partyGroup==null"><hidden/></field>
<field name="statusId" use-when="partyGroup!=null">
<drop-down allow-empty="false">
<entity-options entity-name="StatusItem">
<entity-constraint name="statusTypeId" value="PARTY_STATUS"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonSave}"><submit button-type="button"/></field>
<field name="cancelLink" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonCancelDone}" target="${donePage}" also-hidden="false">
<parameter param-name="partyId"/>
</hyperlink>
</field>
</form>
<form name="ViewPartyGroup" type="single" default-map-name="lookupGroup">
<auto-fields-entity entity-name="PartyGroup" default-field-type="display"/>
<field name="logo" use-when="partyGroupLogoLinkUrl!=null" title="${uiLabelMap.CommonOrganizationLogo}"><image alternate="${uiLabelMap.CommonOrganizationLogo}" value="${partyGroupLogoLinkUrl}" style="cssImgStandard"/></field>
<field name="partyTypeId"><ignored/></field>
<field name="comments"><ignored/></field>
<field name="logoImageUrl"><ignored/></field>
<field name="description" title="${uiLabelMap.CommonDescription}"><display/></field>
<field name="preferredCurrencyUomId" title="${uiLabelMap.CommonCurrency}"><display-entity entity-name="Uom" key-field-name="uomId"/></field>
<field name="externalId"><display/></field>
<field name="statusId"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field>
<sort-order>
<sort-field name="logo"/>
<sort-field name="partyId"/>
<sort-field name="groupName"/>
<sort-field name="groupNameLocal"/>
<sort-field name="officeSiteName"/>
<sort-field name="annualRevenue"/>
<sort-field name="numEmployees"/>
<sort-field name="tickerSymbol"/>
<sort-field name="description"/>
<sort-field name="preferredCurrencyUomId"/>
<sort-field name="externalId"/>
<sort-field name="statusId"/>
</sort-order>
</form>
<form name="ViewPartyPerson" type="single" default-map-name="lookupPerson">
<field name="personalImage" use-when="partyContentId!=null" title="${uiLabelMap.FormFieldTitle_personalImage}"><image value="${personalImage}" style="cssImgStandard"/></field>
<field name="partyId"><display/></field>
<field name="name" title="${uiLabelMap.PartyName}"><display description="${lookupPerson.personalTitle} ${lookupPerson.firstName} ${lookupPerson.middleName} ${lookupPerson.lastName}"/></field>
<field name="comments" title="${uiLabelMap.PartyComments}"><display/></field>
<field name="externalId"><display/></field>
<field name="statusId"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field>
</form>
<form name="ViewPartyPersonHistory" type="list" list-name="partyNameHistoryList"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="was" title="${uiLabelMap.PartyHistoryWas}"><display description="${personalTitle} ${firstName} ${middleName} ${lastName} ${suffix}"/></field>
<field name="changed" title="${uiLabelMap.PartyHistoryChanged}"><display description="${changeDate}"/></field>
</form>
<form name="ViewPartyGroupHistory" type="list" list-name="partyNameHistoryList"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="was" title="${uiLabelMap.PartyHistoryWas}"><display description="${groupName}"/></field>
<field name="changed" title="${uiLabelMap.PartyHistoryChanged}"><display description="${changeDate}"/></field>
</form>
<form name="AddUserLogin" type="single" target="createUserLogin"
focus-field-name="userLoginId" header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createUserLogin"/>
<field name="partyId"><hidden/></field>
<field name="enabled"><hidden/></field>
<field name="currentPassword"><password/></field>
<field name="currentPasswordVerify"><password/></field>
<field name="requirePasswordChange">
<drop-down allow-empty="false" no-current-selected-key="N"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
<field name="cancelLink" title=" " widget-style="smallSubmit"><hyperlink description="${uiLabelMap.CommonCancelDone}" target="backHome" also-hidden="false"/></field>
</form>
<form name="UpdatePassword" type="single" target="updatePassword"
focus-field-name="currentPassword" header-row-style="header-row" default-table-style="basic-table">
<actions>
<set field="passwordHint" from-field="editUserLogin.passwordHint"/>
</actions>
<auto-fields-service service-name="updatePassword"/>
<field name="partyId"><hidden/></field>
<field name="userLoginId"><hidden/></field>
<field name="currentPassword"><password/></field>
<field name="newPassword"><password/></field>
<field name="newPasswordVerify"><password/></field>
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
<field name="cancelLink" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonCancelDone}" target="${donePage}" also-hidden="false">
<parameter param-name="partyId"/>
</hyperlink>
</field>
</form>
<form name="UpdateUserLoginSecurity" type="single" target="updateUserLoginSecurity" default-map-name="editUserLogin"
header-row-style="header-row" default-table-style="basic-table">
<actions>
<property-to-field field="ldapEnabled" resource="security" property="security.ldap.enable"/>
</actions>
<auto-fields-service service-name="updateUserLoginSecurity"/>
<field name="partyId"><hidden/></field>
<field name="userLoginId"><hidden/></field>
<field name="userLdapDn" use-when="&quot;true&quot;.equals(ldapEnabled)"><text/></field>
<field name="userLdapDn" use-when="!&quot;true&quot;.equals(ldapEnabled)"><ignored/></field>
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
<field name="cancelLink" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonCancelDone}" target="${donePage}" also-hidden="false">
<parameter param-name="partyId"/>
</hyperlink>
</field>
</form>
<form name="EditVendor" type="single" target="updateVendor" default-map-name="vendor"
focus-field-name="manifestCompanyName" header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="vendor==null" target="createVendor"/>
<auto-fields-service service-name="updateVendor" map-name="vendor"/>
<field name="partyId"><hidden value="${partyId}"/></field>
<field name="manifestCompanyName" title="${uiLabelMap.PartyManifestCompanyName}"></field>
<field name="manifestCompanyTitle" title="${uiLabelMap.PartyManifestCompanyTitle}"></field>
<field name="manifestLogoUrl" title="${uiLabelMap.PartyManifestLogoUrl}"></field>
<field name="manifestPolicies" title="${uiLabelMap.PartyManifestPolicies}"><textarea cols="60" rows="15"/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
</form>
<form name="PartyLink" type="single" target="setPartyLink"
focus-field-name="partyId" header-row-style="header-row" default-table-style="basic-table">
<field position="1" name="partyId"><lookup target-form-name="LookupPartyName"/></field>
<field position="2" name="partyIdTo"><lookup target-form-name="LookupPartyName"/></field>
<field name="submitButton" title="${uiLabelMap.PartyLink}"><submit button-type="button" request-confirmation="true" confirmation-message="${uiLabelMap.PartyLinkMessage1}"/></field>
</form>
<!-- PartyRelationship -->
<form name="AddPartyRelationshipType" type="single" target="createPartyRelationshipType"
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createPartyRelationshipType"/>
<field name="partyId"><hidden/></field>
<field name="hasTable"><hidden/></field>
<field name="parentTypeId">
<drop-down allow-empty="true">
<entity-options entity-name="PartyRelationshipType" key-field-name="partyRelationshipTypeId" description="${partyRelationshipName}">
<entity-order-by field-name="partyRelationshipName"/>
</entity-options>
</drop-down>
</field>
<field name="roleTypeIdValidFrom" title="${uiLabelMap.PartyRelationshipValidFromRoleType}">
<drop-down allow-empty="true">
<entity-options entity-name="RoleType" key-field-name="roleTypeId">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="roleTypeIdValidTo" title="${uiLabelMap.PartyRelationshipValidToRoleType}">
<drop-down allow-empty="true">
<entity-options entity-name="RoleType" key-field-name="roleTypeId">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field>
</form>
<!-- PartyTaxAuthInfo -->
<form name="AddPartyTaxAuthInfo" type="single" target="createPartyTaxAuthInfo"
focus-field-name="taxAuthGeoId" header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createPartyTaxAuthInfo"/>
<field name="partyId"><hidden/></field>
<field name="taxAuthGeoId">
<drop-down allow-empty="false">
<entity-options entity-name="Geo" key-field-name="geoId" description="${uiLabelMap.CommonCountry}: [${geoId}] ${geoName}">
<entity-constraint name="geoTypeId" value="COUNTRY"/>
<entity-order-by field-name="geoId"/>
</entity-options>
<entity-options entity-name="Geo" key-field-name="geoId" description="${uiLabelMap.CommonState}: [${geoId}] ${geoName}">
<entity-constraint name="geoTypeId" value="STATE"/>
<entity-order-by field-name="geoId"/>
</entity-options>
<entity-options entity-name="Geo" key-field-name="geoId" description="${uiLabelMap.CommonProvince}: [${geoId}] ${geoName}">
<entity-constraint name="geoTypeId" value="PROVINCE"/>
<entity-order-by field-name="geoId"/>
</entity-options>
<entity-options entity-name="Geo" key-field-name="geoId" description="${uiLabelMap.CommonCounty}: [${geoId}] ${geoName}">
<entity-constraint name="geoTypeId" value="COUNTY"/>
<entity-order-by field-name="geoId"/>
</entity-options>
<entity-options entity-name="Geo" key-field-name="geoId" description="${uiLabelMap.CommonCountyCity}: [${geoId}] ${geoName}">
<entity-constraint name="geoTypeId" value="COUNTY_CITY"/>
<entity-order-by field-name="geoId"/>
</entity-options>
<entity-options entity-name="Geo" key-field-name="geoId" description="${uiLabelMap.CommonCity}: [${geoId}] ${geoName}">
<entity-constraint name="geoTypeId" value="CITY"/>
<entity-order-by field-name="geoId"/>
</entity-options>
</drop-down>
</field>
<field name="taxAuthPartyId" required-field="true"><lookup target-form-name="LookupPartyName"/></field>
<field name="isExempt">
<drop-down allow-empty="false" no-current-selected-key="Y"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
</field>
<field name="isNexus">
<drop-down allow-empty="false" no-current-selected-key="Y"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field>
</form>
<form name="UpdatePartyTaxAuthInfo" type="list" list-name="partyTaxInfos" target="updatePartyTaxAuthInfo"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
<auto-fields-service service-name="updatePartyTaxAuthInfo"/>
<field name="partyId"><hidden/></field>
<field name="taxAuthGeoId"><display-entity entity-name="Geo" key-field-name="geoId" description="[${geoId}] ${geoName}" also-hidden="true"/></field>
<field name="taxAuthPartyId">
<display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${middleName} ${lastName} ${groupName}" also-hidden="true">
<sub-hyperlink target="viewprofile" description="${taxAuthPartyId}" link-style="smallSubmit">
<parameter param-name="partyId" from-field="taxAuthPartyId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="fromDate" title="${uiLabelMap.CommonFromDateTime}"><display/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
<field name="deleteLink" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deletePartyTaxAuthInfo" also-hidden="false">
<parameter param-name="partyId"/>
<parameter param-name="taxAuthPartyId"/>
<parameter param-name="taxAuthGeoId"/>
<parameter param-name="fromDate"/>
</hyperlink>
</field>
<field name="isExempt">
<drop-down allow-empty="false"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
</field>
<field name="isNexus">
<drop-down allow-empty="false"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
</field>
</form>
<form name="AddPartyNote" type="single" target="createPartyNote"
focus-field-name="noteId" header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createPartyNote"/>
<field name="partyId"><hidden/></field>
<field name="noteId" tooltip="${uiLabelMap.PartyOptional}"><hidden/></field>
<field name="noteName" title="${uiLabelMap.FormFieldTitle_noteName}" tooltip="${uiLabelMap.PartyOptional}"> </field>
<field name="note"><textarea cols="70" rows="10"/></field>
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
<field name="cancelLink" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonCancelDone}" target="${donePage}" also-hidden="false">
<parameter param-name="partyId"/>
</hyperlink>
</field>
</form>
<!-- PartyRate -->
<form name="AddPartyRate" type="single" target="updatePartyRate"
focus-field-name="rateTypeId" header-row-style="header-row" default-table-style="basic-table">
<actions>
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
<set field="periodTypeId" value="RATE_HOUR"/>
</actions>
<field name="partyId"><hidden/></field>
<field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}">
<drop-down no-current-selected-key="STANDARD" allow-empty="false">
<entity-options entity-name="RateType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="periodTypeId" position="2">
<display-entity entity-name="PeriodType"/>
</field>
<field name="rateAmount" tooltip="${uiLabelMap.PartyOverrideDefaultRateAmount}"><text/></field>
<field name="rateCurrencyUomId" title="${uiLabelMap.ProductCurrencyUomId}" position="2" entry-name="defaultCurrencyUomId" tooltip="${uiLabelMap.PartyAdjustInAccountingComponent}">
<display-entity entity-name="Uom" key-field-name="uomId"/>
</field>
<field name="percentageUsed"><text size="6"/></field>
<field name="defaultRate" position="2">
<drop-down no-current-selected-key="N">
<option key="N"/>
<option key="Y"/>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonCreate}"><submit button-type="button"/></field>
</form>
<form name="ListPartyRates" type="list" target="deletePartyRate"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
<actions>
<entity-condition entity-name="PartyRate" filter-by-date="true">
<condition-expr field-name="partyId" from-field="partyId"/>
<order-by field-name="rateTypeId"/>
</entity-condition>
</actions>
<row-actions>
<service service-name="getRateAmount" result-map="rateResult"/>
<set field="rateDefaultAmount" from-field="rateResult.rateAmount"/>
<set field="periodTypeId" from-field="rateResult.periodTypeId"/>
<set field="rateCurrencyUomId" from-field="rateResult.rateCurrencyUomId"/>
<set field="rateLevel" from-field="rateResult.level"/>
<set field="rateAmountFromDate" from-field="rateResult.fromDate"/>
</row-actions>
<field name="partyId"><hidden/></field>
<field name="fromDate"><hidden/></field>
<field name="rateAmountFromDate"><hidden/></field>
<field name="rateCurrencyUomId"><hidden/></field>
<field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}"><display-entity entity-name="RateType" also-hidden="true"/></field>
<field name="periodTypeId"><display-entity entity-name="PeriodType"/></field>
<field name="rateDefaultAmount" use-when="&quot;workEffort&quot;.equals(rateLevel)" tooltip="${uiLabelMap.PartyValueFromWorkEffortLevel}"><display type="currency" currency="${rateCurrencyUomId}"/></field>
<field name="rateDefaultAmount" use-when="&quot;party&quot;.equals(rateLevel)" tooltip="${uiLabelMap.PartyValueFromPartyLevel}"><display type="currency" currency="${rateCurrencyUomId}"/></field>
<field name="rateDefaultAmount" use-when="&quot;rateType&quot;.equals(rateLevel)" tooltip="${uiLabelMap.PartyValueFromRateTypeLevel}"><display type="currency" currency="${rateCurrencyUomId}"/></field>
<field name="rateDefaultAmount" use-when="rateLevel==null" tooltip="${uiLabelMap.PartyRateNotSpecified}"><display/></field>
<field name="defaultRate"><display/></field>
<field name="percentageUsed"><display/></field>
<field name="deleteButton" widget-style="smallSubmit"><submit /></field>
</form>
<form name="NewUser" type="single" target="${target}${previousParams}"
focus-field-name="USER_TITLE" header-row-style="header-row" default-table-style="basic-table">
<field name="USER_PARTY_ID" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonIdGeneratedIfEmpty}"><text/></field>
<field name="USE_ADDRESS"><hidden value="${USE_ADDRESS}"/></field>
<field name="require_email"><hidden value="${require_email}"/></field>
<field name="USER_TITLE" title="${uiLabelMap.CommonTitle}"><text size="10" maxlength="30"/></field>
<field name="USER_FIRST_NAME" title="${uiLabelMap.PartyFirstName}" required-field="true"><text size="30" maxlength="60"/></field>
<field name="USER_MIDDLE_NAME" title="${uiLabelMap.PartyMiddleInitial}"><text size="4" maxlength="4"/></field>
<field name="USER_LAST_NAME" title="${uiLabelMap.PartyLastName}" required-field="true"><text size="30" maxlength="60"/></field>
<field name="USER_SUFFIX" title="${uiLabelMap.PartySuffix}"><text size="10" maxlength="30"/></field>
<field name="ShippingAddressTitle" title="${uiLabelMap.PartyAddressMailingShipping}" title-area-style="group-label"><display description=" " also-hidden="false"/></field>
<field name="USER_ADDRESS1" title="${uiLabelMap.CommonAddress1}" required-field="true"><text size="30" maxlength="60"/></field>
<field name="USER_ADDRESS2" title="${uiLabelMap.CommonAddress2}"><text size="30" maxlength="60"/></field>
<field name="USER_CITY" title="${uiLabelMap.CommonCity}" required-field="true"><text size="30" maxlength="60"/></field>
<field name="USER_STATE" title="${uiLabelMap.CommonState}" required-field="true"><drop-down allow-empty="false"/></field>
<field name="USER_POSTAL_CODE" title="${uiLabelMap.CommonZipPostalCode}" required-field="true"><text size="10" maxlength="30"/></field>
<field name="USER_COUNTRY" title="${uiLabelMap.CommonCountry}" required-field="true">
<drop-down no-current-selected-key="${defaultCountryGeoId}">
<entity-options entity-name="Geo" key-field-name="geoId" description="${geoId}: ${geoName}">
<entity-constraint name="geoTypeId" value="COUNTRY"/>
<entity-order-by field-name="geoId"/>
</entity-options>
</drop-down>
</field>
<field name="USER_ADDRESS_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowAddressSolicitation}?">
<drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
</field>
<field name="HomePhoneTitle" title="${uiLabelMap.PartyHomePhone}" title-area-style="group-label" widget-style="tooltip"><display description="${uiLabelMap.PartyPhoneNumberRequired}" also-hidden="false"/></field>
<field name="USER_HOME_COUNTRY" title="${uiLabelMap.CommonCountryCode}"><text size="4" maxlength="10"/></field>
<field name="USER_HOME_AREA" title="${uiLabelMap.PartyAreaCode}"><text size="4" maxlength="10"/></field>
<field name="USER_HOME_CONTACT" title="${uiLabelMap.PartyPhoneNumber}"><text size="15" maxlength="15"/></field>
<field name="USER_HOME_EXT" title="${uiLabelMap.PartyContactExt}"><text size="6" maxlength="10"/></field>
<field name="USER_HOME_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
<field name="WorkPhoneTitle" title="${uiLabelMap.PartyContactWorkPhoneNumber}" title-area-style="group-label"><display description=" " also-hidden="false"/></field>
<field name="USER_WORK_COUNTRY" title="${uiLabelMap.CommonCountryCode}"><text size="4" maxlength="10"/></field>
<field name="USER_WORK_AREA" title="${uiLabelMap.PartyAreaCode}"><text size="4" maxlength="10"/></field>
<field name="USER_WORK_CONTACT" title="${uiLabelMap.PartyPhoneNumber}"><text size="15" maxlength="15"/></field>
<field name="USER_WORK_EXT" title="${uiLabelMap.PartyContactExt}"><text size="6" maxlength="10"/></field>
<field name="USER_WORK_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
<field name="FaxPhoneTitle" title="${uiLabelMap.PartyContactFaxPhoneNumber}" title-area-style="group-label"><display description=" " also-hidden="false"/></field>
<field name="USER_FAX_COUNTRY" title="${uiLabelMap.CommonCountryCode}"><text size="4" maxlength="10"/></field>
<field name="USER_FAX_AREA" title="${uiLabelMap.PartyAreaCode}"><text size="4" maxlength="10"/></field>
<field name="USER_FAX_CONTACT" title="${uiLabelMap.PartyPhoneNumber}"><text size="15" maxlength="15"/></field>
<field name="USER_FAX_EXT" title="${uiLabelMap.PartyContactExt}"><text size="6" maxlength="10"/></field>
<field name="USER_FAX_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
<field name="MobilePhoneTitle" title="${uiLabelMap.PartyContactMobilePhoneNumber}" title-area-style="group-label"><display description=" " also-hidden="false"/></field>
<field name="USER_MOBILE_COUNTRY" title="${uiLabelMap.CommonCountryCode}"><text size="4" maxlength="10"/></field>
<field name="USER_MOBILE_AREA" title="${uiLabelMap.PartyAreaCode}"><text size="4" maxlength="10"/></field>
<field name="USER_MOBILE_CONTACT" title="${uiLabelMap.PartyPhoneNumber}"><text size="15" maxlength="15"/></field>
<field name="USER_MOBILE_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
<field name="EmailAddressTitle" title="${uiLabelMap.PartyEmailAddress}" title-area-style="group-label"><display description=" " also-hidden="false"/></field>
<field use-when="require_email!=null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" required-field="true"><text size="60" maxlength="250"/></field>
<field use-when="require_email==null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" required-field="true"><text size="60" maxlength="250"/></field>
<field name="USER_EMAIL_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
<!-- <field name="USER_ORDER_EMAIL" title="Order Emails (comma separated)" ><text size="60" maxlength="250"/></field> -->
<field use-when="displayPassword=='Y'" name="USERNAME" title="${uiLabelMap.CommonUsername}" required-field="true"><text size="30" maxlength="250"/></field>
<field use-when="displayPassword=='Y'" name="PASSWORD" title="${uiLabelMap.CommonPassword}" required-field="true"><password size="15" maxlength="250"/></field>
<field use-when="displayPassword=='Y'" name="CONFIRM_PASSWORD" title="${uiLabelMap.CommonPassword}" tooltip="* ${uiLabelMap.CommonConfirm}" required-field="true"><password size="15" maxlength="250"/></field>
<field use-when="displayPassword!='Y'" name="USERNAME" title="${uiLabelMap.CommonUsername}" tooltip="* ${uiLabelMap.PartyTemporaryPassword}" required-field="true"><text size="30" maxlength="250"/></field>
<!--<field name="RequiredNote" title=" "><display description="${uiLabelMap.PartyRequiredNote}" also-hidden="false"/></field> -->
<field name="securityQuestion">
<drop-down allow-empty="true">
<entity-options entity-name="Enumeration" key-field-name="enumId" description="${description}">
<entity-constraint name="enumTypeId" operator="equals" value="SQ_STANDARD" />
</entity-options>
</drop-down>
</field>
<field name="securityAnswer" title="${uiLabelMap.SecurityAnswer}"><text /></field>
<field name="PRODUCT_STORE_ID" title="Product Store" tooltip="${uiLabelMap.CommonRequired}" widget-style="required">
<drop-down>
<entity-options entity-name="ProductStore" key-field-name="productStoreId" description="${storeName} (${productStoreId})">
<entity-order-by field-name="productStoreId"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
</form>
<form name="ListSegmentRoles" type="list" target="updateSegmentGroupRole"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
<actions>
<entity-and entity-name="SegmentGroupRole">
<field-map field-name="partyId"/>
</entity-and>
</actions>
<field name="segmentGroupId" title="${uiLabelMap.PartySegmentGroupId}">
<display-entity entity-name="SegmentGroup">
<sub-hyperlink description="${segmentGroupId}" target="/marketing/control/viewSegmentGroup" target-type="inter-app" link-style="smallSubmit">
<parameter param-name="segmentGroupId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="roleTypeId" title="${uiLabelMap.PartyRole}">
<display-entity entity-name="RoleType"/>
</field>
<field name="deleteLink" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteSegmentGroupRole" also-hidden="false">
<parameter param-name="segmentGroupId"/>
<parameter param-name="partyId"/>
<parameter param-name="roleTypeId"/>
</hyperlink>
</field>
</form>
<form name="AddSegmentRole" type="single" target="createSegmentRole" default-map-name="segmentGroupRole"
focus-field-name="segmentGroupId" header-row-style="header-row" default-table-style="basic-table">
<field name="segmentGroupId" title="${uiLabelMap.PartySegmentGroupId}">
<lookup target-form-name="LookupSegmentGroup"/>
</field>
<field name="partyId"><hidden/></field>
<field name="roleTypeId">
<drop-down>
<entity-options entity-name="RoleType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
<!-- <field name="cancelLink" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonCancelDone}" target="${donePage}" also-hidden="false">
<parameter param-name="segmentGroupId"/>
</hyperlink>
</field> -->
</form>
<form name="EditPartyAttribute" type="single" target="updatePartyAttribute" default-map-name="attribute"
focus-field-name="attrName" header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="attribute==null" target="createPartyAttribute"/>
<auto-fields-service service-name="updatePartyAttribute" map-name="attribute"/>
<field name="partyId"><hidden value="${partyId}"/></field>
<field use-when="attribute!=null" name="attrName" tooltip="${uiLabelMap.PartyNotModifRecreateAttribute}"><display/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
<field name="cancelLink" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonCancelDone}" target="${cancelPage}" also-hidden="false">
<parameter param-name="partyId"/>
</hyperlink>
</field>
</form>
<!-- Party Content Form -->
<form name="AddPartyContent" target="updatePartyContent" type="upload" default-map-name="content"
focus-field-name="contentTypeId" header-row-style="header-row" default-table-style="basic-table">
<actions>
<entity-one entity-name="StatusItem" value-field="currentStatus" auto-field-map="false">
<field-map field-name="statusId" from-field="content.statusId"/>
</entity-one>
<entity-one entity-name="DataResource" value-field="dataResource" auto-field-map="false">
<field-map field-name="dataResourceId" from-field="content.dataResourceId"/>
</entity-one>
</actions>
<alt-target use-when="content==null" target="createPartyContent"/>
<!-- <auto-fields-entity entity-name="Content"/> -->
<field name="partyId" map-name="parameters"><hidden/></field>
<field name="dataResourceId" map-name="dataResource" use-when="content!=null"><hidden/></field>
<field use-when="content!=null" name="contentId"><display/></field>
<field name="partyContentTypeId" use-when="partyContent!=null" map-name="partyContent">
<display-entity entity-name="PartyContentType"/>
</field>
<field name="partyContentTypeId" use-when="partyContent==null">
<drop-down allow-empty="false">
<entity-options entity-name="PartyContentType"/>
</drop-down>
</field>
<!-- note sure if these two are necessray, but they are kind of confusing in this context:
<field name="ownerContentId"><lookup target-form-name="LookupContent"/></field>
<field name="dataResourceId" title="${uiLabelMap.ContentDataResourceId}"><lookup target-form-name="LookupDataResource"/></field>
-->
<field name="contentTypeId">
<drop-down allow-empty="false" no-current-selected-key="DOCUMENT">
<entity-options entity-name="ContentType"/>
</drop-down>
</field>
<field name="fromDate" use-when="partyContent==null" required-field="true"><date-time default-value="${nowTimestamp}"/></field>
<field name="fromDate" use-when="partyContent!=null" map-name="partyContent"><display/></field>
<field name="thruDate" map-name="partyContent"><date-time/></field>
<field name="statusId" use-when="content==null">
<drop-down allow-empty="false" no-current-selected-key="CTNT_AVAILABLE">
<entity-options entity-name="StatusItem">
<entity-constraint name="statusTypeId" value="CONTENT_STATUS"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field name="statusId" use-when="content!=null">
<drop-down allow-empty="false" current-description="${currentStatus.description}" no-current-selected-key="CTNT_AVAILABLE">
<entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})">
<entity-constraint name="statusId" value="${content.statusId}"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field name="mimeTypeId" >
<drop-down allow-empty="false">
<entity-options entity-name="MimeType"/>
</drop-down>
</field>
<field name="dataResourceName" title="${uiLabelMap.CommonUpload}"><file/></field>
<field name="dataCategoryId" use-when="dataResource==null">
<drop-down allow-empty="false">
<entity-options description="${categoryName}" entity-name="DataCategory"/>
</drop-down>
</field>
<field name="dataCategoryId" use-when="dataResource!=null">
<drop-down allow-empty="false">
<entity-options description="${categoryName}" entity-name="DataCategory">
<entity-constraint name="dataCategoryId" value="${dataResource.dataCategoryId}"/>
<entity-order-by field-name="categoryName"/>
</entity-options>
<entity-options description="${categoryName}" entity-name="DataCategory"/>
</drop-down>
</field>
<field name="isPublic" title="${uiLabelMap.PartyIsPublic}" map-name="dataResource">
<drop-down no-current-selected-key="N">
<option key="N" description="${uiLabelMap.CommonNo}"/>
<option key="Y" description="${uiLabelMap.CommonYes}"/>
</drop-down>
</field>
<field name="createButton" use-when="content==null"><submit button-type="button"/></field>
<field name="updateButton" use-when="content!=null"><submit button-type="button"/></field>
</form>
<form name="ListPartyContents" type="list" separate-columns="false"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<entity-and entity-name="PartyContentDetail">
<field-map field-name="partyId"/>
</entity-and>
</actions>
<field name="partyId"><hidden/></field>
<field name="contentId"><hidden/></field>
<field name="contentName">
<display-entity entity-name="Content" description="${contentName}" key-field-name="contentId">
<sub-hyperlink target="EditPartyContents" description="${contentId}" link-style="smallSubmit">
<parameter param-name="contentId"/>
<parameter param-name="partyId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="partyContentTypeId"><display-entity entity-name="PartyContentType"/></field>
<field name="description"><display/></field>
<field name="statusId"><display-entity entity-name="StatusItem"></display-entity></field>
<field name="localeString"><display-entity entity-name="CountryCode" key-field-name="countryCode" description="${countryName}${countryCode}"></display-entity></field>
<field name="contentTypeId"><display-entity entity-name="ContentType"></display-entity></field>
<field name="mimeTypeId"><display-entity entity-name="MimeType"></display-entity></field>
<field name="dataResourceId" title="${uiLabelMap.FormFieldTitle_dataResourceName}" use-when="dataResourceId==null"><display/> </field>
<field name="dataResourceId" title="${uiLabelMap.FormFieldTitle_dataResourceName}" use-when="dataResourceId!=null">
<display-entity entity-name="DataResource" description="${dataResourceName}"/>
</field>
<field name="fromDate"><display type="date-time"></display></field>
<field name="thruDate"><display type="date-time"></display></field>
<field name="editLink" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonEdit}" target="EditPartyContents" also-hidden="false">
<parameter param-name="contentId"/>
<parameter param-name="partyId"/>
<parameter param-name="dataResourceId"/>
<parameter param-name="fromDate"/>
<parameter param-name="partyContentTypeId"/>
</hyperlink>
</field>
<field name="remove" title=" " widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonRemove}" target="removePartyContent" also-hidden="false">
<parameter param-name="contentId"/>
<parameter param-name="partyId"/>
<parameter param-name="dataResourceId"/>
<parameter param-name="fromDate"/>
<parameter param-name="partyContentTypeId"/>
</hyperlink>
</field>
</form>
<form name="ApplyServiceCredit" type="single" target="applyServiceCredit" default-map-name="serviceCredit" focus-field-name="amount"
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createServiceCredit" map-name="serviceCredit"/>
<field name="finAccountId">
<drop-down allow-empty="true">
<entity-options entity-name="FinAccount" description="${finAccountName} [${finAccountId}]" filter-by-date="true">
<entity-constraint name="ownerPartyId" value="${partyId}"/>
<entity-constraint name="finAccountTypeId" value="SVCCRED_ACCOUNT"/>
<entity-order-by field-name="-fromDate"/>
</entity-options>
</drop-down>
</field>
<field name="currencyUomId">
<drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}">
<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="productStoreId">
<drop-down allow-empty="true">
<entity-options entity-name="ProductStore" description="${storeName} [${productStoreId}]">
<entity-order-by field-name="productStoreId"/>
</entity-options>
</drop-down>
</field>
<field name="partyId"><hidden value="${partyId}"/></field>
<field name="finAccountTypeId"><ignored/></field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
</form>
<form name="ListCarrierAccounts" type="list" target="updatePartyCarrierAccount" list-name="carrierAccounts"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
paginate="true" view-size="3" paginate-target="viewprofile" paginate-target-anchor="ListCarrierAccounts">
<actions>
<entity-condition entity-name="PartyCarrierAccount" list="carrierAccounts" filter-by-date="true">
<condition-expr field-name="partyId" from-field="parameters.partyId"></condition-expr>
<order-by field-name="fromDate"/>
</entity-condition>
</actions>
<auto-fields-service service-name="updatePartyCarrierAccount"/>
<field name="partyId"><display/></field>
<field name="carrierPartyId"><display/></field>
<field name="fromDate"><display/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="smallSubmit">
<hyperlink description="${uiLabelMap.CommonDelete}" target="updatePartyCarrierAccount" also-hidden="false">
<parameter param-name="partyId"/>
<parameter param-name="carrierPartyId"/>
<parameter param-name="fromDate"/>
<parameter param-name="thruDate" from-field="context.thruDate"/>
</hyperlink>
</field>
</form>
<form name="EditCarrierAccount" type="single" target="createPartyCarrierAccount" title=""
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createPartyCarrierAccount"/>
<field name="partyId"><hidden/></field>
<field name="carrierPartyId">
<drop-down allow-empty="false">
<entity-options entity-name="PartyRole" key-field-name="partyId" description="${partyId}">
<entity-constraint name="roleTypeId" operator="equals" value="CARRIER"/>
<entity-constraint name="partyId" operator="not-equals" value="_NA_"/>
</entity-options>
</drop-down>
</field>
<field name="fromDate" title="${uiLabelMap.CommonFromDate}" required-field="true"/>
<field name="accountNumber" title="${uiLabelMap.AccountingAccountNumber}" required-field="true"/>
<field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
</form>
<form name="ListSubscriptions" type="list" list-name="subscriptionList" default-table-style="basic-table">
<field name="subscriptionId">
<display-entity entity-name="Subscription">
<sub-hyperlink description="[${subscriptionId}]" target="/catalog/control/EditSubscription" target-type="inter-app">
<parameter param-name="subscriptionId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="subscriptionTypeId" title="${uiLabelMap.ProductSubscription} ${uiLabelMap.CommonType}">
<display-entity entity-name="SubscriptionType"/>
</field>
<field name="subscriptionResourceId">
<display-entity entity-name="SubscriptionResource"/>
</field>
<field name="description"><display/></field>
<field name="productId">
<display-entity entity-name="Product" description="${productName}">
<sub-hyperlink target="/catalog/control/EditProduct" target-type="inter-app" description="${productId}" link-style="buttontext">
<parameter param-name="productId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="fromDate"><display/></field>
<field name="thruDate"><display/></field>
</form>
<form name="ListRelatedContacts" type="list" list-name="contacts" default-table-style="basic-table">
<field name="partyIdTo">
<display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}" key-field-name="partyId">
<sub-hyperlink description="[${partyIdTo}]" target="viewprofile">
<parameter param-name="partyId" from-field="partyIdTo"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="partyRelationshipTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="PartyRelationshipType" description="${partyRelationshipName}"/></field>
<field name="comments"><display/></field>
</form>
<form name="ListRelatedAccounts" type="list" list-name="accounts" default-table-style="basic-table">
<field name="partyIdFrom">
<display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}" key-field-name="partyId">
<sub-hyperlink description="[${partyIdFrom}]" target="viewprofile">
<parameter param-name="partyId" from-field="partyIdFrom"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="partyRelationshipTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="PartyRelationshipType" description="${partyRelationshipName}"/></field>
<field name="comments"><display/></field>
</form>
<form name="ListPartyRelationships" type="list" list-name="partyRelationships" default-table-style="basic-table" target="updatePartyRelationship" odd-row-style="alternate-row">
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="partyIdTo" title="${uiLabelMap.PartyPartyId}">
<display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}" key-field-name="partyId">
<sub-hyperlink description="[${partyIdTo}]" target="viewprofile">
<parameter param-name="partyId" from-field="partyIdTo"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="roleTypeIdTo" title="${uiLabelMap.PartyPartyInTheRoleOf}">
<display-entity entity-name="RoleType" key-field-name="roleTypeId"/>
</field>
<field name="partyRelationshipTypeId" title="${uiLabelMap.PartyIsA}"><display-entity entity-name="PartyRelationshipType" description="${partyRelationshipName}"/></field>
<field name="partyIdFrom" title="${uiLabelMap.PartyOfParty}">
<display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}" key-field-name="partyId">
<sub-hyperlink description="[${partyIdFrom}]" target="viewprofile">
<parameter param-name="partyId" from-field="partyIdFrom"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="roleTypeIdFrom" title="${uiLabelMap.PartyPartyInTheRoleOf}">
<display-entity entity-name="RoleType" key-field-name="roleTypeId"/>
</field>
<field name="fromDate"><display type="date"/></field>
<field name="thruDate"><date-time/></field>
<field name="comments"><text/></field>
<field name="updateButton"><submit button-type="button"/></field>
<field name="deleteButton"><hyperlink description="${uiLabelMap.CommonDelete}" target="deletePartyRelationship">
<parameter param-name="partyId"/>
<parameter param-name="partyIdFrom"/>
<parameter param-name="partyIdTo"/>
<parameter param-name="roleTypeIdTo"/>
<parameter param-name="roleTypeIdFrom"/>
<parameter param-name="fromDate"/>
</hyperlink></field>
</form>
<form name="AddOtherPartyRelationship" type="single" target="createPartyRelationship">
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="partyIdTo" entry-name="parameters.partyId"><display/></field>
<field name="roleTypeIdTo" title="${uiLabelMap.PartyPartyInTheRoleOf}">
<drop-down allow-empty="false" no-current-selected-key="_NA_">
<entity-options entity-name="RoleTypeAndParty" key-field-name="roleTypeId">
<entity-constraint name="partyId" value="${partyId}"/>
<entity-order-by field-name="description"/>
<entity-order-by field-name="roleTypeId"/>
</entity-options>
</drop-down>
</field>
<field name="partyRelationshipTypeId" title="${uiLabelMap.PartyIsA}">
<drop-down allow-empty="true">
<entity-options entity-name="PartyRelationshipType" description="${partyRelationshipName}">
<entity-order-by field-name="partyRelationshipName"/>
</entity-options>
</drop-down>
</field>
<field name="partyIdFrom"><lookup target-form-name="LookupPartyName"/></field>
<field name="roleTypeIdFrom" title="${uiLabelMap.PartyPartyInTheRoleOf}">
<drop-down allow-empty="false" no-current-selected-key="_NA_">
<entity-options entity-name="RoleType" key-field-name="roleTypeId">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="statusId" title="${uiLabelMap.CommonStatus}">
<drop-down allow-empty="false">
<entity-options entity-name="StatusItem">
<entity-constraint name="statusTypeId" value="PARTY_REL_STATUS"/>
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="fromDate" required-field="true"><date-time default-value="${nowTimestamp}"/></field>
<field name="thruDate"><date-time/></field>
<field name="securityGroupId" title="${uiLabelMap.CommonSecurityGroupId}">
<drop-down allow-empty="true" text-size="60">
<entity-options entity-name="SecurityGroup" key-field-name="groupId">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="comments"><text/></field>
<field name="submitButton"><submit button-type="button"/></field>
</form>
<form name="AddAccount" type="single" target="createPartyRelationshipContactAccount">
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="accountPartyId"><lookup target-form-name="LookupAccount"/></field>
<field name="contactPartyId"><hidden value="${parameters.partyId}"/></field>
<field name="comments"><text/></field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
</form>
<form name="AddContact" type="single" target="createPartyRelationshipContactAccount">
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="accountPartyId"><hidden value="${parameters.partyId}"/></field>
<field name="contactPartyId"><lookup target-form-name="LookupContact"/></field>
<field name="comments"><text/></field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
</form>
<form name="ListInvoicesApplPayments" type="list" list-name="ListInvoicesApplPayments"
default-title-style="tableheadtext" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
>
<actions>
<set field="actualCurrency" from-field="actualCurrency" default-value="true" type="Boolean"/>
<set field="actualCurrencyUomId" from-field="actualCurrencyUomId" default-value="${defaultOrganizationPartyCurrencyUomId}"/>
</actions>
<row-actions>
<set field="total" value="${groovy:org.apache.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceTotal(delegator, invoiceId, actualCurrency)}"/>
<set field="amountToApply" value="${groovy:org.apache.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceNotApplied(delegator,invoiceId, actualCurrency)}"/>
<set field="amountApplied" value="${groovy:org.apache.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceApplied(delegator,invoiceId, org.apache.ofbiz.base.util.UtilDateTime.nowTimestamp(), actualCurrency)}"/>
</row-actions>
<field name="invoiceId">
<display-entity entity-name="Invoice" description=" " also-hidden="true">
<sub-hyperlink target="/accounting/control/invoiceOverview" description="[${invoiceId}]" target-type="inter-app">
<parameter param-name="invoiceId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="invoiceTypeId"><display-entity entity-name="InvoiceType"/></field>
<field name="invoiceDate"><display type="date"/></field>
<field name="total"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field name="amountToApply"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field name="amountApplied"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field name="paymentId">
<display-entity entity-name="Payment" description=" " also-hidden="true">
<sub-hyperlink target="/accounting/control/paymentOverview" description="[${paymentId}]" target-type="inter-app">
<parameter param-name="paymentId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="pmEffectiveDate" title="${uiLabelMap.AccountingEffectiveDate}"><display type="date"/></field>
<field name="pmAmount" title="${uiLabelMap.AccountingPaymentAmount}" use-when="actualCurrency==false"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field name="pmAmount" title="${uiLabelMap.AccountingPaymentAmount}" entry-name="pmActualCurrencyAmount" use-when="actualCurrency==true"><display type="currency" currency="${actualCurrencyUomId}"/></field>
</form>
<form name="ListUnAppliedInvoices" type="list" list-name="ListUnAppliedInvoices"
default-title-style="tableheadtext" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
>
<actions>
<set field="actualCurrency" from-field="actualCurrency" default-value="true" type="Boolean"/>
<script location="component://party/groovyScripts/party/UnAppliedInvoicesForParty.groovy"/>
</actions>
<field name="invoiceId">
<display-entity entity-name="Invoice">
<sub-hyperlink target="/accounting/control/invoiceOverview" description="[${invoiceId}]" target-type="inter-app">
<parameter param-name="invoiceId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="invoiceParentTypeId">
<display-entity entity-name="InvoiceType" key-field-name="invoiceTypeId"/>
</field>
<field name="invoiceDate"><display type="date"/></field>
<field name="amount"><display type="currency" currency="${invoiceCurrencyUomId}"/></field>
<field name="unAppliedAmount"><display type="currency" currency="${invoiceCurrencyUomId}"/></field>
</form>
<form name="ListUnAppliedPayments" type="list" list-name="paymentList"
default-title-style="tableheadtext" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
>
<actions>
<set field="actualCurrency" from-field="actualCurrency" default-value="true" type="Boolean"/>
<script location="component://party/groovyScripts/party/UnAppliedPaymentsForParty.groovy"/>
</actions>
<field name="paymentId"><hidden/></field>
<field name="paymentId">
<display-entity entity-name="Payment" description=" ">
<sub-hyperlink target="/accounting/control/paymentOverview" description="[${paymentId}]" target-type="inter-app">
<parameter param-name="paymentId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="effectiveDate"><display type="date"/></field>
<field name="paymentTypeId">
<display-entity entity-name="PaymentType"/>
</field>
<field name="paymentParentTypeId">
<display-entity entity-name="PaymentType" key-field-name="paymentTypeId"/>
</field>
<field name="amount"><display type="currency" currency="${paymentCurrencyUomId}"/></field>
<field name="unAppliedAmount"><display type="currency" currency="${paymentCurrencyUomId}"/></field>
</form>
<form name="PartyFinancialSummary" type="single" title="Financial summary" default-map-name="finanSummary"
default-title-style="tableheadtext">
<actions>
<set field="actualCurrency" from-field="actualCurrency" default-value="true"/>
<set field="actualCurrencyUomId" from-field="actualCurrencyUomId" default-value="${defaultOrganizationPartyCurrencyUomId}"/>
<script location="component://party/groovyScripts/party/PartyFinancialHistory.groovy"/>
</actions>
<field position="1" name="totalSalesInvoice"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field position="2" name="totalPurchaseInvoice"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field position="1" name="totalPaymentsIn"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field position="2" name="totalPaymentsOut"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field position="1" name="totalInvoiceNotApplied"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field position="2" name="totalPaymentNotApplied"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field position="1" name="totalToBePaid" use-when="finanSummary.get(&quot;totalToBePaid&quot;)!=null" title="${uiLabelMap.PartyToBeReceivedFrom} ${parameters.partyId}"><display type="currency" currency="${actualCurrencyUomId}"/></field>
<field position="1" name="totalToBeReceived" use-when="finanSummary.get(&quot;totalToBeReceived&quot;)!=null" title="${uiLabelMap.PartyToBePaidTo} ${parameters.partyId}"><display type="currency" currency="${actualCurrencyUomId}"/></field>
</form>
<form name="ViewPartyRoles" type="list" list-name="partyRoles" target="viewroles"
default-title-style="tableheadtext"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="roleTypeId" title="${uiLabelMap.PartyRoleTypeId}"><display/></field>
<field name="description" title="${uiLabelMap.PartyRole}"><display/></field>
<field name="parentTypeId"><display-entity entity-name="RoleType" key-field-name="roleTypeId"/></field>
<field name="remove">
<hyperlink description="${uiLabelMap.CommonRemove}" target="deleterole">
<parameter param-name="partyId"/>
<parameter param-name="roleTypeId"/>
</hyperlink>
</field>
</form>
<form name="AddPartyRole" type="single" title="Add a role to party" target="addrole">
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="roleTypeId">
<drop-down allow-empty="false">
<entity-options entity-name="RoleType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="add" title="${uiLabelMap.CommonAdd}"><submit/></field>
</form>
<form name="AddPartyMainRole" type="single" title="${uiLabelMap.PartyAddToMainRole}" target="addrole">
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="roleTypeId" event="onChange" action="ajaxUpdateArea('addPartySecondaryRole', 'addsecondaryroles', jQuery('#AddPartyMainRole').serialize());" entry-name="dummy">
<drop-down allow-empty="false">
<entity-options entity-name="RoleType">
<entity-constraint name="parentTypeId" operator="equals" env-name="nullField"/>
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="add" title="${uiLabelMap.CommonAdd}"><submit/></field>
</form>
<form name="AddPartySecondaryRoles" type="single" title="${uiLabelMap.PartyAddToSecondRole}" target="addrole">
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="roleTypeId" entry-name="dummy">
<drop-down allow-empty="false">
<entity-options entity-name="RoleType">
<entity-constraint name="parentTypeId" value="${parameters.roleTypeId}"/>
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="add" title="${uiLabelMap.CommonAdd}"><submit/></field>
</form>
<form name="AddRoleType" type="single" title="Add a new roletype" target="createroletype" list-name="parentRoleList">
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="roleTypeId" title="${uiLabelMap.PartyRoleTypeId}" required-field="true" entry-name="dummy" position="1"><text/></field>
<field name="parentTypeId" position="2">
<drop-down allow-empty="true">
<list-options list-name="parentRoleList" key-name="roleTypeId"/>
</drop-down>
</field>
<field name="description" title="${uiLabelMap.CommonDescription}" required-field="true"><text/></field>
<field name="save" title="${uiLabelMap.CommonSave}"><submit/></field>
</form>
<form name="ListPreference" type="list" target="removePreference" list-name="enumTypeChildAndEnums"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" separate-columns="true" use-row-submit="true" >
<row-actions>
<service service-name="getUserPreference" result-map="values">
<field-map field-name="userPrefTypeId" from-field="enumId"/>
</service>
<set field="userPrefValue" from-field="values.userPrefValue"/>
</row-actions>
<field name="enumId" parameter-name="userPrefTypeId"><hidden value="${enumId}"/></field>
<field name="childEnumTypeId" parameter-name="userPrefGroupTypeId"><hidden value="${enumTypeId}"/></field>
<field name="childDescription" title="${uiLabelMap.CommonPreferenceGroup}"><display/></field>
<field name="description" title="${uiLabelMap.CommonPreferenceName}"><display/></field>
<field name="partyId"><hidden/></field>
<field name="userPrefUserLoginId"><hidden/></field>
<field name="userPrefValue" title="${uiLabelMap.CommonValue}"><display/></field>
<field name="submit" title="${uiLabelMap.CommonRemove}" use-when="userPrefValue!=null"><submit/></field>
</form>
<form name="PartyBillingAccount" type="list" list-name="billingAccounts" default-table-style="basic-table hover-bar">
<field name="billingAccountId"><display/></field>
<field name="accountLimit"><display type="currency"/></field>
<field name="accountBalance"><display type="currency"/></field>
<field name="description"><display/></field>
</form>
<form name="PartyReturns" type="list" list-name="returnList" default-table-style="basic-table hover-bar">
<field name="returnId"><display/></field>
<field name="statusId"><display-entity entity-name="StatusItem"/></field>
<field name="fromPartyId"><display/></field>
<field name="toPartyId"><display/></field>
</form>
<form name="PartySalesOpportunities" type="list" list-name="salesOpportunities" default-table-style="basic-table hover-bar">
<field name="opportunityName" title="${uiLabelMap.SfaOpportunityName}">
<hyperlink description="${opportunityName} [${salesOpportunityId}]" target="ViewSalesOpportunity">
<parameter param-name="salesOpportunityId"/>
</hyperlink>
</field>
<field name="opportunityStageId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="SalesOpportunityStage"/></field>
<field name="estimatedAmount" title="${uiLabelMap.SfaEstimatedAmount}"><display/></field>
<field name="partyId"><display/></field>
</form>
<form name="ListPartyIdentification" type="list" list-name="listIt"
default-table-style="basic-table hover-bar" target="updatePartyIdentification">
<actions>
<entity-and entity-name="PartyIdentificationAndParty" >
<field-map field-name="partyId" from-field="partyId"/>
</entity-and>
</actions>
<field name="partyIdentificationTypeId"><hidden /></field>
<field name="partyId"><hidden /></field>
<field name="partyIdentTypeDesc"><display /></field>
<field name="idValue"><display /></field>
<field name="delete">
<hyperlink description="${uiLabelMap.CommonDelete}" target="deletePartyIdentification">
<parameter param-name="partyId"/>
<parameter param-name="partyIdentificationTypeId"/>
</hyperlink>
</field>
<field name="submit" title="${uiLabelMap.CommonUpdate}"><submit /></field>
</form>
<form name="EditPartyIdentification" type="single" list-name="partyIdents"
default-table-style="basic-table hover-bar" target="createPartyIdentification" focus-field-name="idValue">
<alt-target use-when="partyIdentification !=null" target="updatePartyIdentification"/>
<field name="partyIdentificationTypeId" use-when="partyIdentification == null">
<drop-down>
<entity-options entity-name="PartyIdentificationType">
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="partyIdentificationTypeId" use-when="partyIdentification != null">
<display-entity entity-name="PartyIdentificationType"/>
</field>
<field name="partyId"><hidden /></field>
<field name="idValue"><text /></field>
<field name="submit" title="${uiLabelMap.CommonCreate}" use-when="partyIdentification == null"><submit /></field>
<field name="submit" title="${uiLabelMap.CommonUpdate}" use-when="partyIdentification != null"><submit /></field>
</form>
<form name="EditProductStoreRole" type="single" extends="EditProductStoreRole" extends-resource="component://product/widget/catalog/StoreForms.xml">
<field name="partyId"><hidden/></field>
<field name="productStoreId" use-when="productStoreRole==null" title="${uiLabelMap.ProductStoreId}" required-field="true">
<drop-down>
<entity-options entity-name="ProductStore" key-field-name="productStoreId" description="${storeName} (${productStoreId})">
<entity-order-by field-name="productStoreId"/>
</entity-options>
</drop-down>
</field>
<field name="productStoreId" use-when="productStoreRole!=null" title="${uiLabelMap.ProductStoreId}"><display/></field>
</form>
<form name="FindProductStoreRole" type="single" extends="FindProductStoreRole" extends-resource="component://product/widget/catalog/StoreForms.xml">
<field name="partyId"><hidden/></field>
<field name="productStoreId" title="${uiLabelMap.ProductStoreId}" required-field="true">
<drop-down allow-empty="true">
<entity-options entity-name="ProductStore" key-field-name="productStoreId" description="${storeName} (${productStoreId})">
<entity-order-by field-name="productStoreId"/>
</entity-options>
</drop-down>
</field>
</form>
<form name="ListProductStoreRole" type="list" list-name="listIt" paginate-target="FindProductStoreRoles" default-entity-name="ProductStoreRole" separate-columns="true"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
<actions>
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="parameters"/>
<field-map field-name="entityName" value="ProductStoreRole"/>
<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>
<field name="productStoreId" title="${uiLabelMap.ProductStoreId}">
<display-entity entity-name="ProductStore" key-field-name="productStoreId" description="${storeName}">
<sub-hyperlink target="/catalog/control/EditProductStore" target-type="inter-app" description="${storeName} (${productStoreId})" >
<parameter param-name="productStoreId"/>
</sub-hyperlink>
</display-entity>
</field>
<field name="roleTypeId" title="${uiLabelMap.PartyRoleTypeId}"><display-entity entity-name="RoleType"/></field>
<field name="fromDate"><display/></field>
<field name="thruDate"><display/></field>
<field name="sequenceNum"><display/></field>
<field name="editLink" widget-style="buttontext" title="${uiLabelMap.CommonEdit}">
<hyperlink description="${uiLabelMap.CommonEdit}" target="FindProductStoreRoles">
<parameter param-name="partyId"/>
<parameter param-name="productStoreId"/>
<parameter param-name="roleTypeId"/>
<parameter param-name="fromDate"/>
</hyperlink>
</field>
<field name="deleteLink" widget-style="buttontext" title="${uiLabelMap.CommonDelete}">
<hyperlink description="${uiLabelMap.CommonDelete}" target="storeRemoveRole">
<parameter param-name="partyId"/>
<parameter param-name="productStoreId"/>
<parameter param-name="roleTypeId"/>
<parameter param-name="fromDate"/>
</hyperlink>
</field>
</form>
<form name="ExportParty" type="single" target="ExportPartyCsv.csv" title="" >
<field name="partyId" tooltip="blank for all"><lookup target-form-name="LookupPartyName"/></field>
<field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field>
</form>
<form name="ExportPartyCsv" list-name="listIt" target="" title="" type="list" view-size="99999"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar" paginate="false">
<actions>
<entity-condition entity-name="PartyExport">
<condition-list combine="and">
<condition-list combine="or">
<condition-expr field-name="roleTypeId" value="CUSTOMER" operator="equals"/>
<condition-expr field-name="roleTypeId" value="SUPPLIER" operator="equals"/>
<condition-expr field-name="roleTypeId" value="EMPLOYEE" operator="equals"/>
</condition-list>
<condition-expr field-name="statusId" value="PARTY_DISABLED" operator="not-equals"/>
<condition-expr field-name="partyId" operator="equals" from-field="partyId" value="${parameters.partyId}" ignore-if-empty="true"/>
</condition-list>
<order-by field-name="partyId"/>
</entity-condition>
</actions>
<field name="partyId" title="partyId"><display/></field>
<field name="preferredCurrencyUomId" title="preferredCurrencyUomId"><display/></field>
<field name="groupName" title="groupName"><display/></field>
<field name="firstName" title="firstName"><display/></field>
<field name="middleName" title="middleName"><display/></field>
<field name="lastName" title="lastName"><display/></field>
<field name="companyPartyId" title="companyPartyId"><display/></field>
<field name="companyName" title="companyName"><display/></field>
<field name="roleTypeId" title="roleTypeId"><display/></field>
<field name="contactMechPurposeTypeId" title="contactMechPurposeTypeId"><display/></field>
<field name="contactMechTypeId" title="contactMechTypeId"><display/></field>
<field name="emailAddress" title="emailAddress"><display/></field>
<field name="telCountryCode" title="telCountryCode"><display/></field>
<field name="telAreaCode" title="telAreaCode"><display/></field>
<field name="telContactNumber" title="telContactNumber"><display/></field>
<field name="address1" title="address1"><display/></field>
<field name="address2" title="address2"><display/></field>
<field name="city" title="city"><display/></field>
<field name="stateProvinceGeoId" title="stateProvinceGeoId"><display/></field>
<field name="postalCode" title="postalCode"><display/></field>
<field name="countryGeoId" title="countryGeoId"><display/></field>
</form>
<form name="ImportParty" type="upload" target="uploadParty" title="" >
<field name="uploadedFile"><file/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpload}"><submit button-type="button"/></field>
</form>
</forms>