diff --git a/applications/product/config/ProductUiLabels.properties b/applications/product/config/ProductUiLabels.properties index 5ea03c9f35..41bf90faf8 100644 --- a/applications/product/config/ProductUiLabels.properties +++ b/applications/product/config/ProductUiLabels.properties @@ -396,6 +396,7 @@ ProductAssociationsFromProduct=Associations FROM this Product to ProductAssociationsToProduct=Associations TO this Product from ProductAssocs=Assocs ProductAtp=ATP +ProductAtpQoh=Atp/Qoh ProductAtpQohSerial=ATP/QOH or Serial# ProductAttachmentScreenLocation=Attachment Screen Location (XSL-FO) ProductAttributes=Attributes @@ -2025,4 +2026,9 @@ FormFieldTitle_inventoryItemLabelTypeId=Inventory Item Label Type Id FormFieldTitle_parentTypeId=Parent Type Id FormFieldTitle_reportType=Report Type FormFieldTitle_availableToPromiseTotal=Available To Promise Total -FormFieldTitle_addtlShippingChargeDesc=Addtl Shipping Charge Desc \ No newline at end of file +FormFieldTitle_addtlShippingChargeDesc=Addtl Shipping Charge Desc +FormFieldTitle_inventoryTransferId=Inventory Transfer Id +FormFieldTitle_locationSeqIdTo=Location Seq Id To +FormFieldTitle_sendDate=Send Date +FormFieldTitle_receiveDate=Receive Date +FormFieldTitle_facilityIdTo=Facility Id To \ No newline at end of file diff --git a/applications/product/config/ProductUiLabels_it.properties b/applications/product/config/ProductUiLabels_it.properties index 00663c2dbb..2f3b6ae5ec 100644 --- a/applications/product/config/ProductUiLabels_it.properties +++ b/applications/product/config/ProductUiLabels_it.properties @@ -391,6 +391,7 @@ ProductAssociationsFromProduct=Associazioni da questo Prodotto a ProductAssociationsToProduct=Associazioni a questo Prodotto da ProductAssocs=Associazioni ProductAtp=ATP +ProductAtpQoh=Atp/Qoh ProductAtpQohSerial=ATP/QOH o # Seriale ProductAttachmentScreenLocation=Allegato Locazione Videata (XSL-FO) ProductAttributes=Attributi @@ -2008,4 +2009,9 @@ FormFieldTitle_inventoryItemLabelTypeId=Tipo Etichetta Riga FormFieldTitle_parentTypeId=Tipo Padre FormFieldTitle_reportType=Tipo Report FormFieldTitle_availableToPromiseTotal=Totale Disponibilit\u00e0 Promessa -FormFieldTitle_addtlShippingChargeDesc=Descrizione Ricarico Aggiuntivo Spedizione \ No newline at end of file +FormFieldTitle_addtlShippingChargeDesc=Descrizione Ricarico Aggiuntivo Spedizione +FormFieldTitle_inventoryTransferId=Numero Trasferimento Inventario +FormFieldTitle_locationSeqIdTo=Sequenza Locazione Destinazione +FormFieldTitle_sendDate=Data Invio +FormFieldTitle_receiveDate=Data Ricezione +FormFieldTitle_facilityIdTo=Stabilimento Destinazione \ No newline at end of file diff --git a/applications/product/webapp/facility/facility/EditContactMech.ftl b/applications/product/webapp/facility/facility/EditContactMech.ftl index f6fb9c91f0..8d470a0491 100644 --- a/applications/product/webapp/facility/facility/EditContactMech.ftl +++ b/applications/product/webapp/facility/facility/EditContactMech.ftl @@ -19,7 +19,7 @@ under the License. <#if !mechMap.facilityContactMech?exists && mechMap.contactMech?exists>

${uiLabelMap.PartyContactInfoNotBelongToYou}.

-  [${uiLabelMapCommon.Back}] +  ${uiLabelMapCommon.Back} <#else> <#if !mechMap.contactMech?exists> <#-- When creating a new contact mech, first select the type, then actually create --> @@ -28,15 +28,15 @@ under the License.
- +
- +
${uiLabelMap.PartySelectContactType}:
${uiLabelMap.PartySelectContactType} - <#list mechMap.contactMechTypes as contactMechType> -  [${uiLabelMap.CommonCreate}] +  ${uiLabelMap.CommonCreate}
@@ -47,12 +47,12 @@ under the License. <#if mechMap.contactMechTypeId?has_content> <#if !mechMap.contactMech?has_content>

${uiLabelMap.PartyCreateNewContact}

-  [${uiLabelMap.CommonGoBack}] -  [${uiLabelMap.CommonSave}] +  ${uiLabelMap.CommonGoBack} +  ${uiLabelMap.CommonSave} <#if contactMechPurposeType?exists> -
(${uiLabelMap.PartyMsgContactHavePurpose}"${contactMechPurposeType.get("description",locale)?if_exists}")
+
(${uiLabelMap.PartyMsgContactHavePurpose}"${contactMechPurposeType.get("description",locale)?if_exists}")
- +
@@ -63,21 +63,23 @@ under the License. <#if paymentMethodId?exists> <#else>

${uiLabelMap.PartyEditContactInformation}

-  [${uiLabelMap.CommonGoBack}] -  [${uiLabelMap.CommonSave}] -
+  ${uiLabelMap.CommonGoBack} +  ${uiLabelMap.CommonSave} +
<#if mechMap.purposeTypes?has_content> - + @@ -118,45 +123,45 @@ under the License. <#if "POSTAL_ADDRESS" = mechMap.contactMechTypeId?if_exists> - + - + - + - + - + - + - + - + <#elseif "TELECOM_NUMBER" = mechMap.contactMechTypeId?if_exists> - + - + - + <#elseif "EMAIL_ADDRESS" = mechMap.contactMechTypeId?if_exists> - + <#else> - +
${uiLabelMap.PartyContactPurposes}
${uiLabelMap.PartyContactPurposes}   - +
<#if mechMap.facilityContactMechPurposes?has_content> + <#assign alt_row = false> <#list mechMap.facilityContactMechPurposes as facilityContactMechPurpose> <#assign contactMechPurposeType = facilityContactMechPurpose.getRelatedOneCache("ContactMechPurposeType")> - - class="alternate-row"> + - +   + + + + <#-- toggle the row color --> + <#assign alt_row = !alt_row> - - - +
-
  +
+
+   <#if contactMechPurposeType?has_content> ${contactMechPurposeType.get("description",locale)} <#else> @@ -85,18 +87,21 @@ under the License. (${uiLabelMap.CommonSince}:${facilityContactMechPurpose.fromDate.toString()}) <#if facilityContactMechPurpose.thruDate?has_content>(${uiLabelMap.CommonExpires}: ${facilityContactMechPurpose.thruDate.toString()} -  
 ${uiLabelMap.CommonDelete} 
- + ${uiLabelMap.PartyAddPurpose}
${uiLabelMap.PartyToName}
${uiLabelMap.PartyToName}   - +
${uiLabelMap.PartyAttentionName}
${uiLabelMap.PartyAttentionName}   - +
${uiLabelMap.PartyAddressLine1}
${uiLabelMap.PartyAddressLine1}   - + *
${uiLabelMap.PartyAddressLine2}
${uiLabelMap.PartyAddressLine2}   - +
${uiLabelMap.PartyCity}
${uiLabelMap.PartyCity}   - + *
${uiLabelMap.PartyState}
${uiLabelMap.PartyState}   - ${screens.render("component://common/widget/CommonScreens.xml#states")} @@ -164,14 +169,14 @@ under the License. *
${uiLabelMap.PartyZipCode}
${uiLabelMap.PartyZipCode}   - + *
${uiLabelMap.PartyCountry}
${uiLabelMap.PartyCountry}  
${uiLabelMap.PartyPhoneNumber}
${uiLabelMap.PartyPhoneNumber}   - - -  - -  -  ext  + + -  + -  +  ext 
   
