Re: Issue with ajax and json response

2011-08-27 Thread Jonatan Soto
Hi Atul, I've didn't got server error messages using what you said. Probably is something wrong in my code, but what I have noticed is that no matters what kind of response I set, the 'success' callback method is called. Anyway, how is handled the server response in this case? I mean, where can I

Re: Automatic Creation of Commission Invoice

2011-08-27 Thread cguZZman
Hans, Surya thanks for you response. Surya, I follow your points and I can see the invoces now. but when I select an invoice and select the action Commision Run and clic the Run button, I get this error: org.ofbiz.webapp.control.RequestHandlerException: Unknown request [processCommissionRun]; thi

Re: Automatic Creation of Commission Invoice

2011-08-27 Thread Surya Kusumakar
Hi Carlos, There is one more issue on Commission Run screen, the Commission invoice which is shown on Commission Run screen is actually Sales Invoice (Sales Order one) with Paid status, but it should be Commission Invoice with In Process status. There is some bug in code, Commission Invoice is act

Re: Mechanism of Automatic Accounting Entries

2011-08-27 Thread cguZZman
Hello Jaya, ofbiz create a debit for GlAccountId 00 because your payment method are linked to that account. when the payment was made, I think it was made to the "Company Account", "Electronic Funds Transfer" or "Financial Account". so you can change the GL account in Organization GL Settings

Re: Automatic Creation of Commission Invoice

2011-08-27 Thread cguZZman
Hi Surya, I saw that, and I thought the commission invoice would create when the button "Run" is pressed. so, what does the button "Run"? I can't get this button do something because of the error above. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Automatic-Creation-of-Com

Re: Automatic Creation of Commission Invoice

2011-08-27 Thread Surya Kusumakar
Hi Carlos, Sorry for the confusion, yes Run button actually creates Commission Invoice against the Sales Invoice, but it is not working on Trunk as well. The purpose Run button is to create Commission Invoice in In Process status against the Paid Sales Invoice. -- Thanks & Regards Surya Kusumaka

Re: Automatic Creation of Commission Invoice

2011-08-27 Thread Carlos Guzman
Hi Surya, Thanks for the info. I will install Trunk version anyway and see what is going on and try to fix it. This feature is almost critical to use ofbiz in my bussiness. thank you and I will give news later. El 27/08/2011 11:53 a.m., Surya Kusumakar escribió: Hi Carlos, Sorry for the con

Re: Automatic Creation of Commission Invoice

2011-08-27 Thread BJ Freeman
you will find he answer in \applications\accounting\script\org\ofbiz\accounting\invoice\SampleCommissionServices.xml and InvoicesServices.createCommissionInvoices I run it as a scheduled service. Carlos Guzman sent the following on 8/27/2011 10:21 AM: > Hi Surya, > Thanks for the info. I will ins

Re: Automatic Creation of Commission Invoice

2011-08-27 Thread Carlos Guzman
Hello BJ, thanks for you response. Please, tell us how you get it working? what should we do? El 27/08/2011 01:05 p.m., BJ Freeman escribió: you will find he answer in \applications\accounting\script\org\ofbiz\accounting\invoice\SampleCommissionServices.xml and InvoicesServices.createCommissio

Re: Automatic Creation of Commission Invoice

2011-08-27 Thread BJ Freeman
you will have to modify the sample code for affiliates commissions if you want to use that. I suggest you read the InvoicesServices.createCommissionInvoices to understand what has to be completed to run the service. you can go to webtools and find the service then setup the scheduled run from ther

Re: Automatic Creation of Commission Invoice

2011-08-27 Thread BJ Freeman
here is a jira that may be of interest https://issues.apache.org/jira/browse/OFBIZ-2713 Carlos Guzman sent the following on 8/27/2011 11:18 AM: > Hello BJ, thanks for you response. > Please, tell us how you get it working? > what should we do? > > > > El 27/08/2011 01:05 p.m., BJ Freeman escrib