[OFBiz] SVN: r6618 - trunk/applications/product/script/org/ofbiz/shipment/receipt
jaz@svn.ofbiz.org
jaz at svn.ofbiz.org
Mon Jan 30 23:20:43 CST 2006
Author: jaz
Date: 2006-01-30 23:20:40 -0600 (Mon, 30 Jan 2006)
New Revision: 6618
Modified:
trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml
Log:
now updated the InventoryItemDetail record to post the receiptId
Modified: trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml
===================================================================
--- trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml 2006-01-31 05:19:12 UTC (rev 6617)
+++ trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml 2006-01-31 05:20:40 UTC (rev 6618)
@@ -46,6 +46,15 @@
<set field="newEntity.receivedByUserLoginId" from-field="userLogin.userLoginId"/>
<create-value value-name="newEntity"/>
+
+ <if-not-empty field-name="inventoryItemDetailSeqId" map-name="parameters">
+ <entity-one entity-name="InventoryItemDetail" value-name="invDet">
+ <field-map field-name="inventoryItemDetailSeqId" env-name="parameters.inventoryItemDetailSeqId"/>
+ <field-map field-name="inventoryItemId" env-name="parameters.inventoryItemId"/>
+ </entity-one>
+ <set field="invDet.receiptId" from-field="receiptId"/>
+ <store-value value-name="invDet"/>
+ </if-not-empty>
</simple-method>
<simple-method method-name="createShipmentReceiptRole" short-description="Create a ShipmentReceipt Role">
More information about the Svn
mailing list