newdevs:code:add-fields
This is an old revision of the document!
New Developers Working Group
Add Fields to Existing Table
This example came from a need that PINES had for annual reports purposes. It adds two new fields to the Organizational Unit table in order to store federal library codes for each location and make those codes available to the reports engine.
1. fm_IDL.xml
File location: Open-ILS\examples\fm_IDL.xml
In the class definition for id="aou", add the fields:
<field name="fscskey" reporter:label="FSCSKEY" reporter:datatype="text"/>
<field name="fscs_seq" reporter:label="FSCS_SEQ" reporter:datatype="text"/>
newdevs/code/add-fields.1627596519.txt.gz · Last modified: 2022/02/10 13:34 (external edit)