--improve performance (order 502773)
create index XIF1CUSTOMERBILLINGINFO on CUSTOMERBILLINGINFO (paybycustomer);

create index XIF1PRICELISTPERCUSTOMER on PRICELISTPERCUSTOMER (CUSTOMER_ID, DATEACTIVE, DATEINACTIVE);

create index XIF4CONTRACTPRICELIST on CONTRACTPRICELIST (contract_id, startdate, enddate);