pgsql/x-fifo-invfifo-apply-gl-adjust.sql
authorAlan Knowles <alan@roojs.com>
Fri, 14 Feb 2014 03:02:44 +0000 (11:02 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Feb 2014 03:02:44 +0000 (11:02 +0800)
pgsql/x-fifo-invfifo-apply-gl-adjust.sql

index 2ea2747..aa7363f 100644 (file)
@@ -268,7 +268,8 @@ BEGIN
                             FROM 
                                 gltrans
                             WHERE
-                            
+                            gltrans_source != 'G/L'
+                            AND
                             gltrans_doctype = 'AD'
                             AND
                             (