[${uiLabelMap.PartyCountryCode}] [${uiLabelMap.PartyAreaCode}] [${uiLabelMap.PartyContactNumber}] [${uiLabelMap.PartyExtension}]
[${uiLabelMap.PartyCountryCode}] [${uiLabelMap.PartyAreaCode}] [${uiLabelMap.PartyContactNumber}] [${uiLabelMap.PartyExtension}]
${uiLabelMap.PartyEmailAddress}
${uiLabelMap.PartyEmailAddress}   - + *
${mechMap.contactMechType.get("description",locale)}
${mechMap.contactMechType.get("description",locale)}   - + *
-  [${uiLabelMap.CommonGoBack}] -  [${uiLabelMap.CommonSave}] +  ${uiLabelMap.CommonGoBack} +  ${uiLabelMap.CommonSave} <#else> -  [${uiLabelMap.CommonGoBack}] +  ${uiLabelMap.CommonGoBack} diff --git a/applications/product/webapp/facility/facility/FacilityForms.xml b/applications/product/webapp/facility/facility/FacilityForms.xml index 40d5748889..da9be7eef2 100644 --- a/applications/product/webapp/facility/facility/FacilityForms.xml +++ b/applications/product/webapp/facility/facility/FacilityForms.xml @@ -624,7 +624,7 @@ under the License. - + @@ -660,7 +660,7 @@ under the License. - + @@ -697,7 +697,7 @@ under the License. - + diff --git a/applications/product/webapp/facility/facility/FindFacilityLocation.ftl b/applications/product/webapp/facility/facility/FindFacilityLocation.ftl index 4e02eeac0b..46015edfee 100644 --- a/applications/product/webapp/facility/facility/FindFacilityLocation.ftl +++ b/applications/product/webapp/facility/facility/FindFacilityLocation.ftl @@ -78,7 +78,7 @@ under the License.
${uiLabelMap.CommonFound}: ${foundLocations.size()} ${uiLabelMap.ProductLocationsFor} <#if facility?exists>${(facility.facilityName)?if_exists} [ID:${facilityId?if_exists}]
- +
diff --git a/applications/product/webapp/facility/facility/PickMoveStock.ftl b/applications/product/webapp/facility/facility/PickMoveStock.ftl index 4448d9ad0f..a36613e4e4 100644 --- a/applications/product/webapp/facility/facility/PickMoveStock.ftl +++ b/applications/product/webapp/facility/facility/PickMoveStock.ftl @@ -18,11 +18,12 @@ under the License. -->
-
- -
${uiLabelMap.ProductStockMovesNeeded}
+
+ +
@@ -30,25 +31,26 @@ under the License. <#assign rowCount = 0> -
${uiLabelMap.ProductFacility} ${uiLabelMap.ProductLocationSeqId}
- - - - - - - - - - - - +
${uiLabelMap.ProductProductId}
${uiLabelMap.ProductProduct}
${uiLabelMap.ProductFromLocation}
${uiLabelMap.ProductQoh}
${uiLabelMap.ProductAtp}
${uiLabelMap.ProductToLocation}
${uiLabelMap.ProductQoh}
${uiLabelMap.ProductAtp}
${uiLabelMap.ProductMinimumStock}
${uiLabelMap.ProductMoveQuantity}
${uiLabelMap.OrderConfirm}
+ + + + + + + + + + + + <#if moveByOisgirInfoList?has_content || moveByPflInfoList?has_content> + <#assign alt_row = false> <#list moveByOisgirInfoList?if_exists as moveByOisgirInfo> <#assign product = moveByOisgirInfo.product> <#assign facilityLocationFrom = moveByOisgirInfo.facilityLocationFrom> @@ -57,29 +59,31 @@ under the License. <#assign targetProductFacilityLocation = moveByOisgirInfo.targetProductFacilityLocation> <#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOneCache("TypeEnumeration"))?if_exists> <#assign totalQuantity = moveByOisgirInfo.totalQuantity> - - - - - - - - - - - + class="alternate-row"> + + + + + + + + + + - <#assign rowCount = rowCount + 1> + <#assign rowCount = rowCount + 1> + <#-- toggle the row color --> + <#assign alt_row = !alt_row> <#list moveByPflInfoList?if_exists as moveByPflInfo> <#assign product = moveByPflInfo.product> @@ -89,17 +93,17 @@ under the License. <#assign targetProductFacilityLocation = moveByPflInfo.targetProductFacilityLocation> <#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOneCache("TypeEnumeration"))?if_exists> <#assign totalQuantity = moveByPflInfo.totalQuantity> - - - - - - - - - - - + class="alternate-row"> + + + + + + + + + + - - diff --git a/applications/product/webapp/facility/group/FacilityGroupTabBar.ftl b/applications/product/webapp/facility/group/FacilityGroupTabBar.ftl index 517a980f80..20b2d7d318 100644 --- a/applications/product/webapp/facility/group/FacilityGroupTabBar.ftl +++ b/applications/product/webapp/facility/group/FacilityGroupTabBar.ftl @@ -16,14 +16,16 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<#assign unselectedClassName = "tabButton"> -<#assign selectedClassMap = {page.tabButtonItem?default("void") : "tabButtonSelected"}> +<#assign selected = tabButtonItem?default("void")> <#if facilityGroupId?has_content> -
- ${uiLabelMap.ProductFacilityGroup} - ${uiLabelMap.ProductRollups} - ${uiLabelMap.ProductFacilities} - ${uiLabelMap.PartyRoles} +
+ +
- + \ No newline at end of file diff --git a/applications/product/webapp/facility/inventory/TransferInventoryItem.ftl b/applications/product/webapp/facility/inventory/TransferInventoryItem.ftl index db3b804a1b..2b1fb9287c 100644 --- a/applications/product/webapp/facility/inventory/TransferInventoryItem.ftl +++ b/applications/product/webapp/facility/inventory/TransferInventoryItem.ftl @@ -16,232 +16,239 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> - <#if illegalInventoryItem?exists> -
${illegalInventoryItem}
- - - ${uiLabelMap.ProductInventoryTransfer} ${uiLabelMap.CommonFrom} <#if facility?exists>${(facility.facilityName)?if_exists} [${uiLabelMap.CommonId}:${facilityId?if_exists}] -
- ${uiLabelMap.ProductNewFacility} +
+
+
    +
  • ${uiLabelMap.ProductInventoryTransfer} ${uiLabelMap.CommonFrom} <#if facility?exists>${(facility.facilityName)?if_exists} [${uiLabelMap.CommonId}:${facilityId?if_exists}]
  • +
  • ${uiLabelMap.CommonPrint}
  • +
