Skip to main content

Posts

How can I change appearance of ADempiere ERP webui login page?

In trunk/zkwebui/theme/default there are a couple of files: login-left.zul, vendor-logo.zul, version-info.zul etc. File version-info.zul contains the server info data. You can change these files so the login page appears as you please. In file vendor-logo.zul there is the possibility of customization to own logo, links etc. Configuring the files in trunk/zkwebui/theme/default enables you to change the appearance of the webui login page to your needs. A build is needed.

Message box in ADempiere ERP

ADempiere have its own standard in its pop up messages. Normally we can use JOptionPane provided by  java. But you need to compromise its look and feel in your application. The following are the commonly used pop up box menthods in ADempiere in different instances. 1. mTab.fireDataStatusEEvent("Already open access","message",true); Used in callouts. 2. log.saveError("Invalid Date", message); Used in model classes. 3. ADialog.error(m_WindowNo, this, "FillMandatory", sb.toString());             return false; Used in client classes. If it is used in the higher build priority classes, you may have build error. 4. throw new IllegalStateException("Could not create accrual entry"); Used to throw exceptions in your code.

Adempiere Schema Diagram

From the below mentioned link, you may get the entire table schema in adempiere. http://globalqss.com/idempiere/1.0c/schemaspy/MaterialManagement/relationships.html

Cleanup of Ant build scripts

ADempiere 370LTS contains the following Ant build scripts which are required to build the entire system: tools/build.xml base/build.xml extend/build.xml client/build.xml JasperReports/build.xml serverRoot/build.xml serverApps/build.xml webStore/build.xml webCM/build.xml sqlj/build.xml posterita/posterita/build.xml zkwebui/build.xml install/build.xml More details in the following link http://www.adempiere.com/FR3409987_Cleanup_of_Ant_build_scripts

To add a external jar to ADempiere ERP

1. Get the jar file 2. Edit the Adempiere370\tools\Build.xml 3. Copy the jar file to Adempiere370\tools\ 4. Add the code fragment in the xml file     both in CSTools and CCTools eg:     <!-- Joda                -->     <zipfileset src="lib/joda-time-2.3.jar">         <patternset refid="manifest.exclude" />     </zipfileset> 5. If we are using the jar objects in base, client or zkwebui, edit respective build.xml files

To Debug Adempiere Web UI or Server

1. Open Adempiere\jboss\bin\run.bat 2. There is a command "rem set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%" 3. delete "rem" from the code , So server will listen to the port 8787 4. open eclipse -> Debug Configuration -> Remote Java Application , Then, create a new configuraion, Give the configuration name : 'AdempiereWeb'(anything) Give the Project Name, Connection Type : Standard(Socket Attach) Host : localhost Port : 8787 5. Run Adempiere370\utils\RUN_Server2.bat It will start and waiting to the response from the port 8787. 6. Debug the 'AdempiereWeb' configuration 7 set the debug break points on the class, It will detect the break points ; DONE

Installing ADempiere 3.7.0 on Ubuntu 11.04

Installing ADempiere 3.7.0 on Ubuntu 11.04 This is a simple how to install ADempiere 3.7.0 on Ubuntu 11.04. There are alot of installation How-To's, the reason I believe this might be useful is that the new 3.7.0 has some little twist in the installation and lots of the installation manuals here in the wiki are outdated. I will keep it as simple as possible to allow anyone new to ADempiere and even to Ubuntu to be able to get ADempiere running. Contents   [ hide ] 1   OS Installation 2   ADempiere Pre-Installation Routine 3   PostgreSQL Installation 4   ADempiere Installation 5   ADempiere Start OS Installation Install Ubuntu 11.04 directly on a PC or as a VM. During the installation, set "adempiere" as the username, that will make things a bit easier later on ADempiere Pre-Installation Routine After the installation finishes, lets get going with downloading the needed files. Open a Terminal Screen and type the following: wget http: