Pages

Showing posts with label ERP. Show all posts
Showing posts with label ERP. Show all posts

Monday, June 20, 2016

Running install.app in Eclipse - Read Only Swing Client

When I tried running Install.app after following the instruction on how to install iDempiere, I can't edit the swing client of idempiere setup...


The problem with not being able to write on this page is I have to find a dirtier way to add the DB Admin Password, but I don't want that. Unfortunately, there were no (at that time) answer to my question, so I decided to ask Redhuan in google groups.

So the answer to my problem is this
-arch x86 
Here's my whole run configurations after adding the line above


So I hope this helps you as much as it helped me. :)

Now I'm able to edit the iDempiere setup.

Thursday, January 22, 2015

Encountering Unsupported major.minor version 51.0

So I have to run Adempiere 361LTS in a Windows 8 machine who runs on Java 7 already.
I've copied my jdk1.6 folder from Windows 7 PC to Win8.

But even though project I've added in eclipse is already being built in Java 6, the eclipse is running Java 7 vm when running the tomcat 6 server. I wanted to debug the system in zkwebui..

So I'm left with logs and result in localhost:8080/webui
UnsupportedClassVersionError... further down the console log of eclipse I read this Unsupported major.minor version 51.0

In this link I read that...
The version number shown describes the version of the JRE the class file is compatible with.
The reported major numbers are:
J2SE 8 = 52,J2SE 7 = 51,J2SE 6.0 = 50,J2SE 5.0 = 49,JDK 1.4 = 48,JDK 1.3 = 47,JDK 1.2 = 46,JDK 1.1 = 45
So this gave me a hint that eclipse though was building the projects in Java 6 it's compiling in Java 7.

Then I found in this link with instructions on how to adjust eclipse version compiler...
Go to Menu-> Window -> Preferences -> Java -> Installed JREs -> Remove the old JRE -> Add new JRE


Finally, I'm able to run the system without error! :D

Hope this helps. :)

Wednesday, December 17, 2014

Accounting Notes: What goes to where

Below are my notes on Adempeire / iDempiere account postings

Purchase Order: No Posting unless you enable SO/PO Commitment posting

Material Receipt
Product > Accounting: Product Asset (DR)
Business Partner Group > Accounting: Not-invoiced Receipts (CR)

Invoice (Vendor)
Product > Accounting: Inventory Clearing (DR)
Business Partner > Vendor Accounting: Vendor Liability (CR)

Instead of repeating what's in the wiki, I'm just resharing the documentation.
http://www.adempiere.com/ADempiere_Accounting

It was a little bit cluttered, but just read it through, you'll be able to understand it. Based on my initial testing last Dec 2014 for modules AR and AP, posting still looks okay and what's being used by iDempiere 2.1 :)

Monday, November 24, 2014

Updating iDempiere 2.0 to 2.1

First of, all of the solutions are here
http://www.globalqss.com/wiki/index.php/IDempiere/Importing_DB_Seed_Manually

Except for some bumps I've encountered in applying the database migration script
1) I'm using windows so running
sh syncApplied_2.1.sh 
means I have to download CYGwin, there are other tools but this is what I used.

2) After successfully running sync applied, I feel like I need a complete version of migration scripts, because I don't want a problem. So I have to double check the last check point I had when I ran my first migration script and that was i2.0z (found under idempiere\migration\i2.0z). So I have to update my trunk to latest 2.1 branch release by using
hg pull && hg update release-2.1 
inside my local idempiere home folder.

3) After having all the scripts needed, apparently I realized that I don't need step 1 if I have updated my trunk. So I've created a bat that will execute all the sql files in i2.0z folder, since there are lots of sql file.

4) But, I've encountered this generate_uuid() function missing or not existing, so I have to search all over the net to find the solution...

first I found this: https://idempiere.atlassian.net/browse/IDEMPIERE-274
the above link didn't work for me, and I'm not sure why so I tried this

second solution: psql -d idempiere -U adempiere -c 'CREATE EXTENSION "uuid-ossp"'
from: http://www.globalqss.com/wiki/index.php/IDempiere/Importing_DB_Seed_Manually

But again it didn't work because I'm having problem with those freaking quotes!
So my third solution is: http://blog.hardmax.com.pe/2013/11/04/postgres-error-function-uuid_generate_v4-does-not-exist-despues-de-restaurar-idempiere-solucionado/

And it almost did not work in step 3 when I tried using this (instead of what is in the website)
idempiere=# SELECT adempiere.generate_uuid();
But the problem with that is, I have to put adempiere schema in all sql files in migration folder, and I cannot do that. That's crazy!

5) I found a site that modifies postgresql.conf here http://www.mkyong.com/database/postgresql-how-to-change-default-schema/

But when I restarted my server, I had problems running SELECT adempiere.generate_uuid(); again. So I had to close the cmd and recreate the extension. And viola! It WORKS!!! :D

So, I hope this documentation will help other struggling implementer who are updating their idempiere system to 2.1.

Friday, October 25, 2013

ERP Business Process - ADempiere

During my first year studying the business process of this ERP system, I can't but create a flowchart. ADempiere is the first ERP system I've studied, and since then I've been studying the system and the business flow. I haven't had a chance to check the new fork: iDempiere, but I'm excited to check it out.

I hope the flowcharts will help you understand ADempiere ERP system. :)



Then to my surprise, someone from Germany translated the flowchart I've created and was kind enough to inform me and email me a copy.

GERMAN VERSION of Sales Order Map, thanks to Thomas Kreser of Catura.de


Here's the link to may ADempiere Wiki Page - Jairah.