+
+
+ <#if illegalInventoryItem?exists> +
${illegalInventoryItem}
+ -<#--
${uiLabelMap.ProductProductId}${uiLabelMap.ProductProduct}${uiLabelMap.ProductFromLocation}${uiLabelMap.ProductQoh}${uiLabelMap.ProductAtp}${uiLabelMap.ProductToLocation}${uiLabelMap.ProductQoh}${uiLabelMap.ProductAtp}${uiLabelMap.ProductMinimumStock}${uiLabelMap.ProductMoveQuantity}${uiLabelMap.OrderConfirm} - ${uiLabelMap.ProductSelectAll}  + ${uiLabelMap.ProductSelectAll} 
${product.productId}
${product.internalName?if_exists}
${facilityLocationFrom.areaId?if_exists}:${facilityLocationFrom.aisleId?if_exists}:${facilityLocationFrom.sectionId?if_exists}:${facilityLocationFrom.levelId?if_exists}:${facilityLocationFrom.positionId?if_exists}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})[${facilityLocationFrom.locationSeqId}]
${moveByOisgirInfo.quantityOnHandTotalFrom?if_exists}
${moveByOisgirInfo.availableToPromiseTotalFrom?if_exists}
${facilityLocationTo.areaId?if_exists}:${facilityLocationTo.aisleId?if_exists}:${facilityLocationTo.sectionId?if_exists}:${facilityLocationTo.levelId?if_exists}:${facilityLocationTo.positionId?if_exists}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})[${facilityLocationTo.locationSeqId}]
${moveByOisgirInfo.quantityOnHandTotalTo?if_exists}
${moveByOisgirInfo.availableToPromiseTotalTo?if_exists}
${targetProductFacilityLocation.minimumStock?if_exists}
${targetProductFacilityLocation.moveQuantity?if_exists}
${product.productId}${product.internalName?if_exists}${facilityLocationFrom.areaId?if_exists}:${facilityLocationFrom.aisleId?if_exists}:${facilityLocationFrom.sectionId?if_exists}:${facilityLocationFrom.levelId?if_exists}:${facilityLocationFrom.positionId?if_exists}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})[${facilityLocationFrom.locationSeqId}]${moveByOisgirInfo.quantityOnHandTotalFrom?if_exists}${moveByOisgirInfo.availableToPromiseTotalFrom?if_exists}${facilityLocationTo.areaId?if_exists}:${facilityLocationTo.aisleId?if_exists}:${facilityLocationTo.sectionId?if_exists}:${facilityLocationTo.levelId?if_exists}:${facilityLocationTo.positionId?if_exists}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})[${facilityLocationTo.locationSeqId}]${moveByOisgirInfo.quantityOnHandTotalTo?if_exists}${moveByOisgirInfo.availableToPromiseTotalTo?if_exists}${targetProductFacilityLocation.minimumStock?if_exists}${targetProductFacilityLocation.moveQuantity?if_exists} - +
${product.productId}
${product.internalName?if_exists}
${facilityLocationFrom.areaId?if_exists}:${facilityLocationFrom.aisleId?if_exists}:${facilityLocationFrom.sectionId?if_exists}:${facilityLocationFrom.levelId?if_exists}:${facilityLocationFrom.positionId?if_exists}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})[${facilityLocationFrom.locationSeqId}]
${moveByPflInfo.quantityOnHandTotalFrom?if_exists}
${moveByPflInfo.availableToPromiseTotalFrom?if_exists}
${facilityLocationTo.areaId?if_exists}:${facilityLocationTo.aisleId?if_exists}:${facilityLocationTo.sectionId?if_exists}:${facilityLocationTo.levelId?if_exists}:${facilityLocationTo.positionId?if_exists}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})[${facilityLocationTo.locationSeqId}]
${moveByPflInfo.quantityOnHandTotalTo?if_exists}
${moveByPflInfo.availableToPromiseTotalTo?if_exists}
${targetProductFacilityLocation.minimumStock?if_exists}
${targetProductFacilityLocation.moveQuantity?if_exists}
${product.productId}${product.internalName?if_exists}${facilityLocationFrom.areaId?if_exists}:${facilityLocationFrom.aisleId?if_exists}:${facilityLocationFrom.sectionId?if_exists}:${facilityLocationFrom.levelId?if_exists}:${facilityLocationFrom.positionId?if_exists}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})[${facilityLocationFrom.locationSeqId}]${moveByPflInfo.quantityOnHandTotalFrom?if_exists}${moveByPflInfo.availableToPromiseTotalFrom?if_exists}${facilityLocationTo.areaId?if_exists}:${facilityLocationTo.aisleId?if_exists}:${facilityLocationTo.sectionId?if_exists}:${facilityLocationTo.levelId?if_exists}:${facilityLocationTo.positionId?if_exists}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})[${facilityLocationTo.locationSeqId}]${moveByPflInfo.quantityOnHandTotalTo?if_exists}${moveByPflInfo.availableToPromiseTotalTo?if_exists}${targetProductFacilityLocation.minimumStock?if_exists}${targetProductFacilityLocation.moveQuantity?if_exists} @@ -130,4 +134,4 @@ under the License. - + \ No newline at end of file diff --git a/applications/product/webapp/facility/facility/PicklistManage.ftl b/applications/product/webapp/facility/facility/PicklistManage.ftl index 0c26e3d1ff..afe99350f2 100644 --- a/applications/product/webapp/facility/facility/PicklistManage.ftl +++ b/applications/product/webapp/facility/facility/PicklistManage.ftl @@ -18,8 +18,11 @@ under the License. -->
-
-
${uiLabelMap.ProductPicklistManage}
+
+
    +
  • ${uiLabelMap.ProductPicklistManage}
  • +
