add new parallel field modifier to extract_holdings
authorGalen Charlton <gmc@esilibrary.com>
Tue, 7 Aug 2012 14:56:40 +0000 (10:56 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 7 Aug 2012 14:56:40 +0000 (10:56 -0400)
commitc9294d8a92619c2fe31d6b3843ad1593eddddebb
tree14d332b131f4471cf2122dc25f9b3ba6482eca1a
parente210af4012ef44060bcd038509aa26bf95bd7006
add new parallel field modifier to extract_holdings

Some systems embed holdings data in pairs of fields with different tags.

For example, given a record like this:

852 $h235.45 ABC$p12345
852 $h456.79 DEF$p78990
961 $t2
961 $t3

and a mapping file using the parallel modifier:

call    852 h
barcode 852 p
mattype 961 t   m:parallel

extract_holdings will extract two item records:

l_call           l_barcode    l_mattype
--------------   ----------   ---------
245.45 ABC       12345        2
456.79 DEF       78990        3

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Equinox-Migration/lib/Equinox/Migration/MapDrivenMARCXMLProc.pm
extract_holdings