ALTER TABLE fin_receive_voucher
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1000
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1090
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1100
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1200
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1300
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1400
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1500
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1600
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1700
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1790
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_1800
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);

ALTER TABLE fin_receive_voucher_2200
ADD UNIQUE INDEX uk_voucher_unique (mv_year, mv_code, mv_item_no, factory_code);