+
<#if picklistInfoList?has_content> @@ -27,13 +30,13 @@ under the License. <#assign picklist = picklistInfo.picklist> <#-- Picklist --> -
- ${uiLabelMap.ProductPickList} ${picklist.picklistId} - ${uiLabelMap.CommonDate} ${picklist.picklistDate} +
+ ${uiLabelMap.ProductPickList} ${picklist.picklistId} + ${uiLabelMap.CommonDate} ${picklist.picklistDate}
- <#list picklistInfo.statusValidChangeToDetailList as statusValidChangeToDetail> @@ -42,31 +45,32 @@ under the License.
- ${uiLabelMap.ProductCreatedModifiedBy} ${picklist.createdByUserLogin}/${picklist.lastModifiedByUserLogin} - [${uiLabelMap.ProductPick}/${uiLabelMap.ProductPacking} ${uiLabelMap.CommonReports}] + ${uiLabelMap.ProductCreatedModifiedBy} ${picklist.createdByUserLogin}/${picklist.lastModifiedByUserLogin} + ${uiLabelMap.ProductPick}/${uiLabelMap.ProductPacking} ${uiLabelMap.CommonReports} +
<#if picklistInfo.shipmentMethodType?has_content> -
- ${uiLabelMap.CommonFor} ${uiLabelMap.ProductShipmentMethodType} ${picklistInfo.shipmentMethodType.description?default(picklistInfo.shipmentMethodType.shipmentMethodTypeId)} +
+ ${uiLabelMap.CommonFor} ${uiLabelMap.ProductShipmentMethodType} ${picklistInfo.shipmentMethodType.description?default(picklistInfo.shipmentMethodType.shipmentMethodTypeId)}
<#-- PicklistRole --> <#list picklistInfo.picklistRoleInfoList?if_exists as picklistRoleInfo> -
- ${uiLabelMap.PartyParty} ${picklistRoleInfo.partyNameView.firstName?if_exists} ${picklistRoleInfo.partyNameView.middleName?if_exists} ${picklistRoleInfo.partyNameView.lastName?if_exists} ${picklistRoleInfo.partyNameView.groupName?if_exists} - ${uiLabelMap.PartyRole} ${picklistRoleInfo.roleType.description} - ${uiLabelMap.CommonFrom} ${picklistRoleInfo.picklistRole.fromDate} - <#if picklistRoleInfo.picklistRole.thruDate?exists>thru ${picklistRoleInfo.picklistRole.thruDate} +
+ ${uiLabelMap.PartyParty} ${picklistRoleInfo.partyNameView.firstName?if_exists} ${picklistRoleInfo.partyNameView.middleName?if_exists} ${picklistRoleInfo.partyNameView.lastName?if_exists} ${picklistRoleInfo.partyNameView.groupName?if_exists} + ${uiLabelMap.PartyRole} ${picklistRoleInfo.roleType.description} + ${uiLabelMap.CommonFrom} ${picklistRoleInfo.picklistRole.fromDate} + <#if picklistRoleInfo.picklistRole.thruDate?exists>${uiLabelMap.CommonThru} ${picklistRoleInfo.picklistRole.thruDate}
-
- ${uiLabelMap.ProductAssignPicker}: +
+ ${uiLabelMap.ProductAssignPicker}
- <#list partyRoleAndPartyDetailList as partyRoleAndPartyDetail> @@ -77,33 +81,33 @@ under the License. <#-- PicklistStatusHistory --> <#list picklistInfo.picklistStatusHistoryInfoList?if_exists as picklistStatusHistoryInfo> -
- ${uiLabelMap.CommonStatus} ${uiLabelMap.CommonChange} ${uiLabelMap.CommonFrom} ${picklistStatusHistoryInfo.statusItem.get("description",locale)} +
+ ${uiLabelMap.CommonStatus} ${uiLabelMap.CommonChange} ${uiLabelMap.CommonFrom} ${picklistStatusHistoryInfo.statusItem.get("description",locale)} ${uiLabelMap.CommonTo} ${picklistStatusHistoryInfo.statusItemTo.description} ${uiLabelMap.CommonOn} ${picklistStatusHistoryInfo.picklistStatusHistory.changeDate} ${uiLabelMap.CommonBy} ${picklistStatusHistoryInfo.picklistStatusHistory.changeUserLoginId}
- +
<#-- PicklistBin --> <#list picklistInfo.picklistBinInfoList?if_exists as picklistBinInfo> <#assign isBinComplete = Static["org.ofbiz.shipment.picklist.PickListServices"].isBinComplete(delegator, picklistBinInfo.picklistBin.picklistBinId)/> <#if (!isBinComplete)> -
- ${uiLabelMap.ProductBinNum} ${picklistBinInfo.picklistBin.binLocationNumber} (${picklistBinInfo.picklistBin.picklistBinId}) - <#if picklistBinInfo.primaryOrderHeader?exists>${uiLabelMap.ProductPrimaryOrderId} ${picklistBinInfo.primaryOrderHeader.orderId} - <#if picklistBinInfo.primaryOrderItemShipGroup?exists>${uiLabelMap.ProductPrimaryShipGroupSeqId} ${picklistBinInfo.primaryOrderItemShipGroup.shipGroupSeqId} +
+ ${uiLabelMap.ProductBinNum} ${picklistBinInfo.picklistBin.binLocationNumber} (${picklistBinInfo.picklistBin.picklistBinId}) + <#if picklistBinInfo.primaryOrderHeader?exists>${uiLabelMap.ProductPrimaryOrderId} ${picklistBinInfo.primaryOrderHeader.orderId} + <#if picklistBinInfo.primaryOrderItemShipGroup?exists>${uiLabelMap.ProductPrimaryShipGroupSeqId} ${picklistBinInfo.primaryOrderItemShipGroup.shipGroupSeqId} <#if !picklistBinInfo.picklistItemInfoList?has_content>${uiLabelMap.CommonDelete}
-
- ${uiLabelMap.CommonUpdate} ${uiLabelMap.ProductBinNum}: +
+ ${uiLabelMap.CommonUpdate} ${uiLabelMap.ProductBinNum} - ${uiLabelMap.ProductLocation}#: + ${uiLabelMap.ProductLocation}# - ${uiLabelMap.PageTitlePickList}: - <#list picklistActiveList as picklistActive> <#assign picklistActiveStatusItem = picklistActive.getRelatedOneCache("StatusItem")> @@ -115,22 +119,21 @@ under the License. <#if picklistBinInfo.picklistItemInfoList?has_content>
- - - - - - - - - - - + ${uiLabelMap.ProductOrderId} + + + + + + + + <#assign alt_row = false> <#list picklistBinInfo.picklistItemInfoList?if_exists as picklistItemInfo> <#assign picklistItem = picklistItemInfo.picklistItem> <#assign inventoryItemAndLocation = picklistItemInfo.inventoryItemAndLocation> - + class="alternate-row"> @@ -151,19 +154,20 @@ under the License. + <#-- toggle the row color --> + <#assign alt_row = !alt_row>
${uiLabelMap.ProductOrderId}${uiLabelMap.OrderShipGroup}${uiLabelMap.ProductOrderItem}${uiLabelMap.ProductProduct}${uiLabelMap.ProductInventoryItem}${uiLabelMap.ProductLocation}${uiLabelMap.ProductQuantity} 
${uiLabelMap.OrderShipGroup}${uiLabelMap.ProductOrderItem}${uiLabelMap.ProductProduct}${uiLabelMap.ProductInventoryItem}${uiLabelMap.ProductLocation}${uiLabelMap.ProductQuantity} 
${picklistItem.orderId} ${picklistItem.shipGroupSeqId} ${picklistItem.orderItemSeqId}
- <#if picklistInfo_has_next> -
+
<#else/>

${uiLabelMap.ProductNoPicksStarted}.

-
+
\ No newline at end of file diff --git a/applications/product/webapp/facility/facility/PicklistOptions.ftl b/applications/product/webapp/facility/facility/PicklistOptions.ftl index d7956bb2f8..8798bfaac6 100644 --- a/applications/product/webapp/facility/facility/PicklistOptions.ftl +++ b/applications/product/webapp/facility/facility/PicklistOptions.ftl @@ -16,18 +16,20 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -
-
-
${uiLabelMap.ProductFindOrdersToPick}
+
+
    +
  • ${uiLabelMap.ProductFindOrdersToPick}
  • +
+
- - - - - - +
${uiLabelMap.ProductShipmentMethod}${uiLabelMap.ProductReadyToPick}${uiLabelMap.ProductNeedStockMove} 
+ + + + + <#if rushOrderInfo?has_content> <#assign orderReadyToPickInfoList = rushOrderInfo.orderReadyToPickInfoList?if_exists> @@ -55,6 +57,7 @@ under the License. <#if pickMoveByShipmentMethodInfoList?has_content> <#assign orderReadyToPickInfoListSizeTotal = 0> <#assign orderNeedsStockMoveInfoListSizeTotal = 0> + <#assign alt_row = false> <#list pickMoveByShipmentMethodInfoList as pickMoveByShipmentMethodInfo> <#assign shipmentMethodType = pickMoveByShipmentMethodInfo.shipmentMethodType?if_exists> <#assign orderReadyToPickInfoList = pickMoveByShipmentMethodInfo.orderReadyToPickInfoList?if_exists> @@ -63,8 +66,8 @@ under the License. <#assign orderNeedsStockMoveInfoListSize = (orderNeedsStockMoveInfoList.size())?default(0)> <#assign orderReadyToPickInfoListSizeTotal = orderReadyToPickInfoListSizeTotal + orderReadyToPickInfoListSize> <#assign orderNeedsStockMoveInfoListSizeTotal = orderNeedsStockMoveInfoListSizeTotal + orderNeedsStockMoveInfoListSize> - - + class="alternate-row"> + + <#-- toggle the row color --> + <#assign alt_row = !alt_row> @@ -97,7 +103,8 @@ under the License. <#if (orderReadyToPickInfoListSizeTotal > 0)> - ${uiLabelMap.ProductPickFirst}: + ${uiLabelMap.ProductPickFirst} + <#else> @@ -125,21 +132,25 @@ under the License. <#if toPickList?has_content>
-
-
${shipmentMethodType.description?if_exists} ${uiLabelMap.ProductPickingDetail}
+
+
    +
  • ${shipmentMethodType.description?if_exists} ${uiLabelMap.ProductPickingDetail}
  • +
