generatePowiazania-136.log 70 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. Notice: Constant DS already defined in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/bootstrap.php on line 3
  2. Notice: Constant APP_PATH_ROOT already defined in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/bootstrap.php on line 5
  3. Notice: Constant APP_PATH_WWW already defined in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/bootstrap.php on line 6
  4. Notice: Constant APP_PATH_CONFIG already defined in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/bootstrap.php on line 7
  5. {"ts":1538725701.4169,"type":"message","data":{"message":"Uruchamiam cz\u0119\u015bciowe od\u015bwie\u017cenie cache"}}
  6. Notice: Undefined variable: _SESSION in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/SchemaVersionUpgrade.php on line 34
  7. Notice: Undefined property: Schema_SystemObjectStorageAcl::$_cache in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Schema/SystemObjectStorageAcl.php on line 363
  8. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  9. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  10. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  11. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  12. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  13. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  14. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  15. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  16. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  17. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  18. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  19. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  20. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  21. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  22. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  23. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  24. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  25. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  26. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  27. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  28. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  29. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  30. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  31. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  32. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  33. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  34. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  35. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  36. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  37. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  38. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  39. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  40. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  41. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  42. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  43. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  44. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  45. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  46. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  47. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  48. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  49. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  50. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  51. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  52. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  53. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  54. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  55. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  56. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  57. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  58. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  59. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  60. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  61. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  62. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  63. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  64. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  65. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  66. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  67. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  68. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  69. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  70. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  71. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  72. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  73. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  74. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  75. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  76. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  77. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  78. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  79. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  80. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  81. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  82. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  83. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  84. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  85. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  86. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  87. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  88. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  89. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  90. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  91. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  92. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  93. SQL: update `BI_audit_ALL` join `BI_audit_CEIDG` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_CEIDG' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_CEIDG`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_CEIDG`.`cached` = 1, `BI_audit_ALL`.`nip` = `BI_audit_CEIDG`.`nip`, `BI_audit_ALL`.`regon` = `BI_audit_CEIDG`.`regon` where `BI_audit_CEIDG`.`cached` = 0
  94. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `nip`, `regon`) select 'BI_audit_CEIDG', `ID`, '1', `nip`, `regon` from `BI_audit_CEIDG` where `BI_audit_CEIDG`.`cached` = 0
  95. SQL: update `BI_audit_CEIDG` set `cached` = 1 where `BI_audit_CEIDG`.`cached` = 0
  96. SQL: update `BI_audit_ALL` join `BI_audit_CEIDG_pelnomocnicy` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_CEIDG_pelnomocnicy' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_CEIDG_pelnomocnicy`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_CEIDG_pelnomocnicy`.`cached` = 1, `BI_audit_ALL`.`nip` = `BI_audit_CEIDG_pelnomocnicy`.`nip` where `BI_audit_CEIDG_pelnomocnicy`.`cached` = 0
  97. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `nip`) select 'BI_audit_CEIDG_pelnomocnicy', `ID`, '1', `nip` from `BI_audit_CEIDG_pelnomocnicy` where `BI_audit_CEIDG_pelnomocnicy`.`cached` = 0
  98. SQL: update `BI_audit_CEIDG_pelnomocnicy` set `cached` = 1 where `BI_audit_CEIDG_pelnomocnicy`.`cached` = 0
  99. SQL: update `BI_audit_ALL` join `BI_audit_CEIDG_powiazania` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_CEIDG_powiazania' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_CEIDG_powiazania`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_CEIDG_powiazania`.`cached` = 1, `BI_audit_ALL`.`nip` = `BI_audit_CEIDG_powiazania`.`nip`, `BI_audit_ALL`.`regon` = `BI_audit_CEIDG_powiazania`.`regon` where `BI_audit_CEIDG_powiazania`.`cached` = 0
  100. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `nip`, `regon`) select 'BI_audit_CEIDG_powiazania', `ID`, '1', `nip`, `regon` from `BI_audit_CEIDG_powiazania` where `BI_audit_CEIDG_powiazania`.`cached` = 0
  101. SQL: update `BI_audit_CEIDG_powiazania` set `cached` = 1 where `BI_audit_CEIDG_powiazania`.`cached` = 0
  102. SQL: update `BI_audit_ALL` join `BI_audit_ENERGA_PRACOWNICY` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_ENERGA_PRACOWNICY' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_ENERGA_PRACOWNICY`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_ENERGA_PRACOWNICY`.`cached` = 1, `BI_audit_ALL`.`nip` = `BI_audit_ENERGA_PRACOWNICY`.`nip`, `BI_audit_ALL`.`regon` = `BI_audit_ENERGA_PRACOWNICY`.`regon`, `BI_audit_ALL`.`pesel` = `BI_audit_ENERGA_PRACOWNICY`.`pesel`, `BI_audit_ALL`.`krs` = `BI_audit_ENERGA_PRACOWNICY`.`krs` where `BI_audit_ENERGA_PRACOWNICY`.`cached` = 0
  103. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `nip`, `regon`, `pesel`, `krs`) select 'BI_audit_ENERGA_PRACOWNICY', `ID`, '0', `nip`, `regon`, `pesel`, `krs` from `BI_audit_ENERGA_PRACOWNICY` where `BI_audit_ENERGA_PRACOWNICY`.`cached` = 0
  104. SQL: update `BI_audit_ENERGA_PRACOWNICY` set `cached` = 1 where `BI_audit_ENERGA_PRACOWNICY`.`cached` = 0
  105. SQL: update `BI_audit_ALL` join `BI_audit_ENERGA_PRACOWNICY_adresy` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_ENERGA_PRACOWNICY_adresy' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_ENERGA_PRACOWNICY_adresy`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_ENERGA_PRACOWNICY_adresy`.`cached` = 1 where `BI_audit_ENERGA_PRACOWNICY_adresy`.`cached` = 0
  106. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`) select 'BI_audit_ENERGA_PRACOWNICY_adresy', `ID`, '0' from `BI_audit_ENERGA_PRACOWNICY_adresy` where `BI_audit_ENERGA_PRACOWNICY_adresy`.`cached` = 0
  107. SQL: update `BI_audit_ENERGA_PRACOWNICY_adresy` set `cached` = 1 where `BI_audit_ENERGA_PRACOWNICY_adresy`.`cached` = 0
  108. SQL: update `BI_audit_ALL` join `BI_audit_ENERGA_RUM_KONTRAHENCI` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_ENERGA_RUM_KONTRAHENCI' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_ENERGA_RUM_KONTRAHENCI`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_ENERGA_RUM_KONTRAHENCI`.`cached` = 1, `BI_audit_ALL`.`krs` = `BI_audit_ENERGA_RUM_KONTRAHENCI`.`KRS`, `BI_audit_ALL`.`nip` = `BI_audit_ENERGA_RUM_KONTRAHENCI`.`NIP`, `BI_audit_ALL`.`regon` = `BI_audit_ENERGA_RUM_KONTRAHENCI`.`REGON`, `BI_audit_ALL`.`pesel` = `BI_audit_ENERGA_RUM_KONTRAHENCI`.`PESEL` where `BI_audit_ENERGA_RUM_KONTRAHENCI`.`cached` = 0 and ownCompany != 'Y'
  109. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `krs`, `nip`, `regon`, `pesel`) select 'BI_audit_ENERGA_RUM_KONTRAHENCI', `ID`, '0', `KRS`, `NIP`, `REGON`, `PESEL` from `BI_audit_ENERGA_RUM_KONTRAHENCI` where `BI_audit_ENERGA_RUM_KONTRAHENCI`.`cached` = 0 and ownCompany != 'Y'
  110. SQL: update `BI_audit_ENERGA_RUM_KONTRAHENCI` set `cached` = 1 where `BI_audit_ENERGA_RUM_KONTRAHENCI`.`cached` = 0 and ownCompany != 'Y'
  111. SQL: update `BI_audit_ALL` join `BI_audit_KRS` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_KRS' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_KRS`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_KRS`.`cached` = 1, `BI_audit_ALL`.`krs` = `BI_audit_KRS`.`krs`, `BI_audit_ALL`.`nip` = `BI_audit_KRS`.`nip`, `BI_audit_ALL`.`regon` = `BI_audit_KRS`.`regon` where `BI_audit_KRS`.`cached` = 0
  112. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `krs`, `nip`, `regon`) select 'BI_audit_KRS', `ID`, '1', `krs`, `nip`, `regon` from `BI_audit_KRS` where `BI_audit_KRS`.`cached` = 0
  113. SQL: update `BI_audit_KRS` set `cached` = 1 where `BI_audit_KRS`.`cached` = 0
  114. SQL: update `BI_audit_ALL` join `BI_audit_KRS_address` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_KRS_address' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_KRS_address`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_KRS_address`.`cached` = 1 where `BI_audit_KRS_address`.`cached` = 0
  115. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`) select 'BI_audit_KRS_address', `ID`, '1' from `BI_audit_KRS_address` where `BI_audit_KRS_address`.`cached` = 0
  116. SQL: update `BI_audit_KRS_address` set `cached` = 1 where `BI_audit_KRS_address`.`cached` = 0
  117. SQL: update `BI_audit_ALL` join `BI_audit_KRS_company` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_KRS_company' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_KRS_company`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_KRS_company`.`cached` = 1, `BI_audit_ALL`.`regon` = `BI_audit_KRS_company`.`regon`, `BI_audit_ALL`.`krs` = `BI_audit_KRS_company`.`krs` where `BI_audit_KRS_company`.`cached` = 0
  118. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `regon`, `krs`) select 'BI_audit_KRS_company', `ID`, '1', `regon`, `krs` from `BI_audit_KRS_company` where `BI_audit_KRS_company`.`cached` = 0
  119. SQL: update `BI_audit_KRS_company` set `cached` = 1 where `BI_audit_KRS_company`.`cached` = 0
  120. SQL: update `BI_audit_ALL` join `BI_audit_KRS_person` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_KRS_person' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_KRS_person`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_KRS_person`.`cached` = 1, `BI_audit_ALL`.`pesel` = `BI_audit_KRS_person`.`pesel` where `BI_audit_KRS_person`.`cached` = 0
  121. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `pesel`) select 'BI_audit_KRS_person', `ID`, '1', `pesel` from `BI_audit_KRS_person` where `BI_audit_KRS_person`.`cached` = 0
  122. SQL: update `BI_audit_KRS_person` set `cached` = 1 where `BI_audit_KRS_person`.`cached` = 0
  123. SQL: update `BI_audit_ALL` join `BI_audit_MSIG` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_MSIG' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_MSIG`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_MSIG`.`cached` = 1, `BI_audit_ALL`.`krs` = `BI_audit_MSIG`.`krs`, `BI_audit_ALL`.`nip` = `BI_audit_MSIG`.`nip`, `BI_audit_ALL`.`regon` = `BI_audit_MSIG`.`regon` where `BI_audit_MSIG`.`cached` = 0
  124. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `krs`, `nip`, `regon`) select 'BI_audit_MSIG', `ID`, '1', `krs`, `nip`, `regon` from `BI_audit_MSIG` where `BI_audit_MSIG`.`cached` = 0
  125. SQL: update `BI_audit_MSIG` set `cached` = 1 where `BI_audit_MSIG`.`cached` = 0
  126. SQL: update `BI_audit_ALL` join `BI_audit_MSIG_address` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_MSIG_address' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_MSIG_address`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_MSIG_address`.`cached` = 1 where `BI_audit_MSIG_address`.`cached` = 0
  127. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`) select 'BI_audit_MSIG_address', `ID`, '1' from `BI_audit_MSIG_address` where `BI_audit_MSIG_address`.`cached` = 0
  128. SQL: update `BI_audit_MSIG_address` set `cached` = 1 where `BI_audit_MSIG_address`.`cached` = 0
  129. SQL: update `BI_audit_ALL` join `BI_audit_MSIG_company` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_MSIG_company' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_MSIG_company`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_MSIG_company`.`cached` = 1, `BI_audit_ALL`.`regon` = `BI_audit_MSIG_company`.`regon`, `BI_audit_ALL`.`krs` = `BI_audit_MSIG_company`.`krs` where `BI_audit_MSIG_company`.`cached` = 0
  130. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `regon`, `krs`) select 'BI_audit_MSIG_company', `ID`, '1', `regon`, `krs` from `BI_audit_MSIG_company` where `BI_audit_MSIG_company`.`cached` = 0
  131. SQL: update `BI_audit_MSIG_company` set `cached` = 1 where `BI_audit_MSIG_company`.`cached` = 0
  132. SQL: update `BI_audit_ALL` join `BI_audit_MSIG_person` on `BI_audit_ALL`.`REMOTE_TABLE` = 'BI_audit_MSIG_person' and `BI_audit_ALL`.`REMOTE_ID` = `BI_audit_MSIG_person`.`ID` set `BI_audit_ALL`.`reffed` = 0, `BI_audit_MSIG_person`.`cached` = 1, `BI_audit_ALL`.`pesel` = `BI_audit_MSIG_person`.`pesel` where `BI_audit_MSIG_person`.`cached` = 0
  133. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`, `pesel`) select 'BI_audit_MSIG_person', `ID`, '1', `pesel` from `BI_audit_MSIG_person` where `BI_audit_MSIG_person`.`cached` = 0
  134. SQL: update `BI_audit_MSIG_person` set `cached` = 1 where `BI_audit_MSIG_person`.`cached` = 0
  135. SQL: update `BI_audit_ALL` join `TERYT_adresy` on `BI_audit_ALL`.`REMOTE_TABLE` = 'TERYT_adresy' and `BI_audit_ALL`.`REMOTE_ID` = `TERYT_adresy`.`ID` set `BI_audit_ALL`.`reffed` = 0, `TERYT_adresy`.`cached` = 1 where `TERYT_adresy`.`cached` = 0
  136. SQL: insert into `BI_audit_ALL` (`REMOTE_TABLE`, `REMOTE_ID`, `BASE`) select 'TERYT_adresy', `ID`, '1' from `TERYT_adresy` where `TERYT_adresy`.`cached` = 0
  137. SQL: update `TERYT_adresy` set `cached` = 1 where `TERYT_adresy`.`cached` = 0
  138. SQL: update `BI_audit_ALL` set `nip` = null where `nip` = 0
  139. SQL: update `BI_audit_ALL` set `regon` = null where `regon` = 0
  140. SQL: update `BI_audit_ALL` set `krs` = null where `krs` = 0
  141. SQL: update `BI_audit_ALL` set `pesel` = null where `pesel` = 0
  142. SQL: set @var = (select round(coalesce(max(`ID`), '0.5'), 1) from `BI_audit_ALL_ref_RELATIONS`)
  143. SQL: insert into `BI_audit_ALL_ref_RELATIONS` (`ID`, `RELATION`, `BASE`) select @var:=@var*2, `a`.`RELATION`, `a`.`BASE` from (select `a`.`REMOTE_TABLE` as `RELATION`, `a`.`BASE` as `BASE` from `BI_audit_ALL` `a` where `a`.`REMOTE_TABLE` not in ('BI_audit_ENERGA_RUM_KONTRAHENCI', 'BI_audit_KW_requested_person') group by `a`.`REMOTE_TABLE` order by `a`.`BASE` desc) as `a` left join `BI_audit_ALL_ref_RELATIONS` `r` on `a`.`RELATION` = `r`.`RELATION` where `r`.`RELATION` is null
  144. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__19` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_CEIDG_pelnomocnicy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  145. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__19` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_CEIDG_pelnomocnicy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  146. SQL: insert into `CRM__#REF_TABLE__215` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__19` where `A_STATUS` = 'WAITING'
  147. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__19` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_CEIDG_pelnomocnicy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  148. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__18` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_CEIDG_powiazania' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  149. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__18` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_CEIDG_powiazania' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  150. SQL: insert into `CRM__#REF_TABLE__152` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__18` where `A_STATUS` = 'WAITING'
  151. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__18` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_CEIDG_powiazania' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  152. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__195` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  153. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__195` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  154. SQL: insert into `CRM__#REF_TABLE__203` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__195` where `A_STATUS` = 'WAITING'
  155. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__195` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  156. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__196` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG_pelnomocnicy' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  157. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__196` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG_pelnomocnicy' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  158. SQL: insert into `CRM__#REF_TABLE__204` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__196` where `A_STATUS` = 'WAITING'
  159. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__196` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_CEIDG_pelnomocnicy' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  160. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 0 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__27` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_ENERGA_PRACOWNICY' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_ENERGA_PRACOWNICY_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  161. SQL: insert into `CRM__#REF_TABLE__239` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__27` where `A_STATUS` = 'WAITING'
  162. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__27` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_ENERGA_PRACOWNICY' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_ENERGA_PRACOWNICY_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  163. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 0 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__197` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_ENERGA_PRACOWNICY_adresy' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  164. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 0 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__197` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_ENERGA_PRACOWNICY_adresy' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  165. SQL: insert into `CRM__#REF_TABLE__206` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__197` where `A_STATUS` = 'WAITING'
  166. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__197` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_ENERGA_PRACOWNICY_adresy' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  167. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 0 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__198` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_ENERGA_RUM_KONTRAHENCI' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  168. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 0 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__198` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_ENERGA_RUM_KONTRAHENCI' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  169. SQL: insert into `CRM__#REF_TABLE__207` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__198` where `A_STATUS` = 'WAITING'
  170. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__198` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_ENERGA_RUM_KONTRAHENCI' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  171. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__86` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_KRS_address' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  172. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__86` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_KRS_address' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  173. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__86` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_KRS_address' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  174. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__11` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_KRS_company' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  175. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__11` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_KRS_company' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  176. SQL: insert into `CRM__#REF_TABLE__118` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__11` where `A_STATUS` = 'WAITING'
  177. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__11` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_KRS_company' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  178. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__12` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_KRS_person' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  179. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__12` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_KRS_person' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  180. SQL: insert into `CRM__#REF_TABLE__124` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__12` where `A_STATUS` = 'WAITING'
  181. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__12` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_KRS_person' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  182. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__199` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  183. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__199` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  184. SQL: insert into `CRM__#REF_TABLE__208` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__199` where `A_STATUS` = 'WAITING'
  185. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__199` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  186. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__202` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS_address' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  187. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__202` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS_address' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  188. SQL: insert into `CRM__#REF_TABLE__209` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__202` where `A_STATUS` = 'WAITING'
  189. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__202` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_KRS_address' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  190. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__75` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_MSIG_address' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  191. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__75` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_MSIG_address' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  192. SQL: insert into `CRM__#REF_TABLE__179` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__75` where `A_STATUS` = 'WAITING'
  193. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__75` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_MSIG_address' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  194. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__76` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_MSIG_company' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  195. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__76` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_MSIG_company' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  196. SQL: insert into `CRM__#REF_TABLE__119` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__76` where `A_STATUS` = 'WAITING'
  197. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__76` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_MSIG_company' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  198. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__78` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_MSIG_person' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  199. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__78` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_MSIG_person' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  200. SQL: insert into `CRM__#REF_TABLE__123` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__78` where `A_STATUS` = 'WAITING'
  201. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__78` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'BI_audit_MSIG_person' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  202. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all1`.`ID`, `all2`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__200` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG_address' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all1`.`REMOTE_TABLE` = `rel`.`RELATION`
  203. SQL: insert into `BI_audit_ALL_ref` (`ID1`, `ID2`, `RELATION_ID`, `BASE`) select `all2`.`ID`, `all1`.`ID`, `rel`.`ID`, 1 from `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__200` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG_address' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` join `BI_audit_ALL_ref_RELATIONS` `rel` on `all2`.`REMOTE_TABLE` = `rel`.`RELATION`
  204. SQL: insert into `CRM__#REF_TABLE__210` (`PRIMARY_KEY`, `REMOTE_PRIMARY_KEY`, `TRANSACTION_ID`, `A_STATUS`) select `REMOTE_PRIMARY_KEY`, `PRIMARY_KEY`, '-1', 'NORMAL' from `CRM__#REF_TABLE__200` where `A_STATUS` = 'WAITING'
  205. SQL: update `BI_audit_ALL` as `all1` join `CRM__#REF_TABLE__200` as `ref` on `all1`.`REMOTE_TABLE` = 'BI_audit_MSIG_address' and `all1`.`REMOTE_ID` = `ref`.`PRIMARY_KEY` and `ref`.`A_STATUS` = 'WAITING' join `BI_audit_ALL` as `all2` on `all2`.`REMOTE_TABLE` = 'TERYT_adresy' and `ref`.`REMOTE_PRIMARY_KEY` = `all2`.`REMOTE_ID` set `ref`.`A_STATUS` = 'NORMAL'
  206. {"ts":1538725891.9828,"type":"message","data":{"message":"Od\u015bwie\u017cono cache"}}
  207. {"ts":1538725891.9836,"type":"message","data":{"message":"Pr\u00f3buj\u0119 wczyta\u0107 wcze\u015bniej wyliczone dane"}}
  208. {"ts":1538725892.1474,"type":"message","data":{"message":"Wczytano wcze\u015bniej wyliczone dane"}}
  209. {"ts":1538725892.1865,"type":"message","data":{"message":"Generuj\u0119 raporty w plikach PDF oraz HTML (liczba raport\u00f3w do wygenerowania: 8)"}}
  210. {"ts":1538725892.1865,"type":"message","data":{"message":"Generuj\u0119 raport w pliku PDF oraz HTML (0)"}}
  211. {"ts":1538725892.1865,"type":"message","data":{"message":"Generuj\u0119 plik XML (0)"}}
  212. {"ts":1538725892.1865,"type":"message","data":{"message":"Generuj\u0119 dane na potrzeby utworzenia pliku XML (0)"}}
  213. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  214. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  215. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  216. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 57
  217. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  218. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  219. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  220. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  221. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  222. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  223. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  224. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  225. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  226. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  227. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  228. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  229. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  230. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  231. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  232. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  233. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  234. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  235. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  236. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  237. {"ts":1538725901.6395,"type":"message","data":{"message":"Wygenerowano dane na potrzeby utworzenia pliku XML (0)"}}
  238. {"ts":1538725902.7373,"type":"message","data":{"message":"Wygenerowano plik XML (0)"}}
  239. {"ts":1538725903.0367,"type":"message","data":{"message":"Generuj\u0119 plik przej\u015bciowy do wygenerowania plik\u00f3w PDF i HTML (0)"}}
  240. CMD :: export PATH=$PATH:/usr/sbin; cd /Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree && /opt/local/bin/ant -f build_CRM_PROCES_tree.xml default_db:PROCES_INIT:tree:dita -Duuid=relations-136_000001
  241. {"ts":1538725949.9494,"type":"message","data":{"message":"Wygenerowano plik przej\u015bciowy"}}
  242. {"ts":1538725949.952,"type":"message","data":{"message":"Generuj\u0119 plik PDF (0)"}}
  243. CMD :: export PATH=$PATH:/usr/sbin; cd "/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000001" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o pdf -i relations-136_000001.ditamap -f pdf
  244. Error: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse the input file 'file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000001/relations-136_000001.ditamap'.: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000001/relations-136_000001.ditamap Line 9349:cvc-complex-type.2.3: Element 'topichead' cannot have character [children], because the type's content type is element-only.
  245. {"ts":1538725951.9949,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 pliku PDF (0)"}}
  246. {"ts":1538725951.9956,"type":"message","data":{"message":"Generuj\u0119 pliki HTML (0)"}}
  247. CMD :: export PATH=$PATH:/usr/sbin; cd "/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000001" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o html -i relations-136_000001.ditamap -f tocjs
  248. Error: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse the input file 'file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000001/relations-136_000001.ditamap'.: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000001/relations-136_000001.ditamap Line 9349:cvc-complex-type.2.3: Element 'topichead' cannot have character [children], because the type's content type is element-only.
  249. {"ts":1538725953.5423,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 plik\u00f3w HTML 0)"}}
  250. {"ts":1538725953.5771,"type":"message","data":{"message":"Generuj\u0119 raport w pliku PDF oraz HTML (1)"}}
  251. {"ts":1538725953.5771,"type":"message","data":{"message":"Generuj\u0119 plik XML (1)"}}
  252. {"ts":1538725953.5771,"type":"message","data":{"message":"Generuj\u0119 dane na potrzeby utworzenia pliku XML (1)"}}
  253. {"ts":1538725963.1808,"type":"message","data":{"message":"Wygenerowano dane na potrzeby utworzenia pliku XML (1)"}}
  254. {"ts":1538725964.2489,"type":"message","data":{"message":"Wygenerowano plik XML (1)"}}
  255. {"ts":1538725964.4621,"type":"message","data":{"message":"Generuj\u0119 plik przej\u015bciowy do wygenerowania plik\u00f3w PDF i HTML (1)"}}
  256. CMD :: export PATH=$PATH:/usr/sbin; cd /Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree && /opt/local/bin/ant -f build_CRM_PROCES_tree.xml default_db:PROCES_INIT:tree:dita -Duuid=relations-136_000002
  257. {"ts":1538726004.6119,"type":"message","data":{"message":"Wygenerowano plik przej\u015bciowy"}}
  258. {"ts":1538726004.6215,"type":"message","data":{"message":"Generuj\u0119 plik PDF (1)"}}
  259. CMD :: export PATH=$PATH:/usr/sbin; cd "/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000002" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o pdf -i relations-136_000002.ditamap -f pdf
  260. Error: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse the input file 'file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000002/relations-136_000002.ditamap'.: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000002/relations-136_000002.ditamap Line 8917:cvc-complex-type.2.3: Element 'topichead' cannot have character [children], because the type's content type is element-only.
  261. {"ts":1538726006.0799,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 pliku PDF (1)"}}
  262. {"ts":1538726006.0903,"type":"message","data":{"message":"Generuj\u0119 pliki HTML (1)"}}
  263. CMD :: export PATH=$PATH:/usr/sbin; cd "/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000002" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o html -i relations-136_000002.ditamap -f tocjs
  264. Error: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse the input file 'file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000002/relations-136_000002.ditamap'.: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000002/relations-136_000002.ditamap Line 8917:cvc-complex-type.2.3: Element 'topichead' cannot have character [children], because the type's content type is element-only.
  265. {"ts":1538726007.649,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 plik\u00f3w HTML 1)"}}
  266. {"ts":1538726007.6496,"type":"message","data":{"message":"Generuj\u0119 raport w pliku PDF oraz HTML (2)"}}
  267. {"ts":1538726007.6497,"type":"message","data":{"message":"Generuj\u0119 plik XML (2)"}}
  268. {"ts":1538726007.6497,"type":"message","data":{"message":"Generuj\u0119 dane na potrzeby utworzenia pliku XML (2)"}}
  269. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  270. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  271. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  272. Notice: Undefined index: HTTP_HOST in /Library/Server/Web/Data/Sites/SE-production-git/SE/se-lib/Request.php on line 27
  273. {"ts":1538726016.8166,"type":"message","data":{"message":"Wygenerowano dane na potrzeby utworzenia pliku XML (2)"}}
  274. {"ts":1538726017.8513,"type":"message","data":{"message":"Wygenerowano plik XML (2)"}}
  275. {"ts":1538726018.174,"type":"message","data":{"message":"Generuj\u0119 plik przej\u015bciowy do wygenerowania plik\u00f3w PDF i HTML (2)"}}
  276. CMD :: export PATH=$PATH:/usr/sbin; cd /Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree && /opt/local/bin/ant -f build_CRM_PROCES_tree.xml default_db:PROCES_INIT:tree:dita -Duuid=relations-136_000003
  277. {"ts":1538726052.0109,"type":"message","data":{"message":"Wygenerowano plik przej\u015bciowy"}}
  278. {"ts":1538726052.1122,"type":"message","data":{"message":"Generuj\u0119 plik PDF (2)"}}
  279. CMD :: export PATH=$PATH:/usr/sbin; cd "/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000003" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o pdf -i relations-136_000003.ditamap -f pdf
  280. Error: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse the input file 'file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000003/relations-136_000003.ditamap'.: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000003/relations-136_000003.ditamap Line 8835:cvc-complex-type.2.3: Element 'topichead' cannot have character [children], because the type's content type is element-only.
  281. {"ts":1538726053.7511,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 pliku PDF (2)"}}
  282. {"ts":1538726053.7629,"type":"message","data":{"message":"Generuj\u0119 pliki HTML (2)"}}
  283. CMD :: export PATH=$PATH:/usr/sbin; cd "/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000003" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o html -i relations-136_000003.ditamap -f tocjs
  284. Error: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse the input file 'file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000003/relations-136_000003.ditamap'.: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000003/relations-136_000003.ditamap Line 8835:cvc-complex-type.2.3: Element 'topichead' cannot have character [children], because the type's content type is element-only.
  285. {"ts":1538726055.3334,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 plik\u00f3w HTML 2)"}}
  286. {"ts":1538726055.3337,"type":"message","data":{"message":"Generuj\u0119 raport w pliku PDF oraz HTML (3)"}}
  287. {"ts":1538726055.3338,"type":"message","data":{"message":"Generuj\u0119 plik XML (3)"}}
  288. {"ts":1538726055.3338,"type":"message","data":{"message":"Generuj\u0119 dane na potrzeby utworzenia pliku XML (3)"}}
  289. {"ts":1538726063.3772,"type":"message","data":{"message":"Wygenerowano dane na potrzeby utworzenia pliku XML (3)"}}
  290. {"ts":1538726064.2356,"type":"message","data":{"message":"Wygenerowano plik XML (3)"}}
  291. {"ts":1538726064.4403,"type":"message","data":{"message":"Generuj\u0119 plik przej\u015bciowy do wygenerowania plik\u00f3w PDF i HTML (3)"}}
  292. CMD :: export PATH=$PATH:/usr/sbin; cd /Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree && /opt/local/bin/ant -f build_CRM_PROCES_tree.xml default_db:PROCES_INIT:tree:dita -Duuid=relations-136_000004
  293. {"ts":1538726091.9088,"type":"message","data":{"message":"Wygenerowano plik przej\u015bciowy"}}
  294. {"ts":1538726091.9213,"type":"message","data":{"message":"Generuj\u0119 plik PDF (3)"}}
  295. CMD :: export PATH=$PATH:/usr/sbin; cd "/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000004" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o pdf -i relations-136_000004.ditamap -f pdf
  296. Error: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse the input file 'file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000004/relations-136_000004.ditamap'.: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000004/relations-136_000004.ditamap Line 8099:cvc-complex-type.2.3: Element 'topichead' cannot have character [children], because the type's content type is element-only.
  297. {"ts":1538726093.5325,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 pliku PDF (3)"}}
  298. {"ts":1538726093.5406,"type":"message","data":{"message":"Generuj\u0119 pliki HTML (3)"}}
  299. CMD :: export PATH=$PATH:/usr/sbin; cd "/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000004" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o html -i relations-136_000004.ditamap -f tocjs
  300. Error: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse the input file 'file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000004/relations-136_000004.ditamap'.: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000004/relations-136_000004.ditamap Line 8099:cvc-complex-type.2.3: Element 'topichead' cannot have character [children], because the type's content type is element-only.
  301. {"ts":1538726095.0479,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 plik\u00f3w HTML 3)"}}
  302. {"ts":1538726095.0585,"type":"message","data":{"message":"Generuj\u0119 raport w pliku PDF oraz HTML (4)"}}
  303. {"ts":1538726095.0585,"type":"message","data":{"message":"Generuj\u0119 plik XML (4)"}}
  304. {"ts":1538726095.0585,"type":"message","data":{"message":"Generuj\u0119 dane na potrzeby utworzenia pliku XML (4)"}}
  305. {"ts":1538726103.4438,"type":"message","data":{"message":"Wygenerowano dane na potrzeby utworzenia pliku XML (4)"}}
  306. {"ts":1538726104.3724,"type":"message","data":{"message":"Wygenerowano plik XML (4)"}}
  307. {"ts":1538726104.5963,"type":"message","data":{"message":"Generuj\u0119 plik przej\u015bciowy do wygenerowania plik\u00f3w PDF i HTML (4)"}}
  308. CMD :: export PATH=$PATH:/usr/sbin; cd /Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree && /opt/local/bin/ant -f build_CRM_PROCES_tree.xml default_db:PROCES_INIT:tree:dita -Duuid=relations-136_000005
  309. {"ts":1538726144.0679,"type":"message","data":{"message":"Wygenerowano plik przej\u015bciowy"}}
  310. {"ts":1538726144.1783,"type":"message","data":{"message":"Generuj\u0119 plik PDF (4)"}}
  311. CMD :: export PATH=$PATH:/usr/sbin; cd "/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000005" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o pdf -i relations-136_000005.ditamap -f pdf
  312. Error: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse the input file 'file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000005/relations-136_000005.ditamap'.: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000005/relations-136_000005.ditamap Line 9639:cvc-complex-type.2.3: Element 'topichead' cannot have character [children], because the type's content type is element-only.
  313. {"ts":1538726145.6759,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 pliku PDF (4)"}}
  314. {"ts":1538726145.6862,"type":"message","data":{"message":"Generuj\u0119 pliki HTML (4)"}}
  315. CMD :: export PATH=$PATH:/usr/sbin; cd "/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000005" && /Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita -o html -i relations-136_000005.ditamap -f tocjs
  316. Error: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse the input file 'file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000005/relations-136_000005.ditamap'.: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000005/relations-136_000005.ditamap Line 9639:cvc-complex-type.2.3: Element 'topichead' cannot have character [children], because the type's content type is element-only.
  317. {"ts":1538726147.1404,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 plik\u00f3w HTML 4)"}}
  318. {"ts":1538726147.1506,"type":"message","data":{"message":"Generuj\u0119 raport w pliku PDF oraz HTML (5)"}}
  319. {"ts":1538726147.1507,"type":"message","data":{"message":"Generuj\u0119 plik XML (5)"}}
  320. {"ts":1538726147.1507,"type":"message","data":{"message":"Generuj\u0119 dane na potrzeby utworzenia pliku XML (5)"}}
  321. {"ts":1538726154.6311,"type":"message","data":{"message":"Wygenerowano dane na potrzeby utworzenia pliku XML (5)"}}
  322. {"ts":1538726155.5698,"type":"message","data":{"message":"Wygenerowano plik XML (5)"}}
  323. {"ts":1538726155.7501,"type":"message","data":{"message":"Generuj\u0119 plik przej\u015bciowy do wygenerowania plik\u00f3w PDF i HTML (5)"}}
  324. CMD :: export PATH=$PATH:/usr/sbin; cd /Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree && /opt/local/bin/ant -f build_CRM_PROCES_tree.xml default_db:PROCES_INIT:tree:dita -Duuid=relations-136_000006
  325. BUILD FAILED
  326. /Library/Server/Web/Data/Sites/SE-production-git/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree/build_CRM_PROCES_tree.xml:425: Fatal error during transformation using /Library/Server/Web/Data/Sites/SE-production-git/SE/schema/default_db_xml_cache.public/default_db/tree_to_dita.xsl: Cannot write more than one result document to the same URI: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000006/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.409554____1.dita; SystemID: file:/Library/Server/Web/Data/Sites/SE-production-git/SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_tree_to_dita.xsl; Line#: 2993; Column#: -1
  327. Total time: 27 seconds
  328. {"ts":1538726183.8691,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 pliku przej\u015bciowego, przerywm"}}
  329. {"ts":1538726183.9262,"type":"message","data":{"message":"Generuj\u0119 raport w pliku PDF oraz HTML (6)"}}
  330. {"ts":1538726183.9262,"type":"message","data":{"message":"Generuj\u0119 plik XML (6)"}}
  331. {"ts":1538726183.9262,"type":"message","data":{"message":"Generuj\u0119 dane na potrzeby utworzenia pliku XML (6)"}}
  332. {"ts":1538726191.8141,"type":"message","data":{"message":"Wygenerowano dane na potrzeby utworzenia pliku XML (6)"}}
  333. {"ts":1538726192.7638,"type":"message","data":{"message":"Wygenerowano plik XML (6)"}}
  334. {"ts":1538726193.3043,"type":"message","data":{"message":"Generuj\u0119 plik przej\u015bciowy do wygenerowania plik\u00f3w PDF i HTML (6)"}}
  335. CMD :: export PATH=$PATH:/usr/sbin; cd /Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree && /opt/local/bin/ant -f build_CRM_PROCES_tree.xml default_db:PROCES_INIT:tree:dita -Duuid=relations-136_000007
  336. BUILD FAILED
  337. /Library/Server/Web/Data/Sites/SE-production-git/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree/build_CRM_PROCES_tree.xml:425: Fatal error during transformation using /Library/Server/Web/Data/Sites/SE-production-git/SE/schema/default_db_xml_cache.public/default_db/tree_to_dita.xsl: Cannot write more than one result document to the same URI: file:/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/default_db/CRM_PROCES_tree/relations-136_000007/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_row.410478____1.dita; SystemID: file:/Library/Server/Web/Data/Sites/SE-production-git/SE/schema/default_db_xml_cache.public/default_db/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA/BI_audit_ENERGA_RUM_KONTRAHENCI_POWIAZANIA_tree_to_dita.xsl; Line#: 2993; Column#: -1
  338. Total time: 24 seconds
  339. {"ts":1538726217.972,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 pliku przej\u015bciowego, przerywm"}}
  340. {"ts":1538726217.983,"type":"message","data":{"message":"Generuj\u0119 raport w pliku PDF oraz HTML (7)"}}
  341. {"ts":1538726217.983,"type":"message","data":{"message":"Generuj\u0119 plik XML (7)"}}
  342. {"ts":1538726217.9831,"type":"message","data":{"message":"Generuj\u0119 dane na potrzeby utworzenia pliku XML (7)"}}
  343. {"ts":1538726225.5768,"type":"message","data":{"message":"Wygenerowano dane na potrzeby utworzenia pliku XML (7)"}}
  344. {"ts":1538726226.5504,"type":"message","data":{"message":"Wygenerowano plik XML (7)"}}
  345. {"ts":1538726226.7524,"type":"message","data":{"message":"Generuj\u0119 plik przej\u015bciowy do wygenerowania plik\u00f3w PDF i HTML (7)"}}
  346. CMD :: export PATH=$PATH:/usr/sbin; cd /Library/Server/Web/Data/Sites/Default/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree && /opt/local/bin/ant -f build_CRM_PROCES_tree.xml default_db:PROCES_INIT:tree:dita -Duuid=relations-136_000008
  347. BUILD FAILED
  348. /Library/Server/Web/Data/Sites/SE-production-git/SE/schema/WPS_Functions/default_db/CRM_PROCES_tree/build_CRM_PROCES_tree.xml:326: Fatal error during transformation using /Library/Server/Web/Data/Sites/SE-production-git/SE/schema/default_db_xml_cache.public/default_db/tree_to_dita.xsl: Undeclared prefix in element name: default_db__x3A__BI_audit_CEIDG_powiazania; SystemID: file:/Library/Server/Web/Data/Sites/SE-production-git/SE/schema/WPS_Functions/bocian-graph-to-html/bcgtht.tree_to_dita.xsl; Line#: 527; Column#: -1
  349. Total time: 3 seconds
  350. {"ts":1538726230.4742,"type":"message","data":{"message":"Nie uda\u0142o si\u0119 wygenerowa\u0107 pliku przej\u015bciowego, przerywm"}}
  351. {"ts":1538726230.4854,"type":"message","data":{"message":"Zako\u0144czono generowanie raport\u00f3w w plikach PDF oraz HTML"}}