This is an automated email from the ASF dual-hosted git repository.
mridulpathak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new e7c6af7e5a Fixed: getProductRouting virtual product variant date
filtering (OFBIZ-13550)
e7c6af7e5a is described below
commit e7c6af7e5a0680d22098186b8ac5541d424086e1
Author: Mridul Pathak <[email protected]>
AuthorDate: Thu Sep 10 16:52:07 2026 +0530
Fixed: getProductRouting virtual product variant date filtering
(OFBIZ-13550)
- Filter virtual product variant association by current date instead of
filterDate in the workEffortId branch
---
.../org/apache/ofbiz/manufacturing/routing/RoutingServicesScript.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/applications/manufacturing/src/main/groovy/org/apache/ofbiz/manufacturing/routing/RoutingServicesScript.groovy
b/applications/manufacturing/src/main/groovy/org/apache/ofbiz/manufacturing/routing/RoutingServicesScript.groovy
index 78fa557457..4e652b08e8 100644
---
a/applications/manufacturing/src/main/groovy/org/apache/ofbiz/manufacturing/routing/RoutingServicesScript.groovy
+++
b/applications/manufacturing/src/main/groovy/org/apache/ofbiz/manufacturing/routing/RoutingServicesScript.groovy
@@ -50,7 +50,7 @@ Map getProductRouting() {
GenericValue virtualProductAssoc = from('ProductAssoc')
.where(productIdTo: parameters.productId,
productAssocTypeId: 'PRODUCT_VARIANT')
- .filterByDate(filterDate)
+ .filterByDate()
.queryFirst()
if (virtualProductAssoc) {
lookupRouting.productId = virtualProductAssoc.productId