[ic] Backend order entry

interchange-users@interchange.redhat.com interchange-users@interchange.redhat.com
Wed Sep 19 12:23:33 2001


Quoting Donal H. (donalh@online.ie):
> Hi,
> 
> Is there an API for entering orders from an external source i.e. other than
> directly accessing the ASCII file(s) or SQL database?
> 
> If not, are there any recommendations (or major "do'"s or "don't"s) for
> doing this - I'd want to avoid any possible problems when upgrading to a new
> release of IC.

I can't fathom why you would do this, but it really is just a question
of making sure the order number is unique (probably just a different
number sequence) and inserting the entries in orderline, transactions,
and userdb.

There is no real API other than the definition of those files, some
of which can be found in icfoundation.html.

An example of what is done in "Foundation" can be found in
etc/log_transaction.  There is also an external entry example in
etc/log_entry.

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

"Laughter is inner jogging." -- Norman Cousins