[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.2 -> 1.3 API differences

On Fri, Mar 9, 2012 at 9:49 AM, Chris Travers <..hidden..> wrote:
On Fri, Mar 9, 2012 at 7:47 AM, M Lubratt <..hidden..> wrote:
> Good morning!
> I've been running 1.2.x for a while now and I've developed a program that
> interfaces to it through web POSTs and GETs.  I'm looking at transitioning
> to 1.3.x and I'm wondering how the API for POSTs and GETs has changed,
> including user authentication.  How much rewriting will be involved for my
> custom program to interface with 1.3?  Or, is it substantially the same?

For the areas that haven't been rewritten there isn't likely much
difference otherwise.  For the areas which have (payments,
reconciliation, customers, vendors, employees, and user management),
there are significant differences.  For these areas if it's an option,
you will have better luck connecting to the db and calling the
appropriate stored procedures.

Thanks for the direction, Chris.  I finally got an installation of 1.3 running (I had to give up on FreeBSD) to experiment.  I looked through the stored procedures and I didn't find any procedures for entering G/L, AR or AP transactions.  Did I miss anything?  That would definitely be the way I'd like to go (talk directly to the database through stored procedures).  Perhaps I'll try writing some, at least for a G/L transaction.  I could see passing arrays for accounts, credits and debits; and scalars for notes, description, reference and transaction date.


Thanks again!

For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
Ledger-smb-users mailing list