--ABS-153941
ALTER TABLE ERP_O_INVOICEHEADER ADD (CUSTOMER_ROUTE_CODE VARCHAR2(6) NULL);
COMMENT ON COLUMN ERP_O_INVOICEHEADER.CUSTOMER_ROUTE_CODE
  IS 'Routecode of the route that the customer record is linked to at time of export';

CREATE INDEX INDX_ERP_O_INVOICHEADER_4 ON ERP_O_INVOICEHEADER (MULE_STATUS, MULE_BATCH_ID);
CREATE INDEX INDX_ERP_O_INVOICELINE_2 ON ERP_O_INVOICELINE (MULE_STATUS, MULE_BATCH_ID);
