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

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