Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #18415 All Revisions ] Back to Issue ]
Summary 0018415: Problems with WAD and default values in parameters for Bundle Process
Revision 2011-09-02 09:15 by jecharri
Steps To Reproduce As System, go to Reports and Process.
Go to process "FIN_DeleteTransaction"
Now, after you have selected the process, go to tab Parameter.
In this tab, create a new parameter (it doesn't mind what you put in all fields apart from the default value) and put one SQL sentence like a default value. For example @SQL=select hola from c_invoice.
Now compile the Financial account window: ant compile -Dtab=Financial
It must be appear the next error:

compileSqlc:
    [javac] Compiling 302 source files to /home/openbravo/src/30POSTGRES/pi/build/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Compiling 25 source files to /home/openbravo/src/30POSTGRES/pi/build/classes
    [javac] /home/openbravo/src/30POSTGRES/pi/srcAD/org/openbravo/erpCommon/ad_actionButton/ActionButtonJava_Responser.java:633: cannot find symbol
    [javac] symbol : variable ActionButtonSQLDefaultData
    [javac] location: class org.openbravo.erpCommon.ad_actionButton.ActionButtonJava_Responser
    [javac] xmlDocument.setParameter("c_invoice_id", ActionButtonSQLDefaultData.selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id(this));
    [javac] ^
    [javac] /home/openbravo/src/30POSTGRES/pi/srcAD/org/openbravo/erpWindows/FinancialAccount/TransactionFF8080812F213146012F2135BC25000E.java:1084: cannot find symbol
    [javac] symbol : method selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id(org.openbravo.erpWindows.FinancialAccount.TransactionFF8080812F213146012F2135BC25000E)
    [javac] location: class org.openbravo.erpWindows.FinancialAccount.TransactionFF8080812F213146012F2135BC25000EData
    [javac] xmlDocument.setParameter("c_invoice_id", TransactionFF8080812F213146012F2135BC25000EData.selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id(this));
    [javac] ^
    [javac] 2 errors

The problem is that ActionButtonSQLDefaultData java class doesn't exist.
Like a note, I have to say that in the xsql OF THE WINDOW IN WHICH THE PROCESS IS CALLED have been created the query selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id.
Revision 2011-09-02 08:16 by jecharri
Steps To Reproduce As System, go to Reports and Process.
Go to process "FIN_DeleteTransaction"
Now, after you have selected the process, go to tab Parameter.
In this tab, create a new parameter (it doesn't mind what you put in all fields apart from the default value) and put one SQL sentence like a default value. For example @SQL=select hola from c_invoice.
Now compile the Financial account window: ant compile -Dtab=Financial
It must be appear the next error:

compileSqlc:
    [javac] Compiling 302 source files to /home/openbravo/src/30POSTGRES/pi/build/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Compiling 25 source files to /home/openbravo/src/30POSTGRES/pi/build/classes
    [javac] /home/openbravo/src/30POSTGRES/pi/srcAD/org/openbravo/erpCommon/ad_actionButton/ActionButtonJava_Responser.java:633: cannot find symbol
    [javac] symbol : variable ActionButtonSQLDefaultData
    [javac] location: class org.openbravo.erpCommon.ad_actionButton.ActionButtonJava_Responser
    [javac] xmlDocument.setParameter("c_invoice_id", ActionButtonSQLDefaultData.selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id(this));
    [javac] ^
    [javac] /home/openbravo/src/30POSTGRES/pi/srcAD/org/openbravo/erpWindows/FinancialAccount/TransactionFF8080812F213146012F2135BC25000E.java:1084: cannot find symbol
    [javac] symbol : method selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id(org.openbravo.erpWindows.FinancialAccount.TransactionFF8080812F213146012F2135BC25000E)
    [javac] location: class org.openbravo.erpWindows.FinancialAccount.TransactionFF8080812F213146012F2135BC25000EData
    [javac] xmlDocument.setParameter("c_invoice_id", TransactionFF8080812F213146012F2135BC25000EData.selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id(this));
    [javac] ^
    [javac] 2 errors

The problem is that ActionButtonSQLDefaultData java class doesn't exist.
Like a note, I have to say that in the xsql have been created the query selectActPFF8080812F348A97012F349DC24F0007_c_invoice_id.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker