1023 lines
64 KiB
XML
1023 lines
64 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"
|
|
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="FindFacility" type="list" list-name="listIt" paginate-target="FindFacility"
|
|
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="Facility"/>
|
|
<field-map field-name="viewIndex" from-field="viewIndex"/>
|
|
<field-map field-name="viewSize" from-field="viewSize"/>
|
|
</service>
|
|
</actions>
|
|
<field name="facilityId">
|
|
<hyperlink description="${facilityId}" target="EditFacility">
|
|
<parameter param-name="facilityId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="facilityName"><display/></field>
|
|
<field name="facilityTypeId" title="${uiLabelMap.ProductFacilityType}">
|
|
<display-entity entity-name="FacilityType"/>
|
|
</field>
|
|
<field name="ownerPartyId" title="${uiLabelMap.ProductFacilityOwner}"><display/></field>
|
|
<field name="FacilitySize" title="${uiLabelMap.ProductFacilitySize}"><display/></field>
|
|
<field name="description"><display/></field>
|
|
<on-event-update-area event-type="paginate" area-id="search-results" area-target="FacilitySearchResults"/>
|
|
</form>
|
|
|
|
<form name="FindFacility10" type="single" target="EditFacility"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
|
|
<field name="facilityId">
|
|
<drop-down allow-empty="false">
|
|
<entity-options description="${facilityName}" entity-name="Facility" key-field-name="facilityId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="selectButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="FindFacilityOptions" extends="LookupFacility" extends-resource="component://product/widget/facility/FieldLookupForms.xml" target="FindFacility">
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="SearchInventoryItemsParams" type="single" target="EditFacilityInventoryItems" default-map-name="parameters"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="facilityId">
|
|
<drop-down allow-empty="false">
|
|
<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="datetimeReceived"><date-find/></field>
|
|
<field name="productId"><text-find/></field>
|
|
<field name="internalName"><text-find/></field>
|
|
<field name="inventoryItemId"><text-find/></field>
|
|
<field name="statusId">
|
|
<drop-down allow-multiple="true">
|
|
<entity-options entity-name="StatusItem" key-field-name="statusId">
|
|
<entity-constraint name="statusTypeId" operator="equals" value="INV_NON_SER_STTS"/>
|
|
</entity-options>
|
|
<entity-options entity-name="StatusItem" key-field-name="statusId">
|
|
<entity-constraint name="statusTypeId" operator="equals" value="INV_SERIALIZED_STTS"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="serialNumber"><text-find/></field>
|
|
<field name="softIdentifier"><text/></field>
|
|
<field name="partyId" title="${uiLabelMap.FormFieldTitle_manufacturerPartyId}">
|
|
<lookup target-form-name="LookupPartyName"/>
|
|
</field>
|
|
<field name="lotId" title="${uiLabelMap.ProductLotId}"><text/></field>
|
|
<!-- the content of the softIdentifier field is converted from hex to int if it starts with "0x";
|
|
this is a nice example of using JavaScript in a form widget definition -->
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}" event="onclick" action="javascript:var field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if (tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) {field.value=tmp};return true;">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
<form name="ListFacilityInventoryItems" type="list" list-name="listIt" header-row-style="header-row-2"
|
|
paginate-target="EditFacilityInventoryItems" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<service service-name="performFind" result-map="results" result-map-list="listIt">
|
|
<field-map field-name="inputFields" from-field="parameters"/>
|
|
<field-map field-name="entityName" value="InventoryItemAndLocation"/>
|
|
<field-map field-name="orderBy" value="statusId|quantityOnHandTotal|serialNumber"/>
|
|
<field-map field-name="viewIndex" from-field="viewIndex"/>
|
|
<field-map field-name="viewSize" from-field="viewSize"/>
|
|
</service>
|
|
</actions>
|
|
<field name="inventoryItemId" widget-style="buttontext">
|
|
<hyperlink description="${inventoryItemId}" target="EditInventoryItem">
|
|
<parameter param-name="inventoryItemId"/>
|
|
<parameter param-name="facilityId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="inventoryItemTypeId" title="${uiLabelMap.ProductInventoryItemTypeId}">
|
|
<display-entity entity-name="InventoryItemType"/>
|
|
</field>
|
|
<field name="statusId"><display-entity entity-name="StatusItem"/></field>
|
|
<field name="datetimeReceived"><display/></field>
|
|
<field name="expireDate" title="${uiLabelMap.ProductExpireDate}"><display/></field>
|
|
<field name="productId">
|
|
<hyperlink description="${productId}" target="/catalog/control/EditProduct" target-type="inter-app">
|
|
<parameter param-name="productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="internalName"><display/></field>
|
|
<field name="partyId"><display/></field>
|
|
<field name="locationSeqId" widget-style="buttontext">
|
|
<hyperlink description="${areaId}:${aisleId}:${sectionId}:${levelId}:${positionId} [${locationSeqId}]" target="EditFacilityLocation">
|
|
<parameter param-name="facilityId"/>
|
|
<parameter param-name="locationSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="enumId" entry-name="locationTypeEnumId" title="${uiLabelMap.CommonType}">
|
|
<display-entity entity-name="Enumeration"/>
|
|
</field>
|
|
<field name="lotId" title="${uiLabelMap.ProductLotId}"><display/></field>
|
|
<field name="binNumber" title="${uiLabelMap.ProductBinNumber}"><display/></field>
|
|
<field name="serialNumber"><display/></field>
|
|
<field name="softIdentifier"><display/></field>
|
|
<field name="quantityOnHandTotal"><display description="${availableToPromiseTotal} / ${quantityOnHandTotal}"/></field>
|
|
<field name="transfer" title="${uiLabelMap.ProductTransfer}" entry-name="inventoryItemId" widget-style="buttontext">
|
|
<hyperlink description="${uiLabelMap.ProductTransfer}" target="TransferInventoryItem">
|
|
<parameter param-name="facilityId"/>
|
|
<parameter param-name="inventoryItemId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="ListFacilityInventoryItemsNoLocations" type="list" target="" title="" list-name="inventoryItems"
|
|
override-list-size="${inventoryItemsSize}" paginate-target="SearchInventoryItemsByLabels"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="inventoryItemId" widget-style="buttontext">
|
|
<hyperlink description="${inventoryItemId}" target="EditInventoryItem">
|
|
<parameter param-name="inventoryItemId"/>
|
|
<parameter param-name="facilityId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="inventoryItemTypeId" title="${uiLabelMap.ProductInventoryItemTypeId}">
|
|
<display-entity entity-name="InventoryItemType"/>
|
|
</field>
|
|
<field name="statusId"><display/></field>
|
|
<field name="datetimeReceived"><display/></field>
|
|
<field name="expireDate" title="${uiLabelMap.ProductExpireDate}"><display/></field>
|
|
<field name="productId">
|
|
<hyperlink description="${productId}" target="/catalog/control/EditProduct" target-type="inter-app">
|
|
<parameter param-name="productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="lotId" title="${uiLabelMap.ProductLotId}"><display/></field>
|
|
<field name="binNumber" title="${ProductBinNumber}"><display/></field>
|
|
<field name="serialNumber"><display/></field>
|
|
<field name="softIdentifier"><display/></field>
|
|
<field name="quantityOnHandTotal"><display description="${availableToPromiseTotal} / ${quantityOnHandTotal}"/></field>
|
|
</form>
|
|
|
|
<form name="SearchInventoryItemsDetailsParams" type="single" target="ViewFacilityInventoryItemsDetails"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="facilityId">
|
|
<drop-down allow-empty="false">
|
|
<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="effectiveDate"><date-find/></field>
|
|
<field name="productId"><text-find/></field>
|
|
<field name="inventoryItemId"><text-find/></field>
|
|
<field name="serialNumber"><text-find/></field>
|
|
<field name="softIdentifier"><text/></field>
|
|
<field name="orderId">
|
|
<lookup target-form-name="LookupOrderHeader"/>
|
|
</field>
|
|
<field name="shipmentId"><lookup target-form-name="LookupShipment"/></field>
|
|
<field name="returnId"><lookup target-form-name="LookupReturnHeader"/></field>
|
|
<field name="workEffortId"><lookup target-form-name="LookupWorkEffort"/></field>
|
|
<field name="reasonEnumId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="Enumeration" key-field-name="enumId">
|
|
<entity-constraint name="enumTypeId" value="IID_REASON"/>
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<!-- the content of the softIdentifier field is converted from hex to int if it starts with "0x";
|
|
this is a nice example of using JavaScript in a form widget definition -->
|
|
<field name="quantityOnHandDiff" tooltip="${uiLabelMap.ProductMessageQoh}"><text-find default-value="0" default-option="notEqual" ignore-case="false"/></field>
|
|
<field name="reportType">
|
|
<drop-down allow-empty="false">
|
|
<option key="BY_ITEM" description="${uiLabelMap.ProductByInventoryItem}"/>
|
|
<option key="BY_PRODUCT" description="${uiLabelMap.ProductByProduct}"/>
|
|
<option key="BY_DATE" description="${uiLabelMap.ProductByDate}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}" event="onclick" action="javascript:var field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if (tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) {field.value=tmp};return true;">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
<form name="ListFacilityInventoryItemsDetailsByItem" type="list" target="" title="" list-name="listIt"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<service service-name="performFind" result-map="results" result-map-list="listIt">
|
|
<field-map field-name="inputFields" from-field="parameters"/>
|
|
<field-map field-name="entityName" value="InventoryItemAndDetail"/>
|
|
<field-map field-name="orderBy" value="productId|inventoryItemId|-inventoryItemDetailSeqId|-effectiveDate|quantityOnHandTotal"/>
|
|
<field-map field-name="viewIndex" from-field="viewIndex"/>
|
|
<field-map field-name="viewSize" from-field="viewSize"/>
|
|
</service>
|
|
</actions>
|
|
<row-actions>
|
|
<set field="showPosition1" value="${groovy: String prev = (String) previousItem.get('inventoryItemId');return new Boolean(!(prev!=null && prev.equals(inventoryItemId)));}" type="Boolean"/>
|
|
</row-actions>
|
|
|
|
<field name="inventoryItemId" widget-style="buttontext" position="1" use-when="showPosition1">
|
|
<hyperlink description="${inventoryItemId}" target="EditInventoryItem">
|
|
<parameter param-name="inventoryItemId"/>
|
|
<parameter param-name="facilityId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="productId" position="1" use-when="showPosition1" widget-style="buttontext">
|
|
<hyperlink description="${productId}" target="/catalog/control/EditProduct" target-type="inter-app">
|
|
<parameter param-name="productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="quantityOnHandTotal" position="1" use-when="showPosition1">
|
|
<display description="${quantityOnHandTotal}"/>
|
|
</field>
|
|
<field name="availableToPromiseTotal" position="1" use-when="showPosition1">
|
|
<display description="${availableToPromiseTotal}"/>
|
|
</field>
|
|
<field name="serialNumber" position="1" use-when="showPosition1"><display/></field>
|
|
<field name="softIdentifier" position="1" use-when="showPosition1"><display/></field>
|
|
|
|
<field name="inventoryItemDetailSeqId" position="2"><display/></field>
|
|
<field name="effectiveDate" position="2"><display/></field>
|
|
<field name="quantityOnHandDiff" position="2"><display/></field>
|
|
<field name="availableToPromiseDiff" position="2"><display/></field>
|
|
|
|
<field name="reasonEnumId" position="2">
|
|
<display-entity entity-name="Enumeration" key-field-name="enumId"/>
|
|
</field>
|
|
<field name="description" position="2"><display/></field>
|
|
<field name="orderId" widget-style="buttontext" position="2">
|
|
<hyperlink description="${orderId}" target="/ordermgr/control/orderview" target-type="inter-app" >
|
|
<parameter param-name="orderId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="orderItemSeqId" position="2"><display/></field>
|
|
<field name="shipmentId" widget-style="buttontext" position="2">
|
|
<hyperlink description="${shipmentId}" target="ViewShipment" >
|
|
<parameter param-name="shipmentId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="shipmentItemSeqId" position="2"><display/></field>
|
|
<field name="workEffortId" widget-style="buttontext" position="2">
|
|
<hyperlink description="${workEffortId}" target="/workeffort/control/WorkEffortSummary" target-type="inter-app" >
|
|
<parameter param-name="workEffortId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="returnId" position="2"><display/></field>
|
|
<field name="returnItemSeqId" position="2"><display/></field>
|
|
</form>
|
|
<form name="ListFacilityInventoryItemsDetailsByProduct" type="list" target="" title="" list-name="listIt"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<service service-name="performFind" result-map="results" result-map-list="listIt">
|
|
<field-map field-name="inputFields" from-field="parameters"/>
|
|
<field-map field-name="entityName" value="InventoryItemAndDetail"/>
|
|
<field-map field-name="orderBy" value="productId|-effectiveDate|inventoryItemId|-inventoryItemDetailSeqId|quantityOnHandTotal"/>
|
|
<field-map field-name="viewIndex" from-field="viewIndex"/>
|
|
<field-map field-name="viewSize" from-field="viewSize"/>
|
|
</service>
|
|
</actions>
|
|
<row-actions>
|
|
<set field="showPosition1" value="${groovy:String prev = (String) previousItem.get('productId'); return new Boolean(!(prev!=null && prev.equals(productId)));}" type="Boolean"/>
|
|
</row-actions>
|
|
|
|
<field name="productId" position="1" use-when="showPosition1" widget-style="buttontext">
|
|
<hyperlink description="${productId}" target="/catalog/control/EditProduct" target-type="inter-app">
|
|
<parameter param-name="productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
|
|
<field name="effectiveDate" position="2"><display/></field>
|
|
<field name="inventoryItemId" widget-style="buttontext" position="2">
|
|
<hyperlink description="${inventoryItemId}" target="EditInventoryItem">
|
|
<parameter param-name="inventoryItemId"/>
|
|
<parameter param-name="facilityId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="inventoryItemDetailSeqId" position="2"><display/></field>
|
|
<field name="quantityOnHandDiff" position="2"><display/></field>
|
|
<field name="availableToPromiseDiff" position="2"><display/></field>
|
|
|
|
<field name="reasonEnumId" position="2">
|
|
<display-entity entity-name="Enumeration" key-field-name="enumId"/>
|
|
</field>
|
|
<field name="description" position="2"><display/></field>
|
|
<field name="orderId" widget-style="buttontext" position="2">
|
|
<hyperlink description="${orderId}" target="/ordermgr/control/orderview" target-type="inter-app" >
|
|
<parameter param-name="orderId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="orderItemSeqId" position="2"><display/></field>
|
|
<field name="shipmentId" widget-style="buttontext" position="2">
|
|
<hyperlink description="${shipmentId}" target="ViewShipment" >
|
|
<parameter param-name="shipmentId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="shipmentItemSeqId" position="2"><display/></field>
|
|
<field name="workEffortId" widget-style="buttontext" position="2">
|
|
<hyperlink description="${workEffortId}" target="/workeffort/control/WorkEffortSummary" target-type="inter-app" >
|
|
<parameter param-name="workEffortId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="returnId" position="2"><display/></field>
|
|
<field name="returnItemSeqId" position="2"><display/></field>
|
|
</form>
|
|
<form name="ListFacilityInventoryItemsDetailsByDate" type="list" target="" title="" list-name="listIt"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<actions>
|
|
<service service-name="performFind" result-map="results" result-map-list="listIt">
|
|
<field-map field-name="inputFields" from-field="parameters"/>
|
|
<field-map field-name="entityName" value="InventoryItemAndDetail"/>
|
|
<field-map field-name="orderBy" value="-effectiveDate|productId|inventoryItemId|-inventoryItemDetailSeqId|quantityOnHandTotal"/>
|
|
<field-map field-name="viewIndex" from-field="viewIndex"/>
|
|
<field-map field-name="viewSize" from-field="viewSize"/>
|
|
</service>
|
|
</actions>
|
|
|
|
<field name="effectiveDate"><display/></field>
|
|
<field name="productId" widget-style="buttontext">
|
|
<hyperlink description="${productId}" target="/catalog/control/EditProduct" target-type="inter-app">
|
|
<parameter param-name="productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="inventoryItemId" widget-style="buttontext">
|
|
<hyperlink description="${inventoryItemId}" target="EditInventoryItem">
|
|
<parameter param-name="inventoryItemId"/>
|
|
<parameter param-name="facilityId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="inventoryItemDetailSeqId"><display/></field>
|
|
<field name="quantityOnHandDiff"><display/></field>
|
|
<field name="availableToPromiseDiff"><display/></field>
|
|
|
|
<field name="reasonEnumId">
|
|
<display-entity entity-name="Enumeration" key-field-name="enumId"/>
|
|
</field>
|
|
<field name="description"><display/></field>
|
|
<field name="orderId" widget-style="buttontext">
|
|
<hyperlink description="${orderId}" target="/ordermgr/control/orderview" target-type="inter-app" >
|
|
<parameter param-name="orderId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="orderItemSeqId"><display/></field>
|
|
<field name="shipmentId" widget-style="buttontext">
|
|
<hyperlink description="${shipmentId}" target="ViewShipment" >
|
|
<parameter param-name="shipmentId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="shipmentItemSeqId"><display/></field>
|
|
<field name="workEffortId" widget-style="buttontext">
|
|
<hyperlink description="${workEffortId}" target="/workeffort/control/WorkEffortSummary" target-type="inter-app" >
|
|
<parameter param-name="workEffortId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="returnId"><display/></field>
|
|
<field name="returnItemSeqId"><display/></field>
|
|
</form>
|
|
|
|
<form name="FindFacilityInventoryByProduct" type="single" target="${facilityInventoryByProductScreen}" title=""
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="action"><hidden value="SEARCH"/></field>
|
|
<field name="productId" title="${uiLabelMap.ProductProductId}">
|
|
<lookup target-form-name="LookupProduct"/>
|
|
</field>
|
|
<field name="internalName" title="${uiLabelMap.ProductInternalName}">
|
|
<text/>
|
|
</field>
|
|
<field name="productTypeId" title="${uiLabelMap.ProductProductType}">
|
|
<drop-down allow-empty="true" no-current-selected-key="FINISHED_GOOD">
|
|
<entity-options entity-name="ProductType"> <!-- [${productTypeId}] -->
|
|
<entity-constraint name="isPhysical" value="Y" operator="equals"/>
|
|
<entity-constraint name="parentTypeId" value="GOOD" operator="equals"/>
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="searchInProductCategoryId" title="${uiLabelMap.ProductCategory}"><lookup target-form-name="LookupProductCategory"></lookup></field>
|
|
<field name="productSupplierId" title="${uiLabelMap.ProductSupplier}">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="PartyRoleAndPartyDetail" key-field-name="partyId" description="${groupName} [${partyId}]">
|
|
<entity-constraint name="roleTypeId" operator="equals" value="SUPPLIER"/>
|
|
<entity-order-by field-name="partyId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="statusId">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="StatusItem" key-field-name="statusId">
|
|
<entity-constraint name="statusTypeId" operator="equals" value="INV_NON_SER_STTS"/>
|
|
</entity-options>
|
|
<entity-options entity-name="StatusItem" key-field-name="statusId">
|
|
<entity-constraint name="statusTypeId" operator="equals" value="INV_SERIALIZED_STTS"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="offsetQOHQty" title="${uiLabelMap.ProductQtyOffsetQOHBelow}"><text/></field>
|
|
<field name="offsetATPQty" title="${uiLabelMap.ProductQtyOffsetATPBelow}"><text/></field>
|
|
<field name="productsSoldThruTimestamp" title="${uiLabelMap.ProductShowProductsSoldThruTimestamp}">
|
|
<date-time default-value="${groovy: org.apache.ofbiz.base.util.UtilDateTime.nowTimestamp()}"/>
|
|
</field>
|
|
<field name="VIEW_SIZE_1" entry-name="viewSize" title="${uiLabelMap.ProductShowProductsPerPage}"><text/></field>
|
|
<field name="monthsInPastLimit" entry-name="monthsInPastLimit"><text/></field>
|
|
<field name="fromDateSellThrough" title="${uiLabelMap.ProductFromDateSellThrough}"><date-time/></field>
|
|
<field name="thruDateSellThrough" title="${uiLabelMap.ProductThruDateSellThrough}"><date-time/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
<form name="ListFacilityInventoryByProduct" type="list" target="" title="" list-name="inventoryByProduct"
|
|
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"
|
|
paginate-target="${facilityInventoryByProductScreen}" override-list-size="${overrideListSize}">
|
|
<row-actions>
|
|
<script location="component://product/groovyScripts/facility/facility/ComputeProductSellThroughData.groovy"/>
|
|
</row-actions>
|
|
<field name="items" title="${uiLabelMap.ProductProductId}" widget-style="buttontext">
|
|
<hyperlink description="${productId}" target="EditFacilityInventoryItems">
|
|
<parameter param-name="productId"/>
|
|
<parameter param-name="facilityId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="productId" title="${uiLabelMap.CommonDescription}">
|
|
<display-entity entity-name="Product" description="${internalName}">
|
|
<sub-hyperlink target="/catalog/control/EditProduct" target-type="inter-app" description="${uiLabelMap.ProductCatalog}" link-style="buttontext">
|
|
<parameter param-name="productId"/>
|
|
</sub-hyperlink>
|
|
</display-entity>
|
|
</field>
|
|
<field name="totalAvailableToPromise" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductAtp}"><display/></field>
|
|
<field name="totalQuantityOnHand" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductQoh}"><display/></field>
|
|
<field name="quantityOnOrder" title="${uiLabelMap.ProductOrderedQuantity}"><display/></field>
|
|
<field name="minimumStock" title="${uiLabelMap.ProductMinimumStock}"><display/></field>
|
|
<field name="reorderQuantity" title="${uiLabelMap.ProductReorderQuantity}"><display/></field>
|
|
<field name="daysToShip" title="${uiLabelMap.ProductDaysToShip}"><display/></field>
|
|
<field name="offsetQOHQtyAvailable" title="${uiLabelMap.ProductQtyOffsetQOH}"><display/></field>
|
|
<field name="offsetATPQtyAvailable" title="${uiLabelMap.ProductQtyOffsetATP}"><display/></field>
|
|
<field name="quantityUom" title="${uiLabelMap.ProductQuantityUomId}">
|
|
<display-entity entity-name="Uom" key-field-name="uomId" description="${abbreviation}"/>
|
|
</field>
|
|
<field name="usageQuantity" title="${uiLabelMap.ProductUsage}"><display/></field>
|
|
<field name="defaultPrice" title="${uiLabelMap.ProductDefaultPrice}"><display/></field>
|
|
<field name="listPrice" title="${uiLabelMap.ProductListPrice}"><display/></field>
|
|
<field name="wholeSalePrice" title="${uiLabelMap.ProductWholeSalePrice}"><display/></field>
|
|
<field name="fromDateSellThrough" entry-name="parameters.fromDateSellThrough"><display/></field>
|
|
<field name="sellThroughInitialInventory"><display/></field>
|
|
<field name="sellThroughInventorySold"><display/></field>
|
|
<field name="sellThroughPercentage"><display/></field>
|
|
</form>
|
|
|
|
<!-- multi-form for list of packages ready to be weighted and scheduled for shipment -->
|
|
<form name="SchedulingList" type="multi" use-row-submit="true" list-name="shipmentRouteSegments" title="${uiLabelMap.PageTitlePackageShipmentScheduling}" target="BatchScheduleShipmentRouteSegments?facilityId=${facilityId}"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" separate-columns="true">
|
|
<field name="shipmentId" title="${uiLabelMap.ProductShipmentId}">
|
|
<hyperlink description="${shipmentId}" target="ViewShipment">
|
|
<parameter param-name="shipmentId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="primaryOrderId" title="${uiLabelMap.ProductOrderId}">
|
|
<hyperlink description="${primaryOrderId}" target="/ordermgr/control/orderview" target-type="inter-app">
|
|
<parameter param-name="orderId" from-field="primaryOrderId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="shipmentRouteSegmentId">
|
|
<hyperlink description="${shipmentRouteSegmentId}" target="EditShipmentRouteSegments">
|
|
<parameter param-name="shipmentId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="carrierPartyId" title="${uiLabelMap.ProductCarrier}">
|
|
<display-entity description="${groupName}" entity-name="PartyNameView" key-field-name="partyId"/>
|
|
</field>
|
|
<field name="shipmentMethodTypeId" title="${uiLabelMap.ProductShipmentMethodType}">
|
|
<drop-down allow-empty="false">
|
|
<entity-options entity-name="ShipmentMethodType"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="billingWeight" title="${uiLabelMap.CommonWeight}"><text size="10"/></field>
|
|
<field name="billingWeightUomId" title="${uiLabelMap.ProductWeightUomId}">
|
|
<drop-down allow-empty="false">
|
|
<option key="${defaultWeightUom.uomId}" description="${defaultWeightUom.description}"/>
|
|
<entity-options entity-name="Uom" key-field-name="uomId">
|
|
<entity-constraint name="uomTypeId" operator="equals" value="WEIGHT_MEASURE"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><check/></field>
|
|
<field name="submitButton" title="${uiLabelMap.ProductScheduleTheseRouteSegments}" widget-style="smallSubmit">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
|
|
<!-- multi-form to print confirmed shipping labels and to mark shipment route segments as accepted
|
|
(to see how this dual-action multi form works, see batchPrintMarkAsAccepted.ftl) -->
|
|
<form name="Labels" type="multi" use-row-submit="true" list-name="shipmentPackageRouteSegments" title="" target="BatchPrintShippingLabels" separate-columns="true"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="shipmentId" title="${uiLabelMap.ProductShipmentId}">
|
|
<hyperlink description="${shipmentId}" target="ViewShipment">
|
|
<parameter param-name="shipmentId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="primaryOrderId" title="${uiLabelMap.ProductOrderId}">
|
|
<hyperlink description="${primaryOrderId}" target="/ordermgr/control/orderview" target-type="inter-app">
|
|
<parameter param-name="orderId" from-field="primaryOrderId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="shipmentRouteSegmentId"><display/></field>
|
|
<field name="shipmentPackageSeqId"><display/></field>
|
|
<field name="carrierPartyId" title="${uiLabelMap.ProductCarrier}">
|
|
<display-entity description="${groupName}" entity-name="PartyNameView" key-field-name="partyId"/>
|
|
</field>
|
|
<field name="shipmentMethodTypeId" title="${uiLabelMap.ProductShipmentMethodType}">
|
|
<display-entity entity-name="ShipmentMethodType"/>
|
|
</field>
|
|
<field name="label" title="${uiLabelMap.ProductLabel}">
|
|
<hyperlink description="${uiLabelMap.ProductLabel}" target="viewShipmentPackageRouteSegLabelImage">
|
|
<parameter param-name="shipmentId"/>
|
|
<parameter param-name="shipmentRouteSegmentId"/>
|
|
<parameter param-name="shipmentPackageSeqId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<!-- this is for multi-submitting the mark as accepted action (see batchPrintMarkAsAccepted.ftl) -->
|
|
<field name="carrierServiceStatusId"><hidden value="SHRSCS_ACCEPTED"/></field>
|
|
<field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><check/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonPrint}" widget-style="smallSubmit">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="FindPhysicalInventory" type="single" target="FindFacilityPhysicalInventory" title=""
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="productId" position="1"><lookup target-form-name="LookupProduct"/></field>
|
|
<field name="internalName" title="${uiLabelMap.ProductInternalName}">
|
|
<text/>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
<form name="ListPhysicalInventory" type="multi" list-name="physicalInventory" target="createPhysicalVariances?facilityId=${parameters.facilityId}&productId=${parameters.productId}&internalName=${parameters.internalName}" use-row-submit="true"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" separate-columns="true">
|
|
<field name="inventoryItemId" widget-style="buttontext">
|
|
<hyperlink description="${inventoryItemId}" target="EditInventoryItem">
|
|
<parameter param-name="inventoryItemId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="productId" widget-style="buttontext">
|
|
<hyperlink description="${productId}" target="/catalog/control/EditProductInventoryItems" target-type="inter-app">
|
|
<parameter param-name="productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="internalName"><display/></field>
|
|
<field name="availableToPromiseTotal" title="${uiLabelMap.ProductItemATP}"><display/></field>
|
|
<field name="quantityOnHandTotal" title="${uiLabelMap.ProductItemQOH}"><display/></field>
|
|
<field name="productATP" title="${uiLabelMap.ProductProductATP}"><display/></field>
|
|
<field name="productQOH" title="${uiLabelMap.ProductProductQOH}"><display/></field>
|
|
<field name="varianceReasonId">
|
|
<drop-down allow-empty="false">
|
|
<entity-options entity-name="VarianceReason"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="availableToPromiseVar" title="${uiLabelMap.ProductProductATPVar}" event="onchange" action="document.ListPhysicalInventory._rowSubmit_o_${itemIndex}.checked = true"><text size="6"/></field>
|
|
<field name="quantityOnHandVar" title="${uiLabelMap.ProductProductQOHVar}" event="onchange" action="document.ListPhysicalInventory._rowSubmit_o_${itemIndex}.checked = true"><text size="6"/></field>
|
|
<field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><check/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}" widget-style="smallSubmit">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
<!-- FacilityGroups -->
|
|
<form name="EditFacilityGroups" type="list" target="updateGroupToFacility" paginate-target="EditFacilityGroups" title="" list-name="facilityGroupMembers"
|
|
header-row-style="header-row-2" odd-row-style="alternate-row" default-table-style="basic-table hover-bar" separate-columns="true">
|
|
<auto-fields-entity entity-name="FacilityGroupMember"/>
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="facilityGroupId" title="${uiLabelMap.ProductFacilityGroupId}">
|
|
<display-entity entity-name="FacilityGroup" key-field-name="facilityGroupId" description="${facilityGroupName}">
|
|
<sub-hyperlink target="EditFacilityGroup" description="[${facilityGroupId}]">
|
|
<parameter param-name="facilityGroupId"/>
|
|
</sub-hyperlink>
|
|
</display-entity>
|
|
</field>
|
|
<field name="fromDate"><display/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
|
|
<field name="deleteLink" title=" " widget-style="buttontext">
|
|
<hyperlink description="${uiLabelMap.CommonDelete}" target="removeGroupFromFacility" also-hidden="false">
|
|
<parameter param-name="facilityId"/>
|
|
<parameter param-name="facilityGroupId"/>
|
|
<parameter param-name="fromDate"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="AddGroupToFacility" type="single" target="addGroupToFacility" title=""
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-entity entity-name="FacilityGroupMember"/>
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="facilityGroupId" title="${uiLabelMap.ProductFacilityGroupId}">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="FacilityGroup" key-field-name="facilityGroupId" description="${facilityGroupName}"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="fromDate"><date-time default-value="${nowTimestamp}"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<!-- FacilityParty -->
|
|
<form name="EditFacilityParties" type="list" paginate-target="EditFacilityParties" title="" list-name="facilityParties" target="updateFacilityParty"
|
|
header-row-style="header-row-2" odd-row-style="alternate-row" default-table-style="basic-table hover-bar" separate-columns="true">
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="partyId">
|
|
<display-entity description="${groupName} ${firstName} ${lastName} [${partyId}]" entity-name="PartyNameView"/>
|
|
</field>
|
|
<field name="roleTypeId">
|
|
<display-entity entity-name="RoleType"/>
|
|
</field>
|
|
<field name="fromDate" title="${uiLabelMap.CommonFromDate}"><display/></field>
|
|
<field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-time/></field>
|
|
<field name="updateButton" title="${uiLabelMap.CommonUpdate}" widget-style="buttontext">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
<field name="deleteLink" title="${uiLabelMap.CommonDelete}" widget-style="buttontext">
|
|
<hyperlink description="${uiLabelMap.CommonDelete}" target="removePartyFromFacility" also-hidden="false">
|
|
<parameter param-name="facilityId"/>
|
|
<parameter param-name="partyId"/>
|
|
<parameter param-name="roleTypeId"/>
|
|
<parameter param-name="fromDate"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="AddPartyToFacility" type="single" target="addPartyToFacility" title=""
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-entity entity-name="FacilityParty"/>
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="partyId" required-field="true">
|
|
<lookup target-form-name="LookupPartyName"/>
|
|
</field>
|
|
<field name="roleTypeId" required-field="true">
|
|
<drop-down allow-empty="true">
|
|
<entity-options entity-name="RoleType"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="fromDate"><date-time default-value="${nowTimestamp}"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="ListInventoryItemTotals" type="list" target="" title="" list-name="inventoryItemTotals"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
|
|
paginate-target="InventoryItemTotals" override-list-size="${overrideListSize}">
|
|
|
|
<field name="inventoryItemGrandTotals"><hidden/></field>
|
|
<field name="productId" title="${uiLabelMap.ProductProductId}"><display/></field>
|
|
<field name="quantityOnHand" title="${uiLabelMap.ProductQoh}"><display/></field>
|
|
<field name="availableToPromise" title="${uiLabelMap.ProductAtp}"><display/></field>
|
|
<field name="costPrice" title="${uiLabelMap.ProductCostPrice}"><display/></field>
|
|
<field name="retailPrice" title="${uiLabelMap.ProductRetailPrice}"><display/></field>
|
|
<field name="totalCostPrice" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductCostPrice}"><display/></field>
|
|
<field name="totalRetailPrice" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductRetailPrice}"><display/></field>
|
|
</form>
|
|
<form name="ListInventoryAverageCosts" type="list" target="" title="" list-name="inventoryAverageCosts"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar"
|
|
paginate-target="InventoryAverageCosts" override-list-size="${overrideListSize}">
|
|
<field name="productId2" title="${uiLabelMap.ProductProductId}" entry-name="productId" widget-style="buttontext">
|
|
<hyperlink description="${productId}" target="/catalog/control/EditProduct" target-type="inter-app">
|
|
<parameter param-name="productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="totalQuantityOnHand" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductQoh}"><display/></field>
|
|
<field name="productAverageCost" use-when="currencyUomId!=null" title="${uiLabelMap.ProductAverageCost}" ><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="productAverageCost" use-when="currencyUomId==null" title="${uiLabelMap.ProductAverageCost}" ><display description="${uiLabelMap.ProductDifferentCurrencies}"/></field>
|
|
<field name="totalInventoryCost" use-when="currencyUomId!=null" title="${uiLabelMap.CommonTotalCost}" ><display type="currency" currency="${currencyUomId}"/></field>
|
|
<field name="totalInventoryCost" use-when="currencyUomId==null" title="${uiLabelMap.CommonTotalCost}"><display description="${uiLabelMap.ProductDifferentCurrencies}"/></field>
|
|
</form>
|
|
<form name="ListInventoryItemGrandTotals" type="list" list-name="inventoryItemGrandTotals"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="qohGrandTotal" title="${uiLabelMap.ProductQoh} ${uiLabelMap.CommonTotal} ${uiLabelMap.CommonQty}"><display/></field>
|
|
<field name="atpGrandTotal" title="${uiLabelMap.ProductAtp} ${uiLabelMap.CommonTotal} ${uiLabelMap.CommonQty}"><display/></field>
|
|
<field name="totalCostPriceGrandTotal" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductCostPrice}"><display/></field>
|
|
<field name="totalRetailPriceGrandTotal" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductRetailPrice}"><display/></field>
|
|
</form>
|
|
<form name="InventoryItemTotalsExport" type="list" list-name="inventoryItemTotals"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="productId" title="${uiLabelMap.ProductProductId}"><display/></field>
|
|
<field name="quantityOnHand" title="${uiLabelMap.ProductQoh}"><display/></field>
|
|
<field name="availableToPromise" title="${uiLabelMap.ProductAtp}"><display/></field>
|
|
<field name="costPrice" title="${uiLabelMap.ProductCostPrice}"><display/></field>
|
|
<field name="retailPrice" title="${uiLabelMap.ProductRetailPrice}"><display/></field>
|
|
<field name="totalCostPrice" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductCostPrice}"><display/></field>
|
|
<field name="totalRetailPrice" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductRetailPrice}"><display/></field>
|
|
</form>
|
|
<form name="InventoryItemGrandTotalsExport" type="list" list-name="inventoryItemGrandTotals"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="qohGrandTotal" title="${uiLabelMap.ProductQoh} ${uiLabelMap.CommonTotal} ${uiLabelMap.CommonQty}"><display/></field>
|
|
<field name="atpGrandTotal" title="${uiLabelMap.ProductAtp} ${uiLabelMap.CommonTotal} ${uiLabelMap.CommonQty}"><display/></field>
|
|
<field name="totalCostPriceGrandTotal" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductCostPrice}"><display/></field>
|
|
<field name="totalRetailPriceGrandTotal" title="${uiLabelMap.CommonTotal} ${uiLabelMap.ProductRetailPrice}"><display/></field>
|
|
</form>
|
|
|
|
<form name="ToFacilityTransfers" type="list" target="" title="" list-name="toTransfers"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<row-actions>
|
|
<entity-one entity-name="InventoryItem" value-field="inventoryItem">
|
|
<field-map field-name="inventoryItemId"/>
|
|
</entity-one>
|
|
<entity-one entity-name="Product" value-field="product">
|
|
<field-map field-name="productId" from-field="inventoryItem.productId"/>
|
|
</entity-one>
|
|
</row-actions>
|
|
|
|
<field name="inventoryTransferId" title="${uiLabelMap.ProductInventoryTransfer}" widget-style="buttontext">
|
|
<hyperlink description="${inventoryTransferId}" target="TransferInventoryItem">
|
|
<parameter param-name="inventoryTransferId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="inventoryItemId" widget-style="buttontext">
|
|
<hyperlink description="${inventoryItemId}" target="EditInventoryItem">
|
|
<parameter param-name="inventoryItemId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="facilityId" widget-style="buttontext">
|
|
<hyperlink description="${facilityId}" target="EditFacility">
|
|
<parameter param-name="facilityId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="facilityName" entry-name="facilityId">
|
|
<display-entity entity-name="Facility" key-field-name="facilityId" description="${facilityName}"/>
|
|
</field>
|
|
<field name="locationSeqId"><display/></field>
|
|
<field name="productId" entry-name="product.productId" widget-style="buttontext">
|
|
<hyperlink description="${product.productId}" target="/catalog/control/EditProduct" target-type="inter-app">
|
|
<parameter param-name="productId" from-field="product.productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="productName" title="${uiLabelMap.ProductProductName}" entry-name="product.internalName"><display/></field>
|
|
<field name="serialNumber" entry-name="inventoryItem.serialNumber"><display/></field>
|
|
<field name="atpQoh" title="${uiLabelMap.ProductAtpQoh}"><display description="${inventoryItem.availableToPromiseTotal}/${inventoryItem.quantityOnHandTotal}"/></field>
|
|
<field name="locationSeqIdTo"><display/></field>
|
|
<field name="sendDate"><display/></field>
|
|
<field name="receiveDate"><display/></field>
|
|
<field name="statusId">
|
|
<display-entity entity-name="StatusItem"/>
|
|
</field>
|
|
</form>
|
|
<form name="FromFacilityTransfers" type="list" target="" title="" list-name="fromTransfers"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<row-actions>
|
|
<entity-one entity-name="InventoryItem" value-field="inventoryItem">
|
|
<field-map field-name="inventoryItemId"/>
|
|
</entity-one>
|
|
<entity-one entity-name="Product" value-field="product">
|
|
<field-map field-name="productId" from-field="inventoryItem.productId"/>
|
|
</entity-one>
|
|
</row-actions>
|
|
<field name="inventoryTransferId" title="${uiLabelMap.ProductInventoryTransfer}" widget-style="buttontext">
|
|
<hyperlink description="${inventoryTransferId}" target="TransferInventoryItem">
|
|
<parameter param-name="inventoryTransferId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="inventoryItemId" widget-style="buttontext">
|
|
<hyperlink description="${inventoryItemId}" target="EditInventoryItem">
|
|
<parameter param-name="inventoryItemId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="facilityIdTo" widget-style="buttontext">
|
|
<hyperlink description="${facilityIdTo}" target="EditFacility">
|
|
<parameter param-name="facilityId" from-field="facilityIdTo"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="facilityName" entry-name="facilityIdTo">
|
|
<display-entity entity-name="Facility" key-field-name="facilityId" description="${facilityName}"/>
|
|
</field>
|
|
<field name="locationSeqIdTo"><display/></field>
|
|
<field name="productId" entry-name="product.productId" widget-style="buttontext">
|
|
<hyperlink description="${product.productId}" target="/catalog/control/EditProduct" target-type="inter-app">
|
|
<parameter param-name="productId" from-field="product.productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="productName" title="${uiLabelMap.ProductProductName}" entry-name="product.internalName"><display/></field>
|
|
<field name="serialNumber" entry-name="inventoryItem.serialNumber"><display/></field>
|
|
<field name="atpQoh" title="${uiLabelMap.ProductAtpQoh}"><display description="${inventoryItem.availableToPromiseTotal}/${inventoryItem.quantityOnHandTotal}"/></field>
|
|
<field name="locationSeqId"><display/></field>
|
|
<field name="sendDate"><display/></field>
|
|
<field name="receiveDate"><display/></field>
|
|
<field name="statusId">
|
|
<display-entity entity-name="StatusItem"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="FromFacilityTransfersComplete" type="multi" target="CompleteRequestedTransfers?completeRequested=true&facilityId=${facilityId}" title="" list-name="fromTransfers"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" use-row-submit="true">
|
|
<row-actions>
|
|
<entity-one entity-name="InventoryItem" value-field="inventoryItem">
|
|
<field-map field-name="inventoryItemId"/>
|
|
</entity-one>
|
|
<entity-one entity-name="Product" value-field="product">
|
|
<field-map field-name="productId" from-field="inventoryItem.productId"/>
|
|
</entity-one>
|
|
</row-actions>
|
|
<field name="inventoryTransferId" title="${uiLabelMap.ProductInventoryTransfer}" widget-style="buttontext">
|
|
<hyperlink description="${inventoryTransferId}" target="TransferInventoryItem">
|
|
<parameter param-name="inventoryTransferId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="inventoryItemId" widget-style="buttontext">
|
|
<hyperlink description="${inventoryItemId}" target="EditInventoryItem">
|
|
<parameter param-name="inventoryItemId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="facilityIdTo" widget-style="buttontext">
|
|
<hyperlink description="${facilityIdTo}" target="EditFacility" also-hidden="false">
|
|
<parameter param-name="facilityId" from-field="facilityIdTo"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="facilityName" entry-name="facilityIdTo">
|
|
<display-entity entity-name="Facility" key-field-name="facilityId" description="${facilityName}" also-hidden="false"/>
|
|
</field>
|
|
<field name="locationSeqIdTo"><display also-hidden="false"/></field>
|
|
<field name="productId" entry-name="product.productId" widget-style="buttontext">
|
|
<hyperlink description="${product.productId}" target="/catalog/control/EditProduct" target-type="inter-app" also-hidden="false">
|
|
<parameter param-name="productId" from-field="product.productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="productName" title="${uiLabelMap.ProductProductName}" entry-name="product.internalName"><display also-hidden="false"/></field>
|
|
<field name="serialNumber" entry-name="inventoryItem.serialNumber"><display also-hidden="false"/></field>
|
|
<field name="atpQoh" title="${uiLabelMap.ProductAtpQoh}"><display description="${inventoryItem.availableToPromiseTotal}/${inventoryItem.quantityOnHandTotal}" also-hidden="false"/></field>
|
|
<field name="locationSeqId"><display also-hidden="false"/></field>
|
|
<field name="sendDate"><display also-hidden="false"/></field>
|
|
<field name="receiveDate"><display also-hidden="false"/></field>
|
|
<field name="statusId"><hidden value="IXF_COMPLETE"/></field>
|
|
<field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><check/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
|
|
<!--Facility Content-->
|
|
<form name="AddFacilityContent" type="upload" focus-field-name="contentId"
|
|
header-row-style="header-row" default-table-style="basic-table" target="createFacilityContent?facilityId=${facilityId}">
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="contentId" title="${uiLabelMap.FormFieldTitle_existContentId}">
|
|
<lookup target-form-name="LookupContent"/>
|
|
</field>
|
|
<field name="contentTypeId" title="${uiLabelMap.FormFieldTitle_contentTypeId}">
|
|
<drop-down allow-empty="false" no-current-selected-key="DOCUMENT">
|
|
<entity-options entity-name="ContentType">
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="statusId" title="${uiLabelMap.CommonStatus}">
|
|
<drop-down allow-empty="false" no-current-selected-key="CTNT_AVAILABLE">
|
|
<entity-options entity-name="StatusItem" key-field-name="statusId">
|
|
<entity-constraint name="statusTypeId" value="CONTENT_STATUS"/>
|
|
<entity-order-by field-name="sequenceId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="dataResourceName" title="${uiLabelMap.CommonUpload}"><file/></field>
|
|
<field name="contentIdFrom" title="${uiLabelMap.ContentParentContentId}"><lookup target-form-name="LookupContent"/></field>
|
|
<field name="createButton"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="ListFacilityContent" type="list" list-name="facilityContentDetails"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="contentId" title="${uiLabelMap.CommonView}">
|
|
<hyperlink description="[${contentId}]" target="/content/control/ViewSimpleContent" target-type="inter-app">
|
|
<parameter param-name="contentId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="contentName"><display/></field>
|
|
<field name="mimeTypeId"><display/></field>
|
|
<field name="contentTypeId" title="${uiLabelMap.FormFieldTitle_contentTypeId}"><display-entity entity-name="ContentType" also-hidden="false"/></field>
|
|
<field name="fromDate"><display/></field>
|
|
<field name="deleteLink" title=" " widget-style="buttontext">
|
|
<hyperlink description="${uiLabelMap.CommonDelete}" target="deleteFacilityContent" also-hidden="false">
|
|
<parameter param-name="facilityId"/>
|
|
<parameter param-name="contentId"/>
|
|
<parameter param-name="fromDate"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="EditFacilityGeoPoint" type="single" target="createUpdateFacilityGeoPoint" default-map-name="geoPoint"
|
|
default-table-style="basic-table">
|
|
<field name="facilityId"><hidden value="${facilityId}"/></field>
|
|
<field name="geoPointId"><hidden/></field>
|
|
<field name="dataSourceId">
|
|
<drop-down allow-empty="false">
|
|
<entity-options entity-name="DataSource">
|
|
<entity-constraint name="dataSourceTypeId" value="GEOPOINT_SUPPLIER"/>
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="latitude"><text/></field>
|
|
<field name="longitude"><text/></field>
|
|
<field name="elevation"><text/></field>
|
|
<field name="elevationUomId">
|
|
<drop-down allow-empty="false">
|
|
<entity-options entity-name="Uom" key-field-name="uomId">
|
|
<entity-constraint name="uomTypeId" value="LENGTH_MEASURE"/>
|
|
<entity-order-by field-name="description"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="information"><text size="50" maxlength="60"/></field>
|
|
<field name="selectButton" title="${uiLabelMap.CommonSubmit}"><submit button-type="button"/></field>
|
|
</form>
|
|
|
|
<form name="ListFacilityAgreements" type="list" list-name="facilityAgreements"
|
|
odd-row-style="alternate-row" default-table-style="basic-table">
|
|
<field name="agreementId" widget-style="buttontext">
|
|
<hyperlink description="${agreementId}/${agreementItemSeqId}" target="/accounting/control/EditAgreementItemFacility" target-type="inter-app" also-hidden="false">
|
|
<parameter param-name="agreementId"/>
|
|
<parameter param-name="agreementItemSeqId"/>
|
|
<parameter param-name="faclityId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="agreementText"><display/></field>
|
|
<field name="description"><display/></field>
|
|
<field name="fromDate"><display/></field>
|
|
<field name="thruDate"><display/></field>
|
|
</form>
|
|
|
|
<form name="CreateInventoryTransferForItem" type="single" default-table-style="basic-table" target="TransferInventoryItem">
|
|
<field name="inventoryItemId" widget-style="buttontext" title="${uiLabelMap.FormFieldTitle_inventoryItemId}"><text/></field>
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
<form name="CreateInventoryTransferForProduct" type="single" default-table-style="basic-table" target="TransferInventoryItem">
|
|
<actions>
|
|
<set field="productId" value="${groovy: if(inventoryItem != null)inventoryItem.productId}"/>
|
|
</actions>
|
|
<field name="productId" widget-style="buttontext" title="${uiLabelMap.FormFieldTitle_productId}">
|
|
<lookup target-form-name="LookupProduct"></lookup>
|
|
</field>
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
<form name="CreateInventoryTransfer" type="single" default-table-style="basic-table" target="CreateInventoryTransfer">
|
|
<alt-target use-when="${groovy: inventoryItem==null}" target="createInventoryTransfersForProduct"/>
|
|
<alt-target use-when="${groovy: inventoryTransferId!=null}" target="UpdateInventoryTransfer"/>
|
|
<field name="inventoryItemId" widget-style="buttontext" use-when="${groovy: inventoryItem != null}">
|
|
<hyperlink description="${inventoryItemId}" target="/catalog/control/EditInventoryItem" target-type="inter-app">
|
|
<parameter param-name="inventoryItemId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="inventoryItemTypeId" use-when="${groovy: inventoryItem != null}"><display description="${inventoryItemType.description}"/></field>
|
|
<field name="productId" widget-style="buttontext">
|
|
<hyperlink description="${groovy: if(inventoryItem) inventoryItem.productId else parameters.productId}" target="/catalog/control/EditProduct" target-type="inter-app">
|
|
<parameter param-name="productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="inventoryStatusId" use-when="${groovy: inventoryItem != null}"><display description="${statusItem.description}"/></field>
|
|
<field name="inventoryComments" use-when="${groovy: inventoryItem != null}"><display description="${inventoryItem.comments}"/></field>
|
|
<field name="atpQoh" title="${uiLabelMap.ProductSerialAtpQoh}" use-when="${groovy: inventoryItem != null}"><display description="${inventoryItem.availableToPromiseTotal} / ${inventoryItem.quantityOnHandTotal}"/></field>
|
|
<field name="statusId" title="${uiLabelMap.ProductTransferStatus}" entry-name="inventoryTransfer.statusId">
|
|
<drop-down>
|
|
<entity-options description="${description}" entity-name="StatusItem">
|
|
<entity-constraint name="statusTypeId" value="INVENTORY_XFER_STTS"/>
|
|
<entity-order-by field-name="sequenceId"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="sendDate" title="${uiLabelMap.ProductTransferSendDate}"><date-time type="timestamp" default-value="${inventoryTransfer.sendDate}"/></field>
|
|
<field name="receiveDate" title="${uiLabelMap.ProductTransferReceiveDate}" use-when="${groovy: inventoryTransfer!=null}"><date-time type="timestamp" default-value="${inventoryTransfer.receiveDate}"/></field>
|
|
<field name="facilityIdTo" use-when="${groovy: inventoryTransfer==null}">
|
|
<drop-down>
|
|
<entity-options description="${facilityName} [${facilityId}]" entity-name="Facility" key-field-name="facilityId">
|
|
<entity-order-by field-name="facilityName"/>
|
|
</entity-options>
|
|
</drop-down>
|
|
</field>
|
|
<field name="facilityIdTo" use-when="${groovy: inventoryTransfer!=null}" widget-style="buttontext">
|
|
<hyperlink description="${inventoryTransfer.facilityIdTo}" target="EditFacility" also-hidden="false">
|
|
<parameter param-name="facilityId" value="${inventoryTransfer.facilityIdTo}"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="containerIdTo" title="${uiLabelMap.FormFieldTitle_containerId}" use-when="${groovy: inventoryTransfer==null}"><text default-value="${inventoryTransfer.containerIdTo}"/></field>
|
|
<field name="containerIdTo" title="${uiLabelMap.FormFieldTitle_containerId}" use-when="${groovy: inventoryTransfer!=null}"><display/></field>
|
|
<field name="locationSeqIdTo" title="${uiLabelMap.ProductToLocation}"><lookup target-form-name="LookupFacilityLocation" default-value="${inventoryTransfer.locationSeqIdTo}"/></field>
|
|
<field name="comments" title="${uiLabelMap.ProductComments}"><textarea default-value="${inventoryTransfer.comments}"/></field>
|
|
<field name="xferQty" use-when="${groovy: inventoryItem != null && inventoryTransfer == null}" title="${uiLabelMap.ProductQuantityToTransfer}"><text size="6"/></field>
|
|
<field name="quantity" use-when="${groovy: product != null && inventoryTransfer == null}" title="${uiLabelMap.ProductQuantityToTransfer}"><text size="6"/></field>
|
|
<field name="facilityId"><hidden/></field>
|
|
<field name="inventoryTransferId"><hidden/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonSubmit}">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
</forms>
|