CREATE TABLE `relnoprinter` (
  `ownerid` int(11) NOT NULL,
  `valueid` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

INSERT INTO `tabledefs` (`defid`, `tablename`, `settingname`, `actualfield`, `datatype`, `fielddescription`, `isid`, `showintable`, `editable`, `ordinality`, `sqlquery`, `relationshiptable`, `displaysql`, `defaultvalue`) VALUES (NULL, 'terminals', 'No Local Print', '', 'checkboxes', 'Do not print locally for these order types.', '0', '0', '1', '4', 'select typeid as id, typename as val from ordertypes order by typename asc', 'relnoprinter', '', '');