+
-
${uiLabelMap.ProductShipmentMethod}${uiLabelMap.ProductReadyToPick}${uiLabelMap.ProductNeedStockMove} 
<#if shipmentMethodType?exists && shipmentMethodType?has_content>${shipmentMethodType.description}<#else>${groupName?if_exists}
<#if shipmentMethodType?exists && shipmentMethodType?has_content>${shipmentMethodType.description}<#else>${groupName?if_exists} ${orderReadyToPickInfoListSize} ${orderNeedsStockMoveInfoListSize} @@ -80,7 +83,8 @@ under the License. - ${uiLabelMap.ProductPickFirst}: + ${uiLabelMap.ProductPickFirst} + <#else> @@ -88,6 +92,8 @@ under the License.
${uiLabelMap.CommonAllMethods}
- - - - - - - - - +
${uiLabelMap.ProductOrderId}${uiLabelMap.FormFieldTitle_orderDate}${uiLabelMap.ProductChannel}${uiLabelMap.ProductOrderItem}${uiLabelMap.ProductDescription}${uiLabelMap.OrderShipGroup}${uiLabelMap.ProductQuantity}${uiLabelMap.ProductQuantityNotAvailable}
+ + + + + + + + + + <#assign alt_row = false> <#list toPickList as toPick> <#assign oiasgal = toPick.orderItemShipGrpInvResList> <#assign header = toPick.orderHeader> @@ -148,15 +159,15 @@ under the License. <#list oiasgal as oiasga> <#assign orderProduct = oiasga.getRelatedOne("OrderItem").getRelatedOne("Product")?if_exists> <#assign product = oiasga.getRelatedOne("InventoryItem").getRelatedOne("Product")?if_exists> - - + class="alternate-row"> + @@ -164,9 +175,8 @@ under the License. - - - + <#-- toggle the row color --> + <#assign alt_row = !alt_row>
${uiLabelMap.ProductOrderId}${uiLabelMap.FormFieldTitle_orderDate}${uiLabelMap.ProductChannel}${uiLabelMap.ProductOrderItem}${uiLabelMap.ProductDescription}${uiLabelMap.OrderShipGroup}${uiLabelMap.ProductQuantity}${uiLabelMap.ProductQuantityNotAvailable}
${oiasga.orderId}
${oiasga.orderId} ${header.orderDate?string} ${(channel.description)?if_exists} ${oiasga.orderItemSeqId} - ${(orderProduct.internalName)?if_exists} + ${(orderProduct.internalName)?if_exists} <#if orderProduct.productId != product.productId> -  [${(product.internalName)?if_exists}] +  [${(product.internalName)?if_exists}] ${oiasga.shipGroupSeqId}${oiasga.quantityNotAvailable?if_exists}

diff --git a/applications/product/webapp/facility/facility/searchInventoryItemsByLabelsForm.ftl b/applications/product/webapp/facility/facility/searchInventoryItemsByLabelsForm.ftl index 84324f406c..9bba89d629 100644 --- a/applications/product/webapp/facility/facility/searchInventoryItemsByLabelsForm.ftl +++ b/applications/product/webapp/facility/facility/searchInventoryItemsByLabelsForm.ftl @@ -25,19 +25,22 @@ under the License. <#assign index = index + 1> <#assign labels = labelType.getRelated("InventoryItemLabel", Static["org.ofbiz.base.util.UtilMisc"].toList("inventoryItemLabelId"))>
${labelType.description?if_exists} [${labelType.inventoryItemLabelTypeId}] - +
+ ${labelType.description?if_exists} [${labelType.inventoryItemLabelTypeId}] +   + +
+
--> +
+ ${uiLabelMap.ProductNewFacility} +
- <#if !(inventoryItem?exists)> - -
+ <#if !(inventoryItem?exists)> + +
+ + + + + + +
${uiLabelMap.ProductInventoryItemId}  + + + + +
+ + <#else> + <#if !(inventoryTransfer?exists)> +
+ <#else> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <#if inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("NON_SERIAL_INV_ITEM")> + + <#elseif inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("SERIALIZED_INV_ITEM")> + + <#elseif inventoryItem?exists> + + + - + + + + + + - - + + + + + + <#if !(inventoryTransfer?exists)> + + + + + + + + + + + + + + + + + + + + + + + + + <#else> + + + + + + + + + + + <#assign fac = delegator.findByPrimaryKey("Facility", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", inventoryTransfer.facilityIdTo))> + + + + + + + + + + + + + + + + + + <#if !(inventoryTransfer?exists)> + + <#else> + + +
 ${uiLabelMap.ProductInventoryItemId} ${inventoryItemId}
 ${uiLabelMap.ProductInventoryItemTypeId}  + <#if inventoryItemType?exists> + ${(inventoryItemType.get("description",locale))?if_exists} + +
 ${uiLabelMap.ProductProductId}  + <#if inventoryItem?exists && (inventoryItem.productId)?exists> + ${(inventoryItem.productId)?if_exists} + +
 ${uiLabelMap.ProductStatus} ${(inventoryStatus.get("description",locale))?default("--")}
 ${uiLabelMap.ProductComments} ${(inventoryItem.comments)?default("--")}
 ${uiLabelMap.ProductSerialAtpQoh}  + ${(inventoryItem.availableToPromiseTotal)?if_exists}  + / ${(inventoryItem.quantityOnHandTotal)?if_exists} + ${(inventoryItem.serialNumber)?if_exists}${uiLabelMap.ProductErrorType} ${(inventoryItem.inventoryItemTypeId)?if_exists} ${uiLabelMap.ProductUnknownSpecifyType}.
${uiLabelMap.ProductInventoryItemId} 
 ${uiLabelMap.ProductTransferStatus}   - - + + - +
 ${uiLabelMap.ProductTransferSendDate}  + + ${uiLabelMap.CommonNow}
 ${uiLabelMap.ProductToFacilityContainer}  +
