#ifdef  BES // 03-11-2000 PF
/*  BES_IND.SRC
 *  $Revision$
 *  $Id$
 */
create index bes_i_bes_besopdr_it_b_bo_key on bes_bestelopdr_item (bes_bestelopdr_key);

create index bes_i_bes_bestelling2 on bes_bestelling(bes_bestelling_status);
create index bes_i_bes_bestelling3 on bes_bestelling (prs_perslid_key);
--create index bes_i_bes_bestelling4 on bes_bestelling (bes_bestelling_owner_key);
create index bes_i_bes_bestelling5 on bes_bestelling (bes_bestelling_fiat_user);
create index bes_i_bes_bestelling6 on bes_bestelling (prs_kostenplaats_key);
create index bes_i_bes_bestelling7 on bes_bestelling (bes_bestelling_ordernr);
create index bes_i_bes_bestelling8 on bes_bestelling (fac_activiteit_key);
create index bes_i_bes_bestelling9 on bes_bestelling (prs_perslid_key_voor);
create index bes_i_bes_bestelling10 on bes_bestelling (bes_bestelling_kto_verstuurd);
create index bes_i_bes_bestelling11 on bes_bestelling (bes_bestelling_parentkey);
create index bes_i_bes_bestelling12 on bes_bestelling (mld_melding_key);
CREATE INDEX bes_i_bes_bestelling13 ON bes_bestelling (bes_bestelling_retourvan_key);

CREATE INDEX bes_i_bes_bestelling_item1 ON bes_bestelling_item(bes_bestelopdr_item_key);
create index bes_i_bes_bestelling_item2 on bes_bestelling_item(bes_bestelling_item_status);
--create index bes_i_bes_bestelling_item3 on bes_bestelling_item (bes_bestelling_i_gcpt_us_key);
CREATE INDEX bes_i_bes_bestelling_item4 ON bes_bestelling_item(bes_bestelling_key);

create index bes_i_bes_bestelopdr2          on bes_bestelopdr(bes_bestelopdr_status);
create index bes_i_bes_bestelopdr_p_bdr_key on bes_bestelopdr (prs_bedrijf_key);
create index bes_i_bes_bestelopdr_p_prs_key on bes_bestelopdr (prs_perslid_key);
create index bes_i_bes_bestelopdr_datum on bes_bestelopdr(bes_bestelopdr_datum);
create index bes_i_bes_bestelopdr_item on bes_bestelopdr_item(bes_bestelopdr_item_verwerkt);

create index bes_i_bes_srtdeel1 on bes_srtdeel(bes_srtgroep_key);
CREATE UNIQUE INDEX bes_i_bes_srtdeel2 ON bes_srtdeel(bes_srtdeel_nr, prs_bedrijf_key, bes_srtgroep_key, bes_srtdeel_verwijder);
CREATE INDEX bes_i_bes_srtdeel_prs_bdr_key on bes_srtdeel (prs_bedrijf_key);
CREATE INDEX bes_i_bes_bestelling_item5 ON bes_bestelling_item(bes_srtdeel_key);


create index prs_i_prs_afdeling_p_bdr_key on prs_afdeling (prs_bedrijf_key);

create unique index bes_i_bes_disc_params1 on bes_disc_params(bes_ins_discipline_key);

CREATE INDEX bes_i_bes_kenmerkbestell1 ON bes_kenmerkbestell(bes_bestelling_key);
CREATE INDEX bes_i_bes_kenmerkbestell2 ON bes_kenmerkbestell(bes_kenmerk_key);
CREATE INDEX bes_i_bes_kenmerkbestell3 ON bes_kenmerkbestell(bes_kenmerkbestell_waarde);

CREATE INDEX bes_i_bes_kenmerkbesteli1 ON bes_kenmerkbesteli(bes_bestelling_item_key);
CREATE INDEX bes_i_bes_kenmerkbesteli2 ON bes_kenmerkbesteli(bes_kenmerk_key);
CREATE INDEX bes_i_bes_kenmerkbesteli3 ON bes_kenmerkbesteli(bes_kenmerkbesteli_waarde);

CREATE INDEX bes_i_bes_favoriet1 ON bes_favoriet(prs_perslid_key);

CREATE INDEX bes_i_bes_srtdeel_prijs1 ON bes_srtdeel_prijs (bes_srtdeel_key);
CREATE INDEX bes_i_bes_srtprod_prijs1 ON bes_srtprod_prijs (bes_srtprod_key);

REGISTERONCE('$Id$')

#endif  // BES
