ilscipio/scipio-erp

View on GitHub
applications/accounting/widget/FieldLookupForms.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->

<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">

    <form name="lookupFixedAsset" target="LookupFixedAsset" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-entity entity-name="FixedAsset" default-field-type="hidden"/>
        <field name="fixedAssetId" title="${uiLabelMap.CommonId}"><text-find/></field>
        <field name="fixedAssetName" title="${uiLabelMap.CommonName}"><text-find/></field>
        <field name="fixedAssetTypeId" title="${uiLabelMap.CommonType}">
            <drop-down allow-empty="true">
                <entity-options entity-name="FixedAssetType" description="${description}">
                    <entity-order-by field-name="description"/>
                </entity-options>
             </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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    
    <form name="listLookupFixedAsset" list-name="listIt" title="" type="list" paginate-target="LookupFixedAsset"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="FixedAsset"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="fixedAssetId" title="uiLabelMap.CommonId" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${fixedAssetId}" target="javascript:set_value('${fixedAssetId}')"/>
        </field>
        <field name="fixedAssetName" title="${uiLabelMap.CommonName}"><display/></field>
        <field name="fixedAssetTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="FixedAssetType"/></field>
    </form>
    
    <form name="lookupBudget" target="LookupBudget" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-entity entity-name="Budget" default-field-type="hidden"/>
        <field name="budgetId"><text-find/></field>
        <field name="budgetTypeId" title="${uiLabelMap.CommonType}">
            <drop-down allow-empty="true">
                <entity-options entity-name="BudgetType" description="${description}">
                    <entity-order-by field-name="description"/>
                </entity-options>
             </drop-down>
        </field>
        <field name="customTimePeriodId"><text-find/></field>
        <field name="comments"><text-find/></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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    <form name="listLookupBudget" list-name="listIt" title="" type="list" paginate-target="LookupBudget"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="FixedAsset"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="fixedAssetId" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${fixedAssetId}" target="javascript:set_value('${fixedAssetId}')"/>
        </field>
        <field name="fixedAssetName" title="${uiLabelMap.CommonName}"><display/></field>
        <field name="fixedAssetTypeId" title="${uiLabelMap.AccountingFixedAssetTypeId}"><display-entity entity-name="FixedAssetType"/></field>
    </form>
    <form name="lookupBillingAccount" target="LookupBillingAccount" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-entity entity-name="BillingAccount" default-field-type="hidden"/>
        <field name="billingAccountId" title="${uiLabelMap.AccountingBillingAccountId}"><text-find/></field>
        <field name="description" title="${uiLabelMap.CommonDescription}"><text-find/></field>
        <field name="externalAccountId" title="${uiLabelMap.AccountingExternalAccountId}"><text-find/></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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    <form name="listBillingAccount" list-name="listIt" title="" type="list" paginate-target="LookupBillingAccount"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="BillingAccount"/>
                <field-map field-name="orderBy" value="billingAccountId"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="billingAccountId" title="${uiLabelMap.AccountingBillingAccountId}" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${billingAccountId}" target="javascript:set_value('${billingAccountId}')"/>
        </field>
        <field name="description"><display/></field>
        <field name="externalAccountId" title="${uiLabelMap.AccountingExternalAccountId}"><display/></field>
    </form>

    <form name="lookupGlAccount" target="LookupGlAccount" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-entity entity-name="GlAccount" default-field-type="hidden"/>
        <field name="glAccountId" title="${uiLabelMap.AccountingGlAccountId}"><text-find/></field>
        <field name="accountName" title="${uiLabelMap.CommonName}"><text-find/></field>
        <field name="glAccountTypeId" title="${uiLabelMap.CommonType}">
            <drop-down allow-empty="true">
                <entity-options entity-name="GlAccountType" description="${description}">
                    <entity-order-by field-name="description"/>
                </entity-options>
            </drop-down>
        </field>
        <field name="glAccountClassId" title="${uiLabelMap.CommonClass}">
            <drop-down allow-empty="true">
                <entity-options entity-name="GlAccountClass" description="${description}">
                    <entity-order-by field-name="description"/>
                </entity-options>
            </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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    <form name="listLookupGlAccount" list-name="listIt" title="" type="list" paginate-target="LookupGlAccount"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="GlAccount"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="glAccountId" title="${uiLabelMap.AccountingGlAccountId}" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${glAccountId}" target="javascript:set_value('${glAccountId}')"/>
        </field>
        <field name="accountName" title="${uiLabelMap.CommonName}"><display/></field>
        <field name="glAccountTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="GlAccountType"/></field>
        <field name="glAccountClassId" title="${uiLabelMap.AccountingGlAccountClass}"><display-entity entity-name="GlAccountClass"/></field>
    </form>
    <form name="lookupPayment" target="LookupPayment" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-entity entity-name="Payment" default-field-type="hidden"/>
        <field name="paymentId" title="${uiLabelMap.CommonPayment}"><text-find/></field>
        <field name="partyIdFrom"><lookup  target-form-name="LookupPartyName"/></field>
        <field name="partyIdTo"><lookup  target-form-name="LookupPartyName"/></field>
        <field name="amountApplied"><text-find default-value=""></text-find> </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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    <form name="listPayment" list-name="listIt" title="" type="list" paginate-target="LookupPayment"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="Payment"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="paymentId" title="${uiLabelMap.CommonPayment}" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${paymentId}" target="javascript:set_value('${paymentId}')"/>
        </field>
        <field name="partyIdFrom"><display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${lastName}[${partyId}]"/></field>
        <field name="partyIdTo"><display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${lastName}[${partyId}]"/></field>
        <field name="effectiveDate"><display/></field>
        <field name="amount" title="${uiLabelMap.CommonAmount}"><display/></field>
        <field name="currencyUomId"><display/></field>
    </form>

    <form name="lookupInvoice" target="LookupInvoice" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <!--auto-fields-entity entity-name="Invoice" default-field-type="hidden" /-->
        <field name="invoiceId" title="${uiLabelMap.AccountingInvoice}"><text-find/></field>
        <field name="invoiceTypeId" title="${uiLabelMap.CommonType}">
            <drop-down allow-empty="true">
                <entity-options description="${description}" entity-name="InvoiceType"/>
            </drop-down>
        </field>
        <field name="statusId" title="${uiLabelMap.CommonStatus}" position="2">
            <drop-down allow-empty="true">
                <entity-options description="${description}" entity-name="StatusItem">
                    <entity-constraint name="statusTypeId" operator="equals" value="INVOICE_STATUS"/>
                </entity-options>
            </drop-down>
        </field>
        <field position="1" name="partyIdFrom"><lookup  target-form-name="LookupPartyName"/></field>
        <field position="2" name="partyId" title="${uiLabelMap.AccountingPartyIdTo}"><lookup  target-form-name="LookupPartyName"/></field>
        <field position="1" name="Datefrom" title="${uiLabelMap.CommonFrom}"><date-time/></field>
        <field position="2" name="DateThru" title="${uiLabelMap.CommonThru}"><date-time/></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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    
    <form name="listInvoice" list-name="listIt" title="" type="list" paginate-target="LookupInvoice"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="Invoice"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="invoiceId"  title="${uiLabelMap.AccountingInvoice}" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${invoiceId}" target="javascript:set_value('${invoiceId}')"/>
        </field>
        <field name="invoiceTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="InvoiceType"/></field>
        <field name="statusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" description="${description}"/></field>
        <field name="description"><display/></field>
        <field name="partyIdFrom"><display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${lastName}[${partyId}]"/></field>
        <field name="partyId" title="${uiLabelMap.AccountingPartyIdTo}"><display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${lastName}[${partyId}]"/></field>
        <field name="currencyUomId" title="${uiLabelMap.CommonCurrency}"><display/></field>
        <field name="amount" title="${uiLabelMap.CommonAmount}" widget-area-style="amount" title-area-style="align-right"><display type="currency" currency="${currencyUomId}"/></field>
    </form>

    <form name="lookupAgreement" target="LookupAgreement" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <field name="agreementId" ><text-find/></field>
        <field name="productId" ><text-find/></field>
        <field name="partyIdFrom"><text-find/></field>
        <field name="partyId" title="${uiLabelMap.AccountingPartyIdTo}"><text-find/></field>
        <field name="agreementDate" title="${uiLabelMap.CommonFrom}"><date-time/></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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    <form name="listAgreements" list-name="listIt" title="" type="list" target="LookupAgreement"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="Agreement"/>
            </service>
        </actions>
        <field name="agreementId" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${agreementId}" target="javascript:set_value('${agreementId}')"/>
        </field>
        <field name="productId"><display/></field>
        <field name="partyIdFrom"><display/></field>
        <field name="partyIdTo"><display/></field>
        <field name="agreementDate" title="${uiLabelMap.CommonFrom}"><display/></field>
        <field name="agreementTypeId"><display/></field>
        <field name="description"><display/></field>
    </form>

    <form name="lookupAgreementItem" target="LookupAgreementItem" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <field name="agreementId"><text-find/></field>
        <field name="agreementItemSeqId"><text-find/></field>
        <field name="agreementItemTypeId" title="${uiLabelMap.CommonType}">
            <drop-down allow-empty="true">
                <entity-options description="${description}" entity-name="AgreementItemType"/>
            </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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    <form name="listAgreementItems" list-name="listIt" title="" type="list" target="LookupAgreementItem"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="AgreementItem"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="agreementId"><display/></field>
        <field name="agreementItemSeqId" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${agreementItemSeqId}" target="javascript:set_value('${agreementItemSeqId}')"/>
        </field>
        <field name="agreementItemTypeId" title="${uiLabelMap.CommonType}"><display/></field>
        <field name="currencyUomId"><display/></field>
    </form>

    <form name="lookupPaymentGroupMember" target="LookupPaymentGroupMember" title="" type="single" header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <field name="paymentGroupId"><text-find/></field>
        <field name="paymentId" title="${uiLabelMap.CommonPayment}"><text-find/></field>
        <field name="fromDate" title="${uiLabelMap.CommonFrom}" position="1"><date-time type="date"/></field>
        <field name="thruDate" title="${uiLabelMap.CommonThru}" position="2"><date-time type="date"/></field>
        <field name="sequenceNum"><text-find/></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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    <form name="listPaymentGroupMember" list-name="listIt" title="" type="list" target="LookupPaymentGroupMember"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="PaymentGroupMember"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="paymentGroupId" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${paymentGroupId}" target="javascript:set_value('${paymentGroupId}')"/>
        </field>
        <field name="paymentId" title="${uiLabelMap.CommonPayment}"><display/></field>
        <field name="sequenceNum"><display/></field>
    </form>

    <form name="LookupGlReconciliation" target="LookupGlReconciliation" type="single"
            header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <field name="glReconciliationId" title="${uiLabelMap.FormFieldTitle_glReconciliationId}"><text-find/></field>
        <field name="glReconciliationName" title="${uiLabelMap.FormFieldTitle_glReconciliationName}"><text-find/></field>
        <field name="organizationPartyId" title="${uiLabelMap.FormFieldTitle_organizationPartyId}"><lookup  target-form-name="LookupPartyName"/></field>
        <field name="description" title="${uiLabelMap.CommonDescription}"><text-find/></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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    
    <form name="ListLookupReconciliation" list-name="listIt" type="list" target="LookupGlReconciliation"
            odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="GlReconciliation"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="glReconciliationId" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${glReconciliationId}" target="javascript:set_value('${glReconciliationId}')"/>
        </field>
        <field name="glReconciliationName"><display/></field>
        <field name="organizationPartyId"><display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName}${firstName} ${lastName}[${partyId}]"/></field>
        <field name="description" title="${uiLabelMap.CommonDescription}"><display/></field>
    </form>
    
    <form name="lookupCustomTimePeriod" target="LookupCustomTimePeriod" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-entity entity-name="CustomTimePeriod" default-field-type="hidden"/>
        <field name="customTimePeriodId"><text-find/></field>
        <field name="parentPeriodId"><text-find/></field>
        <field name="periodTypeId">
            <drop-down allow-empty="true">
                <entity-options entity-name="PeriodType" description="${description}">
                    <entity-order-by field-name="description"/>
                </entity-options>
             </drop-down>
        </field>
        <field name="periodNum"><text-find/></field>
        <field name="periodName"><text-find/></field>
        <field name="fromDate" title="${uiLabelMap.CommonFrom}" ><date-time type="date"/></field>
        <field name="thruDate" title="${uiLabelMap.CommonThru}" position="2"><date-time type="date"/></field>
        <field name="isClosed">
            <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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    <form name="listLookupCustomTimePeriod" list-name="listIt" title="" type="list" paginate-target="LookupCustomTimePeriod"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="CustomTimePeriod"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="customTimePeriodId" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${customTimePeriodId}" target="javascript:set_value('${customTimePeriodId}')"/>
        </field>
        <field name="parentPeriodId"><display/></field>
        <field name="periodTypeId"><display-entity entity-name="PeriodType"/></field>
        <field name="periodNum"><display/></field>
        <field name="periodName"><display/></field>
        <field name="fromDate" title="${uiLabelMap.CommonFrom}"><display/></field>
        <field name="thruDate" title="${uiLabelMap.CommonThru}"><display/></field>
        <field name="isClosed"><display/></field>
    </form>
    
    <form name="lookupOrderPaymentPreference" target="LookupOrderPaymentPreference" title="" type="single"
        header-row-style="header-row"> <!-- orig: default-table-style=-style="basic-table" -->
        <auto-fields-entity entity-name="Payment" default-field-type="hidden"/>
        <field name="orderPaymentPreferenceId" title="${uiLabelMap.CommonPayment}"><text-find/></field>
        <field name="orderId"><lookup  target-form-name="LookupOrderHeader"/></field>
        <field name="paymentMethodTypeId"></field>
        <field name="maxAmount"><text-find default-value=""></text-find> </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="submitAction" title="${uiLabelMap.CommonFind}" widget-style="${styles.link_run_sys} ${styles.action_find}"><submit button-type="button"/></field>
    </form>
    <form name="listOrderPaymentPreference" list-name="listIt" title="" type="list" paginate-target="LookupOrderPaymentPreference"
        odd-row-style="alternate-row"> <!-- orig: default-table-style=-style="basic-table hover-bar" -->
        <actions>
            <service service-name="performFind" result-map="result" result-map-list="listIt">
                <field-map field-name="inputFields" from-field="parameters"/>
                <field-map field-name="entityName" value="OrderPaymentPreference"/>
                <field-map field-name="viewIndex" from-field="viewIndex"/>
                <field-map field-name="viewSize" from-field="viewSize"/>
            </service>
        </actions>
        <field name="orderPaymentPreferenceId" title="${uiLabelMap.CommonOrderPaymentPreference}" widget-style="${styles.link_nav_info_id}">
            <hyperlink also-hidden="false" target-type="plain" description="${orderPaymentPreferenceId}" target="javascript:set_value('${orderPaymentPreferenceId}')"/>
        </field>
        <field name="paymentMethodTypeId"><display/></field>
        <field name="paymentMethodId"><display/></field>
        <field name="maxAmount"><display/></field>
        <field name="statusId" ><display/></field>
    </form>
</forms>