take the default currency as set in the commonext component

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795474 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hans Bakker
2009-07-19 03:54:22 +00:00
parent 6263434615
commit fe146772e2
30 changed files with 47 additions and 61 deletions
@@ -156,7 +156,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -216,7 +216,7 @@ under the License.
<display-entity entity-name="FixedAssetStdCostType"/>
</field>
<field name="amountUomId">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -243,7 +243,7 @@ under the License.
</field>
<field name="fromDate" title="${uiLabelMap.CommonFromDate}"/>
<field name="amountUomId">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -99,6 +99,7 @@ under the License.
</entity-condition>
</actions>
<field name="statusId"><hidden value="PMNT_NOT_PAID"/></field>
<field name="currencyUomId"><hidden value="${defaultOrganizationPartyCurrencyUomId}"/></field>
<field position="1" name="organizationPartyId" parameter-name="partyIdFrom">
<drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyId}">
<entity-options description="${groupName}" entity-name="PartyAcctgPrefAndGroup" key-field-name="partyId">
@@ -120,14 +121,6 @@ under the License.
</drop-down>
</field>
<field name="amount" position="1"><text/></field>
<field position="2" name="currencyUomId" >
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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 position="1" name="createButton" widget-style="smallSubmit">
<submit button-type="button"/>
</field>
@@ -135,6 +128,7 @@ under the License.
<form name="NewPaymentIn" type="single" target="createPayment" default-map-name="payment"
header-row-style="header-row" default-table-style="basic-table">
<field name="statusId"><hidden value="PMNT_NOT_PAID"/></field>
<field name="currencyUomId"><hidden value="${defaultOrganizationPartyCurrencyUomId}"/></field>
<field position="1" name="organizationPartyId" parameter-name="partyIdTo">
<drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyId}">
<entity-options description="${groupName}" entity-name="PartyAcctgPrefAndGroup" key-field-name="partyId">
@@ -159,14 +153,6 @@ under the License.
</drop-down>
</field>
<field name="amount" position="1"><text/></field>
<field position="2" name="currencyUomId" >
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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 position="1" name="createButton" widget-style="smallSubmit">
<submit button-type="button"/>
</field>
@@ -177,7 +163,7 @@ under the License.
<entity-one entity-name="Party" value-field="partyFrom">
<field-map field-name="partyId" from-field="payment.partyIdFrom"/>
</entity-one>
<set field="payment.actualCurrencyUomId" from-field="partyFrom.preferredCurrencyUomId" default-value="${defaultCurrencyUomId}"/>
<set field="payment.actualCurrencyUomId" from-field="partyFrom.preferredCurrencyUomId" default-value="${defaultOrganizationPartyCurrencyUomId}"/>
<entity-one entity-name="StatusItem" value-field="currentStatus">
<field-map field-name="statusId" from-field="payment.statusId"/>
</entity-one>
@@ -225,7 +211,7 @@ under the License.
</field>
<field name="amount" position="1"><text/></field>
<field position="2" name="currencyUomId">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
@@ -125,7 +125,7 @@ under the License.
<field use-when="roleTypeId == null" name="roleTypeId"><hidden value="BILL_TO_CUSTOMER"/></field>
<field name="accountCurrencyUomId">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
+1 -1
View File
@@ -56,7 +56,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
@@ -85,7 +85,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down no-current-selected-key="${defaultCurrencyUomId}">
<drop-down 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"/>
+1 -1
View File
@@ -572,7 +572,7 @@ under the License.
</field>
<field name="origAmount"><text size="30"/></field>
<field name="origCurrencyUomId">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -129,7 +129,7 @@ under the License.
</field>
<field name="baseCurrencyUomId" use-when="partyAcctgPreference==null"
tooltip="${uiLabelMap.${bsh:agregatedPartyAcctgPreference!= null&amp;&amp;agregatedPartyAcctgPreference.get(&quot;baseCurrencyUomId&quot;)!=null?&quot;AccountingInheritedValue&quot;:&quot;&quot;}}">
<drop-down no-current-selected-key="${defaultCurrencyUomId}">
<drop-down 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"/>
@@ -309,7 +309,7 @@ under the License.
header-row-style="header-row" default-table-style="basic-table">
<field name="organizationPartyId"><hidden value="${organizationPartyId}"/></field>
<field name="uomId" title="${uiLabelMap.CommonFrom} ${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -317,7 +317,7 @@ under the License.
</drop-down>
</field>
<field name="uomIdTo" title="${uiLabelMap.CommonTo} ${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -88,7 +88,7 @@ under the License.
<field name="glXbrlClassId"><display-entity entity-name="GlXbrlClass"></display-entity></field>
<field name="parentGlAccountId"><display-entity entity-name="GlAccount" description="${accountName} [${glAccountId}]" key-field-name="glAccountId"></display-entity></field>
<field name="accountCode"><hidden/></field>
<field name="postedBalance" widget-area-style="align-text" title-area-style="align-text"><display type="currency" currency="${defaultCurrencyUomId}"/></field>
<field name="postedBalance" widget-area-style="align-text" title-area-style="align-text"><display type="currency" currency="${defaultOrganizationPartyCurrencyUomId}"/></field>
</form>
<form name="EditGlAccount" type="single" target="updateGlAccount" title="" default-map-name="glAccount"
@@ -258,7 +258,7 @@ under the License.
</field>
<field name="rateAmount" position="1"><text/></field>
<field name="rateCurrencyUomId" position="2">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -48,7 +48,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" required-field="false">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -228,7 +228,7 @@ under the License.
<field use-when="surveyQuestionOption!=null" name="surveyOptionSeqId"><hidden/></field>
<field name="amountBaseUomId">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -178,7 +178,7 @@ under the License.
<field name="salaryStepSeqId" title="${uiLabelMap.HumanResSalaryStepSeqId}" position="2"><lookup target-form-name="LookupSalaryStep"/></field>
<field name="rateAmount"><text/></field>
<field name="rateCurrencyUomId" position="2">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -58,7 +58,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -50,7 +50,7 @@ under the License.
<field name="costGlAccountTypeId"><hidden/></field>
<field name="offsettingGlAccountTypeId"><hidden/></field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
@@ -51,7 +51,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
@@ -70,7 +70,7 @@ under the License.
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-entity entity-name="SalesForecast" default-field-type="find"/>
<field name="currencyUomId">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -65,7 +65,7 @@ under the License.
<lookup target-form-name="LookupPartyName"/>
</field>
<field name="currencyUomId">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -92,7 +92,7 @@ under the License.
</field>
<field name="estimatedAmount" position="1" title="${uiLabelMap.SfaEstimatedAmount}"><text size="25"/></field>
<field name="currencyUomId" position="2" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -49,7 +49,7 @@ under the License.
</field>
<field name="productStoreId"><lookup target-form-name="/marketing/control/LookupProductStore"/></field>
<field name="currencyUom">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -309,7 +309,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -65,7 +65,7 @@ under the License.
</field>
<field name="currencyUom">
<drop-down no-current-selected-key="${defaultCurrencyUomId}">
<drop-down 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"/>
@@ -50,7 +50,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -141,7 +141,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -55,7 +55,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" use-when="returnHeader==null">
<drop-down no-current-selected-key="${defaultCurrencyUomId}">
<drop-down 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"/>
@@ -275,7 +275,7 @@ under the License.
</field>
<field name="description" parameter-name="story" use-when="custRequest==null" encode-output="false"><textarea cols="60" rows="12" default-value="${communicationEvent.content}"/></field>
<field name="maximumAmountUomId">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -296,7 +296,7 @@ under the License.
<lookup target-form-name="LookupPreferredContactMech" target-parameter="fromPartyId"/>
</field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -65,7 +65,7 @@ under the License.
<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="${defaultCurrencyUomId}">
<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"/>
@@ -100,7 +100,7 @@ under the License.
<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="${defaultCurrencyUomId}">
<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"/>
@@ -644,7 +644,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -363,7 +363,7 @@
<field name="thruDate" title="${uiLabelMap.CommonThruDate}" position="2"><date-time/></field>
<field name="price" title="${uiLabelMap.ProductPrice}" widget-style="required" position="1"><text size="25"/></field>
<field name="currencyUomId" title="${uiLabelMap.ProductCurrency}" position="2">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
@@ -138,7 +138,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
@@ -157,7 +157,7 @@ under the License.
</field>
<field position="1" name="quantityIncluded" title="${uiLabelMap.ProductQuantityIncluded}"><text size="10" maxlength="20"/></field>
<field position="2" name="quantityUomId" title="${uiLabelMap.ProductQuantityUomId}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -354,7 +354,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
@@ -802,7 +802,7 @@ under the License.
<display/>
</field>
<field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}" use-when="supplierProduct==null">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
@@ -1164,7 +1164,7 @@ under the License.
</drop-down>
</field>
<field name="costUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
@@ -1184,7 +1184,7 @@ under the License.
</drop-down>
</field>
<field name="currencyUomId" title="${uiLabelMap.CommonCurrency}">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}">
<entity-options entity-name="Uom" key-field-name="uomId" description="${description} [${uomId}]">
<entity-constraint name="uomTypeId" value="CURRENCY_MEASURE"/>
<entity-order-by field-name="description"/>
@@ -138,7 +138,7 @@
</field>
-->
<field name="defaultCurrencyUomId">
<drop-down allow-empty="false" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="false" 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"/>
@@ -813,7 +813,7 @@
</drop-down>
</field>
<field name="puom" title="${uiLabelMap.ProductUnitOfMeasure}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -95,7 +95,7 @@ under the License.
<field name="latestCancelDate" title="${uiLabelMap.ProductLatestCancelDate}"><date-time/></field>
<field name="estimatedShipCost" title="${uiLabelMap.ProductEstimatedShipCost}"><text/></field>
<field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<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"/>
@@ -799,7 +799,7 @@ under the License.
</field>
<field name="rateAmount" tooltip="${uiLabelMap.WorkEffortOverrideDefaultRateAmount}"><text/></field>
<field name="rateCurrencyUomId" position="2">
<drop-down allow-empty="true" no-current-selected-key="${defaultCurrencyUomId}">
<drop-down allow-empty="true" 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"/>