
[INIT]
  EXECUTE MACRO ProjectUpdate, Module_ProjectUpdate, ProjectUpdate
  DELETE "dgn\*.lve"
  
[PRE]
  EXECUTE MACRO ProjectUpdate, Module_ProjectUpdate, ProjectUpdate
  
[OPEN]
  EXECUTE MACRO ProjectUpdate, Module_ProjectUpdate, ProjectUpdate
  
[POST]
  EXECUTE MACRO ProjectUpdate, Module_ProjectUpdate, ProjectUpdate
  DELETE "=== PrjData ===\data\rulefiles\K_Kat*.csv"
  DELETE "=== PrjData ===\data\rulefiles\O_Kat*.csv"
  DELETE "=== PrjData ===\data\rulefiles\O_WMS*.csv"
  DELETE "=== PrjData ===\data\rulefiles\O_Dráž*.csv"  
  REWRITE "=== PrjData ===\cfg\lastview.xml"
  REWRITE "=== PrjData ===\cfg\Export výkresù dle SŽDC.drwexport.xml"

[FINAL]
  EXECUTE MACRO ProjectUpdate, Module_ProjectUpdate, ProjectUpdate
  EXECUTE SQL UPDATE NavestidB SET pres=null where pres='nzz'
  EXECUTE SQL UPDATE JZM_B SET jzm_var1=null WHERE jzm_var1 IN(41,56)
  EXECUTE SQL UPDATE JZM_B SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE JZM_L SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE JZM_P SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Kolej_B SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Kolej_L SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Kolej_P SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Tech_B SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Tech_L SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Tech_P SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE NavestidB SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE NavestidL SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Rychlostniky SET jev='0' || jev WHERE length(jev)=2
