|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: xmlrpc webERP APIcleaning up errors I'm encountering while working on getting this going. I notice there are several redundant functions across the various api scripts. I'm making a file on my system called common_api_functions.php and adding an include_once('common_api_functions.php') ; line to prevent functions from being declared more than once and thereby causing an error.
Anybody else working on the API stuff at all? On Thu, Jul 10, 2008 at 9:20 AM, Andres Amaya <andres.amaya@...> wrote: Those files are in the svn, you need the api directory and the xmlrpc -- Laban Johnson Founder & CEO, The Laban Johnson Group laban@... 832-738-1009 (cell) 888-841-4282 (fax) Confidentiality Notice: This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
|
|
Re: xmlrpc webERP APIHi Laban,
Can you let me have your patches so that I can include them? Thanks Tim 2008/7/12 Laban Johnson <laban@...>: > cleaning up errors I'm encountering while working on getting this going. I > notice there are several redundant functions across the various api scripts. > I'm making a file on my system called common_api_functions.php and adding an > include_once('common_api_functions.php') ; line to prevent functions from > being declared more than once and thereby causing an error. > > > Anybody else working on the API stuff at all? > > > On Thu, Jul 10, 2008 at 9:20 AM, Andres Amaya <andres.amaya@...> > wrote: >> >> Those files are in the svn, you need the api directory and the xmlrpc >> directory, i have the connector inside the api directory, there is where >> i am doing some testing. >> keep the good work ... andres amaya diaz >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> Web-erp-developers mailing list >> Web-erp-developers@... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > -- > Laban Johnson > Founder & CEO, > The Laban Johnson Group > laban@... > 832-738-1009 (cell) > 888-841-4282 (fax) > > Confidentiality Notice: This message is intended exclusively for the > individual or entity to which it is addressed. This communication may > contain information that is proprietary, privileged or confidential or > otherwise legally exempt from disclosure. If you are not the named > addressee, you are not authorized to read, print, retain, copy or > disseminate this message or any part of it. If you have received this > message in error, please notify the sender immediately by e-mail and delete > all copies of the message. > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Web-erp-developers mailing list > Web-erp-developers@... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
|
|
Re: xmlrpc webERP APIAndres,
Can you send me a copy of your file, so that I can include it on cvs. I seem to have misplaced your earlier one. Thanks Tim 2008/7/10 Andres Amaya <andres.amaya@...>: > Those files are in the svn, you need the api directory and the xmlrpc > directory, i have the connector inside the api directory, there is where > i am doing some testing. > keep the good work ... andres amaya diaz > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Web-erp-developers mailing list > Web-erp-developers@... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
|
|
Re: xmlrpc webERP APInow that the api is 'talking', I am beginning to experiment. First with a simple customer insertion. I created a $p1 array manually for testing purposes.
The first error code I get is 1000 - defined in api/api_errorcodes.php as IncorrectDebtorNumberLength. I didn't expect to have to insert a debtor number, this should be assigned automatically by webERP, should it not? WebERP should also check for possible duplicates prior to insertion. I haven't really explored the code beyond the API. On Thu, Jul 10, 2008 at 9:20 AM, Andres Amaya <andres.amaya@...> wrote: Those files are in the svn, you need the api directory and the xmlrpc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
|
|
Re: xmlrpc webERP APIprevious message is referring to the $p1 variable used in webERP API Connector by Bowikaxu Realhost - bowikaxu@...
I'm testing the api_InsertCustomer() method. On Thu, Jul 10, 2008 at 9:20 AM, Andres Amaya <andres.amaya@...> wrote: Those files are in the svn, you need the api directory and the xmlrpc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
|
|
Re: xmlrpc webERP APIHi Laban,
That is a good point. Currently the code doesn't check to see if the webERP setting for automatically generating Debtor Number is set. For the implementations I have the number is created by the client app, but I should go back and put in a check for this. BTW I have a small demo client app that I created that shows how to use some of the api. If you want I can send you it off list. Tim 2008/7/19 Laban Johnson <laban@...>: > now that the api is 'talking', I am beginning to experiment. First with a > simple customer insertion. I created a $p1 array manually for testing > purposes. > > The first error code I get is 1000 - defined in api/api_errorcodes.php as > IncorrectDebtorNumberLength. > > I didn't expect to have to insert a debtor number, this should be assigned > automatically by webERP, should it not? WebERP should also check for > possible duplicates prior to insertion. I haven't really explored the code > beyond the API. > > On Thu, Jul 10, 2008 at 9:20 AM, Andres Amaya <andres.amaya@...> > wrote: >> >> Those files are in the svn, you need the api directory and the xmlrpc >> directory, i have the connector inside the api directory, there is where >> i am doing some testing. >> keep the good work ... andres amaya diaz >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> Web-erp-developers mailing list >> Web-erp-developers@... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Web-erp-developers mailing list > Web-erp-developers@... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
|
|
|
|
|
Re: xmlrpc webERP APILaban,
The auto generation flag already exists in webERP, it just needs code for checking in the api. A number of the fields are foreign keys, Currency code, Sales type, Hold reason and Payment terms must all exist in the relevant tables. There is an api for checking these. I am attaching my demo app for you to see how I set it up. Tim 2008/7/20 Laban Johnson <laban@...>: > >> >> >> Here's a list of errors generated by the API when I attempt to insert an >> empty $p1 array with api_InsertCustomer() call, which I'm using basically >> as a list of minimum parameters required to create a new customer record: >> >> 1000 IncorrectDebtorNumberLength >> 1002 IncorrectDebtorNameLength >> 1004 CurrencyCodeNotSetup >> 1005 SalesTypeNotSetup >> 1006 InvalidClientSinceDate >> 1007 HoldReasonNotSetup >> 1008 PaymentTermsNotSetup >> 1009 InvalidDiscount >> 1010 InvalidPaymentDiscount >> 1011 InvalidLastPaid >> 1012 InvalidLastPaidDate >> 1013 InvalidCreditLimit >> 1019 InvalidEDITransport >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Web-erp-developers mailing list > Web-erp-developers@... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Web-erp-developers mailing list Web-erp-developers@... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
| Free Forum Powered by Nabble | Forum Help |