+ + ${uiLabelMap.ProductSelectFacility} +
+ + ${uiLabelMap.ProductOrEnterContainerId} +
+
 ${uiLabelMap.ProductToLocation}  + + + " width="15" height="14" border="0" alt="Click here For Field Lookup"/> + +
 ${uiLabelMap.ProductComments}  + +
 ${uiLabelMap.ProductQuantityToTransfer}  + <#if inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("NON_SERIAL_INV_ITEM")> + + <#elseif inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("SERIALIZED_INV_ITEM")> + + 1 + <#elseif inventoryItem?exists> + ${uiLabelMap.ProductErrorType} ${(inventoryItem.inventoryItemTypeId)?if_exists} ${uiLabelMap.ProductUnknownSpecifyType}. + +
 ${uiLabelMap.ProductTransferReceiveDate}  + + ${uiLabelMap.CommonNow} +
 ${uiLabelMap.ProductToFacilityContainer} ${(fac.facilityName)?default(" ")}
 ${uiLabelMap.ProductToLocation}  + + + " width="15" height="14" border="0" alt="Click here For Field Lookup"/> + +
 ${uiLabelMap.ProductComments}  + +
 
- <#else> - <#if !(inventoryTransfer?exists)> -
- <#else> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <#if inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("NON_SERIAL_INV_ITEM")> - - <#elseif inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("SERIALIZED_INV_ITEM")> - - <#elseif inventoryItem?exists> - - - - - - - - - - - - - - - - - - - - <#if !(inventoryTransfer?exists)> - - - - - - - - - - - - - - - - - - - - - - - - - <#else> - - - - - - - - - - - <#assign fac = delegator.findByPrimaryKey("Facility", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", inventoryTransfer.facilityIdTo))> - - - - - - - - - - - - - - - - - - <#if !(inventoryTransfer?exists)> - - <#else> - - - -
 ${uiLabelMap.ProductInventoryItemId}  - ${inventoryItemId} -
 ${uiLabelMap.ProductInventoryItemTypeId}  - <#if inventoryItemType?exists> - ${(inventoryItemType.get("description",locale))?if_exists} - -
 
${uiLabelMap.ProductProductId}
  - <#if inventoryItem?exists && (inventoryItem.productId)?exists> - ${(inventoryItem.productId)?if_exists} - -
 
${uiLabelMap.ProductStatus}
 ${(inventoryStatus.get("description",locale))?default("--")}
 ${uiLabelMap.ProductComments} ${(inventoryItem.comments)?default("--")}
 
${uiLabelMap.ProductSerialAtpQoh}
  - ${(inventoryItem.availableToPromiseTotal)?if_exists}  - / ${(inventoryItem.quantityOnHandTotal)?if_exists} - ${(inventoryItem.serialNumber)?if_exists}${uiLabelMap.ProductErrorType} ${(inventoryItem.inventoryItemTypeId)?if_exists} ${uiLabelMap.ProductUnknownSpecifyType}.
 
 ${uiLabelMap.ProductTransferStatus}  - -
 ${uiLabelMap.ProductTransferSendDate}  - - ${uiLabelMap.CommonNow} -
 ${uiLabelMap.ProductToFacilityContainer}  - ${uiLabelMap.ProductSelectFacility}: - -
- ${uiLabelMap.ProductOrEnterContainerId}: - -
 ${uiLabelMap.ProductToLocation}  - - - " width="15" height="14" border="0" alt="Click here For Field Lookup"/> - -
 ${uiLabelMap.ProductComments}  - -
 ${uiLabelMap.ProductQuantityToTransfer}  - <#if inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("NON_SERIAL_INV_ITEM")> - - <#elseif inventoryItem?exists && inventoryItem.inventoryItemTypeId.equals("SERIALIZED_INV_ITEM")> - - 1 - <#elseif inventoryItem?exists> - ${uiLabelMap.ProductErrorType} ${(inventoryItem.inventoryItemTypeId)?if_exists} ${uiLabelMap.ProductUnknownSpecifyType}. - -
 ${uiLabelMap.ProductTransferReceiveDate}  - - ${uiLabelMap.CommonNow} -
 ${uiLabelMap.ProductToFacilityContainer} ${(fac.facilityName)?default(" ")}
 ${uiLabelMap.ProductToLocation}  - - - " width="15" height="14" border="0" alt="Click here For Field Lookup"/> - -
 ${uiLabelMap.ProductComments}  - -
 
-
- + + \ No newline at end of file diff --git a/applications/product/webapp/facility/inventory/receiveInventory.ftl b/applications/product/webapp/facility/inventory/receiveInventory.ftl index d3a3588ee4..b6ca185255 100644 --- a/applications/product/webapp/facility/inventory/receiveInventory.ftl +++ b/applications/product/webapp/facility/inventory/receiveInventory.ftl @@ -16,485 +16,492 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> +
+
+
    +
  • ${uiLabelMap.ProductReceiveInventory} ${uiLabelMap.CommonInto} <#if facility?has_content>"${facility.facilityName?default("Not Defined")}" [${uiLabelMap.CommonId} :${facility.facilityId?if_exists}]
  • +
+
+
+
+ <#if invalidProductId?exists> +
${invalidProductId}
+ + -<#if invalidProductId?exists> -
${invalidProductId}
- + -${uiLabelMap.ProductReceiveInventory} ${uiLabelMap.CommonInto} <#if facility?has_content>"${facility.facilityName?default("Not Defined")}" [${uiLabelMap.CommonId} :${facility.facilityId?if_exists}] - +
- - -
- -<#-- Receiving Results --> -<#if receivedItems?has_content> -

${uiLabelMap.ProductReceiptPurchaseOrder} #${purchaseOrder.orderId}

-
- - - - - - - - - - - - - <#list receivedItems as item> - - - - - - - - - - - - - -
${uiLabelMap.ProductShipmentId}#${uiLabelMap.ProductReceipt}#${uiLabelMap.CommonDate}${uiLabelMap.ProductPo} #${uiLabelMap.ProductLine} #${uiLabelMap.ProductProductId}${uiLabelMap.ProductPerUnitPrice}${uiLabelMap.CommonRejected}${uiLabelMap.CommonAccepted}
${item.shipmentId?if_exists}${item.receiptId}${item.getString("datetimeReceived").toString()}${item.orderId}${item.orderItemSeqId}${item.productId?default("Not Found")}${item.unitCost?default(0)?string("##0.00")}${item.quantityRejected?default(0)?string.number}${item.quantityAccepted?string.number}

-
- - -<#-- Single Product Receiving --> -<#if requestParameters.initialSelected?exists && product?has_content> -
- - <#-- general request fields --> - - - <#-- special service fields --> - - <#if purchaseOrder?has_content> - <#assign unitCost = firstOrderItem.unitPrice?default(standardCosts.get(firstOrderItem.productId)?default(0))/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <#-- facility location(s) --> - <#assign facilityLocations = (product.getRelatedByAnd("ProductFacilityLocation", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId)))?if_exists/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 ${uiLabelMap.ProductPurchaseOrder}  - ${purchaseOrder.orderId} / ${firstOrderItem.orderItemSeqId} - <#if 1 < purchaseOrderItemsSize> - (${uiLabelMap.ProductMultipleOrderItemsProduct} - ${purchaseOrderItemsSize}:1 ${uiLabelMap.ProductItemProduct}) - <#else> - (${uiLabelMap.ProductSingleOrderItemProduct} - 1:1 ${uiLabelMap.ProductItemProduct}) - -
 ${uiLabelMap.ProductProductId}  - ${requestParameters.productId?if_exists} -
 ${uiLabelMap.ProductProductName}  - ${product.internalName?if_exists} -
 ${uiLabelMap.ProductProductDescription}  - ${product.description?if_exists} -
 ${uiLabelMap.ProductItemDescription}  - -
 ${uiLabelMap.ProductInventoryItemType}  - -
 
 ${uiLabelMap.ProductFacilityOwner}  - - Lookup -
 ${uiLabelMap.ProductDateReceived}  - - <#-- [Now] --> -
 ${uiLabelMap.ProductFacilityLocation}  - <#if facilityLocations?has_content> - - <#else> - - - " width="15" height="14" border="0" alt="Click here For Field Lookup"/> - - -
 ${uiLabelMap.ProductRejectedReason}  - -
 ${uiLabelMap.ProductQuantityRejected}  - -
 ${uiLabelMap.ProductQuantityAccepted}  - -
 ${uiLabelMap.ProductPerUnitPrice}  - <#-- get the default unit cost --> - <#if (!unitCost?exists || unitCost == 0.0)><#assign unitCost = standardCosts.get(product.productId)?default(0)/> - -
 
