blob: dfaa6939692f2404e6f6db8dc270a61573825c69 [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"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
<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}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="personInfo==null&amp;&amp;partyId==null" name="partyId" title="${uiLabelMap.PartyPartyId}"><ignored/></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}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="40" maxlength="60"/></field>
<field name="lastName" title="${uiLabelMap.PartyLastName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><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 description="${description}" 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 description="${description}" 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="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}">
<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}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field use-when="partyGroup==null&amp;&amp;partyId==null" name="partyId" title="${uiLabelMap.PartyPartyId}"><ignored/></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" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"></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 description="${description}" 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="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}">
<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}"/></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" description="${description}"/></field>
<field name="externalId"><display/></field>
<field name="statusId"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></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}"/></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" description="${description}"/></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="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"><hyperlink target="backHome" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></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="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}">
<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="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}">
<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" description="${description}">
<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" description="${description}">
<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"><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="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink target="deletePartyTaxAuthInfo" description="${uiLabelMap.CommonDelete}" 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="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}">
<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" description="${description}">
<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" description="${description}"/></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="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}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><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}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><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}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><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}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="60"/></field>
<field name="USER_STATE" title="${uiLabelMap.CommonState}" widget-style="required"><drop-down allow-empty="false"/></field>
<field name="USER_POSTAL_CODE" title="${uiLabelMap.CommonZipPostalCode}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="10" maxlength="30"/></field>
<field name="USER_COUNTRY" title="${uiLabelMap.CommonCountry}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required">
<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.PartyCountryCode}"><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.PartyCountryCode}"><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.PartyCountryCode}"><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.PartyCountryCode}"><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}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="60" maxlength="250"/></field>
<field use-when="require_email==null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" widget-style="required"><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!=null" name="USERNAME" title="${uiLabelMap.CommonUsername}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="30" maxlength="250"/></field>
<field use-when="displayPassword!=null" name="PASSWORD" title="${uiLabelMap.CommonPassword}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><password size="15" maxlength="250"/></field>
<field use-when="displayPassword!=null" name="CONFIRM_PASSWORD" title="${uiLabelMap.CommonPassword}" tooltip="* ${uiLabelMap.CommonConfirm}" widget-style="required"><password size="15" maxlength="250"/></field>
<field name="USERNAME" title="${uiLabelMap.CommonUsername}" tooltip="* ${uiLabelMap.PartyTemporaryPassword}" widget-style="required"><text size="30" maxlength="250"/></field>
<!--<field name="RequiredNote" title="${uiLabelMap.CommonEmptyHeader}"><display description="${uiLabelMap.PartyRequiredNote}" also-hidden="false"/></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" description="${description}"/>
</field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink target="deleteSegmentGroupRole" description="${uiLabelMap.CommonDelete}" 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 description="${description}" 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="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}">
<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 name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></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" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
<field name="partyContentTypeId">
<drop-down allow-empty="false">
<entity-options description="${description}" 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"><lookup target-form-name="LookupDataResource"/></field>
-->
<field name="contentTypeId">
<drop-down allow-empty="false" no-current-selected-key="DOCUMENT">
<entity-options description="${description}" entity-name="ContentType"/>
</drop-down>
</field>
<field name="statusId" use-when="content==null">
<drop-down allow-empty="false" no-current-selected-key="CTNT_AVAILABLE">
<entity-options description="${description}" 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 description="${description}" 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="editLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditPartyContents">
<parameter param-name="contentId"/>
<parameter param-name="partyId"/>
<parameter param-name="dataResourceId"/>
</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"
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 target="updatePartyCarrierAccount" description="${uiLabelMap.CommonDelete}" 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" description="${partyId}" key-field-name="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}" tooltip="${uiLabelMap.CommonRequired}"/>
<field name="accountNumber" title="${uiLabelMap.AccountingAccountNumber}" tooltip="${uiLabelMap.CommonRequired}"/>
<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" description="${description}">
<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" description="${description}"/>
</field>
<field name="subscriptionResourceId">
<display-entity entity-name="SubscriptionResource" description="${description}"/>
</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">
<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" description="${description}"/>
</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" description="${description}"/>
</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="RoleType" key-field-name="roleTypeId" description="${description}">
<entity-order-by field-name="description"/>
</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" description="${description}">
<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" description="${description}">
<entity-constraint name="statusTypeId" value="PARTY_REL_STATUS"/>
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="fromDate"><date-time/></field>
<field name="thruDate"><date-time/></field>
<field name="groupId" title="${uiLabelMap.CommonSecurityGroupId}">
<drop-down allow-empty="true" text-size="60">
<entity-options entity-name="SecurityGroup" description="${description}">
<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" default-widget-style="tabletext" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
default-tooltip-style="tabletext">
<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="${bsh:org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceTotal(delegator, invoiceId, actualCurrency)}"/>
<set field="amountToApply" value="${bsh:org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceNotApplied(delegator,invoiceId, actualCurrency)}"/>
<set field="amountApplied" value="${bsh:org.ofbiz.accounting.invoice.InvoiceWorker.getInvoiceApplied(delegator,invoiceId, org.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" description="${description}"/></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" default-widget-style="tabletext" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
default-tooltip-style="tabletext">
<actions>
<set field="actualCurrency" from-field="actualCurrency" default-value="true" type="Boolean"/>
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/UnAppliedInvoicesForParty.groovy"/>
</actions>
<field name="invoiceId">
<display-entity entity-name="Invoice" description="${description}">
<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" description="${description}"/>
</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" default-widget-style="tabletext" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
default-tooltip-style="tabletext">
<actions>
<set field="actualCurrency" from-field="actualCurrency" default-value="true" type="Boolean"/>
<script location="component://party/webapp/partymgr/WEB-INF/actions/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" description="${description}"/>
</field>
<field name="paymentParentTypeId">
<display-entity entity-name="PaymentType" key-field-name="paymentTypeId" description="${description}"/>
</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" default-widget-style="tabletext" default-tooltip-style="tabletext">
<actions>
<set field="actualCurrency" from-field="actualCurrency" default-value="true"/>
<set field="actualCurrencyUomId" from-field="actualCurrencyUomId" default-value="${defaultOrganizationPartyCurrencyUomId}"/>
<script location="component://party/webapp/partymgr/WEB-INF/actions/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" default-widget-style="tabletext"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
default-tooltip-style="tabletext">
<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" description="${description}"/></field>
<field name="remove">
<hyperlink target="deleterole" description="${uiLabelMap.CommonRemove}">
<parameter param-name="partyId"/>
<parameter param-name="roleTypeId"/>
</hyperlink>
</field>
</form>
<form name="AddPartyRole" type="single" title="Add a role to party" target="addrole/viewroles">
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="roleTypeId">
<drop-down allow-empty="false">
<entity-options entity-name="RoleType" description="${description}">
<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/viewroles">
<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" description="${description}">
<entity-constraint name="parentTypeId" value=""/>
<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/viewroles">
<field name="partyId"><hidden value="${parameters.partyId}"/></field>
<field name="roleTypeId" entry-name="dummy">
<drop-down allow-empty="false">
<entity-options entity-name="RoleType" description="${description}">
<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="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" description="${description}"/>
</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/></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">
<hyperlink target="ViewSalesOpportunity" description="${opportunityName} [${salesOpportunityId}]">
<parameter param-name="salesOpportunityId"/>
</hyperlink>
</field>
<field name="opportunityStageId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="SalesOpportunityStage" description="${description}"/></field>
<field name="estimatedAmount"><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 target="deletePartyIdentification" description="${uiLabelMap.CommonDelete}">
<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 description="${description}" 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}" 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="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}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required">
<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 target="FindProductStoreRoles" description="${uiLabelMap.CommonEdit}">
<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 target="storeRemoveRole" description="${uiLabelMap.CommonDelete}">
<parameter param-name="partyId"/>
<parameter param-name="productStoreId"/>
<parameter param-name="roleTypeId"/>
<parameter param-name="fromDate"/>
</hyperlink>
</field>
</form>
</forms>