* [ 1647620 ] MInvoice.afterSave

This commit is contained in:
Heng Sin Low 2007-01-30 03:42:33 +00:00
parent dded588672
commit 16b63ce410
1 changed files with 1 additions and 1 deletions

View File

@ -989,7 +989,7 @@ public class MInvoice extends X_C_Invoice implements DocAction
+ " SET AD_Org_ID =" + " SET AD_Org_ID ="
+ "(SELECT AD_Org_ID" + "(SELECT AD_Org_ID"
+ " FROM C_Invoice o WHERE ol.C_Invoice_ID=o.C_Invoice_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()); int no = DB.executeUpdate(sql, get_TrxName());
log.fine("Lines -> #" + no); log.fine("Lines -> #" + no);
} }