fixed bug 17814: smartbuild detects changes in auxiliary inputs
authorAsier Lostalé <asier.lostale@openbravo.com>
Thu, 28 Jul 2011 09:06:17 +0200
changeset 13318 ce5b26891c94
parent 13317 4fd3512efec0
child 13319 178a991820b0
fixed bug 17814: smartbuild detects changes in auxiliary inputs
src-wad/src/org/openbravo/wad/Tabs_data.xsql
--- a/src-wad/src/org/openbravo/wad/Tabs_data.xsql	Thu Jul 28 08:22:30 2011 +0200
+++ b/src-wad/src/org/openbravo/wad/Tabs_data.xsql	Thu Jul 28 09:06:17 2011 +0200
@@ -207,6 +207,12 @@
                          AND C2.AD_REFERENCE_VALUE_ID = R.AD_REFERENCE_ID
                          AND C2.AD_TABLE_ID = TB.AD_TABLE_ID
                          AND W.AD_WINDOW_ID = TB.AD_WINDOW_ID
+                    UNION
+                      SELECT 1
+                        FROM AD_AUXILIARINPUT A, AD_TAB TB
+                       WHERE AD_WINDOW.AD_WINDOW_ID = TB.AD_WINDOW_ID
+                         AND A.AD_TAB_ID = TB.AD_TAB_ID
+                         AND A.UPDATED > SI.LAST_BUILD
                        )
         ORDER BY AD_WINDOW.name, AD_TAB.tablevel, AD_TAB.seqno
           ]]>