Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit a042c4d

Browse files
committed
Improved: Used cache while fetching product (#47).
1 parent a12d8b1 commit a042c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/co/hotwax/cycleCount/InventoryCountServices.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
<if condition="itemList == null || itemList.size() == 0"><return message="No Items Found"/></if>
107107
<iterate list="itemList" entry="item">
108108
<if condition="item.productId">
109-
<entity-find-one entity-name="org.apache.ofbiz.product.product.Product" value-field="product">
109+
<entity-find-one entity-name="org.apache.ofbiz.product.product.Product" value-field="product" cache="true">
110110
<field-map field-name="productId" from="item.productId"/>
111111
</entity-find-one>
112112
<if condition="!product">

0 commit comments

Comments
 (0)