- -
- -<#-- Select Shipment Screen --> -<#elseif requestParameters.initialSelected?exists && !requestParameters.shipmentId?exists> -

${uiLabelMap.ProductSelectShipmentReceive}

-
- <#-- general request fields --> - - - - - <#list shipments?if_exists as shipment> - <#assign originFacility = shipment.getRelatedOneCache("OriginFacility")?if_exists/> - <#assign destinationFacility = shipment.getRelatedOneCache("DestinationFacility")?if_exists/> - <#assign statusItem = shipment.getRelatedOneCache("StatusItem")/> - <#assign shipmentType = shipment.getRelatedOneCache("ShipmentType")/> - <#assign shipmentDate = shipment.estimatedArrivalDate?if_exists/> - - - - - - - - - - - - - - - - -

- + <#-- Receiving Results --> + <#if receivedItems?has_content> +

${uiLabelMap.ProductReceiptPurchaseOrder} #${purchaseOrder.orderId}

+
+
+ + + + + + + + + + + + <#list receivedItems as item> - - - - - - - + + + + + + + + + + + + +
${uiLabelMap.ProductShipmentId}#${uiLabelMap.ProductReceipt}#${uiLabelMap.CommonDate}${uiLabelMap.ProductPo} #${uiLabelMap.ProductLine} #${uiLabelMap.ProductProductId}${uiLabelMap.ProductPerUnitPrice}${uiLabelMap.CommonRejected}${uiLabelMap.CommonAccepted}
${shipment.shipmentId}${shipmentType.get("description",locale)?default(shipmentType.shipmentTypeId?default(""))}${statusItem.get("description",locale)?default(statusItem.statusId?default("N/A"))}${(originFacility.facilityName)?if_exists} [${shipment.originFacilityId?if_exists}]${(destinationFacility.facilityName)?if_exists} [${shipment.destinationFacilityId?if_exists}]${(shipment.estimatedArrivalDate.toString())?if_exists}${item.shipmentId?if_exists}${item.receiptId}${item.getString("datetimeReceived").toString()}${item.orderId}${item.orderItemSeqId}${item.productId?default("Not Found")}${item.unitCost?default(0)?string("##0.00")}${item.quantityRejected?default(0)?string.number}${item.quantityAccepted?string.number}

+
+ + + <#-- Single Product Receiving --> + <#if requestParameters.initialSelected?exists && product?has_content> + + + <#-- general request fields --> + + + <#-- special service fields --> + + <#if purchaseOrder?has_content> + <#assign unitCost = firstOrderItem.unitPrice?default(standardCosts.get(firstOrderItem.productId)?default(0))/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <#-- facility location(s) --> + <#assign facilityLocations = (product.getRelatedByAnd("ProductFacilityLocation", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId)))?if_exists/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 ${uiLabelMap.ProductPurchaseOrder}  + ${purchaseOrder.orderId} / ${firstOrderItem.orderItemSeqId} + <#if 1 < purchaseOrderItemsSize> + (${uiLabelMap.ProductMultipleOrderItemsProduct} - ${purchaseOrderItemsSize}:1 ${uiLabelMap.ProductItemProduct}) + <#else> + (${uiLabelMap.ProductSingleOrderItemProduct} - 1:1 ${uiLabelMap.ProductItemProduct}) + +
 ${uiLabelMap.ProductProductId}  + ${requestParameters.productId?if_exists} +
 ${uiLabelMap.ProductProductName}  + ${product.internalName?if_exists} +
 ${uiLabelMap.ProductProductDescription}  + ${product.description?if_exists} +
 ${uiLabelMap.ProductItemDescription}  + +
 ${uiLabelMap.ProductInventoryItemType}  + +
 
 ${uiLabelMap.ProductFacilityOwner}  + + Lookup +
 ${uiLabelMap.ProductDateReceived}  + + <#-- [Now] --> +
 ${uiLabelMap.ProductFacilityLocation}  + <#if facilityLocations?has_content> + + <#else> + + + " width="15" height="14" border="0" alt="Click here For Field Lookup"/> + + +
 ${uiLabelMap.ProductRejectedReason}  + +
 ${uiLabelMap.ProductQuantityRejected}  + +
 ${uiLabelMap.ProductQuantityAccepted}  + +
 ${uiLabelMap.ProductPerUnitPrice}  + <#-- get the default unit cost --> + <#if (!unitCost?exists || unitCost == 0.0)><#assign unitCost = standardCosts.get(product.productId)?default(0)/> + +
 
-

- - - - - - -
${uiLabelMap.ProductNoSpecificShipment}
-
 ${uiLabelMap.ProductReceiveSelectedShipment}
-
+ + -<#-- Multi-Item PO Receiving --> -<#elseif requestParameters.initialSelected?exists && purchaseOrder?has_content> -
- <#-- general request fields --> - - - - - <#assign now = Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().toString()/> - <#assign rowCount = 0/> - - <#if !purchaseOrderItems?exists || purchaseOrderItemsSize == 0> - - - - <#else/> - - - - - <#list purchaseOrderItems as orderItem> - <#assign defaultQuantity = orderItem.quantity - receivedQuantities[orderItem.orderItemSeqId]?double/> - <#assign itemCost = orderItem.unitPrice?default(0)/> - <#assign salesOrderItem = salesOrderItems[orderItem.orderItemSeqId]?if_exists/> - <#if shipment?has_content> - <#assign defaultQuantity = shippedQuantities[orderItem.orderItemSeqId]?double - receivedQuantities[orderItem.orderItemSeqId]?double/> - - <#if 0 < defaultQuantity> - <#assign orderItemType = orderItem.getRelatedOne("OrderItemType")/> - - - - - <#if shipment?exists && shipment.shipmentId?has_content> - - - <#if salesOrderItem?has_content> - - - - - - - - - - - - <#assign rowCount = rowCount + 1> - - - - - - <#if rowCount == 0> - - - - - - - <#else> - - - - - -
${uiLabelMap.ProductNoItemsPoReceive}.
-

${uiLabelMap.ProductReceivePurchaseOrder} #${purchaseOrder.orderId}

- <#if shipment?has_content> -

${uiLabelMap.ProductShipmentId} #${shipment.shipmentId}

- -
- ${uiLabelMap.CommonSelectAll} - -

- + <#-- Select Shipment Screen --> + <#elseif requestParameters.initialSelected?exists && !requestParameters.shipmentId?exists> +

${uiLabelMap.ProductSelectShipmentReceive}

