[ofbiz-plugins] branch trunk updated: Improved: fixes a typo due to OFBIZ-11030

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-plugins] branch trunk updated: Improved: fixes a typo due to OFBIZ-11030

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 492dcb9  Improved: fixes a typo due to OFBIZ-11030
492dcb9 is described below

commit 492dcb9208e0daeb853bd5bd7f2499aae9afd099
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Thu Mar 26 16:11:09 2020 +0100

    Improved: fixes a typo due to OFBIZ-11030
   
    Thanks: Pierre Smits for spotting it
---
 bi/groovyScripts/FactServices.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bi/groovyScripts/FactServices.groovy b/bi/groovyScripts/FactServices.groovy
index 80816b7..2582ab8 100644
--- a/bi/groovyScripts/FactServices.groovy
+++ b/bi/groovyScripts/FactServices.groovy
@@ -106,7 +106,7 @@ def loadSalesInvoiceItemFact() {
                 inMap.naturalKeyFields = naturalKeyFields
                 serviceResult = run service: "getDimensionIdFromNaturalKey", with: inMap
                 fact.productDimId = serviceResult.dimensionId
-                if (!act.productDimId) {
+                if (!fact.productDimId) {
                     fact.productDimId = "_NF_"
                 }
             } else {