deposits to bank (financial Account) does not show money in bank
I am testing Ogbiz 18.12.08 for Invoice/Payment cycle. For customers paying invoices with company check the creation of deposit does create the payment but the money or the transactions do not show when searched from the Financial Account side (i.e. the bank). shouldn't the bank show the amount that you deposited the check for? Any insight will be appreciated. If it is a bug, please, confirm, so that I may create a jira issue. Thanks. -- Regards, Parminder S. Lehal
database upgrade
Hello, What is the best path for upgrading ofbiz database from older version(12) to current production(17) as importing database backup on top of created database schema complains about foreign key constraints violations. Running current ofbiz on old database although does work but does not make any database schema changes. Is there any specific tool in the ofbiz package for updating database schema or for testing its compliance? If we load default seed data and then import xml using web tools then most of sequences get thrown out of sync(which is not that that hard to fix..) but wanted to know if there is any better technique. -- Regards, Parminder S. Lehal
"official" web service standard
What is the "official" web service standard/procedure now for ofbiz as old method ( xmlrpc ) services are obsolete and it is almost impossible even to find jar files for them. Can someone provide a link to official docs in this regard? -- Regards, Parminder S. Lehal
Re: Installation trouble
The problem lies with the download files. Some of the zip files *even the latest 16.11 zip) does not have gradlew file included in them. It is pathetic that the final package file served from the mirrors is incomplete(May be someone will pay some attention to this decline in quality). I also found this after wasting some time. Easier solution may be to use svn for downloading whatever version you are looking for. On Wed, 2020-01-22 at 10:32 +0100, Gil Portenseigne wrote: > On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote: > > Hello, > > > Typo :And you should be able to : $ ./gradlew loadAll -- Regards, Parminder S. Lehal
payment data does not get entered in ledger
When payment for a sales invoice is received into a financial account (checking a/c etc) via company check, The financial account does not reflect the updated balance. What steps need take place in order to reflect the payment amount in the bank account? I have tried it in all the ofbiz versions but none of them work. -- Regards, Parminder S. Lehal
Re: paymentMethodId choices wrong in form for creating/editing a received payment
OFBIZ-11181 created for the issue. Regards, Parminder Lehal -Original Message- From: Jacques Le Roux Reply-To: user@ofbiz.apache.org To: user@ofbiz.apache.org Subject: Re: paymentMethodId choices wrong in form for creating/editing a received payment Date: Mon, 2 Sep 2019 16:48:06 +0200 Hi Parminder, You are right. Could you please fill a Jira issue? Look at the Community/Issue-Tracker menu on https://ofbiz.apache.org/ then the red "Create" button If you need more help be sure to read: https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Contributors+Best+Practices Thanks in advance for you help Jacques Le 30/08/2019 à 05:46, Parminder S. Lehal a écrit : > In version 16.11.05, there seems to be a bug in the forms for > Payment > method field(drop down) for Incoming payment. Payment methods should > be > whatever is defined for getting the payments from customers like > Company Check, Cash etc. etc. but it i showing the methods wgich are > applicable for outgoing payments such as Petty cash and defined > Financial accounts (from where you pay the suppliers). > -- Regards, Parminder S. Lehal +1-226-246-3526
paymentMethodId choices wrong in form for creating/editing a received payment
In version 16.11.05, there seems to be a bug in the forms for Payment method field(drop down) for Incoming payment. Payment methods should be whatever is defined for getting the payments from customers like Company Check, Cash etc. etc. but it i showing the methods wgich are applicable for outgoing payments such as Petty cash and defined Financial accounts (from where you pay the suppliers).
ecommerce themes
Is there any market place option to buy e-commerce themes / stylesheets etc. if someone does not want to spend time playing with the OTB themes?
Easier way to make services available
Is there easier way to make services available in version 16.11.02 other than setting export="true" for all the services? In service.properties setting exportall=true does not seem to work. # flag to automatically export all services: same of setting export="true" for all service definitions remotedispatcher.exportall=true
Re: Ofbiz fails to build with a java service created in a plugin
Thanks a lot. -Original Message- Date: Wed, 14 Jun 2017 18:10:35 +0530Subject: Re: Ofbiz fails to build with a java service created in a pluginTo: user@ofbiz.apache.org, pleha l@lehal.netFrom: Deepak Dixit <deepak.di...@hotwaxsystems.com>Hi Parminder, I think you are deploying you old code with ofbiz 16.11Package hierarchy has been changedPlease refer https://issues.apache.org/jira/b rowse/OFBIZ-6274 for more detail org.ofbiz.* has been changed to org.apache.ofbiz.* Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com www.hotwax.co On Wed, Jun 14, 2017 at 5:50 PM, Parminder S. Lehal <ple...@lehal.net> wrote: > code is nothing more than ofbiz demo code for component/plugin > > development. In fact just the import statement alone cause the error > > even if there is no other code. Similarly groovy script also > complains > > about ofbiz class which should be available to the framework. > Following > > is the the java code and error messages. > > > > package net.rimptec.expenses.services; > > import java.util.Map; > > > > import org.ofbiz.base.util.Debug; > > import org.ofbiz.entity.Delegator; > > import org.ofbiz.entity.GenericEntityException; > > import org.ofbiz.entity.GenericValue; > > import org.ofbiz.service.DispatchContext; > > import org.ofbiz.service.ServiceUtil; > > > > public class ExpensesServices { > > > > public static final String module = > > ExpensesServices.class.getName(); > > > > public static Map<String, Object> createExpenses(DispatchContext > > dctx, Map<String, ? extends Object> context) { > > Map<String, Object> result = ServiceUtil.returnSuccess(); > > Delegator delegator = dctx.getDelegator(); > > try { > > GenericValue expenses = delegator.makeValue("Expenses"); > > // Auto generating next sequence of expensesId primary > key > > expenses.setNextSeqId(); > > // Setting up all non primary key field values from > context > > map > > expenses.setNonPKFields(context); > > // Creating record in database for Expenses entity for > > prepared value > > expenses = delegator.create(expenses); > > result.put("expensesId", > expenses.getString("expensesId")); > > Debug.log("==Expenses record created successfully > > with expensesId: "+expenses.getString("expensesId")); > > } catch (GenericEntityException e) { > > Debug.logError(e, module); > > return ServiceUtil.returnError("Error in creating record > in > > Expenses entity " +module); > > } > > return result; > > } > > > > } > > > > > > > > > > /home/plehal/Downloads/apache-ofbiz- > > 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/s > er > > vices/ExpensesServices.java:17: error: cannot find symbol > > Map<String, Object> result = ServiceUtil.returnSuccess(); > > ^ > > symbol: variable ServiceUtil > > location: class ExpensesServices > > /home/plehal/Downloads/apache-ofbiz- > > 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/s > er > > vices/ExpensesServices.java:18: error: cannot find symbol > > Delegator delegator = dctx.getDelegator(); > > ^ > > symbol: class Delegator > > location: class ExpensesServices > > /home/plehal/Downloads/apache-ofbiz- > > 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/s > er > > vices/ExpensesServices.java:20: error: cannot find symbol > > GenericValue expenses = delegator.makeValue("Expenses"); > > ^ > > symbol: class GenericValue > > location: class ExpensesServices > > /home/plehal/Downloads/apache-ofbiz- > > 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/s > er > > vices/ExpensesServices.java:28: error: cannot find symbol > > Debug.log("==Expenses record created successfully > > with expensesId: "+expenses.getString("expensesId")); > > ^ > > symbol: variable Debug > > location: class ExpensesServices > > /home/plehal/Downloads/apache-ofbiz- > > 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/s > er > > v
Re: Ofbiz fails to build with a java service created in a plugin
code is nothing more than ofbiz demo code for component/plugin development. In fact just the import statement alone cause the error even if there is no other code. Similarly groovy script also complains about ofbiz class which should be available to the framework. Following is the the java code and error messages. package net.rimptec.expenses.services; import java.util.Map; import org.ofbiz.base.util.Debug; import org.ofbiz.entity.Delegator; import org.ofbiz.entity.GenericEntityException; import org.ofbiz.entity.GenericValue; import org.ofbiz.service.DispatchContext; import org.ofbiz.service.ServiceUtil; public class ExpensesServices { public static final String module = ExpensesServices.class.getName(); public static Map<String, Object> createExpenses(DispatchContext dctx, Map<String, ? extends Object> context) { Map<String, Object> result = ServiceUtil.returnSuccess(); Delegator delegator = dctx.getDelegator(); try { GenericValue expenses = delegator.makeValue("Expenses"); // Auto generating next sequence of expensesId primary key expenses.setNextSeqId(); // Setting up all non primary key field values from context map expenses.setNonPKFields(context); // Creating record in database for Expenses entity for prepared value expenses = delegator.create(expenses); result.put("expensesId", expenses.getString("expensesId")); Debug.log("==Expenses record created successfully with expensesId: "+expenses.getString("expensesId")); } catch (GenericEntityException e) { Debug.logError(e, module); return ServiceUtil.returnError("Error in creating record in Expenses entity " +module); } return result; } } /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/ser vices/ExpensesServices.java:17: error: cannot find symbol Map<String, Object> result = ServiceUtil.returnSuccess(); ^ symbol: variable ServiceUtil location: class ExpensesServices /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/ser vices/ExpensesServices.java:18: error: cannot find symbol Delegator delegator = dctx.getDelegator(); ^ symbol: class Delegator location: class ExpensesServices /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/ser vices/ExpensesServices.java:20: error: cannot find symbol GenericValue expenses = delegator.makeValue("Expenses"); ^ symbol: class GenericValue location: class ExpensesServices /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/ser vices/ExpensesServices.java:28: error: cannot find symbol Debug.log("==Expenses record created successfully with expensesId: "+expenses.getString("expensesId")); ^ symbol: variable Debug location: class ExpensesServices /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/ser vices/ExpensesServices.java:29: error: cannot find symbol } catch (GenericEntityException e) { ^ symbol: class GenericEntityException location: class ExpensesServices /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/ser vices/ExpensesServices.java:30: error: cannot find symbol Debug.logError(e, module); ^ symbol: variable Debug location: class ExpensesServices /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/net/rimptec/expenses/ser vices/ExpensesServices.java:31: error: cannot find symbol return ServiceUtil.returnError("Error in creating record in Expenses entity " +module); ^ symbol: variable ServiceUtil location: class ExpensesServices Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 14 errors :compileJava FAILED -Original Message- Date: Wed, 14 Jun 2017 11:12:45 +0200 Subject: Re: Ofbiz fails to build with a java service created in a plugin To: user@ofbiz.apache.org Reply-to: user@ofbiz.apache.org From: Jacques Le Roux <jacques.le.r...@les7arts.com> Sorry but we will need more information to help Maybe the stack trace, and even more the piece of code which fails with the name of the directory where the file is placed Jacques Le 13/06/2017 à 21:49, Parminder S. Lehal a écrit : > 16.11.02. > > > > -Original Message- > > Date: Tue, 13 Jun 2017 20:02:20 +
Re: Ofbiz fails to build with a java service created in a plugin
16.11.02. -Original Message- Date: Tue, 13 Jun 2017 20:02:20 +0200 Subject: Re: Ofbiz fails to build with a java service created in a plugin To: user@ofbiz.apache.org Reply-to: user@ofbiz.apache.org From: Jacques Le Roux <jacques.le.r...@les7arts.com> Which version are you using? Jacques Le 13/06/2017 à 18:46, Parminder S. Lehal a écrit : > x is tld.companyname...The error is about missing ofbiz imports. > > Same thing happens with groovy service script too at runtime. > > 1: unable to resolve class org.ofbiz.entity.GenericEntityException > @ line 1, column 1. > import org.ofbiz.entity.GenericEntityException; > ^ > > > > > -Original Message- > > Date: Tue, 13 Jun 2017 14:47:24 +0300 > Subject: RE: Ofbiz fails to build with a java service created in a > plugin > To: user@ofbiz.apache.org, ple...@lehal.net > From: Taher Alkhateeb <slidingfilame...@gmail.com> > What's exactly in the "xxx" and does it match the directory > structure? > > -Original Message- > From: Parminder S. Lehal [mailto:ple...@lehal.net] > Sent: Tuesday, 13 June 2017 2:31 PM > To: user <user@ofbiz.apache.org> > Subject: Ofbiz fails to build with a java service created in a plugin > > Ofbiz fails to compile with a java service created in a plugin as it > complains about missing symbols on all ofbiz imports. > > > > } catch (GenericEntityException e) { > ^ > symbol: class GenericEntityException > location: class ExpensesServices > /home/plehal/Downloads/apache-ofbiz- > 16.11.02/specialpurpose/expenses/src/main/java/xx/expense > s/ > services/ExpensesServices.java:30: error: cannot find symbol > Debug.logError(e, module); > ^ > symbol: variable Debug > location: class ExpensesServices > /home/plehal/Downloads/apache-ofbiz- > 16.11.02/specialpurpose/expenses/src/main/java/xxx/ex > pe > nses/services/ExpensesServices.java:31: error: cannot find symbol > return ServiceUtil.returnError("Error in creating record > in > Expenses entity " +module); > ^ > symbol: variable ServiceUtil > >
Re: Ofbiz fails to build with a java service created in a plugin
x is tld.companyname...The error is about missing ofbiz imports. Same thing happens with groovy service script too at runtime. 1: unable to resolve class org.ofbiz.entity.GenericEntityException @ line 1, column 1. import org.ofbiz.entity.GenericEntityException; ^ -Original Message- Date: Tue, 13 Jun 2017 14:47:24 +0300 Subject: RE: Ofbiz fails to build with a java service created in a plugin To: user@ofbiz.apache.org, ple...@lehal.net From: Taher Alkhateeb <slidingfilame...@gmail.com> What's exactly in the "xxx" and does it match the directory structure? -Original Message- From: Parminder S. Lehal [mailto:ple...@lehal.net] Sent: Tuesday, 13 June 2017 2:31 PM To: user <user@ofbiz.apache.org> Subject: Ofbiz fails to build with a java service created in a plugin Ofbiz fails to compile with a java service created in a plugin as it complains about missing symbols on all ofbiz imports. } catch (GenericEntityException e) { ^ symbol: class GenericEntityException location: class ExpensesServices /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/xx/expenses/ services/ExpensesServices.java:30: error: cannot find symbol Debug.logError(e, module); ^ symbol: variable Debug location: class ExpensesServices /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/xxx/expe nses/services/ExpensesServices.java:31: error: cannot find symbol return ServiceUtil.returnError("Error in creating record in Expenses entity " +module); ^ symbol: variable ServiceUtil
Ofbiz fails to build with a java service created in a plugin
Ofbiz fails to compile with a java service created in a plugin as it complains about missing symbols on all ofbiz imports. } catch (GenericEntityException e) { ^ symbol: class GenericEntityException location: class ExpensesServices /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/xx/expenses/ services/ExpensesServices.java:30: error: cannot find symbol Debug.logError(e, module); ^ symbol: variable Debug location: class ExpensesServices /home/plehal/Downloads/apache-ofbiz- 16.11.02/specialpurpose/expenses/src/main/java/xxx/expe nses/services/ExpensesServices.java:31: error: cannot find symbol return ServiceUtil.returnError("Error in creating record in Expenses entity " +module); ^ symbol: variable ServiceUtil
Accounting seed data for Canada
Is there accounting seed data available for Canadian CRA including GIFI codes?
Re: payment application bug
Any time I apply a payment to an invoice in Ofbiz, the next unpaid invoice also gets added to the applications with amount $0.Although it does not cause any accounting issue but it is just annoying. Regards, Parminder Lehal