+ + <#-- general request fields --> + + + +
+ <#list shipments?if_exists as shipment> + <#assign originFacility = shipment.getRelatedOneCache("OriginFacility")?if_exists/> + <#assign destinationFacility = shipment.getRelatedOneCache("DestinationFacility")?if_exists/> + <#assign statusItem = shipment.getRelatedOneCache("StatusItem")/> + <#assign shipmentType = shipment.getRelatedOneCache("ShipmentType")/> + <#assign shipmentDate = shipment.estimatedArrivalDate?if_exists/> - <#if orderItem.productId?exists> - <#assign product = orderItem.getRelatedOneCache("Product")/> - - - <#else> - - - - <#-- location(s) --> - + + + + + + + + + + + + + + +
- ${orderItem.orderItemSeqId}: ${product.productId} - ${orderItem.itemDescription?if_exists} : ${product.description?if_exists} - - ${orderItemType.get("description",locale)} : ${orderItem.itemDescription?if_exists}   - - ${uiLabelMap.ProductCreateProduct} - ${uiLabelMap.ProductLocation}: - <#assign facilityLocations = (orderItem.getRelatedByAnd("ProductFacilityLocation", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId)))?if_exists/> - <#if facilityLocations?has_content> - - <#else> - - - " width="15" height="14" border="0" alt="Click here For Field Lookup"/> - +
+ + + + + + + + + + +
${shipment.shipmentId}${shipmentType.get("description",locale)?default(shipmentType.shipmentTypeId?default(""))}${statusItem.get("description",locale)?default(statusItem.statusId?default("N/A"))}${(originFacility.facilityName)?if_exists} [${shipment.originFacilityId?if_exists}]${(destinationFacility.facilityName)?if_exists} [${shipment.destinationFacilityId?if_exists}]${(shipment.estimatedArrivalDate.toString())?if_exists}
+

+ + + + + + +
${uiLabelMap.ProductNoSpecificShipment}
+
 ${uiLabelMap.ProductReceiveSelectedShipment}
+ + + <#-- Multi-Item PO Receiving --> + <#elseif requestParameters.initialSelected?exists && purchaseOrder?has_content> +
+ <#-- general request fields --> + + + + + <#assign now = Static["org.ofbiz.base.util.UtilDateTime"].nowTimestamp().toString()/> + <#assign rowCount = 0/> + + <#if !purchaseOrderItems?exists || purchaseOrderItemsSize == 0> + + + + <#else/> + + - - - - - - - - - - - - - - - -
${uiLabelMap.ProductNoItemsPoReceive}.
+

${uiLabelMap.ProductReceivePurchaseOrder} #${purchaseOrder.orderId}

+ <#if shipment?has_content> +

${uiLabelMap.ProductShipmentId} #${shipment.shipmentId}

${uiLabelMap.ProductQtyReceived} : - + ${uiLabelMap.CommonSelectAll} +
- ${uiLabelMap.ProductInventoryItemType} :  - - ${uiLabelMap.ProductRejectionReason} : - - ${uiLabelMap.ProductQtyRejected} : - -
 ${uiLabelMap.ProductFacilityOwner}:${uiLabelMap.ProductPerUnitPrice} : - - - ${currencyUomId?if_exists} -
-
- -
-
-
${uiLabelMap.ProductNoItemsPo} #${purchaseOrder.orderId} ${uiLabelMap.ProductToReceive}.
- ${uiLabelMap.ProductReturnToReceiving} -
- ${uiLabelMap.ProductReceiveSelectedProduct} -
- - - + <#list purchaseOrderItems as orderItem> + <#assign defaultQuantity = orderItem.quantity - receivedQuantities[orderItem.orderItemSeqId]?double/> + <#assign itemCost = orderItem.unitPrice?default(0)/> + <#assign salesOrderItem = salesOrderItems[orderItem.orderItemSeqId]?if_exists/> + <#if shipment?has_content> + <#assign defaultQuantity = shippedQuantities[orderItem.orderItemSeqId]?double - receivedQuantities[orderItem.orderItemSeqId]?double/> + + <#if 0 < defaultQuantity> + <#assign orderItemType = orderItem.getRelatedOne("OrderItemType")/> + + + + + <#if shipment?exists && shipment.shipmentId?has_content> + + + <#if salesOrderItem?has_content> + + + -<#-- Initial Screen --> -<#else> -
- - - - - - - - - - - - - - - - - - - - -

${uiLabelMap.ProductReceiveItem}

${uiLabelMap.ProductPurchaseOrderNumber}  - - - " width="15" height="14" border="0" alt="Click here For Field Lookup"/> - - (${uiLabelMap.ProductLeaveSingleProductReceiving})
${uiLabelMap.ProductProductId}  - - - " width="15" height="14" border="0" alt="Click here For Field Lookup"/> - - (${uiLabelMap.ProductLeaveEntirePoReceiving})
  - ${uiLabelMap.ProductReceiveProduct} -
-
- + +
+ + + + + + <#if orderItem.productId?exists> + <#assign product = orderItem.getRelatedOneCache("Product")/> + + + <#else> + + + + <#-- location(s) --> + + + + + + + + + + + + + + + + + + +
+ ${orderItem.orderItemSeqId}: ${product.productId} - ${orderItem.itemDescription?if_exists} : ${product.description?if_exists} + + ${orderItemType.get("description",locale)} : ${orderItem.itemDescription?if_exists}   + + ${uiLabelMap.ProductCreateProduct} + ${uiLabelMap.ProductLocation}: + <#assign facilityLocations = (orderItem.getRelatedByAnd("ProductFacilityLocation", Static["org.ofbiz.base.util.UtilMisc"].toMap("facilityId", facilityId)))?if_exists/> + <#if facilityLocations?has_content> + + <#else> + + + " width="15" height="14" border="0" alt="Click here For Field Lookup"/> + + + ${uiLabelMap.ProductQtyReceived} : + +
+ ${uiLabelMap.ProductInventoryItemType} :  + + ${uiLabelMap.ProductRejectionReason} : + + ${uiLabelMap.ProductQtyRejected} : + +
 ${uiLabelMap.ProductFacilityOwner}:${uiLabelMap.ProductPerUnitPrice} : + + + ${currencyUomId?if_exists} +
+ + + + + + <#assign rowCount = rowCount + 1> + + + + +
+ + + <#if rowCount == 0> + + ${uiLabelMap.ProductNoItemsPo} #${purchaseOrder.orderId} ${uiLabelMap.ProductToReceive}. + + + + ${uiLabelMap.ProductReturnToReceiving} + + + <#else> + + + ${uiLabelMap.ProductReceiveSelectedProduct} + + + + + + + + + + <#-- Initial Screen --> + <#else> +
+ + + + + + + + + + + + + + + + + + + + +

${uiLabelMap.ProductReceiveItem}

${uiLabelMap.ProductPurchaseOrderNumber}  + + + " width="15" height="14" border="0" alt="Click here For Field Lookup"/> + + ${uiLabelMap.ProductLeaveSingleProductReceiving}
${uiLabelMap.ProductProductId}  + + + " width="15" height="14" border="0" alt="Click here For Field Lookup"/> + + ${uiLabelMap.ProductLeaveEntirePoReceiving}
  + ${uiLabelMap.ProductReceiveProduct} +
+
+ +
+
\ No newline at end of file diff --git a/applications/product/widget/facility/FacilityScreens.xml b/applications/product/widget/facility/FacilityScreens.xml index ce22317f6c..a1bc92a5c4 100644 --- a/applications/product/widget/facility/FacilityScreens.xml +++ b/applications/product/widget/facility/FacilityScreens.xml @@ -843,9 +843,23 @@ under the License. - - - + + + + + + +
+ + + + + +
+
+
+