git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1812309 13f79535-47bb-0310-9956-ffa450edef68
166 lines
8.2 KiB
Plaintext
166 lines
8.2 KiB
Plaintext
<#--
|
|
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.
|
|
-->
|
|
|
|
<#assign rowCount = 0>
|
|
<fo:table table-layout="fixed" border-spacing="3pt">
|
|
<fo:table-column column-width="0.8in"/>
|
|
<fo:table-column column-width="0.8in"/>
|
|
<fo:table-column column-width="1.2in"/>
|
|
<fo:table-column column-width="0.5in"/>
|
|
<fo:table-column column-width="0.5in"/>
|
|
<fo:table-column column-width="1.2in"/>
|
|
<fo:table-column column-width="0.5in"/>
|
|
<fo:table-column column-width="0.5in"/>
|
|
<fo:table-column column-width="1in"/>
|
|
<fo:table-column column-width="1in"/>
|
|
<fo:table-header>
|
|
<fo:table-row>
|
|
<fo:table-cell>
|
|
<fo:block font-weight="bold">${uiLabelMap.ProductProductId}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block font-weight="bold">${uiLabelMap.ProductProduct}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block font-weight="bold">${uiLabelMap.ProductFromLocation}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block font-weight="bold">${uiLabelMap.ProductQoh}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block font-weight="bold">${uiLabelMap.ProductAtp}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block font-weight="bold">${uiLabelMap.ProductToLocation}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block font-weight="bold">${uiLabelMap.ProductQoh}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block font-weight="bold">${uiLabelMap.ProductAtp}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block font-weight="bold">${uiLabelMap.ProductMinimumStock}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block font-weight="bold">${uiLabelMap.ProductMoveQuantity}</fo:block>
|
|
</fo:table-cell>
|
|
</fo:table-row>
|
|
</fo:table-header>
|
|
<fo:table-body>
|
|
<#if moveByOisgirInfoList?has_content || moveByPflInfoList?has_content>
|
|
<#assign alt_row = false>
|
|
<#list moveByOisgirInfoList! as moveByOisgirInfo>
|
|
<#assign product = moveByOisgirInfo.product>
|
|
<#assign facilityLocationFrom = moveByOisgirInfo.facilityLocationFrom>
|
|
<#assign facilityLocationTypeEnumFrom = (facilityLocationFrom.getRelatedOne("TypeEnumeration", true))!>
|
|
<#assign facilityLocationTo = moveByOisgirInfo.facilityLocationTo>
|
|
<#assign targetProductFacilityLocation = moveByOisgirInfo.targetProductFacilityLocation>
|
|
<#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOne("TypeEnumeration", true))!>
|
|
<#assign totalQuantity = moveByOisgirInfo.totalQuantity>
|
|
<fo:table-row>
|
|
<fo:table-cell>
|
|
<fo:block>${product.productId}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${product.internalName!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${facilityLocationFrom.areaId!}:${facilityLocationFrom.aisleId!}:${facilityLocationFrom.sectionId!}:${facilityLocationFrom.levelId!}:${facilityLocationFrom.positionId!}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})</#if>[${facilityLocationFrom.locationSeqId}]</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${moveByOisgirInfo.quantityOnHandTotalFrom!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${moveByOisgirInfo.availableToPromiseTotalFrom!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${facilityLocationTo.areaId!}:${facilityLocationTo.aisleId!}:${facilityLocationTo.sectionId!}:${facilityLocationTo.levelId!}:${facilityLocationTo.positionId!}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})</#if>[${facilityLocationTo.locationSeqId}]</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${moveByOisgirInfo.quantityOnHandTotalTo!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${moveByOisgirInfo.availableToPromiseTotalTo!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${targetProductFacilityLocation.minimumStock!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${targetProductFacilityLocation.moveQuantity!}</fo:block>
|
|
</fo:table-cell>
|
|
</fo:table-row>
|
|
<#assign rowCount = rowCount + 1>
|
|
<#-- toggle the row color -->
|
|
<#assign alt_row = !alt_row>
|
|
</#list>
|
|
<#list moveByPflInfoList! as moveByPflInfo>
|
|
<#assign product = moveByPflInfo.product>
|
|
<#assign facilityLocationFrom = moveByPflInfo.facilityLocationFrom>
|
|
<#assign facilityLocationTypeEnumFrom = (facilityLocationFrom.getRelatedOne("TypeEnumeration", true))!>
|
|
<#assign facilityLocationTo = moveByPflInfo.facilityLocationTo>
|
|
<#assign targetProductFacilityLocation = moveByPflInfo.targetProductFacilityLocation>
|
|
<#assign facilityLocationTypeEnumTo = (facilityLocationTo.getRelatedOne("TypeEnumeration", true))!>
|
|
<#assign totalQuantity = moveByPflInfo.totalQuantity>
|
|
<fo:table-row>
|
|
<fo:table-cell>
|
|
<fo:block>${product.productId}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${product.internalName!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${facilityLocationFrom.areaId!}:${facilityLocationFrom.aisleId!}:${facilityLocationFrom.sectionId!}:${facilityLocationFrom.levelId!}:${facilityLocationFrom.positionId!}<#if facilityLocationTypeEnumFrom?has_content>(${facilityLocationTypeEnumFrom.description})</#if>[${facilityLocationFrom.locationSeqId}]</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${moveByPflInfo.quantityOnHandTotalFrom!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${moveByPflInfo.availableToPromiseTotalFrom!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${facilityLocationTo.areaId!}:${facilityLocationTo.aisleId!}:${facilityLocationTo.sectionId!}:${facilityLocationTo.levelId!}:${facilityLocationTo.positionId!}<#if facilityLocationTypeEnumTo?has_content>(${facilityLocationTypeEnumTo.description})</#if>[${facilityLocationTo.locationSeqId}]</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${moveByPflInfo.quantityOnHandTotalTo!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${moveByPflInfo.availableToPromiseTotalTo!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${targetProductFacilityLocation.minimumStock!}</fo:block>
|
|
</fo:table-cell>
|
|
<fo:table-cell>
|
|
<fo:block>${targetProductFacilityLocation.moveQuantity!}</fo:block>
|
|
</fo:table-cell>
|
|
</fo:table-row>
|
|
<#assign rowCount = rowCount + 1>
|
|
</#list>
|
|
</#if>
|
|
<#assign messageCount = 0>
|
|
<#list pflWarningMessageList! as pflWarningMessage>
|
|
<#assign messageCount = messageCount + 1>
|
|
<fo:table-row>
|
|
<fo:table-cell>
|
|
<fo:block>${messageCount}:${pflWarningMessage}.</fo:block>
|
|
</fo:table-cell>
|
|
</fo:table-row>
|
|
</#list>
|
|
</fo:table-body>
|
|
</fo:table> |