--copy inv_uom from '/opt/stansoft/newdb/newdb.uom' (delimiter '|', format csv);
-- using from program instead of file to remove trailing Informix delimiter
copy pymgrp from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.pymgrp'
(delimiter '|', format csv);
copy sys_parm from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.parm'
(delimiter '|', format csv);
copy sys_county from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.county'
(delimiter '|', format csv);
copy sys_state from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.states'
(delimiter '|', format csv);
copy sys_terms from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.terms'
(delimiter '|', format csv); 
copy inv_uom from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.uom'
(delimiter '|', format csv); 
copy p_class from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.pclass'
(delimiter '|', format csv); 
copy sp_table from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.price'
(delimiter '|', format csv); 
copy inv_classes from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.iclasses'
(delimiter '|', format csv);
copy ar_cycle from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.cycle'
(delimiter '|', format csv);
copy ar_fnc_table from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.finance'
(delimiter '|', format csv);
copy ar_type from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.type'
(delimiter '|', format csv, null ' '); 
-- Needed since profit centers are setup before tax use groups
insert into tx_use_g values ('PC', 'TAX', 'PROFIT CENTER', default);
copy pymtax (taxauthority, authdescription,
             taxcode, codedescription,
             sequence, whopays,
             percent, maximum)
from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.pymtax'
(delimiter '|', format csv);
copy pyttax from program '$SSDIR/newdb/sedcmd $SSDIR/newdb/newdb.pyttax'
(delimiter '|', format csv);

