X-Service update_bor: Use of last-bor-id
- Product: Aleph
- Product Version: 20, 21, 22, 23
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
Desired Outcome Goal:
Create new patrons via X-service update_bor where the internal ID (Z303-ID) is calculated by last-bor-id-counter from UTIL G 2
Procedure:
Create a XML-file without any Z308-record-information for type 00. It may have information for other Z308-records.
Additional Information
Example record that uploaded via update_bor has received an ID based on last-bor-id:
> cat test.xml
<?xml version="1.0"?>
<p-file-20>
<patron-record>
<z303>
<match-id-type></match-id-type>
<match-id></match-id>
<record-action>I</record-action>
<z303-id></z303-id>
<z303-proxy-for-id></z303-proxy-for-id>
<z303-primary-id></z303-primary-id>
<z303-name-key></z303-name-key>
<z303-user-type></z303-user-type>
<z303-user-library></z303-user-library>
<z303-open-date>20110502</z303-open-date>
<z303-update-date>20110502</z303-update-date>
<z303-con-lng>GER</z303-con-lng>
<z303-alpha>L</z303-alpha>
<z303-name>Rindell, Tom</z303-name>
<z303-title></z303-title>
<z303-delinq-1>00</z303-delinq-1>
<z303-delinq-n-1></z303-delinq-n-1>
<z303-delinq-1-update-date>20110502</z303-delinq-1-update-date>
<z303-delinq-1-cat-name>MASTER</z303-delinq-1-cat-name>
<z303-delinq-2>00</z303-delinq-2>
<z303-delinq-n-2></z303-delinq-n-2>
<z303-delinq-2-update-date>20110502</z303-delinq-2-update-date>
<z303-delinq-2-cat-name>MASTER</z303-delinq-2-cat-name>
<z303-delinq-3>00</z303-delinq-3>
<z303-delinq-n-3></z303-delinq-n-3>
<z303-delinq-3-update-date>20110502</z303-delinq-3-update-date>
<z303-delinq-3-cat-name>MASTER</z303-delinq-3-cat-name>
<z303-budget></z303-budget>
<z303-profile-id></z303-profile-id>
<z303-ill-library>UNIT1</z303-ill-library>
<z303-home-library>WID</z303-home-library>
<z303-field-1></z303-field-1>
<z303-field-2></z303-field-2>
<z303-field-3></z303-field-3>
<z303-note-1></z303-note-1>
<z303-note-2></z303-note-2>
<z303-salutation></z303-salutation>
<z303-ill-total-limit>9999</z303-ill-total-limit>
<z303-ill-active-limit>9999</z303-ill-active-limit>
<z303-dispatch-library>WID</z303-dispatch-library>
<z303-birth-date>19821004</z303-birth-date>
<z303-export-consent>Y</z303-export-consent>
<z303-proxy-id-type>00</z303-proxy-id-type>
<z303-send-all-letters>Y</z303-send-all-letters>
<z303-plain-html></z303-plain-html>
<z303-want-sms>N</z303-want-sms>
<z303-plif-modification></z303-plif-modification>
<z303-title-req-limit>0000</z303-title-req-limit>
<z303-gender></z303-gender>
<z303-birthplace></z303-birthplace>
</z303>
</patron-record>
</p-file-20>
- Article last edited: 15-May-2016