+
+ tie my %fields, 'Tie::IxHash',
+ 'svcnum' => { label => 'Service' },
+ 'acctnum' => { label => 'Account #', %opts },
+ '_password' => { label => 'Password' , %opts },
+ 'location' => { label => 'Location', %opts },
+ 'cs_receiver' => { label => 'CS Receiver #'},
+ 'cs_phonenum' => { label => 'CS Phone #' },
+ 'serialnum' => { label => 'Alarm Serial #' },
+ 'alarmsystemnum' => { label => 'Alarm System Vendor',
+ type => 'select-alarm_system',
+ disable_inventory => 1,
+ value_callback => sub {
+ shift->alarm_system->systemname
+ },
+ },
+ 'alarmtypenum' => { label => 'Alarm System Type',
+ type => 'select-alarm_type',
+ disable_inventory => 1,
+ value_callback => sub {
+ shift->alarm_type->typename
+ },
+ },
+ 'alarmstationnum' => { label => 'Alarm Central Station',
+ type => 'select-alarm_station',
+ disable_inventory => 1,
+ value_callback => sub {
+ shift->alarm_station->stationname
+ },
+ },
+ ;
+