<#-- 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. -->

<#-- general request fields --> <#assign rowCount = 0> <#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> <#assign facilityLocationTypeEnumFrom = (facilityLocationFrom.getRelatedOneCache("TypeEnumeration"))?if_exists> <#assign facilityLocationTo = moveByOisgirInfo.facilityLocationTo> <#assign targetProductFacilityLocation = moveByOisgirInfo.targetProductFacilityLocation> <#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOneCache("TypeEnumeration"))?if_exists> <#assign totalQuantity = moveByOisgirInfo.totalQuantity> class="alternate-row"> <#assign rowCount = rowCount + 1> <#-- toggle the row color --> <#assign alt_row = !alt_row> <#list moveByPflInfoList?if_exists as moveByPflInfo> <#assign product = moveByPflInfo.product> <#assign facilityLocationFrom = moveByPflInfo.facilityLocationFrom> <#assign facilityLocationTypeEnumFrom = (facilityLocationFrom.getRelatedOneCache("TypeEnumeration"))?if_exists> <#assign facilityLocationTo = moveByPflInfo.facilityLocationTo> <#assign targetProductFacilityLocation = moveByPflInfo.targetProductFacilityLocation> <#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOneCache("TypeEnumeration"))?if_exists> <#assign totalQuantity = moveByPflInfo.totalQuantity> class="alternate-row"> <#assign rowCount = rowCount + 1> <#else> <#assign messageCount = 0> <#list pflWarningMessageList?if_exists as pflWarningMessage> <#assign messageCount = messageCount + 1>
${uiLabelMap.ProductProductId} ${uiLabelMap.ProductProduct} ${uiLabelMap.ProductFromLocation} ${uiLabelMap.ProductQoh} ${uiLabelMap.ProductAtp} ${uiLabelMap.ProductToLocation} ${uiLabelMap.ProductQoh} ${uiLabelMap.ProductAtp} ${uiLabelMap.ProductMinimumStock} ${uiLabelMap.ProductMoveQuantity} ${uiLabelMap.CommonConfirm} ${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}] ${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}
${uiLabelMap.ProductConfirmSelectedMoves}

${uiLabelMap.ProductNoStockMovesNeeded}.

${messageCount}:${pflWarningMessage}.


${uiLabelMap.ProductProduct} ${uiLabelMap.ProductFromLocation} ${uiLabelMap.ProductToLocation} ${uiLabelMap.ProductMoveQuantity}  
<@htmlTemplate.lookupField formName="quickStockMove" name="productId" id="productId" fieldFormName="LookupProduct"/> ${uiLabelMap.CommonClickHereForFieldLookup} <@htmlTemplate.lookupField formName="quickStockMove" name="targetLocationSeqId" id="targetLocationSeqId" fieldFormName="LookupFacilityLocation?facilityId=${facilityId}&locationTypeEnumId=FLT_PICKLOC"/>
${uiLabelMap.ProductQuickStockMove}