DROP INDEX XAK2DELIVERYVARIATIONS;

CREATE UNIQUE INDEX XAK2DELIVERYVARIATIONS ON DELIVERYVARIATIONS
(DISTRIBUTIONPOINT_ID   ASC,PRODUCT_ID   ASC,SIZEDEFINITION_ID   ASC,FINISHINGMETHOD_ID   ASC,PACKINGNOTE_ID   ASC,PROCESSED   ASC,DELIVERYDATE   ASC,ORIGIN   ASC,CAUSENOTE_ID   ASC,UPDATERENTQTY   ASC,SOILCOUNTSUBTYPE   ASC,WEBORDERLINE_ID   ASC,REFERENCE   ASC,ADJUSTMENTREASON_ID   ASC,REASONCODE_ID   ASC);