From 16b63ce4106a1e7e12b491daa64e9688f716d541 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 30 Jan 2007 03:42:33 +0000 Subject: [PATCH] * [ 1647620 ] MInvoice.afterSave --- base/src/org/compiere/model/MInvoice.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/MInvoice.java b/base/src/org/compiere/model/MInvoice.java index 33404762c4..7b7333643d 100644 --- a/base/src/org/compiere/model/MInvoice.java +++ b/base/src/org/compiere/model/MInvoice.java @@ -989,7 +989,7 @@ public class MInvoice extends X_C_Invoice implements DocAction + " SET AD_Org_ID =" + "(SELECT AD_Org_ID" + " FROM C_Invoice o WHERE ol.C_Invoice_ID=o.C_Invoice_ID) " - + "WHERE C_Invoice_ID=" + getC_Order_ID(); + + "WHERE C_Invoice_ID=" + getC_Invoice_ID(); int no = DB.executeUpdate(sql, get_TrxName()); log.fine("Lines -> #" + no); }