Reverted: Minilang code readability and consistency improvements done at r#1768222, this commit reversed key and description of drop-down in the code.
(OFBIZ-9114) Thanks Wei Zhang for reporting the issue. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1772880 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -53,7 +53,7 @@ under the License.
|
||||
<simple-method method-name="migrateFixedAssetMaintMeter" short-description="Copy FixedAssetMaintMeter To FixedAssetMeter">
|
||||
<entity-condition entity-name="FixedAssetMaintMeter" list="maintMeterList"/>
|
||||
<iterate list="maintMeterList" entry="maintMeter">
|
||||
<make-value entity-name="FixedAssetMeter" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="FixedAssetMeter"/>
|
||||
<set-pk-fields map="maintMeter" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="maintMeter" value-field="newEntity"/>
|
||||
<set field="newEntity.readingDate" from-field="maintMeter.createdStamp"/>
|
||||
@@ -72,7 +72,7 @@ under the License.
|
||||
<simple-method method-name="migrateAgreementWorkEffortAppl" short-description="Copy AgreementWorkEffortAppl To AgreementWorkEffortApplic">
|
||||
<entity-condition entity-name="OldAgreementWorkEffortAppl" list="agreementWorkEffortApplList"/>
|
||||
<iterate list="agreementWorkEffortApplList" entry="agreementWorkEffortAppl">
|
||||
<make-value entity-name="AgreementWorkEffortApplic" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="AgreementWorkEffortApplic"/>
|
||||
<set-pk-fields map="agreementWorkEffortAppl" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
<check-errors/>
|
||||
|
||||
@@ -35,7 +35,7 @@ under the License.
|
||||
<!-- Does not check if the Party is actually a company because real people have to pay taxes too -->
|
||||
|
||||
<!-- TODO: maybe check to make sure that all fields are not null -->
|
||||
<make-value entity-name="PartyAcctgPreference" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="PartyAcctgPreference"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
|
||||
@@ -24,7 +24,7 @@ under the License.
|
||||
<!-- create a new Budget header record -->
|
||||
<simple-method method-name="createBudget" short-description="Create an Budget">
|
||||
<!-- create new entity and create all the fields -->
|
||||
<make-value entity-name="Budget" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="Budget"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
<!-- create a non existing ID if not supplied -->
|
||||
|
||||
@@ -35,7 +35,7 @@ under the License.
|
||||
<set field="parameters.statusId" value="FNACT_ACTIVE"/>
|
||||
</if-empty>
|
||||
|
||||
<make-value entity-name="FinAccount" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="FinAccount"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -211,7 +211,7 @@ under the License.
|
||||
</add-error>
|
||||
</if-compare>
|
||||
<check-errors/>
|
||||
<make-value entity-name="FinAccountRole" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="FinAccountRole"/>
|
||||
<set-pk-fields value-field="newEntity" map="parameters"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -756,7 +756,7 @@ under the License.
|
||||
</if-compare>
|
||||
<iterate list="acctgTransEntries" entry="oldAcctgTransEntry">
|
||||
<if-compare field="oldAcctgTransEntry.debitCreditFlag" operator="equals" value="D">
|
||||
<make-value entity-name="AcctgTransEntry" value-field="newAcctgTransEntry"/>
|
||||
<make-value value-field="newAcctgTransEntry" entity-name="AcctgTransEntry"/>
|
||||
<set field="newAcctgTransEntry.glAccountId" from-field="oldAcctgTransEntry.glAccountId"/>
|
||||
<set field="organizationPartyId" from-field="oldAcctgTransEntry.organizationPartyId"/>
|
||||
<set field="newAcctgTransEntry.organizationPartyId" from-field="organizationPartyId"/>
|
||||
@@ -775,7 +775,7 @@ under the License.
|
||||
<clear-field field="createAcctgTransAndEntriesMap.acctgTransId"/>
|
||||
<set field="createAcctgTransAndEntriesMap.transactionDate" from-field="nowTimestamp"/>
|
||||
<set field="createAcctgTransAndEntriesMap.postedDate" from-field="nowTimestamp"/>
|
||||
<make-value entity-name="AcctgTransEntry" value-field="newAcctgTransEntry"/>
|
||||
<make-value value-field="newAcctgTransEntry" entity-name="AcctgTransEntry"/>
|
||||
<set field="newAcctgTransEntry.glAccountId" from-field="finAccount.postToGlAccountId"/>
|
||||
<set field="newAcctgTransEntry.organizationPartyId" from-field="organizationPartyId"/>
|
||||
<set field="newAcctgTransEntry.partyId" from-field="oldAcctgTransEntry.partyId"/>
|
||||
@@ -839,7 +839,7 @@ under the License.
|
||||
</if-compare>
|
||||
<iterate list="acctgTransEntries" entry="oldAcctgTransEntry">
|
||||
<if-compare field="oldAcctgTransEntry.debitCreditFlag" operator="equals" value="C">
|
||||
<make-value entity-name="AcctgTransEntry" value-field="newAcctgTransEntry"/>
|
||||
<make-value value-field="newAcctgTransEntry" entity-name="AcctgTransEntry"/>
|
||||
<set field="newAcctgTransEntry.glAccountId" from-field="oldAcctgTransEntry.glAccountId"/>
|
||||
<set field="organizationPartyId" from-field="oldAcctgTransEntry.organizationPartyId"/>
|
||||
<set field="newAcctgTransEntry.organizationPartyId" from-field="organizationPartyId"/>
|
||||
@@ -858,7 +858,7 @@ under the License.
|
||||
<clear-field field="createAcctgTransAndEntriesMap.acctgTransId"/>
|
||||
<set field="createAcctgTransAndEntriesMap.transactionDate" from-field="nowTimestamp"/>
|
||||
<set field="createAcctgTransAndEntriesMap.postedDate" from-field="nowTimestamp"/>
|
||||
<make-value entity-name="AcctgTransEntry" value-field="newAcctgTransEntry"/>
|
||||
<make-value value-field="newAcctgTransEntry" entity-name="AcctgTransEntry"/>
|
||||
<set field="newAcctgTransEntry.glAccountId" from-field="finAccount.postToGlAccountId"/>
|
||||
<set field="newAcctgTransEntry.organizationPartyId" from-field="organizationPartyId"/>
|
||||
<set field="newAcctgTransEntry.partyId" from-field="oldAcctgTransEntry.partyId"/>
|
||||
|
||||
@@ -145,7 +145,7 @@ under the License.
|
||||
<simple-method method-name="createInvoice" short-description="Create a new Invoice">
|
||||
<now-timestamp field="nowTimestamp"/>
|
||||
|
||||
<make-value entity-name="Invoice" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="Invoice"/>
|
||||
|
||||
<!-- call getNextInvoiceId service with the parameters.partyIdFrom when invoice Id is not suplied
|
||||
else use it from the input -->
|
||||
@@ -213,7 +213,7 @@ under the License.
|
||||
|
||||
<simple-method method-name="getInvoice" short-description="Retrieve an invoice and the items">
|
||||
<!-- find the invoice record -->
|
||||
<make-value entity-name="Invoice" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="Invoice"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="Invoice" map="lookupPKMap" value-field="invoiceValue"/>
|
||||
<field-to-result field="invoiceValue" result-name="invoice"/>
|
||||
@@ -225,7 +225,7 @@ under the License.
|
||||
<simple-method method-name="updateInvoice" short-description="Update the header of an existing Invoice">
|
||||
<call-simple-method method-name="InvoiceStatusInProgress"/>
|
||||
<!-- find the current record -->
|
||||
<make-value entity-name="Invoice" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="Invoice"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="Invoice" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
|
||||
@@ -272,7 +272,7 @@ under the License.
|
||||
<simple-method method-name="createInvoiceItem" short-description="Create a new Invoice Item">
|
||||
<set field="invoiceId" from-field="parameters.invoiceId"/>
|
||||
<call-simple-method method-name="InvoiceStatusInProgress"/>
|
||||
<make-value entity-name="InvoiceItem" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="InvoiceItem"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="newEntity.invoiceItemSeqId">
|
||||
@@ -306,7 +306,7 @@ under the License.
|
||||
<simple-method method-name="updateInvoiceItem"
|
||||
short-description="Update an existing Invoice Item">
|
||||
<call-simple-method method-name="InvoiceStatusInProgress"/>
|
||||
<make-value entity-name="InvoiceItem" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="InvoiceItem"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
|
||||
<find-by-primary-key entity-name="InvoiceItem" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
@@ -450,7 +450,7 @@ under the License.
|
||||
|
||||
<simple-method method-name="createInvoiceRole" short-description="Create a Invoice Role">
|
||||
<call-simple-method method-name="InvoiceStatusInProgress"/>
|
||||
<make-value entity-name="InvoiceRole" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="InvoiceRole"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="newEntity.datetimePerformed"><now-timestamp field="newEntity.datetimePerformed"/></if-empty>
|
||||
@@ -556,7 +556,7 @@ under the License.
|
||||
<simple-method method-name="createInvoiceTerm" short-description="Create a Invoice Term">
|
||||
<call-simple-method method-name="InvoiceStatusInProgress"/>
|
||||
|
||||
<make-value entity-name="InvoiceTerm" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="InvoiceTerm"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
<sequenced-id sequence-name="InvoiceTerm" field="newEntity.invoiceTermId"/>
|
||||
@@ -942,7 +942,7 @@ under the License.
|
||||
|
||||
<!-- InvoiceContent -->
|
||||
<simple-method method-name="createInvoiceContent" short-description="Create Content For Invoice">
|
||||
<make-value entity-name="InvoiceContent" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="InvoiceContent"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -961,7 +961,7 @@ under the License.
|
||||
<field-to-result field="newEntity.invoiceContentTypeId" result-name="invoiceContentTypeId"/>
|
||||
</simple-method>
|
||||
<simple-method method-name="updateInvoiceContent" short-description="Update Content For Invoice">
|
||||
<make-value entity-name="InvoiceContent" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="InvoiceContent"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
|
||||
@@ -22,7 +22,7 @@ under the License.
|
||||
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
|
||||
|
||||
<simple-method method-name="setPaymentMethodAddress" short-description="Set the initial payment method address">
|
||||
<make-value entity-name="PaymentMethod" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="PaymentMethod"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="PaymentMethod" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<if-compare field="lookedUpValue.paymentMethodTypeId" operator="equals" value="CREDIT_CARD">
|
||||
@@ -82,7 +82,7 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="createPayPalPaymentMethod" short-description="Create a PayPal Payment Method">
|
||||
<make-value entity-name="PaymentMethod" value-field="newPaymentMethod"/>
|
||||
<make-value value-field="newPaymentMethod" entity-name="PaymentMethod"/>
|
||||
<set-pk-fields value-field="newPaymentMethod" map="parameters"/>
|
||||
<if-empty field="newPaymentMethod.paymentMethodId">
|
||||
<sequenced-id sequence-name="PaymentMethod" field="newPaymentMethod.paymentMethodId"/>
|
||||
@@ -91,7 +91,7 @@ under the License.
|
||||
<set field="newPaymentMethod.paymentMethodTypeId" value="EXT_PAYPAL"/>
|
||||
<create-value value-field="newPaymentMethod"/>
|
||||
|
||||
<make-value entity-name="PayPalPaymentMethod" value-field="newPayPalPaymentMethod"/>
|
||||
<make-value value-field="newPayPalPaymentMethod" entity-name="PayPalPaymentMethod"/>
|
||||
<set field="newPayPalPaymentMethod.paymentMethodId" from-field="newPaymentMethod.paymentMethodId"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newPayPalPaymentMethod"/>
|
||||
<create-value value-field="newPayPalPaymentMethod"/>
|
||||
|
||||
@@ -988,7 +988,7 @@ under the License.
|
||||
<set field="convertUomInMap.originalValue" from-field="orderHeader.grandTotal" />
|
||||
<set field="convertUomInMap.uomId" from-field="orderHeader.currencyUom" />
|
||||
<set field="convertUomInMap.uomIdTo" from-field="partyAcctgPreference.baseCurrencyUomId" />
|
||||
<log level="info" message="convertUomInMap = ${convertUomInMap}" />
|
||||
<log message="convertUomInMap = ${convertUomInMap}" level="info" />
|
||||
<call-service service-name="convertUom" in-map-name="convertUomInMap">
|
||||
<result-to-field result-name="convertedValue" field="parameters.amount" />
|
||||
</call-service>
|
||||
@@ -1161,7 +1161,7 @@ under the License.
|
||||
|
||||
<!-- PaymentContent -->
|
||||
<simple-method method-name="createPaymentContent" short-description="Create Content For Payment">
|
||||
<make-value entity-name="PaymentContent" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="PaymentContent"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -1180,7 +1180,7 @@ under the License.
|
||||
<field-to-result field="newEntity.paymentContentTypeId" result-name="paymentContentTypeId"/>
|
||||
</simple-method>
|
||||
<simple-method method-name="updatePaymentContent" short-description="Update Content For Payment">
|
||||
<make-value entity-name="PaymentContent" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="PaymentContent"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
|
||||
@@ -346,7 +346,7 @@ under the License.
|
||||
<store-value value-field="partyRate"/>
|
||||
</if-not-empty>
|
||||
|
||||
<make-value entity-name="PartyRate" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="PartyRate"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="newEntity.fromDate"><now-timestamp field="newEntity.fromDate"/></if-empty>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -37,13 +37,13 @@ under the License.
|
||||
</eca>
|
||||
|
||||
<eca service="setInvoiceStatus" event="commit">
|
||||
<condition field-name="statusId" operator="equals" value="INVOICE_APPROVED"/>
|
||||
<condition field-name="oldStatusId" operator="not-equals" value="INVOICE_APPROVED"/>
|
||||
<condition operator="equals" field-name="statusId" value="INVOICE_APPROVED"/>
|
||||
<condition operator="not-equals" field-name="oldStatusId" value="INVOICE_APPROVED"/>
|
||||
<action service="createMatchingPaymentApplication" mode="sync"/>
|
||||
</eca>
|
||||
<eca service="setInvoiceStatus" event="return">
|
||||
<condition field-name="statusId" operator="equals" value="INVOICE_READY"/>
|
||||
<condition field-name="oldStatusId" operator="equals" value="INVOICE_IN_PROCESS"/>
|
||||
<condition operator="equals" field-name="statusId" value="INVOICE_READY"/>
|
||||
<condition operator="equals" field-name="oldStatusId" value="INVOICE_IN_PROCESS"/>
|
||||
<action service="createMatchingPaymentApplication" mode="sync"/>
|
||||
</eca>
|
||||
|
||||
|
||||
@@ -69,14 +69,14 @@ under the License.
|
||||
</eca>
|
||||
|
||||
<eca service="setPaymentStatus" event="commit">
|
||||
<condition field-name="statusId" operator="equals" value="PMNT_RECEIVED"/>
|
||||
<condition field-name="oldStatusId" operator="not-equals" value="PMNT_RECEIVED"/>
|
||||
<condition operator="equals" field-name="statusId" value="PMNT_RECEIVED"/>
|
||||
<condition operator="not-equals" field-name="oldStatusId" value="PMNT_RECEIVED"/>
|
||||
<action service="createMatchingPaymentApplication" mode="sync"/>
|
||||
</eca>
|
||||
|
||||
<eca service="setPaymentStatus" event="commit">
|
||||
<condition field-name="statusId" operator="equals" value="PMNT_SENT"/>
|
||||
<condition field-name="oldStatusId" operator="not-equals" value="PMNT_SENT"/>
|
||||
<condition operator="equals" field-name="statusId" value="PMNT_SENT"/>
|
||||
<condition operator="not-equals" field-name="oldStatusId" value="PMNT_SENT"/>
|
||||
<action service="createMatchingPaymentApplication" mode="sync"/>
|
||||
</eca>
|
||||
|
||||
|
||||
@@ -771,7 +771,7 @@ under the License.
|
||||
</request-map>
|
||||
<request-map uri="ImportInvoice">
|
||||
<security auth="true" https="true"/>
|
||||
<event type="service" invoke="importInvoice" path=""/>
|
||||
<event invoke="importInvoice" path="" type="service"/>
|
||||
<response name="success" type="request" value="ImportExport"/>
|
||||
<response name="error" type="view" value="ImportExport"/>
|
||||
</request-map>
|
||||
|
||||
@@ -287,7 +287,7 @@ under the License.
|
||||
<field name="agreementId"><hidden value="${agreement.agreementId}"/></field>
|
||||
<field name="agreementItemSeqId">
|
||||
<drop-down allow-empty="false">
|
||||
<option key=" " description="_NA_"/>
|
||||
<option key="_NA_" description=" "/>
|
||||
<entity-options entity-name="AgreementItem" description="${agreementItemSeqId}">
|
||||
<entity-constraint name="agreementId" env-name="agreement.agreementId"/>
|
||||
<entity-order-by field-name="agreementItemSeqId"/>
|
||||
@@ -661,7 +661,7 @@ under the License.
|
||||
<field name="agreementId"><hidden value="${agreementId}"/></field>
|
||||
<field name="agreementItemSeqId">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.CommonNA}" description="_NA_"/>
|
||||
<option key="_NA_" description="${uiLabelMap.CommonNA}"/>
|
||||
<entity-options entity-name="AgreementItem" description="${agreementItemSeqId}">
|
||||
<entity-constraint name="agreementId" operator="equals" env-name="agreementId"/>
|
||||
<entity-order-by field-name="agreementItemSeqId"/>
|
||||
|
||||
@@ -359,8 +359,8 @@ under the License.
|
||||
<field name="thruDate"><date-time/></field>
|
||||
<field name="isClosed">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonY}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonN}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonY}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonN}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
||||
|
||||
@@ -131,7 +131,7 @@ under the License.
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="isRefundable">
|
||||
<drop-down no-current-selected-key="Y"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<drop-down no-current-selected-key="Y"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
|
||||
</field>
|
||||
<field name="fromDate"><date-time default-value="${nowTimestamp}"/></field>
|
||||
<field name="submitButton" use-when="finAccountId==null" title="${uiLabelMap.CommonCreate}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
||||
@@ -335,7 +335,7 @@ under the License.
|
||||
</field>
|
||||
<field name="glReconciliationId" position="2">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonNotAssigned}" description="_NA_"/>
|
||||
<option key="_NA_" description="${uiLabelMap.CommonNotAssigned}"/>
|
||||
<list-options list-name="glReconciliations" key-name="glReconciliationId"
|
||||
description="${glReconciliationName}[[${glReconciliationId}] [${reconciledDate}] [${reconciledBalance}]]"/>
|
||||
</drop-down>
|
||||
|
||||
@@ -51,8 +51,8 @@ under the License.
|
||||
</field>
|
||||
<field name="isPosted" position="1">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option description="${uiLabelMap.CommonNo}" key="N"/>
|
||||
<option description="${uiLabelMap.CommonYes}" key="Y"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="invoiceId" position="2"><lookup target-form-name="LookupInvoice" size="20" maxlength="20"/></field>
|
||||
@@ -228,8 +228,8 @@ under the License.
|
||||
</field>
|
||||
<field name="isPosted">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option description="${uiLabelMap.CommonNo}" key="N"/>
|
||||
<option description="${uiLabelMap.CommonYes}" key="Y"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="partyId" title="${uiLabelMap.PartyPartyId}">
|
||||
@@ -245,8 +245,8 @@ under the License.
|
||||
<field name="performSearch"><hidden value="Y"/></field>
|
||||
<field name="reportType">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.AccountingByAccount}" description="byAccount"/>
|
||||
<option key="${uiLabelMap.AccountingByDate}" description="byDate"/>
|
||||
<option description="${uiLabelMap.AccountingByAccount}" key="byAccount"/>
|
||||
<option description="${uiLabelMap.AccountingByDate}" key="byDate"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="text-link"/></field>
|
||||
@@ -587,8 +587,8 @@ under the License.
|
||||
</field>
|
||||
<field name="debitCreditFlag" position="1" entry-name="resetFieldValue">
|
||||
<drop-down current="selected">
|
||||
<option key="${uiLabelMap.FormFieldTitle_credit}" description="C"/>
|
||||
<option key="${uiLabelMap.FormFieldTitle_debit}" description="D"/>
|
||||
<option description="${uiLabelMap.FormFieldTitle_credit}" key="C"/>
|
||||
<option description="${uiLabelMap.FormFieldTitle_debit}" key="D"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="partyId" position="2"><text size="30"/></field>
|
||||
@@ -673,8 +673,8 @@ under the License.
|
||||
<field name="isSummary"><display/></field>
|
||||
<field name="debitCreditFlag">
|
||||
<drop-down current="selected">
|
||||
<option key="${uiLabelMap.FormFieldTitle_credit}" description="C"/>
|
||||
<option key="${uiLabelMap.FormFieldTitle_debit}" description="D"/>
|
||||
<option description="${uiLabelMap.FormFieldTitle_credit}" key="C"/>
|
||||
<option description="${uiLabelMap.FormFieldTitle_debit}" key="D"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="origAmount"><display type="currency" currency="${origCurrencyUomId}"/></field>
|
||||
@@ -737,8 +737,8 @@ under the License.
|
||||
<field name="scheduledPostingDate" position="2"></field>
|
||||
<field name="isPosted" position="1">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option description="${uiLabelMap.CommonNo}" key="N"/>
|
||||
<option description="${uiLabelMap.CommonYes}" key="Y"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="postedDate" position="2"><date-time/></field>
|
||||
|
||||
@@ -57,7 +57,7 @@ under the License.
|
||||
<section>
|
||||
<widgets>
|
||||
<screenlet title="${uiLabelMap.AccountingPartyAccountsSummary}">
|
||||
<include-menu name="PartyGlShortCuts" location="component://accounting/widget/AccountingMenus.xml"/>
|
||||
<include-menu location="component://accounting/widget/AccountingMenus.xml" name="PartyGlShortCuts"/>
|
||||
</screenlet>
|
||||
</widgets>
|
||||
</section>
|
||||
@@ -311,7 +311,7 @@ under the License.
|
||||
<not><if-empty field="acctgTransId"/></not>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="EditGlAcctgTransSubTabBar" location="component://accounting/widget/AccountingMenus.xml"/>
|
||||
<include-menu location="component://accounting/widget/AccountingMenus.xml" name="EditGlAcctgTransSubTabBar"/>
|
||||
<section>
|
||||
<condition>
|
||||
<if-compare field="acctgTrans.isPosted" operator="equals" value="Y"/>
|
||||
|
||||
@@ -163,18 +163,18 @@ under the License.
|
||||
<field name="fiscalYearStartMonth" use-when="partyAcctgPreference==null"
|
||||
tooltip="${groovy: import org.apache.ofbiz.base.util.UtilProperties; if(aggregatedPartyAcctgPreference!= null&&aggregatedPartyAcctgPreference.get('fiscalYearStartMonth')!=null)return (UtilProperties.getMessage('AccountingUiLabels', 'AccountingInheritedValue', locale))}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth01}" description="1"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth02}" description="2"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth03}" description="3"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth04}" description="4"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth05}" description="5"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth06}" description="6"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth07}" description="7"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth08}" description="8"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth09}" description="9"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth10}" description="10"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth11}" description="11"/>
|
||||
<option key="${uiLabelMap.AccountingFiscalMonth12}" description="12"/>
|
||||
<option key="1" description="${uiLabelMap.AccountingFiscalMonth01}"/>
|
||||
<option key="2" description="${uiLabelMap.AccountingFiscalMonth02}"/>
|
||||
<option key="3" description="${uiLabelMap.AccountingFiscalMonth03}"/>
|
||||
<option key="4" description="${uiLabelMap.AccountingFiscalMonth04}"/>
|
||||
<option key="5" description="${uiLabelMap.AccountingFiscalMonth05}"/>
|
||||
<option key="6" description="${uiLabelMap.AccountingFiscalMonth06}"/>
|
||||
<option key="7" description="${uiLabelMap.AccountingFiscalMonth07}"/>
|
||||
<option key="8" description="${uiLabelMap.AccountingFiscalMonth08}"/>
|
||||
<option key="9" description="${uiLabelMap.AccountingFiscalMonth09}"/>
|
||||
<option key="10" description="${uiLabelMap.AccountingFiscalMonth10}"/>
|
||||
<option key="11" description="${uiLabelMap.AccountingFiscalMonth11}"/>
|
||||
<option key="12" description="${uiLabelMap.AccountingFiscalMonth12}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="fiscalYearStartDay" use-when="partyAcctgPreference==null"
|
||||
@@ -237,7 +237,7 @@ under the License.
|
||||
tooltip="${groovy: import org.apache.ofbiz.base.util.UtilProperties; if(aggregatedPartyAcctgPreference!= null&&aggregatedPartyAcctgPreference.get('useInvoiceIdForReturns')!=null)return
|
||||
(UtilProperties.getMessage('AccountingUiLabels', 'AccountingInheritedValue', locale))}">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="quoteIdPrefix" use-when="partyAcctgPreference==null"
|
||||
@@ -716,8 +716,8 @@ under the License.
|
||||
<field name="organizationPartyId"><hidden value="${organizationPartyId}"/></field>
|
||||
<field name="isClosed">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option description="${uiLabelMap.CommonNo}" key="N"/>
|
||||
<option description="${uiLabelMap.CommonYes}" key="Y"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="parentPeriodId">
|
||||
@@ -1193,7 +1193,7 @@ under the License.
|
||||
<auto-fields-service service-name="createFixedAssetTypeGlAccount" default-field-type="edit"/>
|
||||
<field name="fixedAssetId">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.CommonAll}" description="_NA_"/>
|
||||
<option key="_NA_" description="${uiLabelMap.CommonAll}"/>
|
||||
<entity-options entity-name="FixedAsset" description="${fixedAssetId} - ${fixedAssetName}">
|
||||
<entity-constraint name="partyId" operator="equals" env-name="organizationPartyId"/>
|
||||
<entity-order-by field-name="fixedAssetId"/>
|
||||
@@ -1202,7 +1202,7 @@ under the License.
|
||||
</field>
|
||||
<field name="fixedAssetTypeId">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.CommonAll}" description="_NA_"/>
|
||||
<option key="_NA_" description="${uiLabelMap.CommonAll}"/>
|
||||
<entity-options entity-name="FixedAssetType">
|
||||
<entity-order-by field-name="description"/>
|
||||
</entity-options>
|
||||
|
||||
@@ -68,7 +68,7 @@ under the License.
|
||||
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<screenlet title="${uiLabelMap.AccountingAvailableInternalOrganizations}" navigation-menu-name="NewAccountOrganization">
|
||||
<include-menu name="NewAccountOrganization" location="component://accounting/widget/AccountingMenus.xml"/>
|
||||
<include-menu location="component://accounting/widget/AccountingMenus.xml" name="NewAccountOrganization"/>
|
||||
<include-form name="ListCompanies" location="component://accounting/widget/GlSetupForms.xml"/>
|
||||
</screenlet>
|
||||
</decorator-section>
|
||||
|
||||
@@ -131,7 +131,7 @@ under the License.
|
||||
<field name="currencyUomId"><hidden value="${defaultOrganizationPartyCurrencyUomId}"/></field>
|
||||
<field position="1" name="organizationPartyId" parameter-name="partyIdFrom" event="onchange" action="javascript:(document.NewPaymentOut.action = 'newPayment'),(document.NewPaymentOut.submit())">
|
||||
<drop-down allow-empty="false" no-current-selected-key="${defaultOrganizationPartyId}">
|
||||
<option key="${partyGroupName}" description="${parameters.partyIdFrom}"/>
|
||||
<option key="${parameters.partyIdFrom}" description="${partyGroupName}"/>
|
||||
<entity-options description="${groupName}" entity-name="PartyAcctgPrefAndGroup" key-field-name="partyId">
|
||||
<entity-order-by field-name="groupName"/>
|
||||
</entity-options>
|
||||
|
||||
@@ -82,8 +82,8 @@ under the License.
|
||||
</field>
|
||||
<field name="sagePayMode" title="${uiLabelMap.AccountingSagePayMode}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.AccountingSagePayTest}" description="TEST"/>
|
||||
<option key="${uiLabelMap.AccountingSagePayProduction}" description="PRODUCTION"/>
|
||||
<option key="TEST" description="${uiLabelMap.AccountingSagePayTest}"/>
|
||||
<option key="PRODUCTION" description="${uiLabelMap.AccountingSagePayProduction}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="protocolVersion" title="${uiLabelMap.AccountingSagePayProtocolVersion}">
|
||||
@@ -91,9 +91,9 @@ under the License.
|
||||
</field>
|
||||
<field name="authenticationTransType" title="${uiLabelMap.AccountingSagePayAuthenticationTransType}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonPayment}" description="PAYMENT"/>
|
||||
<option key="${uiLabelMap.CommonAuthenticate}" description="AUTHENTICATE"/>
|
||||
<option key="${uiLabelMap.CommonDeferred}" description="DEFERRED"/>
|
||||
<option key="PAYMENT" description="${uiLabelMap.CommonPayment}"/>
|
||||
<option key="AUTHENTICATE" description="${uiLabelMap.CommonAuthenticate}"/>
|
||||
<option key="DEFERRED" description="${uiLabelMap.CommonDeferred}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="authenticationUrl" title="${uiLabelMap.AccountingSagePayAuthenticationUrl}">
|
||||
@@ -101,8 +101,8 @@ under the License.
|
||||
</field>
|
||||
<field name="authoriseTransType" title="${uiLabelMap.AccountingSagePayAuthorisationTransType}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonAuthorise}" description="AUTHORISE"/>
|
||||
<option key="${uiLabelMap.CommonRelease}" description="RELEASE"/>
|
||||
<option key="AUTHORISE" description="${uiLabelMap.CommonAuthorise}"/>
|
||||
<option key="RELEASE" description="${uiLabelMap.CommonRelease}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="authoriseUrl" title="${uiLabelMap.AccountingSagePayAuthorisationUrl}">
|
||||
@@ -110,8 +110,8 @@ under the License.
|
||||
</field>
|
||||
<field name="releaseTransType" title="${uiLabelMap.AccountingSagePayReleaseTransType}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonCancel}" description="CANCEL"/>
|
||||
<option key="${uiLabelMap.CommonAbort}" description="ABORT"/>
|
||||
<option key="CANCEL" description="${uiLabelMap.CommonCancel}"/>
|
||||
<option key="ABORT" description="${uiLabelMap.CommonAbort}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="releaseUrl" title="${uiLabelMap.AccountingSagePayReleaseUrl}">
|
||||
@@ -139,8 +139,8 @@ under the License.
|
||||
</field>
|
||||
<field name="delimitedData" title="${uiLabelMap.AccountingAuthorizeNetDelimitedData}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="TRUE"/>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="FALSE"/>
|
||||
<option key="TRUE" description="${uiLabelMap.CommonTrue}"/>
|
||||
<option key="FALSE" description="${uiLabelMap.CommonFalse}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="delimiterChar" title="${uiLabelMap.AccountingAuthorizeNetDelimiterChar}">
|
||||
@@ -148,31 +148,31 @@ under the License.
|
||||
</field>
|
||||
<field name="method" title="${uiLabelMap.AccountingAuthorizeNetMethod}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.AccountingAuthorizeNetMethodCC}" description="CC"/>
|
||||
<option key="CC" description="${uiLabelMap.AccountingAuthorizeNetMethodCC}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="emailCustomer" title="${uiLabelMap.AccountingAuthorizeNetEmailCustomer}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="TRUE"/>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="FALSE"/>
|
||||
<option key="TRUE" description="${uiLabelMap.CommonTrue}"/>
|
||||
<option key="FALSE" description="${uiLabelMap.CommonFalse}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="emailMerchant" title="${uiLabelMap.AccountingAuthorizeNetEmailMerchant}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="TRUE"/>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="FALSE"/>
|
||||
<option key="TRUE" description="${uiLabelMap.CommonTrue}"/>
|
||||
<option key="FALSE" description="${uiLabelMap.CommonFalse}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="testMode" title="${uiLabelMap.AccountingAuthorizeNetTestMode}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="TRUE"/>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="FALSE"/>
|
||||
<option key="TRUE" description="${uiLabelMap.CommonTrue}"/>
|
||||
<option key="FALSE" description="${uiLabelMap.CommonFalse}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="relayResponse" title="${uiLabelMap.AccountingAuthorizeNetRelayResponse}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="TRUE"/>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="FALSE"/>
|
||||
<option key="TRUE" description="${uiLabelMap.CommonTrue}"/>
|
||||
<option key="FALSE" description="${uiLabelMap.CommonFalse}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="cpVersion" title="${uiLabelMap.AccountingAuthorizeNetCpVersion}">
|
||||
@@ -200,16 +200,16 @@ under the License.
|
||||
</field>
|
||||
<field name="production" title="${uiLabelMap.AccountingCyberSourceProduction}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="true"/>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="false"/>
|
||||
<option key="true" description="${uiLabelMap.CommonTrue}"/>
|
||||
<option key="false" description="${uiLabelMap.CommonFalse}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="keysDir" title="${uiLabelMap.AccountingCyberSourceKeysDir}"><text size="80" maxlength="80"/></field>
|
||||
<field name="keysFile" title="${uiLabelMap.AccountingCyberSourceKeysFile}"><text size="80" maxlength="80"/></field>
|
||||
<field name="logEnabled" title="${uiLabelMap.AccountingCyberSourceLogEnable}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="true"/>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="false"/>
|
||||
<option key="true" description="${uiLabelMap.CommonTrue}"/>
|
||||
<option key="false" description="${uiLabelMap.CommonFalse}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="logDir" title="${uiLabelMap.AccountingCyberSourceLogDir}"><text size="80" maxlength="80"/></field>
|
||||
@@ -219,32 +219,32 @@ under the License.
|
||||
<field name="merchantContact" title="${uiLabelMap.AccountingCyberSourceMerchantContact}"><text size="80" maxlength="80"/></field>
|
||||
<field name="autoBill" title="${uiLabelMap.AccountingCyberSourceAutoBill}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="true"/>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="false"/>
|
||||
<option key="true" description="${uiLabelMap.CommonTrue}"/>
|
||||
<option key="false" description="${uiLabelMap.CommonFalse}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="ignoreAvs" title="${uiLabelMap.AccountingCyberSourceIgnoreAvs}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="true"/>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="false"/>
|
||||
<option key="true" description="${uiLabelMap.CommonTrue}"/>
|
||||
<option key="false" description="${uiLabelMap.CommonFalse}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="enableDav" title="${uiLabelMap.AccountingCyberSourceEnableDav}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="fraudScore" title="${uiLabelMap.AccountingCyberSourceFraudScore}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="disableBillAvs" title="${uiLabelMap.AccountingCyberSourceDisableBillAvs}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="avsDeclineCodes" title="${uiLabelMap.AccountingCyberSourceAvsDeclineCodes}"><text size="20" maxlength="20"/></field>
|
||||
@@ -259,43 +259,43 @@ under the License.
|
||||
<field name="paymentGatewayConfigId"><hidden/></field>
|
||||
<field name="checkAvs">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="checkCvv2">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="preAuth">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="enableTransmit">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="true"/>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="false"/>
|
||||
<option key="true" description="${uiLabelMap.CommonTrue}"/>
|
||||
<option key="false" description="${uiLabelMap.CommonFalse}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="loggingLevel">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.AccountingPayflowProLoggingOff}" description="6"/>
|
||||
<option key="${uiLabelMap.AccountingPayflowProLoggingSeverityFatal}" description="5"/>
|
||||
<option key="${uiLabelMap.AccountingPayflowProLoggingSeverityError}" description="4"/>
|
||||
<option key="${uiLabelMap.AccountingPayflowProLoggingSeverityWarn}" description="3"/>
|
||||
<option key="${uiLabelMap.AccountingPayflowProLoggingSeverityInfo}" description="2"/>
|
||||
<option key="${uiLabelMap.AccountingPayflowProLoggingSeverityDebug}" description="1"/>
|
||||
<option key="6" description="${uiLabelMap.AccountingPayflowProLoggingOff}"/>
|
||||
<option key="5" description="${uiLabelMap.AccountingPayflowProLoggingSeverityFatal}"/>
|
||||
<option key="4" description="${uiLabelMap.AccountingPayflowProLoggingSeverityError}"/>
|
||||
<option key="3" description="${uiLabelMap.AccountingPayflowProLoggingSeverityWarn}"/>
|
||||
<option key="2" description="${uiLabelMap.AccountingPayflowProLoggingSeverityInfo}"/>
|
||||
<option key="1" description="${uiLabelMap.AccountingPayflowProLoggingSeverityDebug}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="maxLogFileSize"><text size="20" maxlength="20"/></field>
|
||||
<field name="stackTraceOn">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit">
|
||||
@@ -308,16 +308,16 @@ under the License.
|
||||
<field name="paymentGatewayConfigId"><hidden/></field>
|
||||
<field name="enableCVM">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="processMode">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.AccountingPaymentGatewayApprove}" description="Y"/>
|
||||
<option key="${uiLabelMap.AccountingPaymentGatewayDecline}" description="N"/>
|
||||
<option key="${uiLabelMap.AccountingPaymentGatewayRandom}" description="R"/>
|
||||
<option key="${uiLabelMap.AccountingPaymentGatewayProduction}" description="P"/>
|
||||
<option key="Y" description="${uiLabelMap.AccountingPaymentGatewayApprove}"/>
|
||||
<option key="N" description="${uiLabelMap.AccountingPaymentGatewayDecline}"/>
|
||||
<option key="R" description="${uiLabelMap.AccountingPaymentGatewayRandom}"/>
|
||||
<option key="P" description="${uiLabelMap.AccountingPaymentGatewayProduction}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit">
|
||||
@@ -330,20 +330,20 @@ under the License.
|
||||
<field name="paymentGatewayConfigId"><hidden/></field>
|
||||
<field name="testMode">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="enableBeagle">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="enableCvn">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit">
|
||||
@@ -358,26 +358,26 @@ under the License.
|
||||
<field name="instId" title="${uiLabelMap.AccountingWorldPayInstId}"><text size="10" maxlength="10"/></field>
|
||||
<field name="authMode" title="${uiLabelMap.AccountingWorldPayAuthMode}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.AccountingWorldPayFullAuth}" description="A"/>
|
||||
<option key="${uiLabelMap.AccountingWorldPayPreAuth}" description="E"/>
|
||||
<option key="A" description="${uiLabelMap.AccountingWorldPayFullAuth}"/>
|
||||
<option key="E" description="${uiLabelMap.AccountingWorldPayPreAuth}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="fixContact" title="${uiLabelMap.AccountingWorldPayFixContact}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="hideContact" title="${uiLabelMap.AccountingWorldPayHideContact}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="hideCurrency" title="${uiLabelMap.AccountingWorldPayHideCurrency}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="langId" title="${uiLabelMap.AccountingWorldPayLangId}">
|
||||
@@ -385,21 +385,21 @@ under the License.
|
||||
</field>
|
||||
<field name="noLanguageMenu" title="${uiLabelMap.AccountingWorldPayNoLanguageMenu}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="withDelivery" title="${uiLabelMap.AccountingWorldPayWithDelivery}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="testMode" title="${uiLabelMap.AccountingWorldPayTestMode}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.AccountingWorldPayApprove}" description="100"/>
|
||||
<option key="${uiLabelMap.AccountingWorldPayCancelled}" description="101"/>
|
||||
<option key="${uiLabelMap.AccountingWorldPayLive}" description="0"/>
|
||||
<option key="100" description="${uiLabelMap.AccountingWorldPayApprove}"/>
|
||||
<option key="101" description="${uiLabelMap.AccountingWorldPayCancelled}"/>
|
||||
<option key="0" description="${uiLabelMap.AccountingWorldPayLive}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit">
|
||||
@@ -447,8 +447,8 @@ under the License.
|
||||
</field>
|
||||
<field name="hasTable">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit">
|
||||
|
||||
@@ -24,18 +24,18 @@ under the License.
|
||||
<form name="BaseSummaryOptions" type="single" header-row-style="header-row" default-table-style="basic-table">
|
||||
<field name="month" title="${uiLabelMap.CommonMonth}" required-field="true">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.CommonJanuary}" description="01"/>
|
||||
<option key="${uiLabelMap.CommonFebruary}" description="02"/>
|
||||
<option key="${uiLabelMap.CommonMarch}" description="03"/>
|
||||
<option key="${uiLabelMap.CommonApril}" description="04"/>
|
||||
<option key="${uiLabelMap.CommonMay}" description="05"/>
|
||||
<option key="${uiLabelMap.CommonJune}" description="06"/>
|
||||
<option key="${uiLabelMap.CommonJuly}" description="07"/>
|
||||
<option key="${uiLabelMap.CommonAugust}" description="08"/>
|
||||
<option key="${uiLabelMap.CommonSeptember}" description="09"/>
|
||||
<option key="${uiLabelMap.CommonOctober}" description="10"/>
|
||||
<option key="${uiLabelMap.CommonNovember}" description="11"/>
|
||||
<option key="${uiLabelMap.CommonDecember}" description="12"/>
|
||||
<option key="01" description="${uiLabelMap.CommonJanuary}"/>
|
||||
<option key="02" description="${uiLabelMap.CommonFebruary}"/>
|
||||
<option key="03" description="${uiLabelMap.CommonMarch}"/>
|
||||
<option key="04" description="${uiLabelMap.CommonApril}"/>
|
||||
<option key="05" description="${uiLabelMap.CommonMay}"/>
|
||||
<option key="06" description="${uiLabelMap.CommonJune}"/>
|
||||
<option key="07" description="${uiLabelMap.CommonJuly}"/>
|
||||
<option key="08" description="${uiLabelMap.CommonAugust}"/>
|
||||
<option key="09" description="${uiLabelMap.CommonSeptember}"/>
|
||||
<option key="10" description="${uiLabelMap.CommonOctober}"/>
|
||||
<option key="11" description="${uiLabelMap.CommonNovember}"/>
|
||||
<option key="12" description="${uiLabelMap.CommonDecember}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="year" title="${uiLabelMap.CommonYear}" required-field="true"><text size="4"/></field>
|
||||
@@ -503,9 +503,9 @@ under the License.
|
||||
</field>
|
||||
<field name="isPosted">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="${uiLabelMap.CommonAll}" description="ALL"/>
|
||||
<option description="${uiLabelMap.CommonYes}" key="Y"/>
|
||||
<option description="${uiLabelMap.CommonNo}" key="N"/>
|
||||
<option description="${uiLabelMap.CommonAll}" key="ALL"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" widget-style="buttontext" action=""><submit button-type="text-link"/></field>
|
||||
|
||||
@@ -61,10 +61,10 @@ under the License.
|
||||
<field use-when="taxAuthority==null&&taxAuthGeoId!=null" name="taxAuthGeoId" title="${uiLabelMap.CommonGeo}" tooltip="${uiLabelMap.CommonCannotBeFound}:[${taxAuthGeoId}]"><lookup target-form-name="LookupGeo"/></field>
|
||||
|
||||
<field name="requireTaxIdForExemption" widget-style="smallSelect">
|
||||
<drop-down no-current-selected-key="Y"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<drop-down no-current-selected-key="Y"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
|
||||
</field>
|
||||
<field name="includeTaxInPrice" widget-style="smallSelect">
|
||||
<drop-down no-current-selected-key="N"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<drop-down no-current-selected-key="N"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
|
||||
</field>
|
||||
<field name="taxIdFormatPattern" tooltip="${uiLabelMap.AccountingValidationPattern}"></field>
|
||||
|
||||
@@ -307,7 +307,7 @@ under the License.
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="taxShipping">
|
||||
<drop-down allow-empty="false" no-current-selected-key="Y"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<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.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
||||
@@ -324,10 +324,10 @@ under the License.
|
||||
|
||||
<field name="partyTaxId"><text-find/></field>
|
||||
<field name="isExempt" widget-style="smallSelect">
|
||||
<drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
|
||||
</field>
|
||||
<field name="isNexus" widget-style="smallSelect">
|
||||
<drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
|
||||
</field>
|
||||
|
||||
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="text-link"/></field>
|
||||
@@ -400,7 +400,7 @@ under the License.
|
||||
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-time/></field>
|
||||
<field name="partyTaxId"><text/></field>
|
||||
<field name="isExempt" widget-style="smallSelect"><drop-down no-current-selected-key="N"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="isNexus" widget-style="smallSelect"><drop-down no-current-selected-key="N"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="isNexus" widget-style="smallSelect"><drop-down no-current-selected-key="N"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
|
||||
<field use-when="partyTaxAuthInfo!=null" name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="buttontext"><submit button-type="text-link"/></field>
|
||||
<field use-when="partyTaxAuthInfo==null" name="submitButton" title="${uiLabelMap.CommonCreate}" widget-style="buttontext"><submit button-type="text-link"/></field>
|
||||
|
||||
@@ -151,7 +151,7 @@ under the License.
|
||||
<widgets>
|
||||
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="pre-body">
|
||||
<include-menu name="ApInvoiceTabBar" location="component://accounting/widget/ap/ApMenus.xml"/>
|
||||
<include-menu location="component://accounting/widget/ap/ApMenus.xml" name="ApInvoiceTabBar"/>
|
||||
</decorator-section>
|
||||
<decorator-section name="body">
|
||||
<decorator-section-include name="body"/>
|
||||
|
||||
@@ -257,12 +257,12 @@
|
||||
<!-- Create partyId for UserLogin -->
|
||||
<session-to-field field="userLoginCtx" session-name="userLogin"/>
|
||||
<if-empty field="userLoginCtx.partyId">
|
||||
<make-value entity-name="Party" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="Party"/>
|
||||
<set field="newEntity.partyId" from-field="userLoginCtx.userLoginId"/>
|
||||
<set field="newEntity.partyTypeId" value="PERSON"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
<clear-field field="newEntity"/>
|
||||
<make-value entity-name="Person" value-field="newPerson"/>
|
||||
<make-value value-field="newPerson" entity-name="Person"/>
|
||||
<set field="newPerson.partyId" from-field="userLoginCtx.userLoginId"/>
|
||||
<create-value value-field="newPerson"/>
|
||||
<clear-field field="newPerson"/>
|
||||
@@ -345,7 +345,7 @@
|
||||
</if-empty>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="Facility" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="Facility"/>
|
||||
<set field="defaultDaysToShip" from-field="parameters.defaultDaysToShip" type="Long"/>
|
||||
<clear-field field="parameters.defaultDaysToShip"/>
|
||||
|
||||
@@ -426,7 +426,7 @@
|
||||
<!-- create the ProductStoreFacility record -->
|
||||
<now-timestamp field="nowTimestamp"/>
|
||||
<if-not-empty field="newEntity.inventoryFacilityId">
|
||||
<make-value entity-name="ProductStoreFacility" value-field="storeFacility"/>
|
||||
<make-value value-field="storeFacility" entity-name="ProductStoreFacility"/>
|
||||
<set from-field="newEntity.inventoryFacilityId" field="storeFacility.facilityId"/>
|
||||
<set from-field="newEntity.productStoreId" field="storeFacility.productStoreId"/>
|
||||
<set from-field="nowTimestamp" field="storeFacility.fromDate"/>
|
||||
@@ -505,7 +505,7 @@
|
||||
<result-to-request result-name="productCategoryId" request-name="productCategoryId"/>
|
||||
</call-service>
|
||||
|
||||
<make-value entity-name="ProductCategoryRollup" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductCategoryRollup"/>
|
||||
<set field="newEntity.parentProductCategoryId" from-field="parameters.primaryParentCategoryId"/>
|
||||
<set field="newEntity.productCategoryId" from-field="productCategoryId"/>
|
||||
<set field="newEntity.sequenceNum" value="1" type="Long"/>
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
</and>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="SetupSubTabBar" location="component://commonext/widget/ofbizsetup/Menus.xml"/>
|
||||
<include-menu location="component://commonext/widget/ofbizsetup/Menus.xml" name="SetupSubTabBar"/>
|
||||
</widgets>
|
||||
</section>
|
||||
<section>
|
||||
|
||||
@@ -25,7 +25,7 @@ under the License.
|
||||
<entity-one entity-name="Content" value-field="rootTemplateContent">
|
||||
<field-map field-name="contentId" from-field="parameters.instanceOfContentId"/>
|
||||
</entity-one>
|
||||
<log level="info" message="genCompDocInstance> rootTemplateContent: ${rootTemplateContent}"/>
|
||||
<log message="genCompDocInstance> rootTemplateContent: ${rootTemplateContent}" level="info"/>
|
||||
|
||||
<!-- if not passed in, get latest template contentRevisionSeqId from db -->
|
||||
<if-empty field="parameters.contentRevisionSeqId">
|
||||
@@ -45,7 +45,7 @@ under the License.
|
||||
<set from-field="parameters.contentRevisionSeqId" field="contentRevisionSeqId"/>
|
||||
</else>
|
||||
</if-empty>
|
||||
<log level="info" message="genCompDocInstance> contentRevisionSeqId: ${contentRevisionSeqId}"/>
|
||||
<log message="genCompDocInstance> contentRevisionSeqId: ${contentRevisionSeqId}" level="info"/>
|
||||
|
||||
<make-value entity-name="Content" value-field="rootInstanceContent"/>
|
||||
<if-empty field="parameters.rootInstanceContentId">
|
||||
@@ -107,8 +107,8 @@ under the License.
|
||||
<simple-method method-name="genInstanceChildCompDocs" short-description="Create CompDoc">
|
||||
<set from-field="parentTemplateContentId" field="thisTemplateContentId"/>
|
||||
<set from-field="parentInstanceContentId" field="thisInstanceContentId"/>
|
||||
<log level="info" message="genInstanceChildCompDocs 0> thisTemplateContentId: ${thisTemplateContentId}"/>
|
||||
<log level="info" message="genInstanceChildCompDocs 1> thisInstanceContentId: ${thisInstanceContentId}"/>
|
||||
<log message="genInstanceChildCompDocs 0> thisTemplateContentId: ${thisTemplateContentId}" level="info"/>
|
||||
<log message="genInstanceChildCompDocs 1> thisInstanceContentId: ${thisInstanceContentId}" level="info"/>
|
||||
<entity-condition entity-name="ContentAssoc" list="contentAssocList">
|
||||
<condition-list combine="and">
|
||||
<condition-expr field-name="contentIdTo" operator="equals" from-field="thisTemplateContentId"/>
|
||||
@@ -119,7 +119,7 @@ under the License.
|
||||
</condition-list>
|
||||
</condition-list>
|
||||
</entity-condition>
|
||||
<log level="info" message="genInstanceChildCompDocs 1> contentAssocList: ${contentAssocList}"/>
|
||||
<log message="genInstanceChildCompDocs 1> contentAssocList: ${contentAssocList}" level="info"/>
|
||||
|
||||
<iterate list="contentAssocList" entry="templateContentAssoc">
|
||||
<clone-value value-field="templateContent" new-value-field="instanceContent"/>
|
||||
|
||||
@@ -131,7 +131,7 @@ under the License.
|
||||
<set field="context3.contentPurposeList" from-field="contentPurposeList"/>
|
||||
<string-to-list list="targetOperationList" string="ASSOC_CONTENT"/>
|
||||
<set field="context3.targetOperationList" from-field="targetOperationList"/>
|
||||
<call-service service-name="assocContent" in-map-name="context3"></call-service>
|
||||
<call-service in-map-name="context3" service-name="assocContent"></call-service>
|
||||
|
||||
</simple-method>
|
||||
<simple-method method-name="createDocument" short-description="Create Document Tree">
|
||||
|
||||
@@ -414,7 +414,7 @@
|
||||
</if-not-empty>
|
||||
</simple-method>
|
||||
<simple-method method-name="createTopic" short-description="Create TOPIC type Content">
|
||||
<make-value entity-name="Content" value-field="content"/>
|
||||
<make-value value-field="content" entity-name="Content"/>
|
||||
<set from-field="parameters.newTopicId" field="content.contentId"/>
|
||||
<set from-field="parameters.newTopicId" field="content.contentName"/>
|
||||
<set from-field="parameters.newTopicDescription" field="content.description"/>
|
||||
|
||||
@@ -165,7 +165,7 @@ under the License.
|
||||
<set field="context.textData" from-field="parameters.textData"/>
|
||||
<session-to-field field="context.userLogin" session-name="userLogin"/>
|
||||
|
||||
<call-service service-name="persistContentAndAssoc" in-map-name="context">
|
||||
<call-service in-map-name="context" service-name="persistContentAndAssoc">
|
||||
<result-to-field result-name="contentId" field="contentId"/>
|
||||
<result-to-field result-name="dataResourceId" field="dataResourceId"/>
|
||||
</call-service>
|
||||
@@ -318,7 +318,7 @@ under the License.
|
||||
<set field="context.contentIdTo" from-field="parameters.contentIdTo"/>
|
||||
<session-to-field field="context.userLogin" session-name="userLogin"/>
|
||||
|
||||
<call-service service-name="persistContentAndAssoc" in-map-name="context">
|
||||
<call-service in-map-name="context" service-name="persistContentAndAssoc">
|
||||
<result-to-field result-name="contentId" field="contentId"/>
|
||||
<result-to-field result-name="dataResourceId" field="dataResourceId"/>
|
||||
</call-service>
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
</if-compare>
|
||||
|
||||
<if-empty field="surveyResponse">
|
||||
<make-value entity-name="SurveyResponse" value-field="surveyResponse"/>
|
||||
<make-value value-field="surveyResponse" entity-name="SurveyResponse"/>
|
||||
<sequenced-id sequence-name="SurveyResponse" field="surveyResponse.surveyResponseId"/>
|
||||
<set-nonpk-fields map="parameters" value-field="surveyResponse"/>
|
||||
<create-value value-field="surveyResponse"/>
|
||||
|
||||
@@ -24,7 +24,7 @@ under the License.
|
||||
|
||||
<!-- WebSite Path Alias -->
|
||||
<simple-method method-name="getWebSitePathAlias" short-description="Returns a WebSite Path Alias">
|
||||
<make-value entity-name="WebSitePathAlias" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="WebSitePathAlias"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="WebSitePathAlias" map="lookupPKMap" value-field="alias" use-cache="true"/>
|
||||
<field-to-result field="alias.pathTo" result-name="pathTo"/>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -79,9 +79,9 @@ under the License.
|
||||
</field>
|
||||
<field name="dataResourceId" title="${uiLabelMap.ContentDataResourceId}" >
|
||||
<drop-down allow-empty="false" no-current-selected-key="TEMPLATE_TEXT_ONLY">
|
||||
<option key="${uiLabelMap.ContentTemplateTextOnly}" description="TEMPLATE_TEXT_ONLY"/>
|
||||
<option key="${uiLabelMap.ContentTemplateImageCentered}" description="TEMPLATE_IMAGE_CENTERED"/>
|
||||
<option key="${uiLabelMap.ContentTemplateImageLeft}" description="TEMPLATE_IMAGE_LEFT"/>
|
||||
<option key="TEMPLATE_TEXT_ONLY" description="${uiLabelMap.ContentTemplateTextOnly}"/>
|
||||
<option key="TEMPLATE_IMAGE_CENTERED" description="${uiLabelMap.ContentTemplateImageCentered}"/>
|
||||
<option key="TEMPLATE_IMAGE_LEFT" description="${uiLabelMap.ContentTemplateImageLeft}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="ftlContentId" position="1">
|
||||
@@ -209,13 +209,13 @@ under the License.
|
||||
</field>
|
||||
<field name="roleTypeId">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.CommonNA}" description="_NA_"/>
|
||||
<option key="_NA_" description="${uiLabelMap.CommonNA}"/>
|
||||
<entity-options entity-name="RoleType" key-field-name="roleTypeId"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="statusId">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.CommonNA}" description="_NA_"/>
|
||||
<option key="_NA_" description="${uiLabelMap.CommonNA}"/>
|
||||
<entity-options
|
||||
entity-name="StatusItem" key-field-name="statusId">
|
||||
<entity-constraint name="statusTypeId" value="PUBLISH_STATUS"/>
|
||||
@@ -224,7 +224,7 @@ under the License.
|
||||
</field>
|
||||
<field name="privilegeEnumId">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.CommonNA}" description="_NA_"/>
|
||||
<option key="_NA_" description="${uiLabelMap.CommonNA}"/>
|
||||
<entity-options entity-name="Enumeration" key-field-name="enumId">
|
||||
<entity-constraint name="enumTypeId" value="SUBSCRIPTION_TYPE"/>
|
||||
</entity-options>
|
||||
|
||||
@@ -28,10 +28,10 @@ under the License.
|
||||
<field name="contentName"><text-find/></field>
|
||||
<field name="contentTypeId">
|
||||
<drop-down no-current-selected-key="COMPDOC_TEMPLATE">
|
||||
<option key="${uiLabelMap.ContentTemplateRoot}" description="COMPDOC_TEMPLATE"/>
|
||||
<option key="${uiLabelMap.ContentTemplateRootInstance}" description="COMPDOC_INSTANCE"/>
|
||||
<option key="${uiLabelMap.ContentTemplateChild}" description="TEMPLATE"/>
|
||||
<option key="${uiLabelMap.ContentTemplateInstanceChild}" description="DOCUMENT"/>
|
||||
<option key="COMPDOC_TEMPLATE" description="${uiLabelMap.ContentTemplateRoot}"/>
|
||||
<option key="COMPDOC_INSTANCE" description="${uiLabelMap.ContentTemplateRootInstance}"/>
|
||||
<option key="TEMPLATE" description="${uiLabelMap.ContentTemplateChild}"/>
|
||||
<option key="DOCUMENT" description="${uiLabelMap.ContentTemplateInstanceChild}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<!-- <field name="rootonly" map-name="dummy" title="Root CompDocs Only"><check/></field> -->
|
||||
@@ -239,9 +239,9 @@ under the License.
|
||||
</field>
|
||||
<field name="approvalStatusId" use-when=""COMPDOC_INSTANCE".equals(contentTypeId)">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.ContentSoftRejected}" description="SOFT_REJ"/>
|
||||
<option key="${uiLabelMap.ContentRejected}" description="REJECTED"/>
|
||||
<option key="${uiLabelMap.CommonApproved}" description="APPROVED"/>
|
||||
<option key="SOFT_REJ" description="${uiLabelMap.ContentSoftRejected}"/>
|
||||
<option key="REJECTED" description="${uiLabelMap.ContentRejected}"/>
|
||||
<option key="APPROVED" description="${uiLabelMap.CommonApproved}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="approvalDate" widget-style="inputBox"><date-time/></field>
|
||||
@@ -288,9 +288,9 @@ under the License.
|
||||
</field>
|
||||
<field name="approvalStatusId" use-when=""COMPDOC_INSTANCE".equals(contentTypeId)">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.ContentSoftRejected}" description="SOFT_REJ"/>
|
||||
<option key="${uiLabelMap.ContentRejected}" description="REJECTED"/>
|
||||
<option key="${uiLabelMap.CommonApproved}" description="APPROVED"/>
|
||||
<option key="SOFT_REJ" description="${uiLabelMap.ContentSoftRejected}"/>
|
||||
<option key="REJECTED" description="${uiLabelMap.ContentRejected}"/>
|
||||
<option key="APPROVED" description="${uiLabelMap.CommonApproved}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="approvalDate" widget-style="inputBox" use-when=""COMPDOC_INSTANCE".equals(contentTypeId)"><date-time/></field>
|
||||
@@ -322,9 +322,9 @@ under the License.
|
||||
</field>
|
||||
<field name="approvalStatusId" use-when=""COMPDOC_INSTANCE".equals(contentTypeId)">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.ContentSoftRejected}" description="SOFT_REJ"/>
|
||||
<option key="${uiLabelMap.ContentRejected}" description="REJECTED"/>
|
||||
<option key="${uiLabelMap.CommonApproved}" description="APPROVED"/>
|
||||
<option key="SOFT_REJ" description="${uiLabelMap.ContentSoftRejected}"/>
|
||||
<option key="REJECTED" description="${uiLabelMap.ContentRejected}"/>
|
||||
<option key="APPROVED" description="${uiLabelMap.CommonApproved}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="approvalDate" widget-style="inputBox"><date-time/></field>
|
||||
@@ -397,16 +397,16 @@ under the License.
|
||||
</field>
|
||||
<field name="mimeTypeId" title="${uiLabelMap.ContentDocumentType}" use-when=""TEMPLATE".equals(contentTypeId)" widget-style="smallSelect">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.ContentMSWord}" description="application/msword"/>
|
||||
<option key="${uiLabelMap.ContentPDFFile}" description="application/pdf"/>
|
||||
<option key="${uiLabelMap.ContentSurvey}" description="application/vnd.ofbiz.survey"/>
|
||||
<option key="${uiLabelMap.ContentHtmlText}" description="text/html"/>
|
||||
<option key="${uiLabelMap.ContentPlainText}" description="text/plain"/>
|
||||
<option key="${uiLabelMap.ContentJPEG}" description="image/jpeg"/>
|
||||
<option key="${uiLabelMap.ContentGIF}" description="image/gif"/>
|
||||
<option key="${uiLabelMap.ContentTIFF}" description="image/tiff"/>
|
||||
<option key="${uiLabelMap.ContentPNG}" description="image/png"/>
|
||||
<option key="${uiLabelMap.ContentResourceOther}" description="application/octet-stream"/>
|
||||
<option key="application/msword" description="${uiLabelMap.ContentMSWord}"/>
|
||||
<option key="application/pdf" description="${uiLabelMap.ContentPDFFile}"/>
|
||||
<option key="application/vnd.ofbiz.survey" description="${uiLabelMap.ContentSurvey}"/>
|
||||
<option key="text/html" description="${uiLabelMap.ContentHtmlText}"/>
|
||||
<option key="text/plain" description="${uiLabelMap.ContentPlainText}"/>
|
||||
<option key="image/jpeg" description="${uiLabelMap.ContentJPEG}"/>
|
||||
<option key="image/gif" description="${uiLabelMap.ContentGIF}"/>
|
||||
<option key="image/tiff" description="${uiLabelMap.ContentTIFF}"/>
|
||||
<option key="image/png" description="${uiLabelMap.ContentPNG}"/>
|
||||
<option key="application/octet-stream" description="${uiLabelMap.ContentResourceOther}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="rootContentId"><hidden/></field>
|
||||
@@ -429,16 +429,16 @@ under the License.
|
||||
<field name="mimeTypeId" map-name="dataResource"
|
||||
use-when=""TEMPLATE".equals(contentTypeId)">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.ContentMSWord}" description="application/msword"/>
|
||||
<option key="${uiLabelMap.ContentPDFFile}" description="application/pdf"/>
|
||||
<option key="${uiLabelMap.ContentSurvey}" description="application/vnd.ofbiz.survey"/>
|
||||
<option key="${uiLabelMap.ContentHtmlText}" description="text/html"/>
|
||||
<option key="${uiLabelMap.ContentPlainText}" description="text/plain"/>
|
||||
<option key="${uiLabelMap.ContentJPEG}" description="image/jpeg"/>
|
||||
<option key="${uiLabelMap.ContentGIF}" description="image/gif"/>
|
||||
<option key="${uiLabelMap.ContentTIFF}" description="image/tiff"/>
|
||||
<option key="${uiLabelMap.ContentPNG}" description="image/png"/>
|
||||
<option key="${uiLabelMap.ContentResourceOther}" description="application/octet-stream"/>
|
||||
<option key="application/msword" description="${uiLabelMap.ContentMSWord}"/>
|
||||
<option key="application/pdf" description="${uiLabelMap.ContentPDFFile}"/>
|
||||
<option key="application/vnd.ofbiz.survey" description="${uiLabelMap.ContentSurvey}"/>
|
||||
<option key="text/html" description="${uiLabelMap.ContentHtmlText}"/>
|
||||
<option key="text/plain" description="${uiLabelMap.ContentPlainText}"/>
|
||||
<option key="image/jpeg" description="${uiLabelMap.ContentJPEG}"/>
|
||||
<option key="image/gif" description="${uiLabelMap.ContentGIF}"/>
|
||||
<option key="image/tiff" description="${uiLabelMap.ContentTIFF}"/>
|
||||
<option key="image/png" description="${uiLabelMap.ContentPNG}"/>
|
||||
<option key="application/octet-stream" description="${uiLabelMap.ContentResourceOther}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="mimeTypeId" map-name="dataResource"
|
||||
|
||||
@@ -75,14 +75,14 @@ under the License.
|
||||
<field name="uploadedFile" title="${uiLabelMap.ContentImage}"><file size="25"/></field>
|
||||
<field name="templateDataResourceId" title="${uiLabelMap.ContentTemplate}">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.ContentBlogTopLeft}" description="BLOG_TPL_TOPLEFT"/>
|
||||
<option key="${uiLabelMap.ContentBlogTopCenter}" description="BLOG_TPL_TOPCENTER"/>
|
||||
<option key="BLOG_TPL_TOPLEFT" description="${uiLabelMap.ContentBlogTopLeft}"/>
|
||||
<option key="BLOG_TPL_TOPCENTER" description="${uiLabelMap.ContentBlogTopCenter}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="statusId" title="${uiLabelMap.CommonStatus}">
|
||||
<drop-down no-current-selected-key="CTNT_INITIAL_DRAFT">
|
||||
<option key="${uiLabelMap.ContentBlogPublish}" description="CTNT_PUBLISHED"/>
|
||||
<option key="${uiLabelMap.ContentBlogPreview}" description="CTNT_INITIAL_DRAFT"/>
|
||||
<option key="CTNT_PUBLISHED" description="${uiLabelMap.ContentBlogPublish}"/>
|
||||
<option key="CTNT_INITIAL_DRAFT" description="${uiLabelMap.ContentBlogPreview}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
||||
|
||||
@@ -105,30 +105,30 @@ under the License.
|
||||
</field>
|
||||
<field name="drDataResourceTypeId" >
|
||||
<drop-down no-current-selected-key="LOCAL_FILE">
|
||||
<option key="${uiLabelMap.ContentAbsoluteFile}" description="LOCAL_FILE"/>
|
||||
<option key="${uiLabelMap.ContentFileRelToOFBizHome}" description="OFBIZ_FILE"/>
|
||||
<option key="${uiLabelMap.ContentFileRelToWebappRoot}" description="CONTEXT_FILE"/>
|
||||
<option key="${uiLabelMap.ContentDataBaseText}" description="ELECTRONIC_TEXT"/>
|
||||
<option key="LOCAL_FILE" description="${uiLabelMap.ContentAbsoluteFile}"/>
|
||||
<option key="OFBIZ_FILE" description="${uiLabelMap.ContentFileRelToOFBizHome}"/>
|
||||
<option key="CONTEXT_FILE" description="${uiLabelMap.ContentFileRelToWebappRoot}"/>
|
||||
<option key="ELECTRONIC_TEXT" description="${uiLabelMap.ContentDataBaseText}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="drMimeTypeId" >
|
||||
<drop-down no-current-selected-key="text/html">
|
||||
<option key="${uiLabelMap.ContentHtmlText}" description="text/html"/>
|
||||
<option key="${uiLabelMap.ContentPlainText}" description="text/plain"/>
|
||||
<option key="text/html" description="${uiLabelMap.ContentHtmlText}"/>
|
||||
<option key="text/plain" description="${uiLabelMap.ContentPlainText}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="drDataResourceTypeId" >
|
||||
<drop-down no-current-selected-key="LOCAL_FILE">
|
||||
<option key="${uiLabelMap.ContentAbsoluteFile}" description="LOCAL_FILE"/>
|
||||
<option key="${uiLabelMap.ContentFileRelToOFBizHome}" description="OFBIZ_FILE"/>
|
||||
<option key="${uiLabelMap.ContentFileRelToWebappRoot}" description="CONTEXT_FILE"/>
|
||||
<option key="${uiLabelMap.ContentDataBaseText}" description="ELECTRONIC_TEXT"/>
|
||||
<option key="LOCAL_FILE" description="${uiLabelMap.ContentAbsoluteFile}"/>
|
||||
<option key="OFBIZ_FILE" description="${uiLabelMap.ContentFileRelToOFBizHome}"/>
|
||||
<option key="CONTEXT_FILE" description="${uiLabelMap.ContentFileRelToWebappRoot}"/>
|
||||
<option key="ELECTRONIC_TEXT" description="${uiLabelMap.ContentDataBaseText}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="drMimeTypeId" >
|
||||
<drop-down no-current-selected-key="text/html">
|
||||
<option key="${uiLabelMap.ContentHtmlText}" description="text/html"/>
|
||||
<option key="${uiLabelMap.ContentPlainText}" description="text/plain"/>
|
||||
<option key="text/html" description="${uiLabelMap.ContentHtmlText}"/>
|
||||
<option key="text/plain" description="${uiLabelMap.ContentPlainText}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="drObjectInfo" title="${uiLabelMap.ContentFilePath}">
|
||||
@@ -302,10 +302,10 @@ under the License.
|
||||
</field>
|
||||
<field name="drMimeTypeId" >
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.ContentGIF}" description="image/gif"/>
|
||||
<option key="${uiLabelMap.ContentJPEG}" description="image/jpeg"/>
|
||||
<option key="${uiLabelMap.ContentPNG}" description="image/png"/>
|
||||
<option key="${uiLabelMap.ContentTIFF}" description="image/tiff"/>
|
||||
<option key="image/gif" description="${uiLabelMap.ContentGIF}"/>
|
||||
<option key="image/jpeg" description="${uiLabelMap.ContentJPEG}"/>
|
||||
<option key="image/png" description="${uiLabelMap.ContentPNG}"/>
|
||||
<option key="image/tiff" description="${uiLabelMap.ContentTIFF}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="drObjectInfo" title="${uiLabelMap.FormFieldTitle_imageFileName}">
|
||||
@@ -340,10 +340,10 @@ under the License.
|
||||
</field>
|
||||
<field name="drMimeTypeId" >
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.ContentGIF}" description="image/gif"/>
|
||||
<option key="${uiLabelMap.ContentJPEG}" description="image/jpeg"/>
|
||||
<option key="${uiLabelMap.ContentPNG}" description="image/png"/>
|
||||
<option key="${uiLabelMap.ContentTIFF}" description="image/tiff"/>
|
||||
<option key="image/gif" description="${uiLabelMap.ContentGIF}"/>
|
||||
<option key="image/jpeg" description="${uiLabelMap.ContentJPEG}"/>
|
||||
<option key="image/png" description="${uiLabelMap.ContentPNG}"/>
|
||||
<option key="image/tiff" description="${uiLabelMap.ContentTIFF}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="drObjectInfo" title="${uiLabelMap.FormFieldTitle_imageFileName}">
|
||||
@@ -419,10 +419,10 @@ under the License.
|
||||
</field>
|
||||
<field name="drDataResourceTypeId" >
|
||||
<drop-down no-current-selected-key="ELECTRONIC_TEXT">
|
||||
<option key="${uiLabelMap.ContentAbsoluteFile}" description="LOCAL_FILE"/>
|
||||
<option key="${uiLabelMap.ContentFileRelToOFBizHome}" description="OFBIZ_FILE"/>
|
||||
<option key="${uiLabelMap.ContentFileRelToWebappRoot}" description="CONTEXT_FILE"/>
|
||||
<option key="${uiLabelMap.ContentDataBaseText}" description="ELECTRONIC_TEXT"/>
|
||||
<option key="LOCAL_FILE" description="${uiLabelMap.ContentAbsoluteFile}"/>
|
||||
<option key="OFBIZ_FILE" description="${uiLabelMap.ContentFileRelToOFBizHome}"/>
|
||||
<option key="CONTEXT_FILE" description="${uiLabelMap.ContentFileRelToWebappRoot}"/>
|
||||
<option key="ELECTRONIC_TEXT" description="${uiLabelMap.ContentDataBaseText}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="drDataTemplateTypeId" >
|
||||
@@ -432,8 +432,8 @@ under the License.
|
||||
</field>
|
||||
<field name="drMimeTypeId">
|
||||
<drop-down no-current-selected-key="text/html">
|
||||
<option key="${uiLabelMap.ContentHtmlText}" description="text/html"/>
|
||||
<option key="${uiLabelMap.ContentPlainText}" description="text/plain"/>
|
||||
<option key="text/html" description="${uiLabelMap.ContentHtmlText}"/>
|
||||
<option key="text/plain" description="${uiLabelMap.ContentPlainText}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="drObjectInfo" title="${uiLabelMap.ContentFilePath}">
|
||||
|
||||
@@ -25,9 +25,9 @@ under the License.
|
||||
header-row-style="header-row" default-table-style="basic-table">
|
||||
<auto-fields-entity entity-name="Survey" default-field-type="find"/>
|
||||
|
||||
<field name="isAnonymous"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="allowMultiple"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="allowUpdate"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="isAnonymous"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="allowMultiple"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="allowUpdate"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="acroFormContentId">
|
||||
<lookup target-form-name="LookupContent"/>
|
||||
</field>
|
||||
@@ -64,9 +64,9 @@ under the License.
|
||||
<field use-when="survey==null&&surveyId!=null" name="surveyId" tooltip="${uiLabelMap.CommonCannotBeFound}: [${surveyId}]"><display description="" also-hidden="false"/></field>
|
||||
<field use-when="survey==null&&surveyId==null" name="surveyId"><ignored/></field>
|
||||
|
||||
<field name="isAnonymous"><drop-down no-current-selected-key="N" allow-empty="false"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="allowMultiple"><drop-down no-current-selected-key="N" allow-empty="false"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="allowUpdate"><drop-down no-current-selected-key="N" allow-empty="false"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="isAnonymous"><drop-down no-current-selected-key="N" allow-empty="false"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="allowMultiple"><drop-down no-current-selected-key="N" allow-empty="false"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="allowUpdate"><drop-down no-current-selected-key="N" allow-empty="false"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
|
||||
<field name="acroFormContentId" use-when="survey!=null">
|
||||
<lookup target-form-name="LookupContent"/>
|
||||
@@ -280,9 +280,9 @@ under the License.
|
||||
header-row-style="header-row" default-table-style="basic-table">
|
||||
<auto-fields-entity entity-name="Survey" default-field-type="find"/>
|
||||
<field name="surveyId" title="${uiLabelMap.ContentSurveySurveyId}"><text-find/></field>
|
||||
<field name="isAnonymous"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="allowMultiple"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="allowUpdate"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="isAnonymous"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="allowMultiple"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="allowUpdate"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
|
||||
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
||||
|
||||
@@ -35,7 +35,7 @@ under the License.
|
||||
|
||||
<field name="siteName"><text size="30" maxlength="60"/></field>
|
||||
<field name="enableHttps">
|
||||
<drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
|
||||
</field>
|
||||
|
||||
<field name="productStoreId">
|
||||
@@ -253,7 +253,7 @@ under the License.
|
||||
<field name="webSiteId"><hidden/></field>
|
||||
<field name="prodCatalogId" title="${uiLabelMap.Catalog}">
|
||||
<drop-down>
|
||||
<option key="All" description="all"/>
|
||||
<option key="all" description="All"/>
|
||||
<entity-options description="${prodCatalogId}" entity-name="ProductStoreCatalog">
|
||||
<entity-constraint name="productStoreId" value="${webSite.productStoreId}"/>
|
||||
</entity-options>
|
||||
@@ -261,9 +261,9 @@ under the License.
|
||||
</field>
|
||||
<field name="typeGenerate" title="Generate Type">
|
||||
<check all-checked="false">
|
||||
<option key="Category" description="category"/>
|
||||
<option key="Product" description="product"/>
|
||||
<option key="Content" description="content"/>
|
||||
<option key="category" description="Category"/>
|
||||
<option key="product" description="Product"/>
|
||||
<option key="content" description="Content"/>
|
||||
</check>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field>
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
<store-value value-field="emplPositionTypeRate"/>
|
||||
</if-not-empty>
|
||||
|
||||
<make-value entity-name="EmplPositionTypeRate" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="EmplPositionTypeRate"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="newEntity.fromDate"><now-timestamp field="newEntity.fromDate"/></if-empty>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -130,7 +130,7 @@
|
||||
</not>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="EmplPositionTypeTabBar" location="component://humanres/widget/HumanresMenus.xml"/>
|
||||
<include-menu location="component://humanres/widget/HumanresMenus.xml" name="EmplPositionTypeTabBar"/>
|
||||
</widgets>
|
||||
</section>
|
||||
<screenlet title="${uiLabelMap.HumanResEditEmplPositionType}">
|
||||
@@ -158,7 +158,7 @@
|
||||
<widgets>
|
||||
<decorator-screen name="GlobalHRSettingsDecorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<include-menu name="EmplPositionTypeTabBar" location="component://humanres/widget/HumanresMenus.xml"/>
|
||||
<include-menu location="component://humanres/widget/HumanresMenus.xml" name="EmplPositionTypeTabBar"/>
|
||||
<screenlet id="AddEmplPositionTypeRatePanel" title="${uiLabelMap.CommonAdd} ${uiLabelMap.HumanResEmplPositionType} ${uiLabelMap.CommonRate}" collapsible="true">
|
||||
<include-form name="AddEmplPositionTypeRate" location="component://humanres/widget/forms/GlobalHRSettingForms.xml"/>
|
||||
</screenlet>
|
||||
|
||||
@@ -277,26 +277,26 @@ under the License.
|
||||
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
||||
<field name="salaryFlag">
|
||||
<drop-down allow-empty="false" current="selected">
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="exemptFlag">
|
||||
<drop-down allow-empty="false" current="selected">
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="fulltimeFlag">
|
||||
<drop-down allow-empty="false" current="selected">
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="temporaryFlag">
|
||||
<drop-down allow-empty="false" current="selected">
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="searchButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<entity-options entity-name="PartyRoleNameDetail" key-field-name="partyId" description="${groupName}">
|
||||
<entity-constraint name="roleTypeId" operator="equals" value="INTERNAL_ORGANIZATIO"/>
|
||||
</entity-options>
|
||||
<option key="${uiLabelMap.HumanResEmplPartyIdFromNotSpecified}" description="null"/>
|
||||
<option key="null" description="${uiLabelMap.HumanResEmplPartyIdFromNotSpecified}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="fromDate" title="${uiLabelMap.WorkEffortEstimatedStartDate}"><date-time/></field>
|
||||
|
||||
@@ -106,8 +106,8 @@ under the License.
|
||||
<field name="noOfResources" required-field="true"><text/></field>
|
||||
<field name="gender">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonMale}" description="M"/>
|
||||
<option key="${uiLabelMap.CommonFemale}" description="F"/>
|
||||
<option key="M" description="${uiLabelMap.CommonMale}"/>
|
||||
<option key="F" description="${uiLabelMap.CommonFemale}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="durationMonths"><text/></field>
|
||||
|
||||
@@ -47,7 +47,7 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="copyBOMAssocs" short-description="Copy BOM associations from one product to another">
|
||||
<make-value entity-name="ProductAssoc" value-field="lookupMap"/>
|
||||
<make-value value-field="lookupMap" entity-name="ProductAssoc"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupMap"/>
|
||||
<find-by-and entity-name="ProductAssoc" map="lookupMap" list="assocs"/>
|
||||
<filter-list-by-date list="assocs"/>
|
||||
@@ -105,7 +105,7 @@ under the License.
|
||||
<fail-property resource="ManufacturingUiLabels" property="ManufacturingMachineGroupPermissionError"/>
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="ProductManufacturingRule" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductManufacturingRule"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductManufacturingRule" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
@@ -117,7 +117,7 @@ under the License.
|
||||
<fail-property resource="ManufacturingUiLabels" property="ManufacturingMachineGroupPermissionError"/>
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="ProductManufacturingRule" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductManufacturingRule"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductManufacturingRule" map="lookupPKMap" value-field="newEntity"/>
|
||||
<if-not-empty field="newEntity.ruleId">
|
||||
@@ -126,7 +126,7 @@ under the License.
|
||||
</add-error>
|
||||
<check-errors/>
|
||||
<else>
|
||||
<make-value entity-name="ProductManufacturingRule" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductManufacturingRule"/>
|
||||
<if-empty field="parameters.ruleId">
|
||||
<sequenced-id sequence-name="ProductManufacturingRule" field="parameters.ruleId"/>
|
||||
</if-empty>
|
||||
@@ -142,7 +142,7 @@ under the License.
|
||||
<fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/>
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="ProductManufacturingRule" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductManufacturingRule"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductManufacturingRule" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<if-not-empty field="lookedUpValue.ruleId">
|
||||
|
||||
@@ -23,7 +23,7 @@ under the License.
|
||||
<simple-method method-name="addRoutingTaskAssoc"
|
||||
short-description="If copyTask field = Y create a copy of the routingTask, in all the case add a RoutingTaskAssociation">
|
||||
<if-compare field="parameters.copyTask" operator="equals" value="Y">
|
||||
<make-value entity-name="WorkEffort" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="WorkEffort"/>
|
||||
<set field="lookupPKMap.workEffortId" from-field="parameters.workEffortIdTo"/>
|
||||
<find-by-primary-key entity-name="WorkEffort" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<call-map-processor xml-resource="component://manufacturing/minilang/techdata/RoutingMapProcs.xml"
|
||||
|
||||
@@ -23,7 +23,7 @@ under the License.
|
||||
<simple-method method-name="createCalendar" short-description="Create Calendar">
|
||||
<check-permission permission="MANUFACTURING" action="_CREATE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendar" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendar"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendar" map="lookupPKMap" value-field="newEntity"/>
|
||||
<if-not-empty field="newEntity.calendarId">
|
||||
@@ -32,7 +32,7 @@ under the License.
|
||||
</add-error>
|
||||
<check-errors/>
|
||||
<else>
|
||||
<make-value entity-name="TechDataCalendarWeek" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendarWeek"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendarWeek" map="lookupPKMap" value-field="newEntity"/>
|
||||
<if-empty field="newEntity.calendarWeekId">
|
||||
@@ -41,7 +41,7 @@ under the License.
|
||||
</add-error>
|
||||
<check-errors/>
|
||||
<else>
|
||||
<make-value entity-name="TechDataCalendar" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="TechDataCalendar"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
@@ -54,7 +54,7 @@ under the License.
|
||||
<simple-method method-name="updateCalendar" short-description="Update Calendar">
|
||||
<check-permission permission="MANUFACTURING" action="_UPDATE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendar" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendar"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendar" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
@@ -64,7 +64,7 @@ under the License.
|
||||
<simple-method method-name="removeCalendar" short-description="Remove Calendar">
|
||||
<check-permission permission="MANUFACTURING" action="_DELETE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendar" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendar"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<get-related value-field="lookupPKMap" relation-name="TechDataCalendarExcDay" list="relatedResultList"/>
|
||||
<first-from-list list="relatedResultList" entry="relatedResult"/>
|
||||
@@ -91,7 +91,7 @@ under the License.
|
||||
<simple-method method-name="createCalendarWeek" short-description="Create Calendar Week">
|
||||
<check-permission permission="MANUFACTURING" action="_CREATE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendarWeek" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendarWeek"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendarWeek" map="lookupPKMap" value-field="newEntity"/>
|
||||
<if-not-empty field="newEntity.calendarWeekId">
|
||||
@@ -100,7 +100,7 @@ under the License.
|
||||
</add-error>
|
||||
<check-errors/>
|
||||
<else>
|
||||
<make-value entity-name="TechDataCalendarWeek" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="TechDataCalendarWeek"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
@@ -111,7 +111,7 @@ under the License.
|
||||
<simple-method method-name="updateCalendarWeek" short-description="Update CalendarWeek">
|
||||
<check-permission permission="MANUFACTURING" action="_UPDATE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendarWeek" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendarWeek"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendarWeek" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
@@ -121,7 +121,7 @@ under the License.
|
||||
<simple-method method-name="removeCalendarWeek" short-description="Remove CalendarWeek">
|
||||
<check-permission permission="MANUFACTURING" action="_DELETE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendarWeek" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendarWeek"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<get-related value-field="lookupPKMap" relation-name="TechDataCalendar" list="relatedResultList"/>
|
||||
<first-from-list list="relatedResultList" entry="relatedResult"/>
|
||||
@@ -148,7 +148,7 @@ under the License.
|
||||
<simple-method method-name="createCalendarExceptionDay" short-description="Create Calendar Exception Day">
|
||||
<check-permission permission="MANUFACTURING" action="_CREATE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendarExcDay" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendarExcDay"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendarExcDay" map="lookupPKMap" value-field="newEntity"/>
|
||||
<if-not-empty field="newEntity.calendarId">
|
||||
@@ -157,7 +157,7 @@ under the License.
|
||||
</add-error>
|
||||
<check-errors/>
|
||||
<else>
|
||||
<make-value entity-name="TechDataCalendarExcDay" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="TechDataCalendarExcDay"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
@@ -168,7 +168,7 @@ under the License.
|
||||
<simple-method method-name="updateCalendarExceptionDay" short-description="Update CalendarExceptionDay">
|
||||
<check-permission permission="MANUFACTURING" action="_UPDATE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendarExcDay" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendarExcDay"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendarExcDay" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
@@ -178,7 +178,7 @@ under the License.
|
||||
<simple-method method-name="removeCalendarExceptionDay" short-description="Remove CalendarExceptionDay">
|
||||
<check-permission permission="MANUFACTURING" action="_DELETE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendarExcDay" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendarExcDay"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendarExcDay" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<if-not-empty field="lookedUpValue.calendarId">
|
||||
@@ -189,7 +189,7 @@ under the License.
|
||||
<simple-method method-name="createCalendarExceptionWeek" short-description="Create Calendar Exception Week">
|
||||
<check-permission permission="MANUFACTURING" action="_CREATE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendarExcWeek" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendarExcWeek"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendarExcWeek" map="lookupPKMap" value-field="newEntity"/>
|
||||
<if-not-empty field="newEntity.calendarId">
|
||||
@@ -198,7 +198,7 @@ under the License.
|
||||
</add-error>
|
||||
<check-errors/>
|
||||
<else>
|
||||
<make-value entity-name="TechDataCalendarExcWeek" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="TechDataCalendarExcWeek"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
@@ -209,7 +209,7 @@ under the License.
|
||||
<simple-method method-name="updateCalendarExceptionWeek" short-description="Update Calendar Exception Week">
|
||||
<check-permission permission="MANUFACTURING" action="_UPDATE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendarExcWeek" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendarExcWeek"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendarExcWeek" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
@@ -219,7 +219,7 @@ under the License.
|
||||
<simple-method method-name="removeCalendarExceptionWeek" short-description="Remove CalendarExceptionWeek">
|
||||
<check-permission permission="MANUFACTURING" action="_DELETE"><fail-property resource="ManufacturingUiLabels" property="ManufacturingCalendarPermissionError"/></check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="TechDataCalendarExcWeek" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="TechDataCalendarExcWeek"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="TechDataCalendarExcWeek" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<if-not-empty field="lookedUpValue.calendarId">
|
||||
|
||||
@@ -121,8 +121,8 @@ under the License.
|
||||
</field>
|
||||
<field name="ruleOperator">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonOr}" description="OR"/>
|
||||
<option key="${uiLabelMap.CommonAnd}" description="AND"/>
|
||||
<option key="OR" description="${uiLabelMap.CommonOr}"/>
|
||||
<option key="AND" description="${uiLabelMap.CommonAnd}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonUpdate}">
|
||||
@@ -134,8 +134,8 @@ under the License.
|
||||
<field name="productIdTo" title="${uiLabelMap.ProductProductIdTo}"><lookup target-form-name="LookupProduct"/></field>
|
||||
<field name="productAssocTypeId" title="${uiLabelMap.ManufacturingBomType}">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.ManufacturingBillOfMaterials}" description="MANUF_COMPONENT"/>
|
||||
<option key="${uiLabelMap.ManufacturingEngineeringBillOfMaterials}" description="ENGINEER_COMPONENT"/>
|
||||
<option key="MANUF_COMPONENT" description="${uiLabelMap.ManufacturingBillOfMaterials}"/>
|
||||
<option key="ENGINEER_COMPONENT" description="${uiLabelMap.ManufacturingEngineeringBillOfMaterials}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
|
||||
|
||||
@@ -61,8 +61,8 @@ under the License.
|
||||
<field name="description" title="${uiLabelMap.CommonDescription}"><text size="50"/></field>
|
||||
<field name="createDependentProductionRuns" title="${uiLabelMap.ManufacturingCreateDependentProductionRuns}">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit/></field>
|
||||
@@ -360,8 +360,8 @@ under the License.
|
||||
</field>
|
||||
<field name="failIfItemsAreNotAvailable" use-when="estimatedQuantity != issuedQuantity">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="_rowSubmit"><hidden value="Y"/></field>
|
||||
@@ -427,8 +427,8 @@ under the License.
|
||||
<field name="fromDate"><hidden/></field>
|
||||
<field name="failIfItemsAreNotAvailable">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="task" entry-name="workEffortId" title="${uiLabelMap.ManufacturingRoutingTaskId}">
|
||||
|
||||
@@ -401,7 +401,7 @@ under the License.
|
||||
<field-map field-name="fromDate" from-field="parameters.fromDate"/>
|
||||
</entity-and>
|
||||
<if-empty field="webSiteContactList">
|
||||
<make-value entity-name="WebSiteContactList" value-field="webSiteContactList"/>
|
||||
<make-value value-field="webSiteContactList" entity-name="WebSiteContactList"/>
|
||||
<set-pk-fields value-field="webSiteContactList" map="parameters"/>
|
||||
<set-nonpk-fields map="parameters" value-field="webSiteContactList"/>
|
||||
<create-value value-field="webSiteContactList"/>
|
||||
|
||||
@@ -24,7 +24,7 @@ under the License.
|
||||
<simple-method method-name="createTrackingCodeType" short-description="Create an TrackingCodeType">
|
||||
<now-timestamp field="nowStamp"/>
|
||||
|
||||
<make-value entity-name="TrackingCodeType" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="TrackingCodeType"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -42,7 +42,7 @@ under the License.
|
||||
|
||||
<simple-method method-name="createTrackingCodeOrder" short-description="Create an TrackingCodeOrder">
|
||||
<now-timestamp field="nowStamp"/>
|
||||
<make-value entity-name="TrackingCodeOrder" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="TrackingCodeOrder"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -68,7 +68,7 @@ under the License.
|
||||
<!-- add service for tracking code return -->
|
||||
<simple-method method-name="createTrackingCodeOrderReturn" short-description="Create an TrackingCodeOrderReturn">
|
||||
<now-timestamp field="nowStamp"/>
|
||||
<make-value entity-name="TrackingCodeOrderReturn" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="TrackingCodeOrderReturn"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
|
||||
@@ -38,12 +38,12 @@ under the License.
|
||||
</field>
|
||||
<field name="isPublic" title="${uiLabelMap.MarketingContactListIsPublic}">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="singleUse" title="${uiLabelMap.MarketingContactListIsSingleUse}">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
|
||||
|
||||
@@ -269,7 +269,7 @@ under the License.
|
||||
<decorator-screen name="CommonContactListDecorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<screenlet title="${uiLabelMap.PageTitleEditContactList}">
|
||||
<include-menu name="ContactListCommBar" location="component://marketing/widget/ContactListMenus.xml"/>
|
||||
<include-menu location="component://marketing/widget/ContactListMenus.xml" name="ContactListCommBar"/>
|
||||
<container style="button-bar">
|
||||
<link text="${uiLabelMap.MarketingContactListCommEventCreate}" target="EditContactListCommEvent" style="buttontext create">
|
||||
<parameter param-name="contactListId"/>
|
||||
|
||||
@@ -87,7 +87,7 @@ under the License.
|
||||
</and>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="SegmentGroupTabBar" location="component://marketing/widget/SegmentMenus.xml"/>
|
||||
<include-menu location="component://marketing/widget/SegmentMenus.xml" name="SegmentGroupTabBar"/>
|
||||
</widgets>
|
||||
</section>
|
||||
</decorator-section>
|
||||
|
||||
@@ -110,7 +110,7 @@ under the License.
|
||||
|
||||
<field name="isBillable" title="${uiLabelMap.MarketingTrackingCodeOrderIsBilliable}">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
|
||||
|
||||
@@ -148,8 +148,8 @@ under the License.
|
||||
<widgets>
|
||||
<decorator-screen name="CommonOpportunityDecorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="body">
|
||||
<include-menu name="CommEventTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu name="CommSubTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="CommEventTabBar"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="CommSubTabBar"/>
|
||||
<screenlet title="${uiLabelMap.PageTitleListCommunications} ${partyId}">
|
||||
<include-form name="ListCommEvents" location="component://party/widget/partymgr/CommunicationEventForms.xml"/>
|
||||
</screenlet>
|
||||
|
||||
@@ -80,15 +80,15 @@ under the License.
|
||||
<field name="actualCompletionDate"><hidden/></field>
|
||||
<field name="priority" position="1">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.WorkEffortPriorityOne}" description="1"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityTwo}" description="2"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityThree}" description="3"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityFour}" description="4"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityFive}" description="5"/>
|
||||
<option key="${uiLabelMap.WorkEffortPrioritySix}" description="6"/>
|
||||
<option key="${uiLabelMap.WorkEffortPrioritySeventh}" description="7"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityEight}" description="8"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityNine}" description="9"/>
|
||||
<option key="1" description="${uiLabelMap.WorkEffortPriorityOne}"/>
|
||||
<option key="2" description="${uiLabelMap.WorkEffortPriorityTwo}"/>
|
||||
<option key="3" description="${uiLabelMap.WorkEffortPriorityThree}"/>
|
||||
<option key="4" description="${uiLabelMap.WorkEffortPriorityFour}"/>
|
||||
<option key="5" description="${uiLabelMap.WorkEffortPriorityFive}"/>
|
||||
<option key="6" description="${uiLabelMap.WorkEffortPrioritySix}"/>
|
||||
<option key="7" description="${uiLabelMap.WorkEffortPrioritySeventh}"/>
|
||||
<option key="8" description="${uiLabelMap.WorkEffortPriorityEight}"/>
|
||||
<option key="9" description="${uiLabelMap.WorkEffortPriorityNine}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="estimatedStartDate"><date-time input-method="time-dropdown" default-value="${nowTimestamp}"/></field>
|
||||
|
||||
@@ -28,7 +28,7 @@ This file contains basic services for SalesOpportunity and SalesForecast.
|
||||
<simple-method method-name="createSalesForecast" short-description="Creates a sales forecast and stores a copy in sales forecast history.">
|
||||
|
||||
<!-- make the value and set the fields from the parameters -->
|
||||
<make-value entity-name="SalesForecast" value-field="salesForecast"/>
|
||||
<make-value value-field="salesForecast" entity-name="SalesForecast"/>
|
||||
<sequenced-id sequence-name="SalesForecast" field="salesForecastId"/>
|
||||
<set field="salesForecast.salesForecastId" from-field="salesForecastId"/>
|
||||
<set-nonpk-fields map="parameters" value-field="salesForecast"/>
|
||||
@@ -65,7 +65,7 @@ This file contains basic services for SalesOpportunity and SalesForecast.
|
||||
<simple-method method-name="saveSalesForecastHistory" short-description="Given a salesForecast map, saves the data in the history.">
|
||||
|
||||
<!-- make the value and set the fields from the salesForecast map -->
|
||||
<make-value entity-name="SalesForecastHistory" value-field="salesForecastHistory"/>
|
||||
<make-value value-field="salesForecastHistory" entity-name="SalesForecastHistory"/>
|
||||
<sequenced-id sequence-name="SalesForecastHistory" field="salesForecastHistoryId"/>
|
||||
<set field="salesForecastHistory.salesForecastHistoryId" from-field="salesForecastHistoryId"/>
|
||||
<set-nonpk-fields map="salesForecast" value-field="salesForecastHistory"/>
|
||||
|
||||
@@ -78,7 +78,7 @@ under the License.
|
||||
<set field="parameters.needsInventoryReceive" value="N"/>
|
||||
</if-empty>
|
||||
|
||||
<make-value entity-name="ReturnHeader" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ReturnHeader"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
<!-- If PartyAcctgPreference.useInvoiceIdForReturns is Y, get the ID from the getNextInvoiceId service -->
|
||||
@@ -314,7 +314,7 @@ under the License.
|
||||
|
||||
<!-- if an orderItemSeqId is provided, then find the corresponding orderItem -->
|
||||
<if-not-empty field="parameters.orderItemSeqId">
|
||||
<make-value entity-name="OrderItem" value-field="itemLookup"/>
|
||||
<make-value value-field="itemLookup" entity-name="OrderItem"/>
|
||||
<set-pk-fields map="parameters" value-field="itemLookup"/>
|
||||
<if-not-empty field="parameters.orderItemSeqId">
|
||||
<find-by-primary-key entity-name="OrderItem" value-field="orderItem" map="itemLookup"/>
|
||||
@@ -377,7 +377,7 @@ under the License.
|
||||
</else>
|
||||
</if-compare>
|
||||
|
||||
<make-value entity-name="ReturnItem" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ReturnItem"/>
|
||||
<set from-field="parameters.returnId" field="newEntity.returnId"/>
|
||||
<make-next-seq-id seq-field-name="returnItemSeqId" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
@@ -491,7 +491,7 @@ under the License.
|
||||
</if>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ReturnAdjustment" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ReturnAdjustment"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<sequenced-id sequence-name="ReturnAdjustment" field="newEntity.returnAdjustmentId"/>
|
||||
<field-to-result field="newEntity.returnAdjustmentId" result-name="returnAdjustmentId"/>
|
||||
|
||||
@@ -507,7 +507,7 @@ under the License.
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="OrderHeader" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="OrderHeader"/>
|
||||
|
||||
<if-not-empty field="parameters.orderId">
|
||||
<set field="newEntity.orderId" from-field="parameters.orderId"/>
|
||||
@@ -606,7 +606,7 @@ under the License.
|
||||
<if-empty field="orderItemSeqId">
|
||||
<!-- this is a new (promo) item -->
|
||||
<!-- a new order item is created -->
|
||||
<make-value entity-name="OrderItem" value-field="newOrderItem"/>
|
||||
<make-value value-field="newOrderItem" entity-name="OrderItem"/>
|
||||
<set field="newOrderItem.orderId" from-field="parameters.orderId"/>
|
||||
<call-object-method obj-field="item" method-name="getItemType" ret-field="newOrderItem.orderItemTypeId"/>
|
||||
<call-object-method obj-field="item" method-name="getSelectedAmount" ret-field="newOrderItem.selectedAmount"/>
|
||||
@@ -679,7 +679,7 @@ under the License.
|
||||
<fail-property resource="OrderErrorUiLabels" property="OrderSecurityErrorToRunUpdateOrderContactMech"/>
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="OrderContactMech" value-field="orderContactMechMap"/>
|
||||
<make-value value-field="orderContactMechMap" entity-name="OrderContactMech"/>
|
||||
<set-pk-fields map="parameters" value-field="orderContactMechMap"/>
|
||||
<set from-field="parameters.orderId" field="inputMap.orderId"/>
|
||||
<set from-field="parameters.contactMechPurposeTypeId" field="inputMap.contactMechPurposeTypeId"/>
|
||||
@@ -722,7 +722,7 @@ under the License.
|
||||
<fail-property resource="OrderErrorUiLabels" property="OrderSecurityErrorToRunUpdateOrderItemShipGroup"/>
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="OrderItemShipGroup" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="OrderItemShipGroup"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="OrderItemShipGroup" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<!-- splitting shipmentMethod request parameter value that contains "@" symbol
|
||||
@@ -835,7 +835,7 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="createOrderItemChange" short-description="Creates a new Order Item Change record">
|
||||
<make-value entity-name="OrderItemChange" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="OrderItemChange"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="parameters.changeDatetime">
|
||||
<now-timestamp field="nowTimestamp"/>
|
||||
@@ -1185,7 +1185,7 @@ under the License.
|
||||
<if-compare-field field="orderItem.unitPrice" to-field="supplierProduct.lastPrice" operator="not-equals" type="BigDecimal"/>
|
||||
</condition>
|
||||
<then>
|
||||
<make-value entity-name="SupplierProduct" value-field="newSupplierProduct"/>
|
||||
<make-value value-field="newSupplierProduct" entity-name="SupplierProduct"/>
|
||||
<clone-value value-field="supplierProduct" new-value-field="newSupplierProduct"/>
|
||||
<set from-field="nowTimestamp" field="newSupplierProduct.availableFromDate"/>
|
||||
<set from-field="orderItem.unitPrice" field="newSupplierProduct.lastPrice"/>
|
||||
@@ -1217,7 +1217,7 @@ under the License.
|
||||
<if-compare-field field="orderItem.unitPrice" to-field="supplierProduct.lastPrice" operator="not-equals" type="BigDecimal"/>
|
||||
</condition>
|
||||
<then>
|
||||
<make-value entity-name="SupplierProduct" value-field="newSupplierProduct"/>
|
||||
<make-value value-field="newSupplierProduct" entity-name="SupplierProduct"/>
|
||||
<clone-value value-field="supplierProduct" new-value-field="newSupplierProduct"/>
|
||||
<set from-field="nowTimestamp" field="newSupplierProduct.availableFromDate"/>
|
||||
<set from-field="orderItem.unitPrice" field="newSupplierProduct.lastPrice" type="BigDecimal"/>
|
||||
|
||||
@@ -112,7 +112,7 @@ under the License.
|
||||
</if>
|
||||
<check-errors/>
|
||||
<!-- create new entity and create all the fields -->
|
||||
<make-value entity-name="Quote" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="Quote"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="newEntity.statusId">
|
||||
<set value="QUO_CREATED" field="newEntity.statusId"/>
|
||||
@@ -298,12 +298,12 @@ under the License.
|
||||
<fail-property resource="OrderErrorUiLabels" property="OrderErrorCreatePermissionError"/>
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="PartyRole" value-field="partyRole"/>
|
||||
<make-value value-field="partyRole" entity-name="PartyRole"/>
|
||||
<set-pk-fields map="lookupPKMap" value-field="partyRole"/>
|
||||
<create-value value-field="partyRole"/>
|
||||
</if-empty>
|
||||
<!-- create new entity and create all the fields -->
|
||||
<make-value entity-name="QuoteRole" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="QuoteRole"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
<property-to-field resource="OrderUiLabels" property="OrderOrderQuoteRoleAddedSuccessfully" field="successMessage"/>
|
||||
@@ -342,7 +342,7 @@ under the License.
|
||||
|
||||
<check-errors/>
|
||||
<!-- create new entity and create all the fields -->
|
||||
<make-value entity-name="QuoteItem" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="QuoteItem"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
<set from-field="parameters.quoteId" field="newEntity.quoteId"/>
|
||||
@@ -487,7 +487,7 @@ under the License.
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
<!-- create new entity and create all the fields -->
|
||||
<make-value entity-name="QuoteAttribute" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="QuoteAttribute"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
@@ -526,7 +526,7 @@ under the License.
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
<!-- create new entity and create all the fields -->
|
||||
<make-value entity-name="QuoteCoefficient" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="QuoteCoefficient"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
@@ -574,8 +574,8 @@ under the License.
|
||||
</if-empty>
|
||||
<check-errors/>
|
||||
<!-- create new entity and create all the fields -->
|
||||
<make-value entity-name="Quote" value-field="newQuote"/>
|
||||
<make-value entity-name="QuoteItem" value-field="newQuoteItem"/>
|
||||
<make-value value-field="newQuote" entity-name="Quote"/>
|
||||
<make-value value-field="newQuoteItem" entity-name="QuoteItem"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newQuote"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newQuoteItem"/>
|
||||
<if-empty field="newQuote.statusId">
|
||||
@@ -601,7 +601,7 @@ under the License.
|
||||
<create-value value-field="newQuote"/>
|
||||
<create-value value-field="newQuoteItem"/>
|
||||
<!-- copy the roles from the request to the quote-->
|
||||
<make-value entity-name="CustRequestParty" value-field="lookupRequestRole"/>
|
||||
<make-value value-field="lookupRequestRole" entity-name="CustRequestParty"/>
|
||||
<set from-field="parameters.custRequestId" field="lookupRequestRole.custRequestId"/>
|
||||
<find-by-and entity-name="CustRequestParty" map="lookupRequestRole" list="roles"/>
|
||||
<iterate list="roles" entry="role">
|
||||
@@ -731,7 +731,7 @@ under the License.
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="QuoteAdjustment" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="QuoteAdjustment"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
<sequenced-id sequence-name="QuoteAdjustment" field="quoteAdjustmentId"/>
|
||||
@@ -983,7 +983,7 @@ under the License.
|
||||
</if-not-empty>
|
||||
</simple-method>
|
||||
<simple-method method-name="createQuoteTerm" short-description="Create a QuoteTerm">
|
||||
<make-value entity-name="QuoteTerm" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="QuoteTerm"/>
|
||||
<if-empty field="parameters.quoteItemSeqId">
|
||||
<set field="parameters.quoteItemSeqId" value="_NA_"/>
|
||||
</if-empty>
|
||||
@@ -992,7 +992,7 @@ under the License.
|
||||
<create-value value-field="newEntity"/>
|
||||
</simple-method>
|
||||
<simple-method method-name="deleteQuoteTerm" short-description="Delete a QuoteTerm">
|
||||
<make-value entity-name="QuoteTerm" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="QuoteTerm"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<remove-value value-field="newEntity"/>
|
||||
</simple-method>
|
||||
@@ -1009,7 +1009,7 @@ under the License.
|
||||
</add-error>
|
||||
</if-empty>
|
||||
<check-errors/>
|
||||
<make-value entity-name="QuoteNote" value-field="newQuoteNote"/>
|
||||
<make-value value-field="newQuoteNote" entity-name="QuoteNote"/>
|
||||
<set field="newQuoteNote.quoteId" from-field="parameters.quoteId"/>
|
||||
<set field="newQuoteNote.noteId" from-field="noteId"/>
|
||||
<create-value value-field="newQuoteNote"/>
|
||||
|
||||
@@ -49,7 +49,7 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="createCustRequest" short-description="Create Customer Request">
|
||||
<make-value entity-name="CustRequest" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="CustRequest"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<now-timestamp field="newEntity.lastModifiedDate"/>
|
||||
|
||||
@@ -214,7 +214,7 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="createCustRequestAttribute" short-description="Create Customer Request Attribute">
|
||||
<make-value entity-name="CustRequestAttribute" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="CustRequestAttribute"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
@@ -231,7 +231,7 @@ under the License.
|
||||
|
||||
<simple-method method-name="createCustRequestItem" short-description="Create Customer Request Item">
|
||||
<call-simple-method method-name="checkStatusCustRequest"/>
|
||||
<make-value entity-name="CustRequestItem" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="CustRequestItem"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="parameters.custRequestItemSeqId">
|
||||
@@ -261,11 +261,11 @@ under the License.
|
||||
<set from-field="parameters.roleTypeId" field="lookupPKMap.roleTypeId"/>
|
||||
<find-by-primary-key entity-name="PartyRole" map="lookupPKMap" value-field="partyRole"/>
|
||||
<if-empty field="partyRole.partyId">
|
||||
<make-value entity-name="PartyRole" value-field="partyRole"/>
|
||||
<make-value value-field="partyRole" entity-name="PartyRole"/>
|
||||
<set-pk-fields map="lookupPKMap" value-field="partyRole"/>
|
||||
<create-value value-field="partyRole"/>
|
||||
</if-empty>
|
||||
<make-value entity-name="CustRequestParty" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="CustRequestParty"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="newEntity.fromDate">
|
||||
@@ -296,7 +296,7 @@ under the License.
|
||||
<call-simple-method method-name="updateCustRequestLastModifiedDate"/>
|
||||
</simple-method>
|
||||
<simple-method method-name="createCustRequestNote" short-description="Create Customer Request Note">
|
||||
<make-value entity-name="CustRequestNote" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="CustRequestNote"/>
|
||||
<set from-field="parameters.custRequestId" field="newEntity.custRequestId"/>
|
||||
<set from-field="parameters.noteInfo" field="newNoteMap.note"/>
|
||||
<call-service service-name="createNote" in-map-name="newNoteMap">
|
||||
@@ -320,7 +320,7 @@ under the License.
|
||||
</simple-method>
|
||||
<simple-method method-name="createCustRequestItemNote" short-description="Create Customer RequestItem Note">
|
||||
<call-simple-method method-name="checkStatusCustRequest"/>
|
||||
<make-value entity-name="CustRequestItemNote" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="CustRequestItemNote"/>
|
||||
<set from-field="parameters.custRequestId" field="newEntity.custRequestId"/>
|
||||
<set from-field="parameters.custRequestItemSeqId" field="newEntity.custRequestItemSeqId"/>
|
||||
<set from-field="parameters.note" field="newNoteMap.note"/>
|
||||
|
||||
@@ -21,7 +21,7 @@ under the License.
|
||||
<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
|
||||
<simple-method method-name="createRequirement" short-description="Create a new requirement">
|
||||
<make-value entity-name="Requirement" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="Requirement"/>
|
||||
<sequenced-id sequence-name="Requirement" field="requirementId"/>
|
||||
<set field="newEntity.requirementId" from-field="requirementId"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
@@ -38,7 +38,7 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="updateRequirement" short-description="Update a requirement">
|
||||
<make-value entity-name="Requirement" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="Requirement"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="Requirement" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<field-to-result field="lookedUpValue.statusId" result-name="oldStatusId"/>
|
||||
@@ -58,14 +58,14 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="associateRequirementWithRequestItem" short-description="Associate a requirement and CustRequestItem">
|
||||
<make-value entity-name="RequirementCustRequest" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="RequirementCustRequest"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="addTaskToRequirement" short-description="Add a task to a requirement">
|
||||
<make-value entity-name="WorkRequirementFulfillment" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="WorkRequirementFulfillment"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
</simple-method>
|
||||
@@ -87,7 +87,7 @@ under the License.
|
||||
<filter-list-by-date list="supplierProducts" valid-date="requirement.requiredByDate" from-field-name="availableFromDate" thru-field-name="availableThruDate"/>
|
||||
<first-from-list list="supplierProducts" entry="supplierProduct"/>
|
||||
<if-not-empty field="supplierProduct.partyId">
|
||||
<make-value entity-name="RequirementRole" value-field="requirementSupplier"/>
|
||||
<make-value value-field="requirementSupplier" entity-name="RequirementRole"/>
|
||||
<set field="requirementSupplier.requirementId" from-field="requirement.requirementId"/>
|
||||
<set field="requirementSupplier.partyId" from-field="supplierProduct.partyId"/>
|
||||
<set field="requirementSupplier.roleTypeId" value="SUPPLIER"/>
|
||||
@@ -116,12 +116,12 @@ under the License.
|
||||
<fail-property resource="OrderErrorUiLabels" property="OrderErrorCreatePermissionError"/>
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="PartyRole" value-field="partyRole"/>
|
||||
<make-value value-field="partyRole" entity-name="PartyRole"/>
|
||||
<set-pk-fields map="lookupPKMap" value-field="partyRole"/>
|
||||
<create-value value-field="partyRole"/>
|
||||
</if-empty>
|
||||
<!-- create new entity and create all the fields -->
|
||||
<make-value entity-name="RequirementRole" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="RequirementRole"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="newEntity.fromDate">
|
||||
|
||||
@@ -37,7 +37,7 @@ under the License.
|
||||
</if>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ShoppingList" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ShoppingList"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
<if-empty field="newEntity.partyId">
|
||||
@@ -141,7 +141,7 @@ under the License.
|
||||
<add-error> <fail-property resource="ProductUiLabels" property="ProductErrorProductNotFound"/> </add-error>
|
||||
<check-errors/>
|
||||
</if-empty>
|
||||
<make-value entity-name="ShoppingListItem" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ShoppingListItem"/>
|
||||
<set from-field="parameters.shoppingListId" field="newEntity.shoppingListId"/>
|
||||
<make-next-seq-id value-field="newEntity" seq-field-name="shoppingListItemSeqId" numeric-padding="5"/>
|
||||
|
||||
|
||||
@@ -1291,7 +1291,7 @@ under the License.
|
||||
|
||||
<request-map uri="deleteCustRequestContent">
|
||||
<security auth="true" https="true"/>
|
||||
<event type="service" invoke="deleteCustRequestContent"/>
|
||||
<event invoke="deleteCustRequestContent" type="service"/>
|
||||
<response name="success" type="request-redirect" value="EditCustRequestContent"><redirect-parameter name="custRequestId"/></response>
|
||||
<response name="error" type="view" value="EditCustRequestContent"/>
|
||||
</request-map>
|
||||
|
||||
@@ -274,15 +274,15 @@ under the License.
|
||||
</field>
|
||||
<field name="priority">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.WorkEffortPriorityOne}" description="1"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityTwo}" description="2"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityThree}" description="3"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityFour}" description="4"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityFive}" description="5"/>
|
||||
<option key="${uiLabelMap.WorkEffortPrioritySix}" description="6"/>
|
||||
<option key="${uiLabelMap.WorkEffortPrioritySeventh}" description="7"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityEight}" description="8"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityNine}" description="9"/>
|
||||
<option key="1" description="${uiLabelMap.WorkEffortPriorityOne}"/>
|
||||
<option key="2" description="${uiLabelMap.WorkEffortPriorityTwo}"/>
|
||||
<option key="3" description="${uiLabelMap.WorkEffortPriorityThree}"/>
|
||||
<option key="4" description="${uiLabelMap.WorkEffortPriorityFour}"/>
|
||||
<option key="5" description="${uiLabelMap.WorkEffortPriorityFive}"/>
|
||||
<option key="6" description="${uiLabelMap.WorkEffortPrioritySix}"/>
|
||||
<option key="7" description="${uiLabelMap.WorkEffortPrioritySeventh}"/>
|
||||
<option key="8" description="${uiLabelMap.WorkEffortPriorityEight}"/>
|
||||
<option key="9" description="${uiLabelMap.WorkEffortPriorityNine}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="story" use-when="custRequest==null" encode-output="false"><textarea cols="60" rows="12" default-value="${communicationEvent.content}"/></field>
|
||||
@@ -488,10 +488,10 @@ under the License.
|
||||
<field name="partyId"><lookup target-form-name="LookupPartyName"/></field>
|
||||
<field name="roleTypeId" title="${uiLabelMap.PartyRoleType}">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.WorkEffortRequestingParty}" description="REQ_REQUESTER"/>
|
||||
<option key="${uiLabelMap.OrderAgent}" description="AGENT"/>
|
||||
<option key="${uiLabelMap.WorkEffortRequestTaker}" description="REQ_TAKER"/>
|
||||
<option key="${uiLabelMap.WorkEffortRequestManager}" description="REQ_MANAGER"/>
|
||||
<option key="REQ_REQUESTER" description="${uiLabelMap.WorkEffortRequestingParty}"/>
|
||||
<option key="AGENT" description="${uiLabelMap.OrderAgent}"/>
|
||||
<option key="REQ_TAKER" description="${uiLabelMap.WorkEffortRequestTaker}"/>
|
||||
<option key="REQ_MANAGER" description="${uiLabelMap.WorkEffortRequestManager}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="fromDate" title="${uiLabelMap.CommonFromDate}"><date-time default-value="${nowTimestamp}"/></field>
|
||||
@@ -651,12 +651,12 @@ under the License.
|
||||
<form name="EditCustReqStatusId" extends="CommonPortletEdit" extends-resource="component://common/widget/PortletEditForms.xml">
|
||||
<field name="statusGroup">
|
||||
<drop-down>
|
||||
<option key="Open" description="OPEN"/>
|
||||
<option key="Completed" description="COMPLETED"/>
|
||||
<option key="Cancelled" description="CANCELLED"/>
|
||||
<option key="OPEN" description="Open"/>
|
||||
<option key="COMPLETED" description="Completed"/>
|
||||
<option key="CANCELLED" description="Cancelled"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="otherContacts"><drop-down allow-empty="false"><option key="Yes" description="Y"/><option key="No" description="N"/></drop-down></field>
|
||||
<field name="otherContacts"><drop-down allow-empty="false"><option key="Y" description="Yes"/><option key="N" description="No"/></drop-down></field>
|
||||
<field name="saveButton"><submit/></field>
|
||||
</form>
|
||||
<form name="ListCustRequests" type="list" list-name="custRequests" odd-row-style="alternate-row" default-table-style="basic-table hover-bar" target="updaterequest">
|
||||
@@ -701,15 +701,15 @@ under the License.
|
||||
<field name="statusId"><display-entity entity-name="StatusItem"/></field>
|
||||
<field name="priority" use-when="!statusId.equals("CRQ_COMPLETED")">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.WorkEffortPriorityOne}" description="1"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityTwo}" description="2"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityThree}" description="3"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityFour}" description="4"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityFive}" description="5"/>
|
||||
<option key="${uiLabelMap.WorkEffortPrioritySix}" description="6"/>
|
||||
<option key="${uiLabelMap.WorkEffortPrioritySeventh}" description="7"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityEight}" description="8"/>
|
||||
<option key="${uiLabelMap.WorkEffortPriorityNine}" description="9"/>
|
||||
<option key="1" description="${uiLabelMap.WorkEffortPriorityOne}"/>
|
||||
<option key="2" description="${uiLabelMap.WorkEffortPriorityTwo}"/>
|
||||
<option key="3" description="${uiLabelMap.WorkEffortPriorityThree}"/>
|
||||
<option key="4" description="${uiLabelMap.WorkEffortPriorityFour}"/>
|
||||
<option key="5" description="${uiLabelMap.WorkEffortPriorityFive}"/>
|
||||
<option key="6" description="${uiLabelMap.WorkEffortPrioritySix}"/>
|
||||
<option key="7" description="${uiLabelMap.WorkEffortPrioritySeventh}"/>
|
||||
<option key="8" description="${uiLabelMap.WorkEffortPriorityEight}"/>
|
||||
<option key="9" description="${uiLabelMap.WorkEffortPriorityNine}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="priority" use-when="statusId.equals("CRQ_COMPLETED")"><display/></field>
|
||||
|
||||
@@ -206,10 +206,10 @@ under the License.
|
||||
</field>
|
||||
<field name="roleTypeId">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.WorkEffortRequestingParty}" description="REQ_REQUESTER"/>
|
||||
<option key="${uiLabelMap.OrderAgent}" description="AGENT"/>
|
||||
<option key="${uiLabelMap.WorkEffortRequestTaker}" description="REQ_TAKER"/>
|
||||
<option key="${uiLabelMap.WorkEffortRequestManager}" description="REQ_MANAGER"/>
|
||||
<option key="REQ_REQUESTER" description="${uiLabelMap.WorkEffortRequestingParty}"/>
|
||||
<option key="AGENT" description="${uiLabelMap.OrderAgent}"/>
|
||||
<option key="REQ_TAKER" description="${uiLabelMap.WorkEffortRequestTaker}"/>
|
||||
<option key="REQ_MANAGER" description="${uiLabelMap.WorkEffortRequestManager}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<!--
|
||||
@@ -398,8 +398,8 @@ under the License.
|
||||
<!--
|
||||
<field name="isPromo" title="${uiLabelMap.OrderOrderIsPromo}">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonN}" description="N"/>
|
||||
<option key="${uiLabelMap.CommonY}" description="Y"/>
|
||||
<option key="N" description="${uiLabelMap.CommonN}"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonY}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
-->
|
||||
|
||||
@@ -188,22 +188,22 @@ under the License.
|
||||
<form name="EditOrderByCustomer" extends="CommonPortletEdit" extends-resource="component://common/widget/PortletEditForms.xml">
|
||||
<field name="statusId">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonCreated}" description="ORDER_CREATED"/>
|
||||
<option key="${uiLabelMap.CommonProcessing}" description="ORDER_PROCESSING"/>
|
||||
<option key="${uiLabelMap.CommonApproved}" description="ORDER_APPROVED"/>
|
||||
<option key="${uiLabelMap.CommonSent}" description="ORDER_SENT"/>
|
||||
<option key="${uiLabelMap.CommonHeld}" description="ORDER_HELD"/>
|
||||
<option key="${uiLabelMap.CommonCompleted}" description="ORDER_COMPLETED"/>
|
||||
<option key="${uiLabelMap.CommonRejected}" description="ORDER_REJECTED"/>
|
||||
<option key="${uiLabelMap.CommonCancelled}" description="ORDER_CANDELLED"/>
|
||||
<option key="ORDER_CREATED" description="${uiLabelMap.CommonCreated}"/>
|
||||
<option key="ORDER_PROCESSING" description="${uiLabelMap.CommonProcessing}"/>
|
||||
<option key="ORDER_APPROVED" description="${uiLabelMap.CommonApproved}"/>
|
||||
<option key="ORDER_SENT" description="${uiLabelMap.CommonSent}"/>
|
||||
<option key="ORDER_HELD" description="${uiLabelMap.CommonHeld}"/>
|
||||
<option key="ORDER_COMPLETED" description="${uiLabelMap.CommonCompleted}"/>
|
||||
<option key="ORDER_REJECTED" description="${uiLabelMap.CommonRejected}"/>
|
||||
<option key="ORDER_CANDELLED" description="${uiLabelMap.CommonCancelled}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="roleTypeId">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.MyPortalPlacingCustomer}" description="PLACING_CUSTOMER"/>
|
||||
<option key="${uiLabelMap.MyPortalShipToCustomer}" description="SHIP_TO_CUSTOMER"/>
|
||||
<option key="${uiLabelMap.MyPortalEndUserCustomer}" description="END_USER_CUSTOMER"/>
|
||||
<option key="${uiLabelMap.MyPortalBillToCustomer}" description="BILL_TO_CUSTOMER"/>
|
||||
<option key="PLACING_CUSTOMER" description="${uiLabelMap.MyPortalPlacingCustomer}"/>
|
||||
<option key="SHIP_TO_CUSTOMER" description="${uiLabelMap.MyPortalShipToCustomer}"/>
|
||||
<option key="END_USER_CUSTOMER" description="${uiLabelMap.MyPortalEndUserCustomer}"/>
|
||||
<option key="BILL_TO_CUSTOMER" description="${uiLabelMap.MyPortalBillToCustomer}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="updateButton"><submit/></field>
|
||||
@@ -262,8 +262,8 @@ under the License.
|
||||
<field name="note" title="${uiLabelMap.OrderNote}"><textarea rows="5" cols="70"/></field>
|
||||
<field name="internalNote" title="${uiLabelMap.OrderInternalNote}" tooltip="${uiLabelMap.OrderInternalNoteMessage}">
|
||||
<drop-down allow-empty="true" no-current-selected-key="Y">
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonYes}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNo}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
||||
|
||||
@@ -272,8 +272,8 @@ under the License.
|
||||
<!--
|
||||
<field name="isPromo" title="${uiLabelMap.OrderOrderIsPromo}">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonN}" description="N"/>
|
||||
<option key="${uiLabelMap.CommonY}" description="Y"/>
|
||||
<option key="N" description="${uiLabelMap.CommonN}"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonY}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
-->
|
||||
|
||||
@@ -109,8 +109,8 @@ under the License.
|
||||
</field>
|
||||
<field name="orderTypeId">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.OrderSalesOrder}" description="SALES_ORDER"/>
|
||||
<option key="${uiLabelMap.OrderPurchaseOrder}" description="PURCHASE_ORDER"/>
|
||||
<option key="SALES_ORDER" description="${uiLabelMap.OrderSalesOrder}"/>
|
||||
<option key="PURCHASE_ORDER" description="${uiLabelMap.OrderPurchaseOrder}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="orderStatusId">
|
||||
|
||||
@@ -49,7 +49,7 @@ under the License.
|
||||
</if-compare>
|
||||
|
||||
<if-empty field="newEntity">
|
||||
<make-value entity-name="CommunicationEvent" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="CommunicationEvent"/>
|
||||
</if-empty>
|
||||
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
@@ -195,13 +195,13 @@ under the License.
|
||||
</if-compare>
|
||||
|
||||
<if-not-empty field="parameters.productId">
|
||||
<make-value entity-name="CommunicationEventProduct" value-field="eventProduct"/>
|
||||
<make-value value-field="eventProduct" entity-name="CommunicationEventProduct"/>
|
||||
<set from-field="parameters.productId" field="eventProduct.productId"/>
|
||||
<set from-field="newEntity.communicationEventId" field="eventProduct.communicationEventId"/>
|
||||
<create-value value-field="eventProduct"/>
|
||||
</if-not-empty>
|
||||
<if-not-empty field="parameters.orderId">
|
||||
<make-value entity-name="CommunicationEventOrder" value-field="eventOrder"/>
|
||||
<make-value value-field="eventOrder" entity-name="CommunicationEventOrder"/>
|
||||
<set from-field="parameters.orderId" field="eventOrder.orderId"/>
|
||||
<set from-field="newEntity.communicationEventId" field="eventOrder.communicationEventId"/>
|
||||
<create-value value-field="eventOrder"/>
|
||||
@@ -426,7 +426,7 @@ under the License.
|
||||
<set field="partyRole.userLogin" from-field="sysUserLogin"/>
|
||||
<call-service service-name="ensurePartyRole" in-map-name="partyRole" include-user-login="false"/>
|
||||
|
||||
<make-value entity-name="CommunicationEventRole" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="CommunicationEventRole"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="newEntity.statusId">
|
||||
|
||||
@@ -21,7 +21,7 @@ under the License.
|
||||
<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
|
||||
<simple-method method-name="createContactMech" short-description="Create Contact Mechanism">
|
||||
<make-value entity-name="ContactMech" value-field="newValue"/>
|
||||
<make-value value-field="newValue" entity-name="ContactMech"/>
|
||||
<if-empty field="parameters.contactMechId">
|
||||
<sequenced-id sequence-name="ContactMech" field="newValue.contactMechId"/>
|
||||
<else>
|
||||
|
||||
@@ -169,7 +169,7 @@ under the License.
|
||||
</if-empty>
|
||||
|
||||
<set-service-fields service-name="createPostalAddress" map="parameters" to-map="createPostalAddressMap"/>
|
||||
<call-service service-name="createPostalAddress" in-map-name="createPostalAddressMap">
|
||||
<call-service in-map-name="createPostalAddressMap" service-name="createPostalAddress">
|
||||
<default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/>
|
||||
<result-to-field result-name="contactMechId" field="newPartyContactMech.contactMechId"/>
|
||||
</call-service>
|
||||
@@ -193,7 +193,7 @@ under the License.
|
||||
</if-empty>
|
||||
|
||||
<set-service-fields service-name="updatePostalAddress" map="parameters" to-map="updatePostalAddressMap"/>
|
||||
<call-service service-name="updatePostalAddress" in-map-name="updatePostalAddressMap">
|
||||
<call-service in-map-name="updatePostalAddressMap" service-name="updatePostalAddress">
|
||||
<default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyUpdated"/>
|
||||
<result-to-field result-name="contactMechId" field="newPartyContactMech.contactMechId"/>
|
||||
</call-service>
|
||||
@@ -216,7 +216,7 @@ under the License.
|
||||
|
||||
<log level="info" message="Creating telecom number"/>
|
||||
<set-service-fields service-name="createTelecomNumber" map="parameters" to-map="createTelecomNumberMap"/>
|
||||
<call-service service-name="createTelecomNumber" in-map-name="createTelecomNumberMap">
|
||||
<call-service in-map-name="createTelecomNumberMap" service-name="createTelecomNumber">
|
||||
<default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
|
||||
<result-to-field result-name="contactMechId" field="newPartyContactMech.contactMechId"/>
|
||||
</call-service>
|
||||
@@ -250,7 +250,7 @@ under the License.
|
||||
<set field="updatePartyContactMechMap.contactMechTypeId" value="TELECOM_NUMBER"/>
|
||||
<log level="info" message="Copied id to updatePartyContactMechMap: ${updatePartyContactMechMap.newContactMechId}"/>
|
||||
|
||||
<call-service service-name="updatePartyContactMech" in-map-name="updatePartyContactMechMap">
|
||||
<call-service in-map-name="updatePartyContactMechMap" service-name="updatePartyContactMech">
|
||||
<default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyUpdated"/>
|
||||
</call-service>
|
||||
<log level="info" message="Setting result id: ${newPartyContactMech.contactMechId}"/>
|
||||
|
||||
@@ -27,7 +27,7 @@ under the License.
|
||||
<set field="parameters.partyId" from-field="userLogin.partyId"/>
|
||||
</if-empty>
|
||||
|
||||
<make-value entity-name="PartyNameHistory" value-field="partyNameHistory"/>
|
||||
<make-value value-field="partyNameHistory" entity-name="PartyNameHistory"/>
|
||||
<set-pk-fields value-field="partyNameHistory" map="parameters"/>
|
||||
<now-timestamp field="partyNameHistory.changeDate"/>
|
||||
|
||||
@@ -203,7 +203,7 @@ under the License.
|
||||
<!-- lookup existing value -->
|
||||
<entity-one entity-name="PartyProfileDefault" value-field="partyProfileDefault"/>
|
||||
<if-empty field="partyProfileDefault">
|
||||
<make-value entity-name="PartyProfileDefault" value-field="partyProfileDefault"/>
|
||||
<make-value value-field="partyProfileDefault" entity-name="PartyProfileDefault"/>
|
||||
<set-pk-fields value-field="partyProfileDefault" map="parameters"/>
|
||||
<create-value value-field="partyProfileDefault"/>
|
||||
</if-empty>
|
||||
@@ -279,7 +279,7 @@ under the License.
|
||||
<set value="OWNER" field="contentRole.roleTypeId"/>
|
||||
<call-service service-name="createContentRole" in-map-name="contentRole" break-on-error="false"/>
|
||||
<!-- check party role -->
|
||||
<make-value entity-name="PartyRole" value-field="partyRole"/>
|
||||
<make-value value-field="partyRole" entity-name="PartyRole"/>
|
||||
<set-pk-fields value-field="partyRole" map="contentRole"/>
|
||||
<find-by-and entity-name="PartyRole" map="partyRole" list="pRoles"/>
|
||||
<if-empty field="pRoles">
|
||||
@@ -811,7 +811,7 @@ under the License.
|
||||
</entity-and>
|
||||
|
||||
<if-empty field="partyRels">
|
||||
<make-value entity-name="PartyRelationship" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="PartyRelationship"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
|
||||
@@ -137,7 +137,7 @@ under the License.
|
||||
</call-service>
|
||||
|
||||
<now field="nowTimestamp"/>
|
||||
<make-value entity-name="PartyGeoPoint" value-field="partyGeoPoint"/>
|
||||
<make-value value-field="partyGeoPoint" entity-name="PartyGeoPoint"/>
|
||||
<set field="partyGeoPoint.partyId" from-field="parameters.partyId"/>
|
||||
<set field="partyGeoPoint.geoPointId" from-field="geoPointId"/>
|
||||
<set field="partyGeoPoint.fromDate" from-field="nowTimestamp"/>
|
||||
|
||||
@@ -21,7 +21,7 @@ under the License.
|
||||
<simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
|
||||
<simple-method method-name="updateAVSOverride" short-description="Create/Update The AVS Override String">
|
||||
<make-value entity-name="PartyIcsAvsOverride" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="PartyIcsAvsOverride"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="PartyIcsAvsOverride" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<if-not-empty field="lookedUpValue.partyId">
|
||||
@@ -35,7 +35,7 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="deleteAVSOverride" short-description="Delete The AVS Override String">
|
||||
<make-value entity-name="PartyIcsAvsOverride" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="PartyIcsAvsOverride"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="PartyIcsAvsOverride" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<if-not-empty field="lookedUpValue.partyId">
|
||||
@@ -79,7 +79,7 @@ under the License.
|
||||
<if-not-empty field="lookupPKMap.partyId">
|
||||
<find-by-primary-key entity-name="PartyRole" map="lookupPKMap" value-field="lookedUpValue" use-cache="true"/>
|
||||
<if-empty field="lookedUpValue">
|
||||
<make-value entity-name="PartyRole" value-field="partyRole" map="lookupPKMap"/>
|
||||
<make-value value-field="partyRole" entity-name="PartyRole" map="lookupPKMap"/>
|
||||
<create-value value-field="partyRole"/>
|
||||
</if-empty>
|
||||
</if-not-empty>
|
||||
|
||||
@@ -922,7 +922,7 @@ under the License.
|
||||
</request-map>
|
||||
<request-map uri="uploadParty">
|
||||
<security auth="true" https="true"/>
|
||||
<event type="service" invoke="importParty" path=""/>
|
||||
<event invoke="importParty" path="" type="service"/>
|
||||
<response name="success" type="request" value="ImportExport"/>
|
||||
<response name="error" type="view" value="ImportExport"/>
|
||||
</request-map>
|
||||
|
||||
@@ -75,7 +75,7 @@ under the License.
|
||||
</and>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="ProfileTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="ProfileTabBar"/>
|
||||
</widgets>
|
||||
</section>
|
||||
</decorator-section>
|
||||
@@ -89,7 +89,7 @@ under the License.
|
||||
<section>
|
||||
<condition><not><if-empty field="partyId"/></not></condition>
|
||||
<widgets>
|
||||
<include-menu name="ProfileSubTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="ProfileSubTabBar"/>
|
||||
<container style="clear"/>
|
||||
<container style="page-title">
|
||||
<section>
|
||||
|
||||
@@ -755,22 +755,22 @@ under the License.
|
||||
<field name="sequenceNum"><text/></field>
|
||||
<field name="drMimeTypeId" widget-style="smallSelect">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.ContentMSWord}" description="application/msword"/>
|
||||
<option key="${uiLabelMap.ContentPDFFile}" description="application/pdf"/>
|
||||
<option key="${uiLabelMap.ContentSurvey}" description="application/vnd.ofbiz.survey"/>
|
||||
<option key="${uiLabelMap.ContentHtmlText}" description="text/html"/>
|
||||
<option key="${uiLabelMap.ContentPlainText}" description="text/plain"/>
|
||||
<option key="${uiLabelMap.ContentJPEG}" description="image/jpeg"/>
|
||||
<option key="${uiLabelMap.ContentGIF}" description="image/gif"/>
|
||||
<option key="${uiLabelMap.ContentTIFF}" description="image/tiff"/>
|
||||
<option key="${uiLabelMap.ContentPNG}" description="image/png"/>
|
||||
<option key="${uiLabelMap.ContentResourceOther}" description="application/octet-stream"/>
|
||||
<option key="application/msword" description="${uiLabelMap.ContentMSWord}"/>
|
||||
<option key="application/pdf" description="${uiLabelMap.ContentPDFFile}"/>
|
||||
<option key="application/vnd.ofbiz.survey" description="${uiLabelMap.ContentSurvey}"/>
|
||||
<option key="text/html" description="${uiLabelMap.ContentHtmlText}"/>
|
||||
<option key="text/plain" description="${uiLabelMap.ContentPlainText}"/>
|
||||
<option key="image/jpeg" description="${uiLabelMap.ContentJPEG}"/>
|
||||
<option key="image/gif" description="${uiLabelMap.ContentGIF}"/>
|
||||
<option key="image/tiff" description="${uiLabelMap.ContentTIFF}"/>
|
||||
<option key="image/png" description="${uiLabelMap.ContentPNG}"/>
|
||||
<option key="application/octet-stream" description="${uiLabelMap.ContentResourceOther}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="drIsPublic" title="${uiLabelMap.PartyIsPublic}">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonY}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonN}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonY}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonN}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field>
|
||||
@@ -788,22 +788,22 @@ under the License.
|
||||
<field name="sequenceNum"><text/></field>
|
||||
<field name="drMimeTypeId">
|
||||
<drop-down allow-empty="false">
|
||||
<option key="${uiLabelMap.ContentMSWord}" description="application/msword"/>
|
||||
<option key="${uiLabelMap.ContentPDFFile}" description="application/pdf"/>
|
||||
<option key="${uiLabelMap.ContentSurvey}" description="application/vnd.ofbiz.survey"/>
|
||||
<option key="${uiLabelMap.ContentHtmlText}" description="text/html"/>
|
||||
<option key="${uiLabelMap.ContentPlainText}" description="text/plain"/>
|
||||
<option key="${uiLabelMap.ContentJPEG}" description="image/jpeg"/>
|
||||
<option key="${uiLabelMap.ContentGIF}" description="image/gif"/>
|
||||
<option key="${uiLabelMap.ContentTIFF}" description="image/tiff"/>
|
||||
<option key="${uiLabelMap.ContentPNG}" description="image/png"/>
|
||||
<option key="${uiLabelMap.ContentResourceOther}" description="application/octet-stream"/>
|
||||
<option key="application/msword" description="${uiLabelMap.ContentMSWord}"/>
|
||||
<option key="application/pdf" description="${uiLabelMap.ContentPDFFile}"/>
|
||||
<option key="application/vnd.ofbiz.survey" description="${uiLabelMap.ContentSurvey}"/>
|
||||
<option key="text/html" description="${uiLabelMap.ContentHtmlText}"/>
|
||||
<option key="text/plain" description="${uiLabelMap.ContentPlainText}"/>
|
||||
<option key="image/jpeg" description="${uiLabelMap.ContentJPEG}"/>
|
||||
<option key="image/gif" description="${uiLabelMap.ContentGIF}"/>
|
||||
<option key="image/tiff" description="${uiLabelMap.ContentTIFF}"/>
|
||||
<option key="image/png" description="${uiLabelMap.ContentPNG}"/>
|
||||
<option key="application/octet-stream" description="${uiLabelMap.ContentResourceOther}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="drIsPublic" title="${uiLabelMap.PartyIsPublic}">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonY}" description="Y"/>
|
||||
<option key="${uiLabelMap.CommonN}" description="N"/>
|
||||
<option key="Y" description="${uiLabelMap.CommonY}"/>
|
||||
<option key="N" description="${uiLabelMap.CommonN}"/>
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="dataResourceTypeId" entry-name="drDataResourceTypeId">
|
||||
@@ -974,8 +974,8 @@ under the License.
|
||||
</field>
|
||||
<field name="internalNotesOnly">
|
||||
<drop-down>
|
||||
<option key="${uiLabelMap.CommonFalse}" description="false"/>
|
||||
<option key="${uiLabelMap.CommonTrue}" description="true"/>
|
||||
<option key="false" description="${uiLabelMap.CommonFalse}"/>
|
||||
<option key="true" description="${uiLabelMap.CommonTrue}"/>
|
||||
</drop-down></field>
|
||||
<field name="updateButton"><submit/></field>
|
||||
</form>
|
||||
|
||||
@@ -34,8 +34,8 @@ under the License.
|
||||
<if-has-permission permission="PARTYMGR" action="_VIEW"/>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="CommEventTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu name="CommSubTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="CommEventTabBar"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="CommSubTabBar"/>
|
||||
</widgets>
|
||||
</section>
|
||||
</decorator-section>
|
||||
@@ -65,8 +65,8 @@ under the License.
|
||||
<widgets>
|
||||
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
||||
<decorator-section name="pre-body">
|
||||
<include-menu name="CommEventTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu name="CommSubTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="CommEventTabBar"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="CommSubTabBar"/>
|
||||
</decorator-section>
|
||||
<decorator-section name="body">
|
||||
<section>
|
||||
@@ -110,10 +110,10 @@ under the License.
|
||||
<not><if-empty field="partyId"/></not>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="ProfileTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="ProfileTabBar"/>
|
||||
</widgets>
|
||||
</section>
|
||||
<include-menu name="CommFindTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="CommFindTabBar"/>
|
||||
<container><label style="h1" text="${uiLabelMap.PartyPendingCommunicationEvents}"/></container>
|
||||
<container>
|
||||
<link style="smallSubmit" target="ViewCommunicationEvent" text="${uiLabelMap.PartyNewCommunication}">
|
||||
@@ -769,7 +769,7 @@ under the License.
|
||||
<not><if-empty field="partyId"/></not>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="ProfileTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="ProfileTabBar"/>
|
||||
</widgets>
|
||||
</section>
|
||||
<container style="h1"><label text="${uiLabelMap.PageTitleEditCommContent}"/></container>
|
||||
@@ -868,7 +868,7 @@ under the License.
|
||||
<set field="partyIdFrom" from-field="parameters.partyId" default-value="${userLogin.partyId}"/>
|
||||
</actions>
|
||||
<widgets>
|
||||
<include-menu name="MyCommSubTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="MyCommSubTabBar"/>
|
||||
<include-screen name="commOverview"/>
|
||||
</widgets>
|
||||
</section>
|
||||
|
||||
@@ -65,7 +65,7 @@ under the License.
|
||||
<if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="PartyClassificationTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="PartyClassificationTabBar"/>
|
||||
</widgets>
|
||||
</section>
|
||||
</decorator-section>
|
||||
@@ -136,7 +136,7 @@ under the License.
|
||||
<if-service-permission service-name="partyBasePermissionCheck" main-action="VIEW"/>
|
||||
</condition>
|
||||
<widgets>
|
||||
<include-menu name="PartyClassificationTabBar" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="PartyClassificationTabBar"/>
|
||||
</widgets>
|
||||
</section>
|
||||
</decorator-section>
|
||||
|
||||
@@ -32,10 +32,10 @@ under the License.
|
||||
<field name="noConditionFind"><hidden value="Y"/></field>
|
||||
<field name="extInfo" event="onClick" action="javascript:$('#ListParty' + this.value +'_body').toggle(true);collapseFindPartyOptions('ListParty' + this.value +'_body');" title="${uiLabelMap.PartyContactInformation}">
|
||||
<radio>
|
||||
<option key="${uiLabelMap.CommonNone}" description="N"/>
|
||||
<option key="${uiLabelMap.PartyPostal}" description="P"/>
|
||||
<option key="${uiLabelMap.PartyTelecom}" description="T"/>
|
||||
<option key="${uiLabelMap.CommonOther}" description="O"/>
|
||||
<option key="N" description="${uiLabelMap.CommonNone}"/>
|
||||
<option key="P" description="${uiLabelMap.PartyPostal}"/>
|
||||
<option key="T" description="${uiLabelMap.PartyTelecom}"/>
|
||||
<option key="O" description="${uiLabelMap.CommonOther}"/>
|
||||
</radio>
|
||||
</field>
|
||||
<field name="hideFields"><hidden value="Y"/></field>
|
||||
@@ -197,17 +197,17 @@ under the License.
|
||||
<field name="lastName" title="${uiLabelMap.PartyLastName}" required-field="true"><text size="40" maxlength="60"/></field>
|
||||
<field name="gender">
|
||||
<drop-down allow-empty="true">
|
||||
<option key="${uiLabelMap.CommonMale}" description="M"/>
|
||||
<option key="${uiLabelMap.CommonFemale}" description="F"/>
|
||||
<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="${uiLabelMap.PartyMaritalStatusSingle}" description="S"/>
|
||||
<option key="${uiLabelMap.PartyMaritalStatusMarried}" description="M"/>
|
||||
<option key="${uiLabelMap.PartyMaritalStatusSeparated}" description="P"/>
|
||||
<option key="${uiLabelMap.PartyMaritalStatusDivorced}" description="D"/>
|
||||
<option key="${uiLabelMap.PartyMaritalStatusWidowed}" description="W"/>
|
||||
<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">
|
||||
@@ -227,7 +227,7 @@ under the License.
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="existingCustomer">
|
||||
<drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<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}">
|
||||
@@ -352,7 +352,7 @@ under the License.
|
||||
<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="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<drop-down allow-empty="false" no-current-selected-key="N"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
|
||||
</field>
|
||||
<field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field>
|
||||
<field name="cancelLink" title=" " widget-style="smallSubmit"><hyperlink description="${uiLabelMap.CommonCancelDone}" target="backHome" also-hidden="false"/></field>
|
||||
@@ -479,10 +479,10 @@ under the License.
|
||||
</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="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<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="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<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>
|
||||
@@ -510,10 +510,10 @@ under the License.
|
||||
</hyperlink>
|
||||
</field>
|
||||
<field name="isExempt">
|
||||
<drop-down allow-empty="false"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<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="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<drop-down allow-empty="false"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
|
||||
</field>
|
||||
</form>
|
||||
|
||||
@@ -620,35 +620,35 @@ under the License.
|
||||
</drop-down>
|
||||
</field>
|
||||
<field name="USER_ADDRESS_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowAddressSolicitation}?">
|
||||
<drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down>
|
||||
<drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down>
|
||||
</field>
|
||||
<field name="HomePhoneTitle" title="${uiLabelMap.PartyHomePhone}" title-area-style="group-label" widget-style="tooltip"><display description="${uiLabelMap.PartyPhoneNumberRequired}" also-hidden="false"/></field>
|
||||
<field name="USER_HOME_COUNTRY" title="${uiLabelMap.CommonCountryCode}"><text size="4" maxlength="10"/></field>
|
||||
<field name="USER_HOME_AREA" title="${uiLabelMap.PartyAreaCode}"><text size="4" maxlength="10"/></field>
|
||||
<field name="USER_HOME_CONTACT" title="${uiLabelMap.PartyPhoneNumber}"><text size="15" maxlength="15"/></field>
|
||||
<field name="USER_HOME_EXT" title="${uiLabelMap.PartyContactExt}"><text size="6" maxlength="10"/></field>
|
||||
<field name="USER_HOME_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="USER_HOME_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="WorkPhoneTitle" title="${uiLabelMap.PartyContactWorkPhoneNumber}" title-area-style="group-label"><display description=" " also-hidden="false"/></field>
|
||||
<field name="USER_WORK_COUNTRY" title="${uiLabelMap.CommonCountryCode}"><text size="4" maxlength="10"/></field>
|
||||
<field name="USER_WORK_AREA" title="${uiLabelMap.PartyAreaCode}"><text size="4" maxlength="10"/></field>
|
||||
<field name="USER_WORK_CONTACT" title="${uiLabelMap.PartyPhoneNumber}"><text size="15" maxlength="15"/></field>
|
||||
<field name="USER_WORK_EXT" title="${uiLabelMap.PartyContactExt}"><text size="6" maxlength="10"/></field>
|
||||
<field name="USER_WORK_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="USER_WORK_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="FaxPhoneTitle" title="${uiLabelMap.PartyContactFaxPhoneNumber}" title-area-style="group-label"><display description=" " also-hidden="false"/></field>
|
||||
<field name="USER_FAX_COUNTRY" title="${uiLabelMap.CommonCountryCode}"><text size="4" maxlength="10"/></field>
|
||||
<field name="USER_FAX_AREA" title="${uiLabelMap.PartyAreaCode}"><text size="4" maxlength="10"/></field>
|
||||
<field name="USER_FAX_CONTACT" title="${uiLabelMap.PartyPhoneNumber}"><text size="15" maxlength="15"/></field>
|
||||
<field name="USER_FAX_EXT" title="${uiLabelMap.PartyContactExt}"><text size="6" maxlength="10"/></field>
|
||||
<field name="USER_FAX_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="USER_FAX_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="MobilePhoneTitle" title="${uiLabelMap.PartyContactMobilePhoneNumber}" title-area-style="group-label"><display description=" " also-hidden="false"/></field>
|
||||
<field name="USER_MOBILE_COUNTRY" title="${uiLabelMap.CommonCountryCode}"><text size="4" maxlength="10"/></field>
|
||||
<field name="USER_MOBILE_AREA" title="${uiLabelMap.PartyAreaCode}"><text size="4" maxlength="10"/></field>
|
||||
<field name="USER_MOBILE_CONTACT" title="${uiLabelMap.PartyPhoneNumber}"><text size="15" maxlength="15"/></field>
|
||||
<field name="USER_MOBILE_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="USER_MOBILE_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<field name="EmailAddressTitle" title="${uiLabelMap.PartyEmailAddress}" title-area-style="group-label"><display description=" " also-hidden="false"/></field>
|
||||
<field use-when="require_email!=null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" required-field="true"><text size="60" maxlength="250"/></field>
|
||||
<field use-when="require_email==null" name="USER_EMAIL" title="${uiLabelMap.CommonEmail}" required-field="true"><text size="60" maxlength="250"/></field>
|
||||
<field name="USER_EMAIL_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="${uiLabelMap.CommonY}" description="Y"/><option key="${uiLabelMap.CommonN}" description="N"/></drop-down></field>
|
||||
<field name="USER_EMAIL_ALLOW_SOL" title="${uiLabelMap.PartyContactAllowSolicitation}?"><drop-down allow-empty="true"><option key="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down></field>
|
||||
<!-- <field name="USER_ORDER_EMAIL" title="Order Emails (comma separated)" ><text size="60" maxlength="250"/></field> -->
|
||||
<field use-when="displayPassword=='Y'" name="USERNAME" title="${uiLabelMap.CommonUsername}" required-field="true"><text size="30" maxlength="250"/></field>
|
||||
<field use-when="displayPassword=='Y'" name="PASSWORD" title="${uiLabelMap.CommonPassword}" required-field="true"><password size="15" maxlength="250"/></field>
|
||||
@@ -812,8 +812,8 @@ under the License.
|
||||
</field>
|
||||
<field name="isPublic" title="${uiLabelMap.PartyIsPublic}" map-name="dataResource">
|
||||
<drop-down no-current-selected-key="N">
|
||||
<option key="${uiLabelMap.CommonNo}" description="N"/>
|
||||
<option key="${uiLabelMap.CommonYes}" description="Y"/>
|
||||
<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>
|
||||
|
||||
@@ -42,7 +42,7 @@ under the License.
|
||||
<widgets>
|
||||
<screenlet id="FindPartyPanel" title="${uiLabelMap.PartyFindParty}" navigation-menu-name="CreateNewParty"
|
||||
navigation-form-name="LookupParty" save-collapsed="false" collapsible="true" initially-collapsed="${initialyCollapsed}">
|
||||
<include-menu name="CreateNewParty" location="component://party/widget/partymgr/PartyMenus.xml"/>
|
||||
<include-menu location="component://party/widget/partymgr/PartyMenus.xml" name="CreateNewParty"/>
|
||||
<include-form name="LookupParty" location="component://party/widget/partymgr/PartyForms.xml"/>
|
||||
</screenlet>
|
||||
<screenlet title="${uiLabelMap.CommonSearchResults}" navigation-form-name="ListParty">
|
||||
|
||||
@@ -22,7 +22,7 @@ under the License.
|
||||
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
|
||||
<!-- ProductCategoryContent -->
|
||||
<simple-method method-name="createCategoryContent" short-description="Create Content For Product Category">
|
||||
<make-value entity-name="ProductCategoryContent" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductCategoryContent"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -41,7 +41,7 @@ under the License.
|
||||
<field-to-result field="newEntity.prodCatContentTypeId" result-name="prodCatContentTypeId"/>
|
||||
</simple-method>
|
||||
<simple-method method-name="updateCategoryContent" short-description="Update Content For Category">
|
||||
<make-value entity-name="ProductCategoryContent" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductCategoryContent"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductCategoryContent" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
|
||||
@@ -33,7 +33,7 @@ under the License.
|
||||
<check-errors/>
|
||||
|
||||
<now-timestamp field="nowTimestamp"/>
|
||||
<make-value entity-name="ProductCategory" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductCategory"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
<if-empty field="parameters.productCategoryId">
|
||||
@@ -67,7 +67,7 @@ under the License.
|
||||
</entity-and>
|
||||
<iterate list="productCategoryRoles" entry="productCategoryRole">
|
||||
<!-- add this new product to the category -->
|
||||
<make-value entity-name="ProductCategoryRollup" value-field="newLimitRollup"/>
|
||||
<make-value value-field="newLimitRollup" entity-name="ProductCategoryRollup"/>
|
||||
<set field="newLimitRollup.productCategoryId" from-field="newEntity.productCategoryId"/>
|
||||
<set field="newLimitRollup.parentProductCategoryId" from-field="productCategoryRole.productCategoryId"/>
|
||||
<set field="newLimitRollup.fromDate" from-field="nowTimestamp"/>
|
||||
@@ -145,7 +145,7 @@ under the License.
|
||||
<store-value value-field="product"/>
|
||||
</if-compare-field>
|
||||
|
||||
<make-value entity-name="ProductCategoryMember" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductCategoryMember"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductCategoryMember" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<remove-value value-field="lookedUpValue"/>
|
||||
@@ -161,7 +161,7 @@ under the License.
|
||||
<call-simple-method method-name="checkCategoryRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryRole" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductCategoryRole"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -177,7 +177,7 @@ under the License.
|
||||
<call-simple-method method-name="checkCategoryRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryRole" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductCategoryRole"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductCategoryRole" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
@@ -189,7 +189,7 @@ under the License.
|
||||
<call-simple-method method-name="checkCategoryRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryRole" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductCategoryRole"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductCategoryRole" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<remove-value value-field="lookedUpValue"/>
|
||||
@@ -207,7 +207,7 @@ under the License.
|
||||
<call-simple-method method-name="checkCategoryRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryRollup" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductCategoryRollup"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -227,7 +227,7 @@ under the License.
|
||||
<call-simple-method method-name="checkCategoryRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryRollup" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductCategoryRollup"/>
|
||||
<set field="newEntity.parentProductCategoryId" from-field="category"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
@@ -246,7 +246,7 @@ under the License.
|
||||
<call-simple-method method-name="checkCategoryRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryRollup" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductCategoryRollup"/>
|
||||
<set field="newEntity.parentProductCategoryId" from-field="parameters.categories"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
@@ -267,7 +267,7 @@ under the License.
|
||||
<call-simple-method method-name="checkCategoryRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryRollup" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductCategoryRollup"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductCategoryRollup" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
@@ -282,7 +282,7 @@ under the License.
|
||||
<call-simple-method method-name="checkCategoryRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryRollup" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductCategoryRollup"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductCategoryRollup" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<remove-value value-field="lookedUpValue"/>
|
||||
@@ -577,7 +577,7 @@ under the License.
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryAttribute" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductCategoryAttribute"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -590,7 +590,7 @@ under the License.
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryAttribute" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductCategoryAttribute"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductCategoryAttribute" map="lookupPKMap" value-field="ProductCategoryAttributeInstance"/>
|
||||
<set-nonpk-fields map="parameters" value-field="ProductCategoryAttributeInstance"/>
|
||||
@@ -603,7 +603,7 @@ under the License.
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryAttribute" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductCategoryAttribute"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductCategoryAttribute" map="lookupPKMap" value-field="ProductCategoryAttributeInstance"/>
|
||||
<remove-value value-field="ProductCategoryAttributeInstance"/>
|
||||
|
||||
@@ -23,7 +23,7 @@ under the License.
|
||||
<!-- ProductConfig methods -->
|
||||
<!-- Methods for Config Options -->
|
||||
<simple-method method-name="createProductConfigOption" short-description="Create a Config Option">
|
||||
<check-permission permission="CATALOG" action ="_CREATE">
|
||||
<check-permission action="_CREATE" permission="CATALOG">
|
||||
<fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/>
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
|
||||
@@ -22,7 +22,7 @@ under the License.
|
||||
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
|
||||
<!-- ProductConfigItemContent -->
|
||||
<simple-method method-name="createProductConfigItemContent" short-description="Create Content For ProductConfigItem">
|
||||
<make-value entity-name="ProdConfItemContent" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProdConfItemContent"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -41,7 +41,7 @@ under the License.
|
||||
<field-to-result field="newEntity.confItemContentTypeId" result-name="confItemContentTypeId"/>
|
||||
</simple-method>
|
||||
<simple-method method-name="updateProductConfigItemContent" short-description="Update Content For ProductConfigItem">
|
||||
<make-value entity-name="ProdConfItemContent" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProdConfItemContent"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
|
||||
@@ -45,7 +45,7 @@ under the License.
|
||||
<store-value value-field="existingCost"/>
|
||||
</iterate>
|
||||
<!-- The new cost is created -->
|
||||
<make-value entity-name="CostComponent" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="CostComponent"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<sequenced-id sequence-name="CostComponent" field="newEntity.costComponentId"/>
|
||||
<if-empty field="newEntity.fromDate">
|
||||
|
||||
@@ -75,7 +75,7 @@ under the License.
|
||||
</if>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductFeatureType" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductFeatureType"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -88,7 +88,7 @@ under the License.
|
||||
<fail-property resource="ProductUiLabels" property="ProductCatalogCreatePermissionError"/>
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
<make-value entity-name="ProductFeatureApplAttr" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductFeatureApplAttr"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-empty field="newEntity.fromDate">
|
||||
|
||||
@@ -147,7 +147,7 @@ under the License.
|
||||
</iterate>
|
||||
</if-not-empty>
|
||||
|
||||
<make-value entity-name="ProductContent" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductContent"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<remove-value value-field="lookedUpValue"/>
|
||||
|
||||
@@ -158,14 +158,14 @@ under the License.
|
||||
<field-map field-name="lotId" from-field="parameters.lotId" />
|
||||
</entity-and>
|
||||
<if-empty field="lotList">
|
||||
<make-value entity-name="Lot" value-field="lot"/>
|
||||
<make-value value-field="lot" entity-name="Lot"/>
|
||||
<set field="lot.lotId" from-field="parameters.lotId"/>
|
||||
<create-value value-field="lot"/>
|
||||
</if-empty>
|
||||
</if-not-empty>
|
||||
</if-compare>
|
||||
|
||||
<make-value entity-name="InventoryItem" value-field="inventoryItem"/>
|
||||
<make-value value-field="inventoryItem" entity-name="InventoryItem"/>
|
||||
<!-- TODO: make sure availableToPromiseTotal and quantityOnHandTotal are not changed -->
|
||||
<set-nonpk-fields map="parameters" value-field="inventoryItem"/>
|
||||
|
||||
@@ -308,7 +308,7 @@ under the License.
|
||||
<field-map field-name="lotId" from-field="parameters.lotId" />
|
||||
</entity-and>
|
||||
<if-empty field="lotList">
|
||||
<make-value entity-name="Lot" value-field="lot"/>
|
||||
<make-value value-field="lot" entity-name="Lot"/>
|
||||
<set field="lot.lotId" from-field="parameters.lotId"/>
|
||||
<create-value value-field="lot"/>
|
||||
</if-empty>
|
||||
@@ -339,7 +339,7 @@ under the License.
|
||||
<store-value value-field="oldInventoryItemStatus"/>
|
||||
</if-not-empty>
|
||||
|
||||
<make-value entity-name="InventoryItemStatus" value-field="inventoryItemStatus"/>
|
||||
<make-value value-field="inventoryItemStatus" entity-name="InventoryItemStatus"/>
|
||||
<set-nonpk-fields map="parameters" value-field="inventoryItemStatus"/>
|
||||
<set-pk-fields map="parameters" value-field="inventoryItemStatus"/>
|
||||
<set field="inventoryItemStatus.statusDatetime" from-field="nowTimestamp"/>
|
||||
@@ -355,7 +355,7 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="createInventoryItemDetail" short-description="Create an InventoryItemDetail">
|
||||
<make-value entity-name="InventoryItemDetail" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="InventoryItemDetail"/>
|
||||
|
||||
<set from-field="parameters.inventoryItemId" field="newEntity.inventoryItemId"/>
|
||||
<!-- NOTE DEJ20070927: not using make-next-seq-id because a single InventoryItem may see traffic from lots of threads at the same time, and make-next-seq-id doesn't do well with that <make-next-seq-id seq-field-name="inventoryItemDetailSeqId" value-field="newEntity" increment-by="1" numeric-padding="4"/> -->
|
||||
@@ -548,7 +548,7 @@ under the License.
|
||||
<simple-method method-name="createInventoryItemVariance" short-description="Create an InventoryItemVariance">
|
||||
|
||||
<!-- add changes to availableToPromise and quantityOnHand -->
|
||||
<make-value entity-name="InventoryItem" value-field="inventoryItemLookup"/>
|
||||
<make-value value-field="inventoryItemLookup" entity-name="InventoryItem"/>
|
||||
<set-pk-fields map="parameters" value-field="inventoryItemLookup"/>
|
||||
<find-by-primary-key map="inventoryItemLookup" value-field="inventoryItem"/>
|
||||
|
||||
@@ -566,7 +566,7 @@ under the License.
|
||||
<set from-field="parameters.comments" field="createDetailMap.description"/>
|
||||
<call-service service-name="createInventoryItemDetail" in-map-name="createDetailMap"/>
|
||||
|
||||
<make-value entity-name="InventoryItemVariance" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="InventoryItemVariance"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
@@ -899,7 +899,7 @@ under the License.
|
||||
<!-- Inventory Transfer Services -->
|
||||
<simple-method method-name="createInventoryTransfer" short-description="Create an Inventory Transfer">
|
||||
|
||||
<make-value entity-name="InventoryTransfer" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="InventoryTransfer"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<sequenced-id sequence-name="InventoryTransfer" field="newEntity.inventoryTransferId"/>
|
||||
<field-to-result field="newEntity.inventoryTransferId" result-name="inventoryTransferId"/>
|
||||
|
||||
@@ -32,7 +32,7 @@ under the License.
|
||||
|
||||
<call-simple-method method-name="inlineHandlePriceWithTaxIncluded"/>
|
||||
|
||||
<make-value entity-name="ProductPrice" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductPrice"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -167,7 +167,7 @@ under the License.
|
||||
<!-- TODO NMA convert to entity auto when changed fileds are managed -->
|
||||
<simple-method method-name="saveProductPriceChange" short-description="Save History of ProductPrice Change">
|
||||
<!-- Note that this is kept pretty simple: if a price is specific but no oldPrice, then it is generally a create, if both are specified it is generally an update, if only the oldPrice is specified it is generally a delete -->
|
||||
<make-value entity-name="ProductPriceChange" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductPriceChange"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
<sequenced-id sequence-name="ProductPriceChange" field="productPriceChangeId"/>
|
||||
@@ -192,7 +192,7 @@ under the License.
|
||||
<if-not-empty field="parameters.condValueInput">
|
||||
<set field="parameters.condValue" from-field="parameters.condValueInput"/>
|
||||
</if-not-empty>
|
||||
<make-value entity-name="ProductPriceCond" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductPriceCond"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<make-next-seq-id value-field="newEntity" seq-field-name="productPriceCondSeqId" numeric-padding="2"/>
|
||||
|
||||
@@ -23,7 +23,7 @@ under the License.
|
||||
<simple-method method-name="createCustomerDigitalDownloadProduct" short-description="createCustomerDigitalDownloadProduct">
|
||||
<now-timestamp field="nowTimestamp"/>
|
||||
|
||||
<make-value entity-name="Product" value-field="createProductMap"/>
|
||||
<make-value value-field="createProductMap" entity-name="Product"/>
|
||||
<sequenced-id sequence-name="Product" field="createProductMap.productId"/>
|
||||
<set field="productId" from-field="createProductMap.productId"/>
|
||||
|
||||
@@ -33,7 +33,7 @@ under the License.
|
||||
<set field="createProductMap.productTypeId" value="DIGITAL_GOOD"/>
|
||||
<create-value value-field="createProductMap"/>
|
||||
|
||||
<make-value entity-name="ProductPrice" value-field="createProductPriceMap"/>
|
||||
<make-value value-field="createProductPriceMap" entity-name="ProductPrice"/>
|
||||
<set field="createProductPriceMap.productId" from-field="productId"/>
|
||||
<set field="createProductPriceMap.productPriceTypeId" value="DEFAULT_PRICE"/>
|
||||
<set field="createProductPriceMap.productPricePurposeId" value="PURCHASE"/>
|
||||
@@ -43,7 +43,7 @@ under the License.
|
||||
<set field="createProductPriceMap.price" from-field="parameters.price"/>
|
||||
<create-value value-field="createProductPriceMap"/>
|
||||
|
||||
<make-value entity-name="SupplierProduct" value-field="createProductSupplierMap"/>
|
||||
<make-value value-field="createProductSupplierMap" entity-name="SupplierProduct"/>
|
||||
<set field="createProductSupplierMap.productId" from-field="productId"/>
|
||||
<set field="createProductSupplierMap.partyId" from-field="userLogin.partyId"/>
|
||||
<set field="createProductSupplierMap.currencyUomId" from-field="parameters.currencyUomId" default-value="USD"/>
|
||||
@@ -59,7 +59,7 @@ under the License.
|
||||
<!-- create association with ProductStore.digProdUploadCategoryId -->
|
||||
<entity-one entity-name="ProductStore" value-field="productStore"/>
|
||||
<if-not-empty field="productStore.digProdUploadCategoryId">
|
||||
<make-value entity-name="ProductCategoryMember" value-field="addProductToCategoryMap"/>
|
||||
<make-value value-field="addProductToCategoryMap" entity-name="ProductCategoryMember"/>
|
||||
<set field="addProductToCategoryMap.productId" from-field="productId"/>
|
||||
<set field="addProductToCategoryMap.productCategoryId" from-field="productStore.digProdUploadCategoryId"/>
|
||||
<create-value value-field="addProductToCategoryMap"/>
|
||||
@@ -168,7 +168,7 @@ under the License.
|
||||
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductContent" value-field="productContent"/>
|
||||
<make-value value-field="productContent" entity-name="ProductContent"/>
|
||||
<set field="productContent.productId" from-field="parameters.productId"/>
|
||||
<set field="productContent.contentId" from-field="parameters.contentId"/>
|
||||
<set field="productContent.productContentTypeId" value="DIGITAL_DOWNLOAD"/>
|
||||
|
||||
@@ -22,7 +22,7 @@ under the License.
|
||||
xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
|
||||
<!-- ProductContent -->
|
||||
<simple-method method-name="createProductContent" short-description="Create Content For Product">
|
||||
<make-value entity-name="ProductContent" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductContent"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -41,7 +41,7 @@ under the License.
|
||||
<field-to-result field="newEntity.productContentTypeId" result-name="productContentTypeId"/>
|
||||
</simple-method>
|
||||
<simple-method method-name="updateProductContent" short-description="Update Content For Product">
|
||||
<make-value entity-name="ProductContent" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductContent"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
@@ -51,7 +51,7 @@ under the License.
|
||||
<call-service service-name="updateContent" in-map-name="updateContent"/>
|
||||
</simple-method>
|
||||
<simple-method method-name="removeProductContent" short-description="Remove Content From Product">
|
||||
<make-value entity-name="ProductContent" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductContent"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<remove-value value-field="lookedUpValue"/>
|
||||
|
||||
@@ -27,7 +27,7 @@ under the License.
|
||||
</check-permission>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="Product" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="Product"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
<set from-field="parameters.productId" field="newEntity.productId"/>
|
||||
@@ -83,7 +83,7 @@ under the License.
|
||||
|
||||
<iterate list="productCategoryRoles" entry="productCategoryRole">
|
||||
<!-- add this new product to the category -->
|
||||
<make-value entity-name="ProductCategoryMember" value-field="newLimitMember"/>
|
||||
<make-value value-field="newLimitMember" entity-name="ProductCategoryMember"/>
|
||||
<set from-field="newEntity.productId" field="newLimitMember.productId"/>
|
||||
<set from-field="productCategoryRole.productCategoryId" field="newLimitMember.productCategoryId"/>
|
||||
<set from-field="nowTimestamp" field="newLimitMember.fromDate"/>
|
||||
@@ -420,7 +420,7 @@ under the License.
|
||||
<entity-one entity-name="ProductCalculatedInfo" value-field="productCalculatedInfo"/>
|
||||
<if-empty field="productCalculatedInfo">
|
||||
<!-- go ahead and create it -->
|
||||
<make-value entity-name="ProductCalculatedInfo" value-field="productCalculatedInfo"/>
|
||||
<make-value value-field="productCalculatedInfo" entity-name="ProductCalculatedInfo"/>
|
||||
<set from-field="parameters.productId" field="productCalculatedInfo.productId"/>
|
||||
<set from-field="parameters.weight" field="productCalculatedInfo.totalTimesViewed"/>
|
||||
<create-value value-field="productCalculatedInfo"/>
|
||||
@@ -447,7 +447,7 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="createProductReview" short-description="Create a ProductReview" login-required="false">
|
||||
<make-value entity-name="ProductReview" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductReview"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set from-field="userLogin.userLoginId" field="newEntity.userLoginId"/>
|
||||
<set value="PRR_PENDING" field="newEntity.statusId"/>
|
||||
@@ -486,7 +486,7 @@ under the License.
|
||||
<call-simple-method method-name="checkProductRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductReview" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductReview"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
@@ -509,7 +509,7 @@ under the License.
|
||||
<entity-one entity-name="ProductCalculatedInfo" value-field="productCalculatedInfo"/>
|
||||
<if-empty field="productCalculatedInfo">
|
||||
<!-- go ahead and create it -->
|
||||
<make-value entity-name="ProductCalculatedInfo" value-field="productCalculatedInfo"/>
|
||||
<make-value value-field="productCalculatedInfo" entity-name="ProductCalculatedInfo"/>
|
||||
<set from-field="productId" field="productCalculatedInfo.productId"/>
|
||||
<set from-field="averageCustomerRating" field="productCalculatedInfo.averageCustomerRating"/>
|
||||
<create-value value-field="productCalculatedInfo"/>
|
||||
@@ -745,7 +745,7 @@ under the License.
|
||||
<call-simple-method method-name="checkProductRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductRole" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductRole"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
@@ -761,7 +761,7 @@ under the License.
|
||||
<call-simple-method method-name="checkProductRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductRole" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductRole"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductRole" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
|
||||
@@ -773,7 +773,7 @@ under the License.
|
||||
<call-simple-method method-name="checkProductRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductRole" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="ProductRole"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="ProductRole" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<remove-value value-field="lookedUpValue"/>
|
||||
@@ -786,7 +786,7 @@ under the License.
|
||||
<call-simple-method method-name="checkProductRelatedPermission"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ProductCategoryGlAccount" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductCategoryGlAccount"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
|
||||
@@ -23,7 +23,7 @@ under the License.
|
||||
|
||||
<!-- ProductPromoCond methods -->
|
||||
<simple-method method-name="createProductPromoCond" short-description="Create an ProductPromoCond">
|
||||
<make-value entity-name="ProductPromoCond" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductPromoCond"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<if-not-empty field="parameters.carrierShipmentMethod">
|
||||
<set field="newEntity.otherValue" from-field="parameters.carrierShipmentMethod"/>
|
||||
|
||||
@@ -48,7 +48,7 @@ under the License.
|
||||
|
||||
<!-- now create the FacilityContactMechPurpose record -->
|
||||
<if-not-empty field="parameters.contactMechPurposeTypeId">
|
||||
<make-value entity-name="FacilityContactMechPurpose" value-field="facilityContactMechPurpose"/>
|
||||
<make-value value-field="facilityContactMechPurpose" entity-name="FacilityContactMechPurpose"/>
|
||||
<set-pk-fields map="newValue" value-field="facilityContactMechPurpose"/>
|
||||
<set field="facilityContactMechPurpose.contactMechPurposeTypeId" from-field="parameters.contactMechPurposeTypeId"/>
|
||||
<create-value value-field="facilityContactMechPurpose"/>
|
||||
@@ -72,9 +72,9 @@ under the License.
|
||||
</if-empty>
|
||||
<check-errors/>
|
||||
|
||||
<log level="info" message="parameters: ${parameters}"/>
|
||||
<log message="parameters: ${parameters}" level="info"/>
|
||||
<clone-value value-field="facilityContactMech" new-value-field="newFacilityContactMech"/>
|
||||
<log level="info" message="parameters: ${parameters}"/>
|
||||
<log message="parameters: ${parameters}" level="info"/>
|
||||
<!-- If we already have a new contactMechId don't update ContactMech -->
|
||||
<if-empty field="parameters.newContactMechId">
|
||||
<set-service-fields service-name="updateContactMech" map="parameters" to-map="updateContactMechMap"/>
|
||||
@@ -144,7 +144,7 @@ under the License.
|
||||
|
||||
<simple-method method-name="createFacilityPostalAddress" short-description="Create a PostalAddress for facility">
|
||||
<set-service-fields service-name="createPostalAddress" map="parameters" to-map="createPostalAddressMap"/>
|
||||
<call-service service-name="createPostalAddress" in-map-name="createPostalAddressMap">
|
||||
<call-service in-map-name="createPostalAddressMap" service-name="createPostalAddress">
|
||||
<default-message resource="PartyUiLabels" property="PartyPostalAddressSuccessfullyCreated"/>
|
||||
<result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
|
||||
</call-service>
|
||||
@@ -164,7 +164,7 @@ under the License.
|
||||
<simple-method method-name="updateFacilityPostalAddress" short-description="Update a PostalAddress for facility">
|
||||
<make-value entity-name="FacilityContactMech" value-field="newFacilityContactMech"/>
|
||||
<set-service-fields service-name="updatePostalAddress" map="parameters" to-map="updatePostalAddressMap"/>
|
||||
<call-service service-name="updatePostalAddress" in-map-name="updatePostalAddressMap">
|
||||
<call-service in-map-name="updatePostalAddressMap" service-name="updatePostalAddress">
|
||||
<default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
|
||||
<result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
|
||||
</call-service>
|
||||
@@ -184,7 +184,7 @@ under the License.
|
||||
<simple-method method-name="createFacilityTelecomNumber" short-description="Create a TelecomNumber for facility">
|
||||
<log level="info" message="Creating telecom number"/>
|
||||
<set-service-fields service-name="createTelecomNumber" map="parameters" to-map="createTelecomNumberMap"/>
|
||||
<call-service service-name="createTelecomNumber" in-map-name="createTelecomNumberMap">
|
||||
<call-service in-map-name="createTelecomNumberMap" service-name="createTelecomNumber">
|
||||
<default-message resource="PartyUiLabels" property="PartyTelecomNumberSuccessfullyCreated"/>
|
||||
<result-to-field result-name="contactMechId" field="newFacilityContactMech.contactMechId"/>
|
||||
</call-service>
|
||||
@@ -214,7 +214,7 @@ under the License.
|
||||
<set field="updateFacilityContactMechMap.contactMechTypeId" value="TELECOM_NUMBER"/>
|
||||
<log level="info" message="Copied id to updateFacilityContactMechMap: ${updateFacilityContactMechMap.newContactMechId}"/>
|
||||
|
||||
<call-service service-name="updateFacilityContactMech" in-map-name="updateFacilityContactMechMap">
|
||||
<call-service in-map-name="updateFacilityContactMechMap" service-name="updateFacilityContactMech">
|
||||
<default-message resource="PartyUiLabels" property="PartyContactMechanismSuccessfullyUpdated"/>
|
||||
</call-service>
|
||||
<log level="info" message="Setting result id: ${newFacilityContactMech.contactMechId}"/>
|
||||
@@ -278,7 +278,7 @@ under the License.
|
||||
</if-not-empty>
|
||||
|
||||
<now-timestamp field="nowTimestamp"/>
|
||||
<make-value entity-name="FacilityContactMechPurpose" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="FacilityContactMechPurpose"/>
|
||||
<set field="newEntity.facilityId" from-field="parameters.facilityId"/>
|
||||
<set field="newEntity.contactMechId" from-field="parameters.contactMechId"/>
|
||||
<set field="newEntity.contactMechPurposeTypeId" from-field="parameters.contactMechPurposeTypeId"/>
|
||||
|
||||
@@ -23,7 +23,7 @@ under the License.
|
||||
|
||||
<!-- Facility Location Services -->
|
||||
<simple-method method-name="createFacilityLocation" short-description="Create a Facility Location">
|
||||
<make-value entity-name="FacilityLocation" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="FacilityLocation"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<set field="newEntity.facilityId" from-field="parameters.facilityId"/>
|
||||
|
||||
@@ -63,14 +63,14 @@ under the License.
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="removePartyFromFacilityGroup" short-description="Remove Party From FacilityGroup">
|
||||
<make-value entity-name="FacilityGroupRole" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="FacilityGroupRole"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="FacilityGroupRole" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<remove-value value-field="lookedUpValue"/>
|
||||
</simple-method>
|
||||
|
||||
<simple-method method-name="deleteFacilityContent" short-description="Delete Content From Facility">
|
||||
<make-value entity-name="FacilityContent" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="FacilityContent"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key entity-name="FacilityContent" map="lookupPKMap" value-field="lookedUpValue"/>
|
||||
<now-timestamp field="lookedUpValue.thruDate"/>
|
||||
|
||||
@@ -49,7 +49,7 @@ under the License.
|
||||
<check-errors/>
|
||||
</if-compare>
|
||||
|
||||
<make-value entity-name="ProductStore" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ProductStore"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
|
||||
<sequenced-id sequence-name="ProductStore" field="productStoreId"/>
|
||||
@@ -62,7 +62,7 @@ under the License.
|
||||
<now-timestamp field="nowTimestamp"/>
|
||||
|
||||
<if-not-empty field="newEntity.inventoryFacilityId">
|
||||
<make-value entity-name="ProductStoreFacility" value-field="storeFacility"/>
|
||||
<make-value value-field="storeFacility" entity-name="ProductStoreFacility"/>
|
||||
<set from-field="newEntity.inventoryFacilityId" field="storeFacility.facilityId"/>
|
||||
<set from-field="newEntity.productStoreId" field="storeFacility.productStoreId"/>
|
||||
<set from-field="nowTimestamp" field="storeFacility.fromDate"/>
|
||||
@@ -119,7 +119,7 @@ under the License.
|
||||
</iterate>
|
||||
</if-compare>
|
||||
<!-- create the new entry -->
|
||||
<make-value entity-name="ProductStoreFacility" value-field="storeFacility"/>
|
||||
<make-value value-field="storeFacility" entity-name="ProductStoreFacility"/>
|
||||
<set from-field="store.inventoryFacilityId" field="storeFacility.facilityId"/>
|
||||
<set from-field="store.productStoreId" field="storeFacility.productStoreId"/>
|
||||
<set from-field="nowTimestamp" field="storeFacility.fromDate"/>
|
||||
|
||||
@@ -26,7 +26,7 @@ under the License.
|
||||
<call-simple-method method-name="checkCanChangeShipmentStatusPacked" xml-resource="component://product/minilang/shipment/shipment/ShipmentServices.xml"/>
|
||||
<check-errors/>
|
||||
|
||||
<make-value entity-name="ItemIssuance" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ItemIssuance"/>
|
||||
<sequenced-id sequence-name="ItemIssuance" field="newEntity.itemIssuanceId"/>
|
||||
<field-to-result field="newEntity.itemIssuanceId" result-name="itemIssuanceId"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
@@ -87,7 +87,7 @@ under the License.
|
||||
<set value="Create ItemIssuanceRole" field="operationName"/>
|
||||
<call-simple-method method-name="checkCanChangeShipmentStatusPacked" xml-resource="component://product/minilang/shipment/shipment/ShipmentServices.xml"/>
|
||||
<check-errors/>
|
||||
<make-value entity-name="ItemIssuanceRole" value-field="newEntity"/>
|
||||
<make-value value-field="newEntity" entity-name="ItemIssuanceRole"/>
|
||||
<set-pk-fields map="parameters" value-field="newEntity"/>
|
||||
<set-nonpk-fields map="parameters" value-field="newEntity"/>
|
||||
<create-value value-field="newEntity"/>
|
||||
|
||||
@@ -900,7 +900,7 @@ under the License.
|
||||
-->
|
||||
<simple-method method-name="editPicklistItem" short-description="Edit a Picklist Item">
|
||||
|
||||
<make-value entity-name="PicklistItem" value-field="lookupPKMap"/>
|
||||
<make-value value-field="lookupPKMap" entity-name="PicklistItem"/>
|
||||
<set-pk-fields map="parameters" value-field="lookupPKMap"/>
|
||||
<find-by-primary-key map="lookupPKMap" value-field="picklistItem"/>
|
||||
|
||||
@@ -1192,7 +1192,7 @@ under the License.
|
||||
A Map with a List of PicklistItemInfo records keyed by the productId
|
||||
-->
|
||||
<if-not-empty field="picklistItemInfo.inventoryItemAndLocation.locationSeqId">
|
||||
<make-value entity-name="FacilityLocation" value-field="facilityLocation" map="picklistItemInfo.inventoryItemAndLocation"/>
|
||||
<make-value value-field="facilityLocation" entity-name="FacilityLocation" map="picklistItemInfo.inventoryItemAndLocation"/>
|
||||
<set from-field="facilityLocation" field="facilityLocationByLocationSeqIdMap[facilityLocation.locationSeqId]"/>
|
||||
|
||||
<clear-field field="picklistItemInfoTempList"/>
|
||||
@@ -1550,12 +1550,12 @@ under the License.
|
||||
<!-- special method to check update the picklist status from the item status -->
|
||||
<simple-method method-name="checkPicklistBinItemStatuses" short-description="Checks the item status and updates the pick list status">
|
||||
<!-- find the picklist bin -->
|
||||
<make-value entity-name="PicklistBin" value-field="binLookup"/>
|
||||
<make-value value-field="binLookup" entity-name="PicklistBin"/>
|
||||
<set-pk-fields map="parameters" value-field="binLookup"/>
|
||||
<find-by-primary-key map="binLookup" value-field="picklistBin"/>
|
||||
|
||||
<!-- find the pick list -->
|
||||
<make-value entity-name="Picklist" value-field="plLookup"/>
|
||||
<make-value value-field="plLookup" entity-name="Picklist"/>
|
||||
<set-pk-fields map="picklistBin" value-field="plLookup"/>
|
||||
<find-by-primary-key map="plLookup" value-field="picklist"/>
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user