How and when Doc_Cash.java, Docline_Cash.java gets executed?

The Financial Integration (FI) aspect of Compiere means Accounting Consequence, and stuff that makes Accountants rule. Well, IANA.

Moderator: lofx

How and when Doc_Cash.java, Docline_Cash.java gets executed?

Postby gaurav » Sat Aug 05, 2006 2:57 pm

Hi All

I created few lines in Cash Journal and was running the same from Eclipse in debug mode. I created breakpoints in Doc_Cash.java and Docline_cash.java to check how and when they get executed. On Comleting and posting Cash Journal, i found that cursor does not go into these files and the sode written in these files are not executed.
Please help and tell me how and when these files get executed and which function of which class calls them?
And my second query is that...how posting is done in compiere? I mean which file is used for accounts posting? and how it searches for Application server in code,while posting.


Thanks

Gaurav
www.ViennaSolutions.com
gaurav
 
Posts: 38
Joined: Wed Aug 03, 2005 2:48 pm

Postby red1 » Sun Sep 03, 2006 10:57 am

This has been explained in the RemoteDebug.pdf in http://compiere.red1.org/RemoteDebug.zip .

U dont see the execution steps as its executed remotely in another machine - JBoss. RemoteDebug.pdf explains how to use Eclipse to debug those statements and see the cursur stepping thru.

NOTE: Doc-* javas are executed during accounts posting which may not happen right away, as the JBoss has its own timer. This is to ensure high client-server OLTP performance.
red1
Site Admin
 
Posts: 2759
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia


Return to Accounting Process

Who is online

Users browsing this forum: No registered users and 1 guest

cron