Author: apatel
Date: Mon Jul 23 22:11:33 2007
New Revision: 558933
URL:
http://svn.apache.org/viewvc?view=rev&rev=558933Log:
only include physical items in shipment request.
Modified:
ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ProcessShipment.ftl
Modified: ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ProcessShipment.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ProcessShipment.ftl?view=diff&rev=558933&r1=558932&r2=558933==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ProcessShipment.ftl (original)
+++ ofbiz/trunk/specialpurpose/oagis/webapp/oagis/message/ProcessShipment.ftl Mon Jul 23 22:11:33 2007
@@ -90,6 +90,9 @@
</#if>
</os:PARTNER>
<#list shipmentItems as shipmentItem>
+ <#assign product = shipmentItem.getRelatedOne("Product")>
+ <#assign productType = product.getRelatedOne("ProductType")>
+ <#if productType.isPhysical == "Y" || productType.isPhysical == "y">
<n:SHIPITEM>
<os:QUANTITY>
<of:VALUE>${shipmentItem.quantity?if_exists}</of:VALUE>
@@ -105,6 +108,7 @@
<of:LINENUM>${shipmentItem.shipmentItemSeqId?if_exists}</of:LINENUM>
</n:DOCUMNTREF>
</n:SHIPITEM>
+ </#if>
</#list>
<#list externalIdSet?if_exists as externalId>
<n:DOCUMNTREF>