Fixes issue 22309: The Process Expenses button label
authorJavier Etxarri <javier.echarri@openbravo.com>
Fri, 25 Jan 2013 10:47:05 +0100
changeset 19437 6b54a51472fa
parent 19436 be9160ee5ece
child 19438 265cf4899bab
Fixes issue 22309: The Process Expenses button label
and pop-up message should be more generic
src-db/database/model/functions/S_TIMEEXPENSE_POST.xml
src-db/database/sourcedata/AD_FIELD.xml
--- a/src-db/database/model/functions/S_TIMEEXPENSE_POST.xml	Fri Jan 25 10:14:44 2013 +0100
+++ b/src-db/database/model/functions/S_TIMEEXPENSE_POST.xml	Fri Jan 25 10:47:05 2013 +0100
@@ -101,7 +101,7 @@
   GROUP BY S_TimeExpense.PROCESSED;
   IF (v_Processed = 'Y') THEN
     IF (v_CInvoicelineId IS NULL AND v_COrderlineId IS NULL) THEN
-        UPDATE S_TimeExpense SET Processed = 'N' WHERE S_TimeExpense_ID = v_Record_ID;
+        UPDATE S_TimeExpense SET Processed = 'N',Processing = 'N' WHERE S_TimeExpense_ID = v_Record_ID;
     ELSE
         v_Message:='@DocumentAssociated@';
      v_Result:=0;
@@ -121,7 +121,7 @@
        -- Checks come here
        -- Complete
          UPDATE S_TimeExpense
-           SET Processed='Y',
+           SET Processed='Y',processing = 'Y',
            Updated=now(),
            UpdatedBy=v_AD_User_ID
          WHERE S_TimeExpense_ID=CUR_te.S_TimeExpense_ID;
--- a/src-db/database/sourcedata/AD_FIELD.xml	Fri Jan 25 10:14:44 2013 +0100
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Fri Jan 25 10:47:05 2013 +0100
@@ -67563,7 +67563,7 @@
 <!--5441-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--5441-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
 <!--5441-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--5441-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--5441-->  <ISSHOWNINSTATUSBAR><![CDATA[Y]]></ISSHOWNINSTATUSBAR>
 <!--5441-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--5441--></AD_FIELD>