Gavin, there is a layout of the Koha database structure at the end of the Users Guide (http://www.kohadocs.org/usersguide/), Appendix A. Stephen On 8/12/06, Chris Cormack <chris@katipo.co.nz> wrote:
On Sat, Aug 12, 2006 at 12:45:49PM +0100, Gavin McCullagh said:
Hi Chris,
many thanks for the helpful reply. I mostly now just need to understand the output format of the other program. One small follow-up:
Is there a reason that borrowernumber is NULL in all of your "renew" examples? Does Koha leave this blank? If so, why? I am in a position to fill this in correctly during my import. Should I or would I be better off behaving as much like Koha as possible? It seems like a partial set of statistics might be confusing?
No harm filling it with the import, there is a subroutine call updatestats() in the renew subroutine. It may be not passing in the borrowernumber, that should be an easy fix. But you can figure out the borrower from the issues line the Statistics table. Having the number would be better though.
Chris
-- Chris Cormack Programmer 027 4500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha