[OPEN-ILS-GENERAL] circulation scripts

Jason Etheridge jason at esilibrary.com
Mon Sep 28 17:21:01 EDT 2009


> okay i get this.so how do i set it up so that it uses the
> the Short/Normal/Extended loan duration field on an item, or the
> Low/Normal/High fine level field     which are setup when a copy of  the
> item was being created?   .

It's automatic.

Say the item has a Loan Duration of Short.

And the circ script picks a loan duration rule called "default".

That rule will have 3 values in the database, one for short, normal,
and extended.  The short field will get used because the item has a
loan duration of short.

> how do  i set the circulation up so that  it picks up   the
> the  extended or the short part but not the normal  part in the cgi.config
> circulation duration rules that i have setup not he normal rule?

So it's not based on the circ scripts, but on the loan duration field
on the item itself.

> about the marc fields although i have put the  marc fields in the correct
> place that is /openils/var/templates/marc they dont appear in the popup
> which  gives you the ability to select a default  item template?

You also have to edit /openils/conf/opensrf.xml:

                    <marctemplates>
                        <K_book>/openils/var/templates/marc/k_book.xml</K_book>
                    </marctemplates>

And add your templates to that section.

-- 
Jason Etheridge
 | VP, Tactical Development
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  jason at esilibrary.com
 | web:  http://www.esilibrary.com


More information about the Open-ils-general mailing list