This is an automated email from the ASF dual-hosted git repository.
mridulpathak pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push:
new 7e90753efe Fixed: getProductRouting virtual product variant date
filtering (OFBIZ-13550)
7e90753efe is described below
commit 7e90753efe15350131ba4577af70772fa4fc81aa
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 d7b853aaca..44870b0e51 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