-- ABS-29962
-----------------   BACKORDEREXECUTIONWOL   -----------------
DROP INDEX XAK1BACKORDEREXECUTIONWOL;

CREATE UNIQUE INDEX XAK1BACKORDEREXECUTIONWOL ON BACKORDEREXECUTIONWOL (BACKORDERWOL_ID ASC, EXECUTIONTYPE ASC, SUPPLIER_ID ASC, SEQUENCENUMBER ASC);

ALTER TABLE BACKORDEREXECUTIONWOL MODIFY (SEQUENCENUMBER NUMBER DEFAULT 1);

-----------------   BACKORDEREXECUTIONWOLE   ----------------
DROP INDEX XAK1BACKORDEREXECUTIONWOLE;

CREATE UNIQUE INDEX XAK1BACKORDEREXECUTIONWOLE ON BACKORDEREXECUTIONWOLE (BACKORDERWOLE_ID ASC, EXECUTIONTYPE ASC, SUPPLIER_ID ASC, SEQUENCENUMBER ASC);

ALTER TABLE BACKORDEREXECUTIONWOLE MODIFY (SEQUENCENUMBER NUMBER DEFAULT 1);