The fields to store information related to the creator and editor of the record must be formally defined before they appear in a MARC template.
Go to KOHA administration > Global System Preferences
Search for MARCFieldForCreatorId. This will bring you to a set of system preferences to define where the information will be stored:
MarcFieldForCreatorId
MarcFieldForCreatorName
MarcFieldForModifierId
MarcFieldForModifierName
The fields defined in this system preference must not already be in use in the MARC template and they must not already have a function defined in MARC.
The fields should be in the 942 and the specific subfields should be undefined, not already connected to an established MARC21 field.
In this example, the subfields will be designated in 942$w, 942$x, 942$y and 942$z.
Go to KOHA administration > Catalog > MARC bibliographic framework.
This will bring you to a new page with all MARC templates on your site. These will vary from site to site but the table should look something like this:
Select the framework(s) to add the 942 fields and hit Actions > MARC structure. This will open a page with the table that makes up the framework selected to edit. In the grey search bar at the top of this table there will be a search box to the right hand side. This can be used to search through the table for the specific field to be edited.
Search for 942. This will narrow the table to the 942 field.
Go to Actions > Subfields.
This will take you to a new page with the subfields available for the 942 MARC field.
Go to the New tab and fill out the form to add a new subfield.
For example, when adding the 942$w subfield in this example, the following fields were filled in:
Basic Constraints
Subfield code: w
Text for librarian: Creator borrowernumber
Text for OPAC: Creator borrowernumber
Repeatable: Unticked
Mandatory: Unticked
Managed in tab: 0
Advanced Contraints
Default value: Leave blank
Max length: 9999
Visibility: OPAC: Unticked Intranet:Ticked Editor:Ticked Collapsed: Unticked Flagged: Unticked
Is a URL: (if checked, it means that the subfield is a URL and can be clicked): Unticked
Link: (e.g., Title or Local-Number) NOTE: If you change this value you must ask your administrator to run misc/batchRebuildBiblioTables.pl.: Leave Empty
Koha link: Empty
Once the form is completed hit Save changes. Repeat this for the three other subfields created in the system preferences identified above.
Once the four fields have been filled out they will appear in the subfield list for the 942 field.
Complete the MARC record as usual and hit save.
When the record is checked the 942 fields will contain the name and biblionumber of the user who created it and last modified it.
When the record is created initially this information will match as the creator is the only user who has made an edits to the record.
If the record is edited by another party after it has been saved, the information relating to the last editor will change as shown in the image below.