| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd"> |
| <form name="FindTaxAuthority" type="list" list-name="taxAuthorityList" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="FindTaxAuthority"> |
| <actions> |
| <entity-condition entity-name="TaxAuthority" list="taxAuthorityList"> |
| <order-by field-name="taxAuthGeoId"/> |
| <order-by field-name="taxAuthPartyId"/> |
| </entity-condition> |
| </actions> |
| <auto-fields-entity entity-name="TaxAuthority" default-field-type="display"/> |
| |
| <field name="taxAuthGeoId"><display-entity entity-name="Geo" key-field-name="geoId" description="${geoName} [${geoCode}] [${geoId}]"/></field> |
| <field name="taxAuthPartyId"> |
| <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${middleName} ${lastName} ${groupName}"> |
| <sub-hyperlink description="${taxAuthPartyId}" target="/partymgr/control/viewprofile" target-type="inter-app" link-style="buttontext"> |
| <parameter param-name="partyId" from-field="taxAuthPartyId"/> |
| </sub-hyperlink> |
| </display-entity> |
| </field> |
| |
| <field name="taxAuthorityEdit" title=" " widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonEdit}" target="EditTaxAuthority" also-hidden="false"> |
| <parameter param-name="taxAuthPartyId"/> |
| <parameter param-name="taxAuthGeoId"/> |
| </hyperlink> |
| </field> |
| </form> |
| |
| <form name="EditTaxAuthority" type="single" target="updateTaxAuthority" title="" default-map-name="taxAuthority" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <alt-target use-when="taxAuthority==null" target="createTaxAuthority"/> |
| <auto-fields-service service-name="updateTaxAuthority" map-name="taxAuthority"/> |
| |
| <field use-when="taxAuthority!=null" name="taxAuthPartyId" title="${uiLabelMap.PartyParty}"><display/></field> |
| <field use-when="taxAuthority==null&&taxAuthPartyId==null" name="taxAuthPartyId" title="${uiLabelMap.PartyParty}" required-field="true"><lookup target-form-name="LookupPartyName"/></field> |
| <field use-when="taxAuthority==null&&taxAuthPartyId!=null" name="taxAuthPartyId" title="${uiLabelMap.PartyParty}" tooltip="${uiLabelMap.CommonCannotBeFound}:[${taxAuthPartyId}]"><lookup target-form-name="LookupPartyName"/></field> |
| |
| <field use-when="taxAuthority!=null" name="taxAuthGeoId" title="${uiLabelMap.CommonGeo}"><display/></field> |
| <field use-when="taxAuthority==null&&taxAuthGeoId==null" name="taxAuthGeoId" title="${uiLabelMap.CommonGeo}" required-field="true"><lookup target-form-name="LookupGeo"/></field> |
| <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="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="Y" description="${uiLabelMap.CommonY}"/><option key="N" description="${uiLabelMap.CommonN}"/></drop-down> |
| </field> |
| <field name="taxIdFormatPattern" tooltip="${uiLabelMap.AccountingValidationPattern}"></field> |
| |
| <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="ListTaxAuthorityCategories" type="list" list-name="taxAuthorityCategoryList" target="updateTaxAuthorityCategory" |
| odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar" paginate-target="EditTaxAuthorityCategories"> |
| <actions> |
| <entity-condition entity-name="TaxAuthorityCategory" list="taxAuthorityCategoryList"> |
| <condition-list combine="and"> |
| <condition-expr field-name="taxAuthPartyId" from-field="taxAuthPartyId"/> |
| <condition-expr field-name="taxAuthGeoId" from-field="taxAuthGeoId"/> |
| </condition-list> |
| <order-by field-name="productCategoryId"/> |
| </entity-condition> |
| </actions> |
| |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| <field name="productCategoryId" title="${uiLabelMap.ProductCategory}"> |
| <display-entity entity-name="ProductCategory"> |
| <sub-hyperlink description="${productCategoryId}" target="/catalog/control/EditCategory" target-type="inter-app" link-style="buttontext"> |
| <parameter param-name="productCategoryId"/> |
| </sub-hyperlink> |
| </display-entity> |
| </field> |
| |
| <field name="deleteLink" title=" " widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteTaxAuthorityCategory" also-hidden="false"> |
| <parameter param-name="taxAuthPartyId"/> |
| <parameter param-name="taxAuthGeoId"/> |
| <parameter param-name="productCategoryId"/> |
| </hyperlink> |
| </field> |
| </form> |
| <form name="AddTaxAuthorityCategory" type="single" target="createTaxAuthorityCategory" title="" default-map-name="taxAuthorityCategory" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <auto-fields-service service-name="createTaxAuthorityCategory"/> |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| <field name="productCategoryId" title="${uiLabelMap.ProductCategoryId}"><lookup target-form-name="LookupProductCategory"/></field> |
| <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="ListTaxAuthorityAssocs" type="list" list-name="taxAuthorityAssocList" target="updateTaxAuthorityAssoc" |
| odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar" paginate-target="EditTaxAuthorityAssocs"> |
| <actions> |
| <entity-condition entity-name="TaxAuthorityAssoc" list="taxAuthorityAssocList"> |
| <condition-list combine="and"> |
| <condition-expr field-name="taxAuthPartyId" from-field="taxAuthPartyId"/> |
| <condition-expr field-name="taxAuthGeoId" from-field="taxAuthGeoId"/> |
| </condition-list> |
| <order-by field-name="toTaxAuthGeoId"/> |
| </entity-condition> |
| </actions> |
| <auto-fields-service service-name="updateTaxAuthorityAssoc"/> |
| |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| |
| <field name="toTaxAuthPartyId"> |
| <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${middleName} ${lastName} ${groupName}"> |
| <sub-hyperlink description="${toTaxAuthPartyId}" target="/partymgr/control/viewprofile" target-type="inter-app" link-style="buttontext"> |
| <parameter param-name="partyId" from-field="toTaxAuthPartyId"/> |
| </sub-hyperlink> |
| </display-entity> |
| </field> |
| <field name="toTaxAuthGeoId"><display-entity entity-name="Geo" key-field-name="geoId" description="${geoName} [${geoCode}] [${geoId}]"/></field> |
| <field name="fromDate"><display/></field> |
| |
| <field name="taxAuthorityAssocTypeId" title="${uiLabelMap.CommonType}"> |
| <drop-down allow-empty="true"> |
| <entity-options entity-name="TaxAuthorityAssocType"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| |
| <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> |
| <field name="deleteLink" title=" " widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteTaxAuthorityAssoc" also-hidden="false"> |
| <parameter param-name="taxAuthPartyId"/> |
| <parameter param-name="taxAuthGeoId"/> |
| <parameter param-name="toTaxAuthPartyId"/> |
| <parameter param-name="toTaxAuthGeoId"/> |
| <parameter param-name="fromDate"/> |
| </hyperlink> |
| </field> |
| </form> |
| <form name="AddTaxAuthorityAssoc" type="single" target="createTaxAuthorityAssoc" title="" default-map-name="taxAuthorityAssoc" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <auto-fields-service service-name="createTaxAuthorityAssoc"/> |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| <field name="toTaxAuthPartyId"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="toTaxAuthGeoId"><lookup target-form-name="LookupGeo"/></field> |
| |
| <field name="taxAuthorityAssocTypeId" title="${uiLabelMap.CommonType}"> |
| <drop-down allow-empty="true"> |
| <entity-options entity-name="TaxAuthorityAssocType"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| |
| <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="ListTaxAuthorityGlAccounts" type="list" list-name="taxAuthorityGlAccountList" target="updateTaxAuthorityGlAccount" |
| odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar" paginate-target="EditTaxAuthorityGlAccounts"> |
| <actions> |
| <entity-condition entity-name="TaxAuthorityGlAccount" list="taxAuthorityGlAccountList"> |
| <condition-list combine="and"> |
| <condition-expr field-name="taxAuthPartyId" from-field="taxAuthPartyId"/> |
| <condition-expr field-name="taxAuthGeoId" from-field="taxAuthGeoId"/> |
| </condition-list> |
| <order-by field-name="glAccountId"/> |
| </entity-condition> |
| </actions> |
| |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| <field name="glAccountId" title="${uiLabelMap.AccountingGlAccount}"> |
| <display-entity entity-name="GlAccount" description="${accountName}"> |
| <sub-hyperlink description="${glAccountId}" target="EditGlobalGlAccount" link-style="buttontext"> |
| <parameter param-name="glAccountId"/> |
| </sub-hyperlink> |
| </display-entity> |
| </field> |
| <field name="organizationPartyId" title="${uiLabelMap.PartyOrganizationParty}"> |
| <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${middleName} ${lastName} ${groupName}"> |
| <sub-hyperlink description="${organizationPartyId}" target="/partymgr/control/viewprofile" target-type="inter-app" link-style="buttontext"> |
| <parameter param-name="partyId" from-field="organizationPartyId"/> |
| </sub-hyperlink> |
| </display-entity> |
| </field> |
| |
| <field name="deleteLink" title=" " widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteTaxAuthorityGlAccount" also-hidden="false"> |
| <parameter param-name="taxAuthPartyId"/> |
| <parameter param-name="taxAuthGeoId"/> |
| <parameter param-name="glAccountId"/> |
| <parameter param-name="organizationPartyId"/> |
| </hyperlink> |
| </field> |
| </form> |
| <form name="AddTaxAuthorityGlAccount" type="single" target="createTaxAuthorityGlAccount" title="" default-map-name="taxAuthorityGlAccount" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <auto-fields-service service-name="createTaxAuthorityGlAccount"/> |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| <field name="organizationPartyId" title="${uiLabelMap.PartyOrganizationPartyId}"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="glAccountId" title="${uiLabelMap.AccountingGlAccount}"><lookup target-form-name="LookupGlAccount"/></field> |
| <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> |
| </form> |
| |
| <form name="ListTaxAuthorityRateProducts" type="list" list-name="taxAuthorityRateProductList" target="updateTaxAuthorityRateProduct" separate-columns="true" |
| odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar" paginate-target="EditTaxAuthorityRateProducts"> |
| <actions> |
| <entity-condition entity-name="TaxAuthorityRateProduct" list="taxAuthorityRateProductList"> |
| <condition-list combine="and"> |
| <condition-expr field-name="taxAuthPartyId" from-field="taxAuthPartyId"/> |
| <condition-expr field-name="taxAuthGeoId" from-field="taxAuthGeoId"/> |
| </condition-list> |
| <order-by field-name="fromDate"/> |
| </entity-condition> |
| </actions> |
| <auto-fields-service service-name="updateTaxAuthorityRateProduct"/> |
| |
| <field name="taxAuthorityRateSeqId"><hidden/></field> |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| |
| <field name="taxAuthorityRateTypeId" title="${uiLabelMap.CommonType}"> |
| <drop-down allow-empty="false"> |
| <entity-options entity-name="TaxAuthorityRateType"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="productStoreId" title="${uiLabelMap.ProductStoreId}"><lookup size="10" target-form-name="LookupProductStore"/></field> |
| <field name="productCategoryId" title="${uiLabelMap.ProductCategory}"> |
| <drop-down allow-empty="false"> |
| <entity-options entity-name="TaxAuthorityCategoryView" description="${description} [${productCategoryId}]"> |
| <entity-constraint name="taxAuthPartyId" env-name="taxAuthPartyId"/> |
| <entity-constraint name="taxAuthGeoId" env-name="taxAuthGeoId"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="titleTransferEnumId" title="${uiLabelMap.AccountingTitleTransfer}"> |
| <drop-down allow-empty="true"> |
| <entity-options entity-name="Enumeration" key-field-name="enumId" description="${description} [${enumCode}]"> |
| <entity-constraint name="enumTypeId" value="PTSOFTTFR"/> |
| <entity-order-by field-name="sequenceId"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| |
| <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field> |
| <field name="deleteLink" title=" " widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteTaxAuthorityRateProduct" also-hidden="false"> |
| <parameter param-name="taxAuthPartyId"/> |
| <parameter param-name="taxAuthGeoId"/> |
| <parameter param-name="taxAuthorityRateSeqId"/> |
| </hyperlink> |
| </field> |
| </form> |
| <form name="AddTaxAuthorityRateProduct" type="single" target="createTaxAuthorityRateProduct" title="" default-map-name="taxAuthorityRateProduct" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <auto-fields-service service-name="createTaxAuthorityRateProduct"/> |
| |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| |
| <field name="taxAuthorityRateTypeId" title="${uiLabelMap.CommonType}"> |
| <drop-down allow-empty="false"> |
| <entity-options entity-name="TaxAuthorityRateType"> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="productStoreId" title="${uiLabelMap.ProductStoreId}"><lookup size="10" target-form-name="LookupProductStore"/></field> |
| <field name="productCategoryId" title="${uiLabelMap.ProductCategory}" tooltip="${uiLabelMap.AccountingTaxAuthorityRateProductUseCategoryTab}"> |
| <drop-down allow-empty="false"> |
| <entity-options entity-name="TaxAuthorityCategoryView" description="${description} [${productCategoryId}]"> |
| <entity-constraint name="taxAuthPartyId" env-name="taxAuthPartyId"/> |
| <entity-constraint name="taxAuthGeoId" env-name="taxAuthGeoId"/> |
| <entity-order-by field-name="description"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="titleTransferEnumId" title="${uiLabelMap.AccountingTitleTransfer}"> |
| <drop-down allow-empty="true"> |
| <entity-options entity-name="Enumeration" key-field-name="enumId" description="${description} [${enumCode}]"> |
| <entity-constraint name="enumTypeId" value="PTSOFTTFR"/> |
| <entity-order-by field-name="sequenceId"/> |
| </entity-options> |
| </drop-down> |
| </field> |
| <field name="taxShipping"> |
| <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> |
| </form> |
| |
| <form name="FindTaxAuthorityParties" type="single" target="ListTaxAuthorityParties" title="" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| |
| <field name="partyId" title="${uiLabelMap.PartyPartyId}"><lookup target-form-name="LookupPartyName"/></field> |
| <field name="fromDate" title="${uiLabelMap.CommonFromDate}"><date-find/></field> |
| <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-find/></field> |
| |
| <field name="partyTaxId"><text-find/></field> |
| <field name="isExempt" widget-style="smallSelect"> |
| <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="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> |
| </form> |
| <form name="ListTaxAuthorityParties" type="list" title="" list-name="listIt" |
| odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="ListTaxAuthorityParties"> |
| <actions> |
| <service service-name="performFind" result-map="result" result-map-list="listIt"> |
| <field-map field-name="inputFields" from-field="parameters"/> |
| <field-map field-name="orderBy" value="partyId"/> |
| <field-map field-name="entityName" value="PartyTaxAuthInfo"/> |
| <field-map field-name="viewIndex" from-field="viewIndex"/> |
| <field-map field-name="viewSize" from-field="viewSize"/> |
| </service> |
| </actions> |
| |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| |
| <field name="partyId"> |
| <display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}"> |
| <sub-hyperlink description="${partyId}" target="/partymgr/control/viewprofile" target-type="inter-app" link-style="buttontext"> |
| <parameter param-name="partyId"/> |
| </sub-hyperlink> |
| </display-entity> |
| </field> |
| <field name="fromDate" title="${uiLabelMap.CommonFromDate}"><display/></field> |
| <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><display/></field> |
| |
| <field name="partyTaxId"><display/></field> |
| <field name="isExempt"><display/></field> |
| <field name="isNexus"><display/></field> |
| |
| <field name="editLink" title=" " widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonEdit}" target="EditTaxAuthorityPartyInfo" also-hidden="false"> |
| <parameter param-name="taxAuthPartyId"/> |
| <parameter param-name="taxAuthGeoId"/> |
| <parameter param-name="partyId"/> |
| <parameter param-name="fromDate"/> |
| </hyperlink> |
| </field> |
| <field name="deleteLink" title=" " widget-style="buttontext"> |
| <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteTaxAuthorityPartyInfo" also-hidden="false"> |
| <parameter param-name="taxAuthPartyId"/> |
| <parameter param-name="taxAuthGeoId"/> |
| <parameter param-name="partyId"/> |
| <parameter param-name="fromDate"/> |
| </hyperlink> |
| </field> |
| </form> |
| <form name="EditTaxAuthorityPartyInfo" type="single" target="updateTaxAuthorityPartyInfo" title="" default-map-name="partyTaxAuthInfo" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <alt-target use-when="partyTaxAuthInfo==null" target="createTaxAuthorityPartyInfo"/> |
| |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| |
| <field use-when="partyTaxAuthInfo!=null" name="partyId" title="${uiLabelMap.PartyPartyId}"> |
| <display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}"> |
| <sub-hyperlink description="${partyId}" target="/partymgr/control/viewprofile" target-type="inter-app" link-style="buttontext"> |
| <parameter param-name="partyId"/> |
| </sub-hyperlink> |
| </display-entity> |
| </field> |
| <field use-when="partyTaxAuthInfo!=null" name="fromDate" title="${uiLabelMap.CommonFromDate}"><display/></field> |
| |
| <field use-when="partyTaxAuthInfo==null" name="partyId" title="${uiLabelMap.PartyPartyId}"><lookup target-form-name="LookupPartyName"/></field> |
| <field use-when="partyTaxAuthInfo==null" name="fromDate" title="${uiLabelMap.CommonFromDate}"><date-time/></field> |
| |
| <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="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> |
| </form> |
| |
| <!-- Tax Authority Tax Reports forms --> |
| <form name="FindTaxAuthorityReport" type="single" target="FindTaxAuthorityReport" |
| title="Find and list VAT report for a tax authority, my month, quater or other period" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field> |
| <field name="hideSearch"><hidden value="Y"/></field> |
| <field name="taxAuthPartyId"><hidden/></field> |
| <field name="taxAuthGeoId"><hidden/></field> |
| <field name="invoiceDate"><date-find type="date" default-option-from="greaterThanFromDayStart" default-option-thru="upThruDay"/></field> |
| <field name="submitButton" title="${uiLabelMap.CommonSearch}" widget-style="buttontext" > |
| <submit button-type="button"/> |
| </field> |
| </form> |
| |
| <form name="ListTaxAuthorityReport" list-name="listIt" title="" type="list" |
| odd-row-style="alternate-row" header-row-style="header-row-2" |
| default-table-style="basic-table hover-bar"> |
| <actions> |
| <service service-name="performFind" result-map="result" result-map-list="listIt"> |
| <field-map field-name="inputFields" from-field="parameters"/> |
| <field-map field-name="entityName" value="InvoiceItem"/> |
| <field-map field-name="viewIndex" from-field="viewIndex"/> |
| <field-map field-name="viewSize" from-field="viewSize"/> |
| </service> |
| </actions> |
| <auto-fields-entity entity-name="InvoiceItem" default-field-type="display"/> |
| </form> |
| </forms> |