Files
ofbiz-framework/applications/product/widget/facility/ShipmentForms.xml
T
Bruno Busco 17288a9082 Part of OFBIZ-3067 - Menus and form widget files location
Party and Product components
Moved forms from webapp to widget folder
Removed empty folders

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829418 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 17:41:31 +00:00

217 lines
15 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
<form name="EditShipment" type="single" target="updateShipment" title="" default-map-name="shipment"
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="shipment==null&amp;&amp;shipmentTypeId==null" target="createShipment"/>
<alt-target use-when="shipment==null&amp;&amp;shipmentTypeId!=null&amp;&amp;shipmentTypeId.equals(&quot;PURCHASE_RETURN&quot;)" target="createShipmentAndItemsForVendorReturn"/>
<auto-fields-service service-name="updateShipment"/>
<field use-when="shipment!=null" name="shipmentId" title="${uiLabelMap.ProductShipmentId}" tooltip="${uiLabelMap.ProductNotModificationRecreatingProductShipment}"><display/></field>
<field use-when="shipment==null&amp;&amp;shipmentId!=null" name="shipmentId" title="${uiLabelMap.ProductShipmentId}" tooltip="${uiLabelMap.ProductCouldNotFindProductShipmentWithId} [${shipmentId}]"><display description="" also-hidden="false"/></field>
<field use-when="shipment==null&amp;&amp;shipmentId==null" name="shipmentId" title="${uiLabelMap.ProductShipmentId}" ><ignored/></field>
<field name="shipmentTypeId" title="${uiLabelMap.ProductShipmentTypeId}">
<drop-down allow-empty="false" current="first-in-list">
<entity-options entity-name="ShipmentType" description="${description}"/>
</drop-down>
</field>
<field use-when="shipment==null" name="statusId" title="${uiLabelMap.ProductStatusId}">
<drop-down allow-empty="false" current="first-in-list">
<entity-options entity-name="StatusItem" description="${description}">
<entity-constraint name="statusTypeId" value="${statusItemType}"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field use-when="shipment!=null" name="statusId" title="${uiLabelMap.ProductStatusId}">
<drop-down allow-empty="false" current="first-in-list" current-description="${currentStatus.description}">
<entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})">
<entity-constraint name="statusId" value="${shipment.statusId}"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field name="primaryOrderId" title="${uiLabelMap.ProductPrimaryOrderId}"><lookup target-form-name="LookupOrderHeader"/></field>
<field name="primaryReturnId" title="${uiLabelMap.ProductPrimaryReturnId}"></field>
<field name="primaryShipGroupSeqId" title="${uiLabelMap.ProductPrimaryShipGroupSeqId}"><text/></field>
<field name="estimatedReadyDate" title="${uiLabelMap.ProductEstimatedReadyDate}"><date-time/></field>
<field name="estimatedShipDate" title="${uiLabelMap.ProductEstimatedShipDate}"><date-time/></field>
<field use-when="productStoreId!=null" name="originFacilityId" title="${uiLabelMap.ProductOriginFacility} [${shipment.primaryOrderId}]">
<drop-down allow-empty="true" current="first-in-list">
<entity-options entity-name="ProductStoreFacilityByOrder" key-field-name="facilityId" description="${facilityName} [${facilityId}]">
<entity-constraint name="orderId" value="${orderHeader.orderId}"/>
<entity-order-by field-name="facilityName"/>
</entity-options>
</drop-down>
</field>
<field name="originFacilityId" title="${uiLabelMap.ProductOriginFacility}">
<drop-down allow-empty="true" current="first-in-list">
<entity-options entity-name="Facility" key-field-name="facilityId" description="${facilityName} [${facilityId}]">
<entity-order-by field-name="facilityName"/>
</entity-options>
</drop-down>
</field>
<field name="destinationFacilityId" title="${uiLabelMap.ProductDestinationFacility}">
<drop-down allow-empty="true" current="first-in-list">
<entity-options entity-name="Facility" key-field-name="facilityId" description="${facilityName} [${facilityId}]">
<entity-order-by field-name="facilityName"/>
</entity-options>
</drop-down>
</field>
<field name="estimatedShipWorkEffId" title="${uiLabelMap.ProductEstimatedShipWorkEffId}" widget-style="buttontext">
<hyperlink target="/workeffort/control/WorkEffortSummary" also-hidden="false" description="${shipment.estimatedShipWorkEffId}" target-type="inter-app">
<parameter param-name="workEffortId" from-field="shipment.estimatedShipWorkEffId"/>
</hyperlink>
</field>
<field name="estimatedArrivalDate" title="${uiLabelMap.ProductEstimatedArrivalDate}"><date-time/></field>
<field name="estimatedArrivalWorkEffId" title="${uiLabelMap.ProductEstimatedArrivalWorkEffId}" widget-style="buttontext">
<hyperlink target="/workeffort/control/WorkEffortSummary" also-hidden="false" description="${shipment.estimatedArrivalWorkEffId}" target-type="inter-app">
<parameter param-name="workEffortId" from-field="shipment.estimatedArrivalWorkEffId"/>
</hyperlink>
</field>
<field name="latestCancelDate" title="${uiLabelMap.ProductLatestCancelDate}"><date-time/></field>
<field name="estimatedShipCost" title="${uiLabelMap.ProductEstimatedShipCost}"><text/></field>
<field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}">
<drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}">
<entity-options key-field-name="uomId" description="${description} - ${abbreviation}" entity-name="Uom">
<entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/>
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="handlingInstructions" title="${uiLabelMap.ProductHandlingInstructions}"><text/></field>
<field name="originContactMechId" title="${uiLabelMap.ProductOriginPostalAddressId}"
tooltip="${uiLabelMap.CommonTo}: ${originPostalAddress.toName}, ${uiLabelMap.CommonAttn}: ${originPostalAddress.attnName}, ${originPostalAddress.address1}, ${originPostalAddress.address2}, ${originPostalAddress.city}, ${originPostalAddress.stateProvinceGeoId}, ${originPostalAddress.postalCode}, ${originPostalAddress.countryGeoId}">
</field>
<field name="destinationContactMechId" title="${uiLabelMap.ProductDestinationPostalAddressId}"
tooltip="${uiLabelMap.CommonTo}: ${destinationPostalAddress.toName}, ${uiLabelMap.CommonAttn}: ${destinationPostalAddress.attnName}, ${destinationPostalAddress.address1}, ${destinationPostalAddress.address2}, ${destinationPostalAddress.city}, ${destinationPostalAddress.stateProvinceGeoId}, ${destinationPostalAddress.postalCode}, ${destinationPostalAddress.countryGeoId}">
</field>
<field name="originTelecomNumberId" title="${uiLabelMap.ProductOriginPhoneNumberId}"
tooltip="${originTelecomNumber.countryCode} ${originTelecomNumber.areaCode} ${originTelecomNumber.contactNumber}">
</field>
<field name="destinationTelecomNumberId" title="${uiLabelMap.ProductDestinationPhoneNumberId}"
tooltip="${destinationTelecomNumber.countryCode} ${destinationTelecomNumber.areaCode} ${destinationTelecomNumber.contactNumber}">
</field>
<field name="partyIdTo" title="${uiLabelMap.ProductToParty}" tooltip="${toPerson.firstName} ${toPerson.middleName} ${toPerson.lastName} ${toPartyGroup.groupName}"/>
<field name="partyIdFrom" title="${uiLabelMap.ProductFromParty}" tooltip="${fromPerson.firstName} ${fromPerson.middleName} ${fromPerson.lastName} ${fromPartyGroup.groupName}"/>
<field name="additionalShippingCharge" title="${uiLabelMap.ProductAdditionalShippingCharge}"><text/></field>
<field use-when="shipment!=null" name="createdDate" title="${uiLabelMap.ProductCreatedDate}"><display also-hidden="false" description="${shipment.createdDate}"/></field>
<field use-when="shipment!=null" name="createdByUserLogin" title="${uiLabelMap.ProductCreatedByUserLogin}"><display also-hidden="false" description="${shipment.createdByUserLogin}"/></field>
<field use-when="shipment!=null" name="lastModifiedDate" title="${uiLabelMap.ProductLastModifiedDate}"><display also-hidden="false" description="${shipment.lastModifiedDate}"/></field>
<field use-when="shipment!=null" name="lastModifiedByUserLogin" title="${uiLabelMap.ProductLastModifiedByUserLogin}"><display also-hidden="false" description="${shipment.lastModifiedByUserLogin}"/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
</form>
<!-- ******************* -->
<!-- Shipment Plan Forms -->
<!-- ******************* -->
<!-- List for Shipment Plan -->
<form name="listShipmentPlan" type="list" target="" title="" list-name="shipmentPlan"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="shipmentItemSeqId" title="${uiLabelMap.ProductShipmentItemSeqId}"><display/></field>
<field name="orderId" title="${uiLabelMap.ProductOrderId}"><display/></field>
<field name="orderItemSeqId" title="${uiLabelMap.ProductOrderItem}"><display/></field>
<field name="productId" title="${uiLabelMap.ProductProductId}"><display/></field>
<!-- quantity planned in this shipment -->
<field name="quantity" title="${uiLabelMap.ProductQuantity}"><display/></field>
<!-- quantity issued in this shipment -->
<field name="issuedQuantity" title="${uiLabelMap.ProductIssuedQuantity}"><display/></field>
<!-- total ordered quantity -->
<field name="totOrderedQuantity" title="${uiLabelMap.ProductTotOrderedQuantity}" ><display/></field>
<!-- total not available quantity -->
<field name="notAvailableQuantity" title="${uiLabelMap.ProductNotAvailable}"><display/></field>
<!-- total planned quantity not issued -->
<field name="totPlannedQuantity" title="${uiLabelMap.ProductTotPlannedQuantity}" ><display/></field>
<!-- total issued quantity -->
<field name="totIssuedQuantity" title="${uiLabelMap.ProductTotIssuedQuantity}" ><display/></field>
<!-- planned weight -->
<field name="weight" title="${uiLabelMap.ProductWeight}"><display/></field>
<field name="weightUom" title="${uiLabelMap.CommonUom}"><display/></field>
<!-- planned volume -->
<field name="volume" title="${uiLabelMap.CommonVolume}"><display/></field>
<field name="volumeUom" title="${uiLabelMap.CommonUom}"><display/></field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="removeOrderShipmentFromShipment" description="[${uiLabelMap.CommonDelete}]" also-hidden="false">
<parameter param-name="shipmentId"/>
<parameter param-name="shipmentItemSeqId"/>
<parameter param-name="orderId"/>
<parameter param-name="orderItemSeqId"/>
</hyperlink>
</field>
</form>
<!-- Add entries to Shipment Plan -->
<form name="addToShipmentPlan" type="multi" target="addToShipmentPlan" title="" list-name="shipmentPlan"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="shipmentId"><hidden/></field>
<field name="orderId"><hidden/></field>
<field name="orderItemSeqId"><hidden/></field>
<field name="orderId" title="${uiLabelMap.ProductOrderId}"><display/></field>
<field name="orderItemSeqId" title="${uiLabelMap.ProductOrderItem}"><display/></field>
<field name="productId" title="${uiLabelMap.ProductProductId}"><display/></field>
<!-- ordered quantity -->
<field name="orderedQuantity" title="${uiLabelMap.ProductOrderedQuantity}"><display/></field>
<!-- planned quantity not issued -->
<field name="plannedQuantity" title="${uiLabelMap.ProductPlannedQuantity}"><display/></field>
<!-- issued quantity -->
<field name="issuedQuantity" title="${uiLabelMap.ProductIssuedQuantity}"><display/></field>
<!-- quantity for plan -->
<field name="quantity" title="${uiLabelMap.ProductQuantity}"><text/></field>
<!-- planned weight -->
<field name="weight" title="${uiLabelMap.ProductWeight}"><display/></field>
<field name="weightUom" title="${uiLabelMap.CommonUom}"><display/></field>
<!-- planned volume -->
<field name="volume" title="${uiLabelMap.CommonVolume}"><display/></field>
<field name="volumeUom" title="${uiLabelMap.CommonUom}"><display/></field>
</form>
<!-- Search by Order Id -->
<form name="findOrderItems" type="single" target="EditShipmentPlan" title=""
header-row-style="header-row" default-table-style="basic-table">
<field name="action"><hidden value="search"/></field>
<field name="shipmentId"><hidden/></field>
<field name="shipGroupSeqId"><hidden/></field>
<field name="orderId" title="${uiLabelMap.ProductOrderId}">
<lookup target-form-name="LookupOrderHeaderAndShipInfo"/>
</field>
<field name="submitButton" title="${uiLabelMap.CommonSubmit}">
<submit button-type="button"/>
</field>
</form>
<form name="shipmentPlanToOrderItems" type="single" target="AddItemsFromOrder" title=""
header-row-style="header-row" default-table-style="basic-table">
<field name="selectFromShipmentPlan"><hidden value="true"/></field>
<field name="shipmentId"><hidden/></field>
<field name="submitButton" title="${uiLabelMap.ProductShipmentPlanToOrderItems}">
<submit button-type="button"/>
</field>
</form>
</forms>