Re: ofbiz doubts

2008-04-27 Thread Nattanicha Rittammanart
ocuments referenced there are not part of any OFBiz documentation, and do not necessarily show Best Practices. For more official documents that are more compatible with the direction and goals of the community, see the docs.ofbiz.org site. -David On Apr 26, 2008, at 5:30 PM, Nattanicha Rit

Re: ofbiz doubts

2008-04-26 Thread Nattanicha Rittammanart
Hi cathrina, If you want to understand basic to implement application on OFBiz, please go through http://www.opensourcestrategies.com/ofbiz/tutorials.php OFBiz in nutshell -> www.opensourcestrategies.com/downloads/*ofbiz*_*nutshell*.pdf --> is also a good resource which can make you understand

Re: Query entity

2008-04-21 Thread Nattanicha Rittammanart
AIL PROTECTED]> wrote: One thing that jumps out at me is that I see no primary key. Perhaps adding and maybe if asset_itemid is not always unique -Original Message- From: Nattanicha Rittammanart [mailto:[EMAIL PROTECTED] Sent: Sunday, April 20, 2008 1:38 PM To: user@

Query entity

2008-04-20 Thread Nattanicha Rittammanart
Hi all, I have a problem to ask you. I have table like this: entity-name="DepreciationTrans" title="Keeps depreication record from depreciation table which created in each period"> I want to show it by using form, I do like this: paginate-target="ShowDepre

Query entity

2008-04-20 Thread Nattanicha Rittammanart
Hi all, I have a problem to ask you. I have table like this: title="Keeps depreication record from depreciation table which created in each period"> I want to show it by using form, I do like this: paginate-target="ShowDepreTable"> field-

Re: create record with 2 primary keys

2008-04-20 Thread Nattanicha Rittammanart
e accObj = delegator.makeValue("DepreciationTrans", "asset_itemid", asset_itemid, "calculate_date", calculate_date); Regards Scott On 20/04/2008, Nattanicha Rittammanart <[EMAIL PROTECTED]> wrote: Dear all, I have a table with 2 primary keys as follows:

create record with 2 primary keys

2008-04-20 Thread Nattanicha Rittammanart
Dear all, I have a table with 2 primary keys as follows: . Normally, if the table has 1 primary key, I will do like this: GenericValue accObj = delegator.makeValue("DepreciationTrans", UtilMisc.toMap(

Re: Opentaps 0.8 not running

2008-04-03 Thread Nattanicha Rittammanart
็Hi arnab, Did you install Opentap(run-install)? hope this help, Natty arnab wrote: Hi All, I'm trying to run opentaps 0.8(windows environment) but it is giving errors. C:\opentaps>startofbiz.bat C:\opentaps>"C:\j2sdk1.4\bin\java" -Xms256M -Xmx512M -jar ofbiz.jar 1>logs\cons ole.logorg.ofb

Re: Ofbiz entityengine.xml configuration

2008-04-01 Thread Nattanicha Rittammanart
Ladroge Can you give the exception which you got? Natty ladroge wrote: HI I use postgresql as database and when i configure opentaps with it i can run my application. For the same configuration on Ofbiz it does not run . Someone can show me how to configure this file entityengine.xml

Re: How to use event to send session parameter

2008-03-24 Thread Nattanicha Rittammanart
ition in the following way: . Now you can get this session object in your Java Service from the context map in the following way: HttpSession session = (HttpSession)context.get("session"); I think this way you can access the session information. On Sat, Mar 22, 2008 at 7:03 AM, Na

How to use event to send session parameter

2008-03-21 Thread Nattanicha Rittammanart
Dear all, I need to work with session information. I knew that we can send session information to Java engine by using event. Anyway, I don't know how to do this. Who used to do this please tell me or tell me where I can read this is also OK. Thanks in advance. Nattanicha

Re: Connecting to a legacy database (FoxPro)

2008-03-19 Thread Nattanicha Rittammanart
Hi Bruno, Can you access the entity through the webtools if you put check-on-start="false"? For me, I can also access via webtools when I config the same as I told you before. Why do you need to put check-on-start="true"??? Nattanicha OK, i can connect OFBiz to the FoxPro DB using the jdb

Re: Connecting to a legacy database (FoxPro)

2008-03-19 Thread Nattanicha Rittammanart
rk with it, you can finish your work!! Hope this help, Nattanicha Bruno Busco wrote: Could you please detail how you use the odbc driver? Have you defined a DNS for the database in the Windows Control Panel? What is the DB connection URL? -Bruno 2008/3/18, Nattanicha Rittammanart <[EMAIL PR

Re: Connecting to a legacy database (FoxPro)

2008-03-18 Thread Nattanicha Rittammanart
Hi Bruno, Sorry I told you something wrong. For Visual Foxpro odbc driver, you just download and install it on your machine. Then please set odbc and test connect with Squirrel. There are no jar file which is needed to put in lib. Nattanicha Rittammanart wrote: Hi Bruno, Thanks very

Re: Connecting to a legacy database (FoxPro)

2008-03-18 Thread Nattanicha Rittammanart
was happy with the driver and the url used than I moved to OFBiz. Hope this helps, Bruno 2008/3/18, Nattanicha Rittammanart <[EMAIL PROTECTED]>: Hi I try to use HXTT DBF ODBC but I found error as follows: 2008-03-18 16:22:01,765 (main) [ DatabaseUtil.java:351:ERROR] Could not c

Re: Connecting to a legacy database (FoxPro)

2008-03-18 Thread Nattanicha Rittammanart
Why both 2 drivers got syntax errors? Please suggest me. Thanks in advance, Nattanicha Nattanicha Rittammanart wrote: Hi, Bruno I'm also develop the application on OFBiz by connecting with Foxpro. Did you use "webtools"? In there you can schedule task depend on your need. And I al

Re: Connecting to a legacy database (FoxPro)

2008-03-17 Thread Nattanicha Rittammanart
Hi, Bruno I'm also develop the application on OFBiz by connecting with Foxpro. Did you use "webtools"? In there you can schedule task depend on your need. And I also found some code relate to scheduling as follows: *To schedule a service to run at a later time or to repeat use this:* // Thi

How to get session information for service?

2008-03-17 Thread Nattanicha Rittammanart
Hi all, I need to implement lock for transaction (manual pessimistic locking). I need to use sessionid to be one of parameters for lock. How can I get session information for the transaction in Java Service. Or can I have another way to do this. Finally, I knew that OFBiz provide only optimi