<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<template name="EKO" version="15.07" versionFrom="1.00">
<tables>
<table name="ADRESA">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="TYP" type="VARCHAR2" precision="6" referenceTable="C_ADRTYP" referenceColumn="XX">
</column>
<column name="NAZOV1" type="VARCHAR2" precision="50">
</column>
<column name="NAZOV2" type="VARCHAR2" precision="50">
</column>
<column name="ULICA" type="VARCHAR2" precision="30">
</column>
<column name="MESTO" type="VARCHAR2" precision="30">
</column>
<column name="PSC" type="VARCHAR2" precision="8">
</column>
<column name="OKRES" type="VARCHAR2" precision="2" referenceTable="C_OKRESY" referenceColumn="XX">
</column>
<column name="KRAJ" type="VARCHAR2" precision="2" referenceTable="C_KRAJE" referenceColumn="XX">
</column>
<column name="STAT" type="VARCHAR2" precision="2" referenceTable="C_STATY" referenceColumn="XX">
</column>
<column name="REFERENT" type="VARCHAR2" precision="30">
</column>
<column name="TELEFON" type="VARCHAR2" precision="30">
</column>
<column name="FAX" type="VARCHAR2" precision="30">
</column>
<column name="EMAIL" type="VARCHAR2" precision="50">
</column>
<column name="ICO" type="VARCHAR2" precision="8">
</column>
<column name="DICDU" type="VARCHAR2" precision="10">
</column>
<column name="DIC" type="VARCHAR2" precision="14">
</column>
<column name="ICDPH" type="VARCHAR2" precision="250">
</column>
<column name="DANURAD" type="VARCHAR2" precision="7" referenceTable="C_DANURADY" referenceColumn="XX">
</column>
<column name="FORMA" type="VARCHAR2" precision="30">
</column>
<column name="NACE" type="VARCHAR2" precision="5">
</column>
<column name="REGISTER" type="VARCHAR2" precision="120">
</column>
<column name="LIEH_EVC" type="VARCHAR2" precision="20">
</column>
<column name="LIEH_IDD" type="NUMBER" precision="6">
</column>
<column name="DATUM_VZNIKU" type="DATE">
</column>
<column name="DATUM_ZAPISU" type="DATE">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="AS_AUTA">
<columns>
<column name="XX" type="VARCHAR2" precision="20">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="ZNACKA" type="VARCHAR2" precision="10" referenceTable="C_SKZNACKY" referenceColumn="XX">
</column>
<column name="MODEL" type="VARCHAR2" precision="10">
</column>
<column name="ROKVYROBY" type="NUMBER" precision="4">
</column>
<column name="SPZ" type="VARCHAR2" precision="10">
</column>
<column name="MOTOR" type="VARCHAR2" precision="20">
</column>
<column name="KAROSERIA" type="VARCHAR2" precision="20">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POZNAMKA" type="LONG">
</column>
<column name="ODBSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKODBSKUP" referenceColumn="XX">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="AS_DRUHDOK">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="SKDOK" type="VARCHAR2" precision="6" referenceTable="C_SKDOK" referenceColumn="XX">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="AS_ZAKH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="AS_DRUHDOK" referenceColumn="XX">
</column>
<column name="CDOK" type="NUMBER" precision="9">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="AUTO" type="VARCHAR2" precision="20" referenceTable="AS_AUTA" referenceColumn="XX">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="ZL_F" type="NUMBER" precision="6" scale="2" referenceTable="FIRMY" referenceColumn="ZLAVA">
</column>
<column name="TECHNIK" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="STAVKM" type="NUMBER" precision="8">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="TERMIN" type="DATE">
</column>
<column name="KONIEC" type="DATE">
</column>
<column name="SKXX" type="VARCHAR2" precision="16" referenceTable="SKLADH" referenceColumn="XX">
</column>
<column name="POZNAMKA" type="LONG">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKCENSKUP" referenceColumn="XX">
</column>
<column name="ODBSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKODBSKUP" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="AS_ZAKR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="AS_ZAKH" referenceColumn="XX">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="TECHNIK" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="MN" type="NUMBER" precision="8" scale="2">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="CM_CENN" type="NUMBER" precision="11" scale="2">
</column>
<column name="CM_BDPH" type="NUMBER" precision="11" scale="2">
</column>
<column name="CM_SDPH" type="NUMBER" precision="11" scale="2">
</column>
<column name="SADZBA_DPH" type="NUMBER" precision="5" scale="2">
</column>
<column name="ZL_T" type="NUMBER" precision="6" scale="2">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1" referenceTable="TOVARY" referenceColumn="KATEGORIA">
</column>
<column name="ZL_TYP" type="VARCHAR2" precision="1" referenceTable="TOVCENY" referenceColumn="ZL_TYP">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_ADRTYP">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_COLSADZ">
<columns>
<column name="XX" type="VARCHAR2" precision="10">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="250">
</column>
<column name="MJ" type="VARCHAR2" precision="3" referenceTable="C_MERJED" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_DANURADY">
<columns>
<column name="XX" type="VARCHAR2" precision="7">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV30" type="VARCHAR2" precision="30">
</column>
<column name="ULICA" type="VARCHAR2" precision="30">
</column>
<column name="MESTO" type="VARCHAR2" precision="30">
</column>
<column name="PSC" type="VARCHAR2" precision="8">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_DFP">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="C_KODBUCTU" type="VARCHAR2" precision="6" referenceTable="C_FIN" referenceColumn="XX">
</column>
<column name="FLG_FPDV" type="VARCHAR2" precision="1">
</column>
<column name="UCTKOD" type="VARCHAR2" precision="6" referenceTable="C_FROZUCTP" referenceColumn="XX">
</column>
<column name="DEF_DPH" type="VARCHAR2" precision="60">
</column>
<column name="SP_UHRADY" type="VARCHAR2" precision="1">
</column>
<column name="VSYMFLAG" type="VARCHAR2" precision="1">
</column>
<column name="KS" type="VARCHAR2" precision="4">
</column>
<column name="VPREFIX" type="VARCHAR2" precision="1">
</column>
<column name="VCODE" type="VARCHAR2" precision="6">
</column>
<column name="VDIGITS" type="NUMBER" precision="2">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_DFV">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="NADPIS" type="VARCHAR2" precision="45">
</column>
<column name="TEXT" type="VARCHAR2" precision="6" referenceTable="C_TEXT" referenceColumn="XX">
</column>
<column name="FOOTER" type="VARCHAR2" precision="6" referenceTable="C_TEXT" referenceColumn="XX">
</column>
<column name="C_KODBUCTU" type="VARCHAR2" precision="6" referenceTable="C_FIN" referenceColumn="XX">
</column>
<column name="FLG_FPDV" type="VARCHAR2" precision="1">
</column>
<column name="FLG_ROUND" type="VARCHAR2" precision="1">
</column>
<column name="UCTKOD" type="VARCHAR2" precision="6" referenceTable="C_FROZUCTV" referenceColumn="XX">
</column>
<column name="DEF_DPH" type="VARCHAR2" precision="60">
</column>
<column name="SP_UHRADY" type="VARCHAR2" precision="1">
</column>
<column name="VSYMFLAG" type="VARCHAR2" precision="1">
</column>
<column name="KS" type="VARCHAR2" precision="4" referenceTable="FAV" referenceColumn="KS">
</column>
<column name="DNI_SPL" type="NUMBER" precision="3">
</column>
<column name="VPREFIX" type="VARCHAR2" precision="1">
</column>
<column name="VCODE" type="VARCHAR2" precision="6">
</column>
<column name="VDIGITS" type="NUMBER" precision="2">
</column>
<column name="QRPSAM" type="VARCHAR2" precision="100">
</column>
<column name="QRPSDL" type="VARCHAR2" precision="100">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_DOKDRUH">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_DOPRAVA">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_FIN">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCETZISK" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCETSTRATA" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="BANKPOB" type="VARCHAR2" precision="80">
</column>
<column name="BANKPREFIX" type="VARCHAR2" precision="6">
</column>
<column name="BANKUCET" type="VARCHAR2" precision="20">
</column>
<column name="BANKKOD" type="VARCHAR2" precision="4">
</column>
<column name="BANKLN" type="NUMBER" precision="2">
</column>
<column name="BANKSWIFT" type="VARCHAR2" precision="25">
</column>
<column name="BANKIBAN" type="VARCHAR2" precision="34">
</column>
<column name="BANKTEXT" type="VARCHAR2" precision="250">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="IMFORMAT" type="VARCHAR2" precision="1">
</column>
<column name="HBIADRESAR" type="VARCHAR2" precision="60">
</column>
<column name="HBIMASKA" type="VARCHAR2" precision="20">
</column>
<column name="EXFORMAT" type="VARCHAR2" precision="1">
</column>
<column name="HBEADRESAR" type="VARCHAR2" precision="60">
</column>
<column name="HBEMASKA" type="VARCHAR2" precision="20">
</column>
<column name="HBIPAROVANIE" type="VARCHAR2" precision="1">
</column>
<column name="UNLOCKFROM" type="DATE">
</column>
<column name="UNLOCKTO" type="DATE">
</column>
<column name="XLO" type="VARCHAR2" precision="30">
</column>
<column name="XLD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_FINHB">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="POHYB" type="VARCHAR2" precision="1">
</column>
<column name="KS" type="VARCHAR2" precision="4">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_FINOPER">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="4">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="PV" type="VARCHAR2" precision="1">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_FINPT">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_FROZUCTP">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="8">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="UCBEZ" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCZAO" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCZAM" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCKS" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCKZ" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCUHR" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="F_MINUS" type="VARCHAR2" precision="1">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_FROZUCTV">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="8">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="UCBEZ" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCZAO" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCZAM" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCKS" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCKZ" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCUHR" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCROZ" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="F_MINUS" type="VARCHAR2" precision="1">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_ICDPH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="80">
</column>
<column name="ULICA" type="VARCHAR2" precision="40">
</column>
<column name="MESTO" type="VARCHAR2" precision="40">
</column>
<column name="D_ZAR" type="DATE">
</column>
<column name="D_VYR" type="DATE">
</column>
<column name="D_RIZIKO_OD" type="DATE">
</column>
<column name="D_RIZIKO_DO" type="DATE">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_IMDRUH">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_IMMIESTO">
<columns>
<column name="XX" type="VARCHAR2" precision="8">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_IMSERVIS">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="INTERVAL" type="NUMBER" precision="4">
</column>
<column name="FLG_PLAN" type="VARCHAR2" precision="1">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_IMTYP">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_IMVYRAD">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_IMZOSTAVA">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_INCOTERM">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_JAZYKY">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_K1">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_K2">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_K3">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_KLASPROD">
<columns>
<column name="XX" type="VARCHAR2" precision="10">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="120">
</column>
<column name="ODPSKUP" type="NUMBER" precision="1">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_KP">
<columns>
<column name="XX" type="VARCHAR2" precision="5">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_KRAJE">
<columns>
<column name="XX" type="VARCHAR2" precision="2">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_MENY">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="SKRATKA" type="VARCHAR2" precision="3">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="MENJ" type="NUMBER" precision="7">
</column>
<column name="NOMIN" type="VARCHAR2" precision="250">
</column>
<column name="SALZAO" type="NUMBER" precision="13" scale="2">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_MERJED">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="20">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_OBCHOD">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="90">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_OBCHZAST">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_OBP">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="TEXT" type="VARCHAR2" precision="6" referenceTable="C_TEXT" referenceColumn="XX">
</column>
<column name="REZERV" type="VARCHAR2" precision="1" referenceTable="OBPR" referenceColumn="REZERV">
</column>
<column name="F_DOPLNPC" type="VARCHAR2" precision="1">
</column>
<column name="F_ZAVAZNA" type="VARCHAR2" precision="1">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_OBV">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="F_INTOBJ" type="VARCHAR2" precision="1">
</column>
<column name="F_CENA" type="VARCHAR2" precision="1">
</column>
<column name="TEXT" type="VARCHAR2" precision="6" referenceTable="C_TEXT" referenceColumn="XX">
</column>
<column name="FOOTER" type="VARCHAR2" precision="6" referenceTable="C_TEXT" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_OKRESY">
<columns>
<column name="XX" type="VARCHAR2" precision="2">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_P_DRUH">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="DATE">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="DATE">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_P_RZ">
<columns>
<column name="XX" type="VARCHAR2" precision="8">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="ZH" type="VARCHAR2" precision="1">
</column>
<column name="LU" type="NUMBER" precision="2">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="DATE">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="DATE">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_P_SPIS">
<columns>
<column name="XX" type="VARCHAR2" precision="10">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="DATE">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="DATE">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_P_VECSKUP">
<columns>
<column name="XX" type="VARCHAR2" precision="8">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="DATE">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="DATE">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_PDA">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKCENSKUP" referenceColumn="XX">
</column>
<column name="FLT_FIRMY" type="VARCHAR2" precision="250">
</column>
<column name="FLT_TOVARY" type="VARCHAR2" precision="250">
</column>
<column name="JEDNA_CENA" type="VARCHAR2" precision="1">
</column>
<column name="KLADNY_STAV" type="VARCHAR2" precision="1">
</column>
<column name="STAV_ZASOB" type="VARCHAR2" precision="1">
</column>
<column name="NEAKTIVNA" type="VARCHAR2" precision="1">
</column>
<column name="DRUH_HD" type="VARCHAR2" precision="6" referenceTable="C_SKDOK" referenceColumn="XX">
</column>
<column name="DRUH_BD" type="VARCHAR2" precision="6" referenceTable="C_SKDOK" referenceColumn="XX">
</column>
<column name="DRUH_OBJ" type="VARCHAR2" precision="6" referenceTable="C_OBP" referenceColumn="XX">
</column>
<column name="ZAVAZNA_CENA" type="VARCHAR2" precision="1">
</column>
<column name="ZAVAZNY_DOKLAD" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_PLATBY">
<columns>
<column name="XX" type="VARCHAR2" precision="1">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="35">
</column>
<column name="DRUH" type="VARCHAR2" precision="1">
</column>
<column name="PODDRUH" type="VARCHAR2" precision="8">
</column>
<column name="KURZ" type="NUMBER" precision="12" scale="6" referenceTable="SKLADR" referenceColumn="KURZ">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="P_UCETSPOJ" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_POPISY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="KOD" type="VARCHAR2" precision="6">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="BASEORDER" type="NON_UNIQUE">
<definition>KOD,POPIS</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_PSC">
<columns>
<column name="XX" type="VARCHAR2" precision="8">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="MESTO" type="VARCHAR2" precision="30">
</column>
<column name="PREDVOLBA" type="VARCHAR2" precision="10">
</column>
<column name="OKRES" type="VARCHAR2" precision="2">
</column>
<column name="KRAJ" type="VARCHAR2" precision="2">
</column>
<column name="STAT" type="VARCHAR2" precision="2" referenceTable="C_STATY" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_PUDOK">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="PDIMPORT" type="VARCHAR2" precision="1">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SERVISD">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="ZNACKA" type="VARCHAR2" precision="10" referenceTable="C_SKZNACKY" referenceColumn="XX">
</column>
</columns>
<indexes>
</indexes>
</table>
<table name="C_SERVISH">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SERVISR">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKAKCIE">
<columns>
<column name="XX" type="VARCHAR2" precision="8">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="DRUH" type="VARCHAR2" precision="1">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="TEXT" type="VARCHAR2" precision="250">
</column>
<column name="DATUM_OD" type="DATE">
</column>
<column name="DATUM_DO" type="DATE">
</column>
<column name="ADRTYP" type="VARCHAR2" precision="6" referenceTable="C_ADRTYP" referenceColumn="XX">
</column>
<column name="ADRESA" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="MINDOKSUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2">
</column>
<column name="SUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKALIAS">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="KOD" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKCENSKUP">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="MENA" type="VARCHAR2" precision="3">
</column>
<column name="ZL_TYP" type="VARCHAR2" precision="1" referenceTable="TOVCENY" referenceColumn="ZL_TYP">
</column>
<column name="PREPOCET" type="VARCHAR2" precision="1" referenceTable="TOVCENY" referenceColumn="PREPOCET">
</column>
<column name="MARZA" type="NUMBER" precision="4" scale="1">
</column>
<column name="ZAOKRBD" type="VARCHAR2" precision="1">
</column>
<column name="ZAOKRSD" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKDOK">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="NAZTLAC" type="VARCHAR2" precision="40">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1">
</column>
<column name="ZAKAZ_F" type="VARCHAR2" precision="1">
</column>
<column name="ZAKAZ_H" type="VARCHAR2" precision="1">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="FOOTER" type="VARCHAR2" precision="6" referenceTable="C_TEXT" referenceColumn="XX">
</column>
<column name="VYVOZ" type="VARCHAR2" precision="1">
</column>
<column name="F_PRIJEMNC" type="VARCHAR2" precision="1">
</column>
<column name="TYPDPH0" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYPDPH1" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYPDPH2" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYPDPH3" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYPDPH0S" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYPDPH1S" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYPDPH2S" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYPDPH3S" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYPDPHV" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYPDPHP" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKDRUH">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKLADY">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="KRAJ" type="VARCHAR2" precision="2" referenceTable="C_KRAJE" referenceColumn="XX">
</column>
<column name="XP" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="VOSKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="F_RS" type="VARCHAR2" precision="4">
</column>
<column name="F_MIESTO" type="VARCHAR2" precision="1">
</column>
<column name="F_NEPOCITAT" type="VARCHAR2" precision="1">
</column>
<column name="P_DRUHDLF" type="VARCHAR2" precision="6" referenceTable="C_SKDOK" referenceColumn="XX">
</column>
<column name="P_DRUHDLN" type="VARCHAR2" precision="6" referenceTable="C_SKDOK" referenceColumn="XX">
</column>
<column name="P_DRUHFAF" type="VARCHAR2" precision="6" referenceTable="C_DFV" referenceColumn="XX">
</column>
<column name="P_DRUHFAN" type="VARCHAR2" precision="6" referenceTable="C_DFV" referenceColumn="XX">
</column>
<column name="P_FIN" type="VARCHAR2" precision="6" referenceTable="C_FIN" referenceColumn="XX">
</column>
<column name="P_UZAOKRP" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="P_UZAOKRM" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="P_UZAKDPH" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="P_UFAKTURA" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="P_UUNIKASA" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKMIESTO">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="MIESTO" type="VARCHAR2" precision="12">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKODBSKUP">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKPRMH">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="TYP" type="VARCHAR2" precision="3">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKPRMR">
<columns>
<column name="XX" type="VARCHAR2" precision="13">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="6" referenceTable="C_SKPRMH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="TYP" type="VARCHAR2" precision="1">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKUCT">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="C_SKDOK" referenceColumn="XX">
</column>
<column name="TKATEG" type="VARCHAR2" precision="1" referenceTable="TOVARY" referenceColumn="KATEGORIA">
</column>
<column name="TDRUH" type="VARCHAR2" precision="6" referenceTable="C_SKDRUH" referenceColumn="XX">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="P_UCET_MD" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="P_UCET_D" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="P_POPIS" type="VARCHAR2" precision="60">
</column>
<column name="V_UCET_MD" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="V_UCET_D" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="V_POPIS" type="VARCHAR2" precision="60">
</column>
<column name="A_UCET_MD" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="A_UCET_D" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="A_POPIS" type="VARCHAR2" precision="60">
</column>
<column name="R_UCET_D" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="R_UCET_MD" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="R_POPIS" type="VARCHAR2" precision="60">
</column>
</columns>
<indexes>
<index name="X1" type="UNIQUE">
<definition>XX</definition>
</index>
<index name="X2" type="UNIQUE">
<definition>DRUHDOK, TKATEG, SKLAD, TDRUH</definition>
</index>
</indexes>
</table>
<table name="C_SKZARZLAV">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="DNI1" type="NUMBER" precision="2">
</column>
<column name="DNI2" type="NUMBER" precision="2">
</column>
<column name="DNI3" type="NUMBER" precision="2">
</column>
<column name="ZLAVA1" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZLAVA2" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZLAVA3" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SKZNACKY">
<columns>
<column name="XX" type="VARCHAR2" precision="10">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_SPOTRDAN">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="SADZBA" type="NUMBER" precision="10" scale="4">
</column>
<column name="TYP" type="VARCHAR2" precision="1">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_STATY">
<columns>
<column name="XX" type="VARCHAR2" precision="2">
</column>
<column name="ISOA3" type="VARCHAR2" precision="3">
</column>
<column name="ISONUM" type="VARCHAR2" precision="3">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="NAME" type="VARCHAR2" precision="60">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_STR">
<columns>
<column name="XX" type="VARCHAR2" precision="7">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XP" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_TEXT">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="TEXT" type="LONG">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_TRASY">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_TYPDPH">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="100">
</column>
<column name="NEAKTIVNY" type="VARCHAR2" precision="1">
</column>
<column name="SADZBA" type="NUMBER" precision="5" scale="2">
</column>
<column name="STAT" type="VARCHAR2" precision="2" referenceTable="C_STATY" referenceColumn="XX">
</column>
<column name="MODUL" type="VARCHAR2" precision="1">
</column>
<column name="UCETDU" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="RIADOKZ" type="VARCHAR2" precision="250">
</column>
<column name="RIADOKD" type="VARCHAR2" precision="250">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="DRIADOKZ" type="VARCHAR2" precision="250">
</column>
<column name="DRIADOKD" type="VARCHAR2" precision="250">
</column>
<column name="DUCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="PRENOS_SV" type="VARCHAR2" precision="1">
</column>
<column name="KVODDIEL" type="VARCHAR2" precision="2">
</column>
<column name="KOEF" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_UCT_OSNOVA">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="TYP" type="VARCHAR2" precision="1">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_UCT_ROZVRH">
<columns>
<column name="XX" type="VARCHAR2" precision="12">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="PODSUVAHA" type="VARCHAR2" precision="1">
</column>
<column name="SALDO" type="VARCHAR2" precision="1">
</column>
<column name="SALSS" type="VARCHAR2" precision="1">
</column>
<column name="DAN" type="VARCHAR2" precision="1">
</column>
<column name="STR" type="VARCHAR2" precision="1">
</column>
<column name="ZAK" type="VARCHAR2" precision="1">
</column>
<column name="KP" type="VARCHAR2" precision="1">
</column>
<column name="PDIMPORT" type="VARCHAR2" precision="1">
</column>
<column name="PDSTLPEC" type="VARCHAR2" precision="3">
</column>
<column name="PDOKREM" type="VARCHAR2" precision="250">
</column>
<column name="FLG_IMA" type="VARCHAR2" precision="1">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NEAKTIVNA" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_ULOHYDRUH">
<columns>
<column name="XX" type="VARCHAR2" precision="12">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_VKP">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="REZIA" type="VARCHAR2" precision="1">
</column>
<column name="NASKLADNIT" type="VARCHAR2" precision="1">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_XPRM">
<columns>
<column name="XX" type="VARCHAR2" precision="61">
</column>
<column name="TABULKA" type="VARCHAR2" precision="30">
</column>
<column name="STLPEC" type="VARCHAR2" precision="30">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="SKRNAZOV" type="VARCHAR2" precision="30">
</column>
<column name="FORMAT" type="VARCHAR2" precision="1">
</column>
<column name="XN" type="NUMBER" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_ZAK">
<columns>
<column name="XX" type="VARCHAR2" precision="10">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="C_ZAM">
<columns>
<column name="XX" type="VARCHAR2" precision="8">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="TEL" type="VARCHAR2" precision="30">
</column>
<column name="EMAIL" type="VARCHAR2" precision="50">
</column>
<column name="HESLO" type="VARCHAR2" precision="20">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="COOPH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="CDOK" type="NUMBER" precision="9">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="COOPINT">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="FAKTURA" type="VARCHAR2" precision="10">
</column>
<column name="PRED" type="VARCHAR2" precision="3">
</column>
<column name="DODLIST" type="VARCHAR2" precision="7">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="MNOZSTVO" type="NUMBER" precision="11" scale="3">
</column>
<column name="SUMA" type="NUMBER" precision="12" scale="3">
</column>
<column name="RIADKY" type="NUMBER" precision="6">
</column>
<column name="FAPXX" type="VARCHAR2" precision="16" referenceTable="FAP" referenceColumn="XX">
</column>
<column name="SKLXX" type="VARCHAR2" precision="16" referenceTable="SKLADH" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="COOPR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="COOPH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="OCENA" type="NUMBER" precision="11" scale="2">
</column>
<column name="NCENA" type="NUMBER" precision="11" scale="2">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="DOCH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="MODUL" type="VARCHAR2" precision="3">
</column>
<column name="DOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="SABLONA" type="VARCHAR2" precision="30">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="DATE">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="DATE">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="DOCR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="DOCH" referenceColumn="XX">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="KLUC" type="VARCHAR2" precision="128">
</column>
<column name="HODNOTA" type="LONG">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="DATE">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="DATE">
</column>
</columns>
<indexes>
<index name="XHKLUC" type="UNIQUE">
<definition>XH,KLUC</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="DOKUMENTY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="DRUH" type="VARCHAR2" precision="6" referenceTable="C_DOKDRUH" referenceColumn="XX">
</column>
<column name="FILENAME" type="VARCHAR2" precision="120">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="ORIGTABLE" type="VARCHAR2" precision="20">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="20">
</column>
<column name="ORIGDATUM" type="DATE">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="ORIG" type="NON_UNIQUE">
<definition>ORIGTABLE,ORIGXX</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="DPH_PRIZNANIA">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XL" type="VARCHAR2" precision="1">
</column>
<column name="FORMAT" type="VARCHAR2" precision="16">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="PORADIE" type="NUMBER" precision="3">
</column>
<column name="DRUH" type="VARCHAR2" precision="1">
</column>
<column name="CDOK" type="NUMBER" precision="3">
</column>
<column name="SADZBA1" type="NUMBER" precision="5" scale="2">
</column>
<column name="SADZBA2" type="NUMBER" precision="5" scale="2">
</column>
<column name="POPIS" type="VARCHAR2" precision="40">
</column>
<column name="HODNOTY" type="LONG">
</column>
<column name="KONATEL" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="PLATITEL" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="CDOK" type="UNIQUE">
<definition>UO,DRUH,CDOK</definition>
</index>
<index name="PORADIE" type="UNIQUE">
<definition>UO,PORADIE</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="DPH_R">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="DPH_PRIZNANIA" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="DATE">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="DATE">
</column>
<column name="FIELD" type="VARCHAR2" precision="20">
</column>
<column name="SUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="TEXT" type="VARCHAR2" precision="250">
</column>
<column name="F_CALC" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="DPHCALC">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="FORMAT" type="VARCHAR2" precision="16">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="FIELD_Z" type="VARCHAR2" precision="20">
</column>
<column name="FIELD_D" type="VARCHAR2" precision="20">
</column>
<column name="FIELD_DZ" type="VARCHAR2" precision="20">
</column>
<column name="FIELD_DD" type="VARCHAR2" precision="20">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="DPHDET">
<columns>
<column name="PRIZNANIE" type="VARCHAR2" precision="16" referenceTable="DPH_PRIZNANIA" referenceColumn="XX">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="DPHDRUH" type="VARCHAR2" precision="1" referenceTable="C_TYPDPH" referenceColumn="MODUL">
</column>
<column name="RIADOKZ" type="VARCHAR2" precision="3">
</column>
<column name="RIADOKD" type="VARCHAR2" precision="3">
</column>
<column name="SADZBA" type="NUMBER" precision="5" scale="2" referenceTable="C_TYPDPH" referenceColumn="SADZBA">
</column>
<column name="ZAKLAD" type="NUMBER" precision="13" scale="2">
</column>
<column name="DAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="D_ZDANPL" type="DATE">
</column>
<column name="D_PV" type="DATE">
</column>
<column name="D_ZAUCT" type="DATE">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="FIRMA_STAT" type="VARCHAR2" precision="1" referenceTable="FIRMY" referenceColumn="DRUH_STATU">
</column>
<column name="ICDPH" type="VARCHAR2" precision="16">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="DPHDOKLAD" type="VARCHAR2" precision="60">
</column>
<column name="ORIGMODUL" type="VARCHAR2" precision="3">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="60">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="16">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="KVODDIEL" type="VARCHAR2" precision="2">
</column>
<column name="ERRORTEXT" type="VARCHAR2" precision="60">
</column>
</columns>
<indexes>
<index name="ORIGXX" type="NON_UNIQUE">
<definition>ORIGXX</definition>
</index>
<index name="PRIZNANIE" type="NON_UNIQUE">
<definition>PRIZNANIE</definition>
</index>
</indexes>
</table>
<table name="DPHDET_TMP">
<columns>
<column name="XO" type="VARCHAR2" precision="30">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6">
</column>
<column name="DPHDRUH" type="VARCHAR2" precision="1">
</column>
<column name="RIADOKZ" type="VARCHAR2" precision="3">
</column>
<column name="RIADOKD" type="VARCHAR2" precision="3">
</column>
<column name="SADZBA" type="NUMBER" precision="5" scale="2">
</column>
<column name="ZAKLAD" type="NUMBER" precision="13" scale="2">
</column>
<column name="DAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="D_ZDANPL" type="DATE">
</column>
<column name="D_PV" type="DATE">
</column>
<column name="D_ZAUCT" type="DATE">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10">
</column>
<column name="FIRMA_STAT" type="VARCHAR2" precision="1">
</column>
<column name="ICDPH" type="VARCHAR2" precision="16">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="DPHDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="ORIGMODUL" type="VARCHAR2" precision="3">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="STR" type="VARCHAR2" precision="7">
</column>
</columns>
<indexes>
<index name="XO" type="NON_UNIQUE">
<definition>XO</definition>
</index>
</indexes>
</table>
<table name="DPHKV">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="DPHKVH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="ROWXX" type="VARCHAR2" precision="24">
</column>
<column name="KVODDIEL" type="VARCHAR2" precision="2">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6">
</column>
<column name="DPHDRUH" type="VARCHAR2" precision="1">
</column>
<column name="SADZBA" type="NUMBER" precision="5" scale="2">
</column>
<column name="ICDPH" type="VARCHAR2" precision="16">
</column>
<column name="FAKTURA" type="VARCHAR2" precision="30">
</column>
<column name="FAKTORIG" type="VARCHAR2" precision="30">
</column>
<column name="DEN" type="DATE">
</column>
<column name="ZAKLAD" type="NUMBER" precision="13" scale="2">
</column>
<column name="DAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="DANKOEF" type="NUMBER" precision="13" scale="2">
</column>
<column name="ZAKLADZ" type="NUMBER" precision="13" scale="2">
</column>
<column name="DANZ" type="NUMBER" precision="13" scale="2">
</column>
<column name="TK" type="VARCHAR2" precision="4">
</column>
<column name="TD" type="VARCHAR2" precision="2">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3">
</column>
<column name="MJ" type="VARCHAR2" precision="3">
</column>
<column name="ORIGMODUL" type="VARCHAR2" precision="3">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="16">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="ROWXX" type="NON_UNIQUE">
<definition>ROWXX</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
</indexes>
</table>
<table name="DPHKVH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="PORADIE" type="NUMBER" precision="3">
</column>
<column name="DRUH" type="VARCHAR2" precision="1">
</column>
<column name="CDOK" type="NUMBER" precision="3">
</column>
<column name="POPIS" type="VARCHAR2" precision="40">
</column>
<column name="KONATEL" type="VARCHAR2" precision="8">
</column>
<column name="DATUM" type="DATE">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="ECR_CONTROL">
<columns>
<column name="CAS" type="TIMESTAMP">
</column>
<column name="XO" type="VARCHAR2" precision="30">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="ECR" type="VARCHAR2" precision="9" referenceTable="ECR_LIST" referenceColumn="XX">
</column>
<column name="CHYBA" type="VARCHAR2" precision="1">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="ULOHA" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="ECR" type="NON_UNIQUE">
<definition>ECR</definition>
</index>
<index name="ULOHA" type="NON_UNIQUE">
<definition>ULOHA,XN</definition>
</index>
</indexes>
</table>
<table name="ECR_DATA">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XP" type="VARCHAR2" precision="6">
</column>
<column name="ECR" type="VARCHAR2" precision="9" referenceTable="ECR_LIST" referenceColumn="XX">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="SUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="CENA" type="NUMBER" precision="13" scale="2">
</column>
<column name="CENA_CENN" type="NUMBER" precision="13" scale="2">
</column>
<column name="SADZBA_DPH" type="NUMBER" precision="5" scale="2">
</column>
<column name="ZAKAZNIK" type="VARCHAR2" precision="20" referenceTable="ECR_ZAK" referenceColumn="XX">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="CDOK" type="NUMBER" precision="6">
</column>
<column name="RIADOK" type="NUMBER" precision="6">
</column>
<column name="HODINA" type="NUMBER" precision="2">
</column>
<column name="REFCISLO" type="VARCHAR2" precision="20">
</column>
<column name="PREDAJNA" type="VARCHAR2" precision="6" referenceTable="ECR_LIST" referenceColumn="PREDAJNA">
</column>
<column name="CISLOKASY" type="NUMBER" precision="3" referenceTable="ECR_LIST" referenceColumn="CISLOKASY">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZALOHA" type="TIMESTAMP">
</column>
<column name="SKLXX" type="VARCHAR2" precision="16" referenceTable="SKLADH" referenceColumn="XX">
</column>
<column name="AKCIA" type="VARCHAR2" precision="8" referenceTable="C_SKAKCIE" referenceColumn="XX">
</column>
<column name="FLGEXPORT" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="BROWSER" type="NON_UNIQUE">
<definition>DATUM,ECR,KOD</definition>
</index>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD,DATUM</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="ECR_KLAVESY">
<columns>
<column name="XX" type="VARCHAR2" precision="2">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="ECR_LIST">
<columns>
<column name="XX" type="VARCHAR2" precision="9">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="MODEL" type="VARCHAR2" precision="3">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="PRIPOJENIE" type="VARCHAR2" precision="60">
</column>
<column name="NEAKTIVNA" type="VARCHAR2" precision="1">
</column>
<column name="FILTER" type="VARCHAR2" precision="60">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="CISLOKASY" type="NUMBER" precision="3">
</column>
<column name="PREDAJNA" type="VARCHAR2" precision="6">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKCENSKUP" referenceColumn="XX">
</column>
<column name="UCTENKY" type="VARCHAR2" precision="1">
</column>
<column name="KODNAZOV" type="VARCHAR2" precision="1">
</column>
<column name="WARNINGY" type="VARCHAR2" precision="1">
</column>
<column name="STAVZASOB" type="VARCHAR2" precision="1">
</column>
<column name="CENNIK_VER" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="ECR_ULOHY">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="EMAIL" type="VARCHAR2" precision="250">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="ULOHA" type="VARCHAR2" precision="250">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="ECR_ZAK">
<columns>
<column name="XX" type="VARCHAR2" precision="20">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XP" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="ADRESA" type="VARCHAR2" precision="250">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2">
</column>
<column name="ZRUSIT_ZLAVY" type="VARCHAR2" precision="1">
</column>
<column name="TELEFON" type="VARCHAR2" precision="30">
</column>
<column name="EMAIL" type="VARCHAR2" precision="60">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="TALOS_REZIM" type="VARCHAR2" precision="1">
</column>
<column name="ZASLAT_PONUKY" type="VARCHAR2" precision="1">
</column>
<column name="ULICA" type="VARCHAR2" precision="30">
</column>
<column name="MESTO" type="VARCHAR2" precision="30">
</column>
<column name="PSC" type="VARCHAR2" precision="8">
</column>
<column name="STAT" type="VARCHAR2" precision="2">
</column>
<column name="DATUM_DO" type="DATE">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="EDIADRESA">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6">
</column>
<column name="EANBUYER" type="VARCHAR2" precision="17">
</column>
<column name="EANDELIVPLACE" type="VARCHAR2" precision="17">
</column>
<column name="EANINVPLACE" type="VARCHAR2" precision="17">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="SKDOK" type="VARCHAR2" precision="6" referenceTable="C_SKDOK" referenceColumn="XX">
</column>
<column name="DFP" type="VARCHAR2" precision="6" referenceTable="C_DFP" referenceColumn="XX">
</column>
<column name="OBP" type="VARCHAR2" precision="6" referenceTable="C_OBP" referenceColumn="XX">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="EDIADRXX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="EDIDFV">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="DFV" type="VARCHAR2" precision="6" referenceTable="C_DFV" referenceColumn="XX">
</column>
<column name="EDIXX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="EDIDFV" type="UNIQUE">
<definition>DFV,EDIXX</definition>
</index>
</indexes>
</table>
<table name="EDIFIRMY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="EANFIRMA" type="VARCHAR2" precision="17">
</column>
<column name="EANPOBOCKA" type="VARCHAR2" precision="17">
</column>
<column name="EANDODAV" type="VARCHAR2" precision="17">
</column>
<column name="EXPTOVEAN" type="VARCHAR2" precision="1">
</column>
<column name="EANMSGRCV" type="VARCHAR2" precision="17">
</column>
<column name="EANPURCH" type="VARCHAR2" precision="17">
</column>
<column name="EANINVPLACE" type="VARCHAR2" precision="17">
</column>
<column name="EXPORT_TYPE" type="VARCHAR2" precision="20">
</column>
<column name="TOVAR_IDENT" type="VARCHAR2" precision="1">
</column>
<column name="KODOVANIE" type="VARCHAR2" precision="40">
</column>
<column name="F_AUTO" type="VARCHAR2" precision="20">
</column>
<column name="EMAIL" type="VARCHAR2" precision="60">
</column>
<column name="NASTAVENIA" type="LONG">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="FAPUCTKOD" type="VARCHAR2" precision="6" referenceTable="C_FROZUCTP" referenceColumn="XX">
</column>
<column name="POSKYTOVATEL" type="VARCHAR2" precision="6" referenceTable="EDIPOSKYTOVATEL" referenceColumn="XX">
</column>
<column name="MAPOVANIE" type="VARCHAR2" precision="6" referenceTable="EDIMAPOVANIE" referenceColumn="XX">
</column>
<column name="EXPSSCC" type="VARCHAR2" precision="1">
</column>
<column name="EXPINVMETRO" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="EDIMAPOVANIE">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="NASTAVENIA" type="LONG">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="EDIMERJED">
<columns>
<column name="MERJED" type="VARCHAR2" precision="3" referenceTable="C_MERJED" referenceColumn="XX">
</column>
<column name="EDIXX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="MERJED" type="UNIQUE">
<definition>MERJED</definition>
</index>
</indexes>
</table>
<table name="EDIPOSKYTOVATEL">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="F_ADRSUBJEKT" type="VARCHAR2" precision="1">
</column>
<column name="F_ADRTYPEXPORTU" type="VARCHAR2" precision="1">
</column>
<column name="F_EANIDENT" type="VARCHAR2" precision="1">
</column>
<column name="EXP_PRIPONA" type="VARCHAR2" precision="40">
</column>
<column name="EXP_INVOICADR" type="VARCHAR2" precision="250">
</column>
<column name="EXP_DESADVADR" type="VARCHAR2" precision="250">
</column>
<column name="EXP_ORDERSADR" type="VARCHAR2" precision="250">
</column>
<column name="EXP_RECADVADR" type="VARCHAR2" precision="250">
</column>
<column name="EXP_RETANNADR" type="VARCHAR2" precision="250">
</column>
<column name="EXP_REMADVADR" type="VARCHAR2" precision="250">
</column>
<column name="EXP_APERAKADR" type="VARCHAR2" precision="250">
</column>
<column name="EXP_COMDISADR" type="VARCHAR2" precision="250">
</column>
<column name="EXP_INVOICPREFIX" type="VARCHAR2" precision="40">
</column>
<column name="EXP_DESADVPREFIX" type="VARCHAR2" precision="40">
</column>
<column name="EXP_ORDERSPREFIX" type="VARCHAR2" precision="40">
</column>
<column name="EXP_RECADVPREFIX" type="VARCHAR2" precision="40">
</column>
<column name="EXP_RETANNPREFIX" type="VARCHAR2" precision="40">
</column>
<column name="EXP_REMADVPREFIX" type="VARCHAR2" precision="40">
</column>
<column name="EXP_APERAKPREFIX" type="VARCHAR2" precision="40">
</column>
<column name="EXP_COMDISPREFIX" type="VARCHAR2" precision="40">
</column>
<column name="IMP_PRIPONA" type="VARCHAR2" precision="40">
</column>
<column name="IMP_INVOICADR" type="VARCHAR2" precision="250">
</column>
<column name="IMP_DESADVADR" type="VARCHAR2" precision="250">
</column>
<column name="IMP_ORDERSADR" type="VARCHAR2" precision="250">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="EDISPRAVYIN">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="ODOSIELATEL" type="VARCHAR2" precision="17">
</column>
<column name="PRIJEMCA" type="VARCHAR2" precision="17">
</column>
<column name="FORMAT" type="VARCHAR2" precision="10">
</column>
<column name="MODUL" type="VARCHAR2" precision="20">
</column>
<column name="OBSAH" type="LONG">
</column>
<column name="STAV" type="VARCHAR2" precision="1">
</column>
<column name="VYSLEDOK" type="VARCHAR2" precision="250">
</column>
<column name="SUBOR" type="VARCHAR2" precision="200">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
</columns>
<indexes>
<index name="EDISPRAVYIN_PK" type="UNIQUE">
<definition>XX</definition>
</index>
<index name="EDISPRAVYIN_XID" type="NON_UNIQUE">
<definition>XID</definition>
</index>
</indexes>
</table>
<table name="EDISPRAVYOUT">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="ODOSIELATEL" type="VARCHAR2" precision="17">
</column>
<column name="PRIJEMCA" type="VARCHAR2" precision="17">
</column>
<column name="FORMAT" type="VARCHAR2" precision="10">
</column>
<column name="MODUL" type="VARCHAR2" precision="20">
</column>
<column name="OBSAH" type="LONG">
</column>
<column name="REFERENCIA" type="VARCHAR2" precision="200">
</column>
<column name="SUBOR" type="VARCHAR2" precision="200">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
</columns>
<indexes>
<index name="EDISPRAVYOUT_PK" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="EXTDOKH">
<columns>
<column name="XX" type="VARCHAR2" precision="16" notNull="true">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XO" type="VARCHAR2" precision="30">
</column>
<column name="XD" type="TIMESTAMP">
</column>
<column name="STAV" type="VARCHAR2" precision="1">
</column>
<column name="PDA" type="VARCHAR2" precision="9">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="SKLADCIEL" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="TERMIN" type="DATE" referenceTable="OBPH" referenceColumn="D_TERMIN">
</column>
<column name="TYP" type="VARCHAR2" precision="1">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="C_SKDOK" referenceColumn="XX">
</column>
<column name="CISLO" type="VARCHAR2" precision="20">
</column>
<column name="UCTENKA" type="NUMBER" precision="9">
</column>
<column name="UZAVM" type="NUMBER" precision="6">
</column>
<column name="UZAVD" type="NUMBER" precision="6">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKCENSKUP" referenceColumn="XX">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2" referenceTable="TOVCENY" referenceColumn="ZL_T">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="NAZOV" type="VARCHAR2" precision="100">
</column>
<column name="MESTO" type="VARCHAR2" precision="40" referenceTable="FIRMY" referenceColumn="MESTO">
</column>
<column name="ULICA" type="VARCHAR2" precision="40" referenceTable="FIRMY" referenceColumn="ULICA">
</column>
<column name="PSC" type="VARCHAR2" precision="8" referenceTable="FIRMY" referenceColumn="PSC">
</column>
<column name="STAT" type="VARCHAR2" precision="2" referenceTable="C_STATY" referenceColumn="XX">
</column>
<column name="ICO" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="ICO">
</column>
<column name="TELEFON" type="VARCHAR2" precision="30" referenceTable="FIRMY" referenceColumn="TELEFON">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
<column name="XP" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="DOKLAD" type="NON_UNIQUE">
<definition>PDA,TYP,STAV</definition>
</index>
<index name="TYP" type="NON_UNIQUE">
<definition>TYP</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="EXTDOKR">
<columns>
<column name="XX" type="VARCHAR2" precision="16" notNull="true">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="EXTDOKH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="4">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="NAZOV" type="VARCHAR2" precision="50" referenceTable="TOVARY" referenceColumn="NAZOV">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3">
</column>
<column name="BAL" type="NUMBER" precision="12" scale="3">
</column>
<column name="BALENIE" type="NUMBER" precision="6">
</column>
<column name="MJ" type="VARCHAR2" precision="3" referenceTable="TOVARY" referenceColumn="MJ">
</column>
<column name="AKCIA" type="VARCHAR2" precision="8" referenceTable="TOVCENY" referenceColumn="AKCIA">
</column>
<column name="DPH" type="NUMBER" precision="5" scale="2" referenceTable="TOVCENY" referenceColumn="SADZBA_DPH">
</column>
<column name="CENNBD" type="NUMBER" precision="14" scale="5">
</column>
<column name="CENNSD" type="NUMBER" precision="14" scale="5">
</column>
<column name="CENABD" type="NUMBER" precision="14" scale="5">
</column>
<column name="CENASD" type="NUMBER" precision="14" scale="5">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2" referenceTable="TOVCENY" referenceColumn="ZL_T">
</column>
<column name="CENAZLAVBD" type="NUMBER" precision="14" scale="5">
</column>
<column name="CENAZLAVSD" type="NUMBER" precision="14" scale="5">
</column>
<column name="MIESTO" type="VARCHAR2" precision="16" referenceTable="SKLADZ" referenceColumn="MIESTO">
</column>
<column name="SARZA" type="VARCHAR2" precision="20" referenceTable="SKLADZ" referenceColumn="SARZA">
</column>
<column name="D_SPOTREBA" type="DATE" referenceTable="SKLADZ" referenceColumn="D_SPOTREBA">
</column>
<column name="D_VYROBA" type="DATE" referenceTable="SKLADZ" referenceColumn="D_VYROBA">
</column>
<column name="SSCC" type="VARCHAR2" precision="18" referenceTable="SKLADZ" referenceColumn="SSCC">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
<column name="OBJCIS" type="VARCHAR2" precision="16">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="ZARUKA" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FAP">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="DF" type="VARCHAR2" precision="6" referenceTable="C_DFP" referenceColumn="XX">
</column>
<column name="FAKTC" type="VARCHAR2" precision="12">
</column>
<column name="FAKTDOD" type="VARCHAR2" precision="30">
</column>
<column name="UCTKOD" type="VARCHAR2" precision="6" referenceTable="C_FROZUCTP" referenceColumn="XX">
</column>
<column name="UCTFLG" type="VARCHAR2" precision="1">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="ICDPH" type="VARCHAR2" precision="16" referenceTable="FAP" referenceColumn="UICDPH">
</column>
<column name="UICDPH" type="VARCHAR2" precision="16" referenceTable="FAP" referenceColumn="ICDPH">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="KS" type="VARCHAR2" precision="4">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="SP_UHRADY" type="VARCHAR2" precision="1">
</column>
<column name="C_KODBUCTU" type="VARCHAR2" precision="6" referenceTable="C_FIN" referenceColumn="XX">
</column>
<column name="BANKUCET" type="VARCHAR2" precision="34" referenceTable="FIRUCTY" referenceColumn="UCET">
</column>
<column name="D_ZDANPL" type="DATE">
</column>
<column name="D_PRIJ" type="DATE">
</column>
<column name="D_SPLATN" type="DATE">
</column>
<column name="D_ZAUCT" type="DATE">
</column>
<column name="D_KURZDPH" type="DATE">
</column>
<column name="D_UHRAD" type="DATE">
</column>
<column name="D_ORIGDOD" type="DATE">
</column>
<column name="KVDATUM" type="DATE">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="OBJCIS" type="VARCHAR2" precision="12">
</column>
<column name="PRILOHY" type="VARCHAR2" precision="40">
</column>
<column name="SUMBD" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMDAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMZAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMZAO" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMUHR" type="NUMBER" precision="13" scale="2">
</column>
<column name="C" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="KURZ" type="NUMBER" precision="12" scale="6">
</column>
<column name="SCMBD" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMDAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMZAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMZAO" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMUHR" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCHVALENA" type="VARCHAR2" precision="1">
</column>
<column name="XP" type="VARCHAR2" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="POVODNA" type="VARCHAR2" precision="30" referenceTable="FAP" referenceColumn="FAKTDOD">
</column>
</columns>
<indexes>
<index name="CISFAKT" type="UNIQUE">
<definition>DF,FAKTC</definition>
</index>
<index name="DZAUCT" type="NON_UNIQUE">
<definition>D_ZAUCT</definition>
</index>
<index name="UO" type="NON_UNIQUE">
<definition>UO</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FAPROZUCT">
<columns>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="FAP" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="TYP" type="VARCHAR2" precision="1">
</column>
<column name="SCMBD" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMBD" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMDAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMDAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMZAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMZAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMSAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMSAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="MENA" type="VARCHAR2" precision="3">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6">
</column>
<column name="KVODDIEL" type="VARCHAR2" precision="2">
</column>
<column name="KVSUMDAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="UCET" type="VARCHAR2" precision="12">
</column>
<column name="STR" type="VARCHAR2" precision="7">
</column>
<column name="ZAK" type="VARCHAR2" precision="10">
</column>
<column name="KP" type="VARCHAR2" precision="5">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="SKLADHXX" type="VARCHAR2" precision="16" referenceTable="SKLADH" referenceColumn="XX">
</column>
<column name="F_STRANA" type="VARCHAR2" precision="1">
</column>
<column name="INVCIS" type="VARCHAR2" precision="16" referenceTable="IMKARTY" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
</indexes>
</table>
<table name="FAV">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="DF" type="VARCHAR2" precision="6" referenceTable="C_DFV" referenceColumn="XX">
</column>
<column name="FAKTC" type="VARCHAR2" precision="12">
</column>
<column name="UCTKOD" type="VARCHAR2" precision="6" referenceTable="C_FROZUCTV" referenceColumn="XX">
</column>
<column name="UCTFLG" type="VARCHAR2" precision="1">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="FIRMANAZOV" type="VARCHAR2" precision="250">
</column>
<column name="ICDPH" type="VARCHAR2" precision="16" referenceTable="FAP" referenceColumn="ICDPH">
</column>
<column name="UICDPH" type="VARCHAR2" precision="16" referenceTable="FAP" referenceColumn="UICDPH">
</column>
<column name="TRASA" type="VARCHAR2" precision="6" referenceTable="C_TRASY" referenceColumn="XX">
</column>
<column name="SKONTO" type="NUMBER" precision="4" scale="2">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="KS" type="VARCHAR2" precision="4">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="SP_UHRADY" type="VARCHAR2" precision="1">
</column>
<column name="C_KODBUCTU" type="VARCHAR2" precision="6" referenceTable="C_FIN" referenceColumn="XX">
</column>
<column name="D_SPLATN" type="DATE">
</column>
<column name="D_VYSTAV" type="DATE">
</column>
<column name="D_ZDANPL" type="DATE">
</column>
<column name="D_ZAUCT" type="DATE">
</column>
<column name="D_KURZDPH" type="DATE">
</column>
<column name="D_UHRAD" type="DATE">
</column>
<column name="KVDATUM" type="DATE">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="OBJCIS" type="VARCHAR2" precision="20">
</column>
<column name="INCOTERM" type="VARCHAR2" precision="3" referenceTable="C_INCOTERM" referenceColumn="XX">
</column>
<column name="ITTEXT" type="VARCHAR2" precision="30">
</column>
<column name="TEXT" type="LONG">
</column>
<column name="FOOTER" type="VARCHAR2" precision="6" referenceTable="C_TEXT" referenceColumn="XX">
</column>
<column name="PRILOHY" type="VARCHAR2" precision="40">
</column>
<column name="SUMBD" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMDAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMZAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMZAO" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMUHR" type="NUMBER" precision="13" scale="2">
</column>
<column name="C" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="KURZ" type="NUMBER" precision="12" scale="6">
</column>
<column name="SCMBD" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMDAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMZAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMZAO" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMUHR" type="NUMBER" precision="13" scale="2">
</column>
<column name="VZNIKFLG" type="VARCHAR2" precision="1">
</column>
<column name="FLG_ROUND" type="VARCHAR2" precision="1">
</column>
<column name="SCHVALENA" type="VARCHAR2" precision="1">
</column>
<column name="XP" type="VARCHAR2" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="OBCHZAST" type="VARCHAR2" precision="6" referenceTable="C_OBCHZAST" referenceColumn="XX">
</column>
<column name="POVODNA" type="VARCHAR2" precision="19">
</column>
<column name="EDISTAV" type="VARCHAR2" precision="1">
</column>
<column name="EDIPOZN" type="VARCHAR2" precision="250">
</column>
<column name="MOSS" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="DZAUCT" type="NON_UNIQUE">
<definition>D_ZAUCT</definition>
</index>
<index name="FV_UO" type="NON_UNIQUE">
<definition>UO</definition>
</index>
<index name="FVYDANE" type="UNIQUE">
<definition>DF,FAKTC</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FAVROZUCT">
<columns>
<column name="XH" type="VARCHAR2" precision="16">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="TYP" type="VARCHAR2" precision="1">
</column>
<column name="SCMBD" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMBD" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMDAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMDAN" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMZAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMZAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMSAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SCMSAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="MENA" type="VARCHAR2" precision="3">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6">
</column>
<column name="KVODDIEL" type="VARCHAR2" precision="2">
</column>
<column name="UCET" type="VARCHAR2" precision="12">
</column>
<column name="STR" type="VARCHAR2" precision="7">
</column>
<column name="ZAK" type="VARCHAR2" precision="10">
</column>
<column name="KP" type="VARCHAR2" precision="5">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="SKLADHXX" type="VARCHAR2" precision="16" referenceTable="SKLADH" referenceColumn="XX">
</column>
<column name="F_STRANA" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
</indexes>
</table>
<table name="FINH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="KOD" type="VARCHAR2" precision="6" referenceTable="C_FIN" referenceColumn="XX">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="1">
</column>
<column name="CDOK" type="NUMBER" precision="6">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="OSOBA" type="VARCHAR2" precision="60">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="XP" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XVO" type="VARCHAR2" precision="30">
</column>
<column name="XVD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="FINH" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FINP">
<columns>
<column name="ROK" type="VARCHAR2" precision="6">
</column>
<column name="KOD" type="VARCHAR2" precision="6" referenceTable="C_FIN" referenceColumn="XX">
</column>
<column name="SUMACM" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMAUC" type="NUMBER" precision="13" scale="2">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
</columns>
<indexes>
</indexes>
</table>
<table name="FINPPH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="CDOK" type="NUMBER" precision="9">
</column>
<column name="D_VYSTAV" type="DATE">
</column>
<column name="D_SPLATN" type="DATE">
</column>
<column name="KODBUCTU" type="VARCHAR2" precision="6" referenceTable="C_FIN" referenceColumn="XX">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="F_STAV" type="VARCHAR2" precision="1">
</column>
<column name="VYBAVENE" type="VARCHAR2" precision="1">
</column>
<column name="F_ZAHR" type="VARCHAR2" precision="1">
</column>
<column name="EDISTAV" type="VARCHAR2" precision="1">
</column>
<column name="EDIPOZN" type="VARCHAR2" precision="250">
</column>
</columns>
<indexes>
<index name="CDOK" type="NON_UNIQUE">
<definition>CDOK</definition>
</index>
<index name="DATUM" type="NON_UNIQUE">
<definition>D_VYSTAV</definition>
</index>
<index name="STAV" type="NON_UNIQUE">
<definition>F_STAV</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FINPPR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="SUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="SUMVS" type="VARCHAR2" precision="20">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="KS" type="VARCHAR2" precision="4">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="BANKUCET" type="VARCHAR2" precision="34" referenceTable="FIRUCTY" referenceColumn="UCET">
</column>
<column name="POPLATOK" type="VARCHAR2" precision="1">
</column>
<column name="PTITUL" type="VARCHAR2" precision="3">
</column>
<column name="PRIORITA" type="VARCHAR2" precision="1">
</column>
<column name="ORIGMODUL" type="VARCHAR2" precision="3">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="16">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FINR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="FINH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="POHYB" type="VARCHAR2" precision="1">
</column>
<column name="OPER" type="VARCHAR2" precision="6" referenceTable="C_FINOPER" referenceColumn="XX">
</column>
<column name="CURR" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="SUMACURR" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMACM" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMAUC" type="NUMBER" precision="13" scale="2">
</column>
<column name="DPHSUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="DPHUC" type="NUMBER" precision="13" scale="2">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="ICDPH" type="VARCHAR2" precision="16">
</column>
<column name="KVODDIEL" type="VARCHAR2" precision="2">
</column>
<column name="KVORIGDOK" type="VARCHAR2" precision="30">
</column>
<column name="KVDPHUC" type="NUMBER" precision="13" scale="2">
</column>
<column name="KOMKURZ" type="VARCHAR2" precision="1">
</column>
<column name="KURZ" type="NUMBER" precision="12" scale="6" referenceTable="KURZLIST" referenceColumn="KURZ">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="KS" type="VARCHAR2" precision="4">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="D_SPLATN" type="DATE">
</column>
<column name="PROFORMA" type="VARCHAR2" precision="1">
</column>
<column name="BANKUCET" type="VARCHAR2" precision="34" referenceTable="FIRUCTY" referenceColumn="UCET">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="INVCIS" type="VARCHAR2" precision="16" referenceTable="IMKARTY" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FIRMY">
<columns>
<column name="XX" type="VARCHAR2" precision="17">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6">
</column>
<column name="F" type="VARCHAR2" precision="1">
</column>
<column name="DO" type="VARCHAR2" precision="1">
</column>
<column name="NEAKTIVNA" type="VARCHAR2" precision="1">
</column>
<column name="ICO" type="VARCHAR2" precision="10">
</column>
<column name="DICDU" type="VARCHAR2" precision="14">
</column>
<column name="DIC" type="VARCHAR2" precision="14">
</column>
<column name="ICDPH" type="VARCHAR2" precision="250">
</column>
<column name="DANURAD" type="VARCHAR2" precision="7" referenceTable="C_DANURADY" referenceColumn="XX">
</column>
<column name="NAZOV1" type="VARCHAR2" precision="40">
</column>
<column name="NAZOV2" type="VARCHAR2" precision="40">
</column>
<column name="ULICA" type="VARCHAR2" precision="40">
</column>
<column name="MESTO" type="VARCHAR2" precision="40">
</column>
<column name="PSC" type="VARCHAR2" precision="8">
</column>
<column name="STAT" type="VARCHAR2" precision="2" referenceTable="C_STATY" referenceColumn="XX">
</column>
<column name="OKRES" type="VARCHAR2" precision="2" referenceTable="C_OKRESY" referenceColumn="XX">
</column>
<column name="KRAJ" type="VARCHAR2" precision="2" referenceTable="C_KRAJE" referenceColumn="XX">
</column>
<column name="KLUC1" type="VARCHAR2" precision="6" referenceTable="C_K1" referenceColumn="XX">
</column>
<column name="KLUC2" type="VARCHAR2" precision="6" referenceTable="C_K2" referenceColumn="XX">
</column>
<column name="KLUC3" type="VARCHAR2" precision="6" referenceTable="C_K3" referenceColumn="XX">
</column>
<column name="TELEFON" type="VARCHAR2" precision="30">
</column>
<column name="FAX" type="VARCHAR2" precision="30">
</column>
<column name="EMAIL" type="VARCHAR2" precision="60">
</column>
<column name="ZLAVAPR" type="NUMBER" precision="6" scale="2">
</column>
<column name="ZLAVATYP" type="VARCHAR2" precision="1">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2">
</column>
<column name="PENALE" type="NUMBER" precision="6" scale="2">
</column>
<column name="DNIS" type="NUMBER" precision="3">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKCENSKUP" referenceColumn="XX">
</column>
<column name="ODBSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKODBSKUP" referenceColumn="XX">
</column>
<column name="TRASA" type="VARCHAR2" precision="6" referenceTable="C_TRASY" referenceColumn="XX">
</column>
<column name="OBCHZAST" type="VARCHAR2" precision="6" referenceTable="C_OBCHZAST" referenceColumn="XX">
</column>
<column name="DEFAULT_DL" type="VARCHAR2" precision="6" referenceTable="C_SKDOK" referenceColumn="XX">
</column>
<column name="DEFAULT_DF" type="VARCHAR2" precision="6" referenceTable="C_DFV" referenceColumn="XX">
</column>
<column name="DEFAULT_HD" type="VARCHAR2" precision="1">
</column>
<column name="SKALIAS" type="VARCHAR2" precision="6" referenceTable="C_SKALIAS" referenceColumn="XX">
</column>
<column name="SALDO_KON" type="VARCHAR2" precision="1">
</column>
<column name="SALDO_MAX" type="NUMBER" precision="13" scale="2">
</column>
<column name="SALDO_LPS" type="NUMBER" precision="13" scale="2">
</column>
<column name="SALDO_DPS" type="NUMBER" precision="3">
</column>
<column name="SALDO_MAIL" type="VARCHAR2" precision="60">
</column>
<column name="ZAKAZ_F" type="VARCHAR2" precision="1">
</column>
<column name="ZAKAZ_ZL" type="VARCHAR2" precision="1">
</column>
<column name="EVIDCIS" type="VARCHAR2" precision="10">
</column>
<column name="UCTY" type="VARCHAR2" precision="250">
</column>
<column name="ADRESA" type="VARCHAR2" precision="250">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="DRUH_STATU" type="VARCHAR2" precision="1">
</column>
<column name="DL_PORADIE" type="VARCHAR2" precision="1">
</column>
<column name="C_KODBUCTU" type="VARCHAR2" precision="6" referenceTable="C_FIN" referenceColumn="XX">
</column>
<column name="REGISTER" type="VARCHAR2" precision="120">
</column>
<column name="LIEH_DP" type="VARCHAR2" precision="1">
</column>
<column name="LIEH_EVC" type="VARCHAR2" precision="20">
</column>
<column name="LIEH_IDD" type="NUMBER" precision="6">
</column>
<column name="PERIODA_FAP" type="VARCHAR2" precision="1">
</column>
<column name="ROZDIEL_MAX_FAP" type="NUMBER" precision="13" scale="2">
</column>
<column name="ROZDIEL_MAX_PR" type="NUMBER" precision="13" scale="2">
</column>
<column name="MINEXP" type="NUMBER" precision="3">
</column>
</columns>
<indexes>
<index name="A" type="NON_UNIQUE">
<definition>NEAKTIVNA</definition>
</index>
<index name="FIRMAPOBOCKA" type="UNIQUE">
<definition>FIRMA,POBOCKA</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FIROSOBY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="KOD" type="VARCHAR2" precision="6">
</column>
<column name="MENO" type="VARCHAR2" precision="30">
</column>
<column name="FUNKCIA" type="VARCHAR2" precision="30">
</column>
<column name="TEL" type="VARCHAR2" precision="30">
</column>
<column name="EMAIL" type="VARCHAR2" precision="50">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="FP" type="UNIQUE">
<definition>FIRMA,POBOCKA,KOD</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FIRPRM">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="KOD" type="VARCHAR2" precision="17" referenceTable="FIRMY" referenceColumn="XX">
</column>
<column name="PRM" type="VARCHAR2" precision="13" referenceTable="C_SKPRMR" referenceColumn="XX">
</column>
<column name="HODNOTA" type="VARCHAR2" precision="250">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD</definition>
</index>
<index name="KODPRM" type="UNIQUE">
<definition>KOD,PRM</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FIRUCTY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="17" referenceTable="FIRMY" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="UCET" type="VARCHAR2" precision="34">
</column>
<column name="NBANK1" type="VARCHAR2" precision="35">
</column>
<column name="NBANK2" type="VARCHAR2" precision="35">
</column>
<column name="NBANK3" type="VARCHAR2" precision="35">
</column>
<column name="NBANK4" type="VARCHAR2" precision="35">
</column>
<column name="NUCT1" type="VARCHAR2" precision="35">
</column>
<column name="NUCT2" type="VARCHAR2" precision="35">
</column>
<column name="NUCT3" type="VARCHAR2" precision="35">
</column>
<column name="NUCT4" type="VARCHAR2" precision="35">
</column>
<column name="SWIFTBIC" type="VARCHAR2" precision="11">
</column>
<column name="ISOKOD" type="VARCHAR2" precision="2">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="FPU" type="UNIQUE">
<definition>FIRMA,UCET</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="FY">
<columns>
<column name="XX" type="VARCHAR2" precision="7">
</column>
<column name="DBEGIN" type="DATE">
</column>
<column name="XO" type="VARCHAR2" precision="30">
</column>
<column name="XD" type="TIMESTAMP">
</column>
</columns>
<indexes>
</indexes>
</table>
<table name="IMAINV">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="IMKARTY" referenceColumn="XX">
</column>
<column name="STAV" type="VARCHAR2" precision="1">
</column>
<column name="SPRACOVANE" type="VARCHAR2" precision="1">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="MIESTO" type="VARCHAR2" precision="8" referenceTable="C_IMMIESTO" referenceColumn="XX">
</column>
<column name="ZAM" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="IMC_ODPDAN">
<columns>
<column name="XX" type="VARCHAR2" precision="4">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="R1P" type="NUMBER" precision="8" scale="5">
</column>
<column name="R1D" type="NUMBER" precision="8" scale="5">
</column>
<column name="R1Z" type="NUMBER" precision="8" scale="5">
</column>
<column name="R2P" type="NUMBER" precision="8" scale="5">
</column>
<column name="R2D" type="NUMBER" precision="8" scale="5">
</column>
<column name="R2Z" type="NUMBER" precision="8" scale="5">
</column>
<column name="R3P" type="NUMBER" precision="8" scale="5">
</column>
<column name="R3D" type="NUMBER" precision="8" scale="5">
</column>
<column name="R3Z" type="NUMBER" precision="8" scale="5">
</column>
<column name="R4P" type="NUMBER" precision="8" scale="5">
</column>
<column name="R4D" type="NUMBER" precision="8" scale="5">
</column>
<column name="R4Z" type="NUMBER" precision="8" scale="5">
</column>
<column name="R5P" type="NUMBER" precision="8" scale="5">
</column>
<column name="R5D" type="NUMBER" precision="8" scale="5">
</column>
<column name="R5Z" type="NUMBER" precision="8" scale="5">
</column>
<column name="R6P" type="NUMBER" precision="8" scale="5">
</column>
<column name="R6D" type="NUMBER" precision="8" scale="5">
</column>
<column name="R6Z" type="NUMBER" precision="8" scale="5">
</column>
<column name="Z1P" type="NUMBER" precision="2">
</column>
<column name="Z1D" type="NUMBER" precision="2">
</column>
<column name="Z1Z" type="NUMBER" precision="2">
</column>
<column name="Z2P" type="NUMBER" precision="2">
</column>
<column name="Z2D" type="NUMBER" precision="2">
</column>
<column name="Z2Z" type="NUMBER" precision="2">
</column>
<column name="Z3P" type="NUMBER" precision="2">
</column>
<column name="Z3D" type="NUMBER" precision="2">
</column>
<column name="Z3Z" type="NUMBER" precision="2">
</column>
<column name="Z4P" type="NUMBER" precision="2">
</column>
<column name="Z4D" type="NUMBER" precision="2">
</column>
<column name="Z4Z" type="NUMBER" precision="2">
</column>
<column name="Z5P" type="NUMBER" precision="2">
</column>
<column name="Z5D" type="NUMBER" precision="2">
</column>
<column name="Z5Z" type="NUMBER" precision="2">
</column>
<column name="Z6P" type="NUMBER" precision="2">
</column>
<column name="Z6D" type="NUMBER" precision="2">
</column>
<column name="Z6Z" type="NUMBER" precision="2">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="IMC_ODPPLAN">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="METODA" type="VARCHAR2" precision="1">
</column>
<column name="MESIACE" type="NUMBER" precision="3">
</column>
<column name="ODPPLAN" type="LONG">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="IMC_UCTODPISY">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="UOBST" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UIMA" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UOPR" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UODPZ" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UODPN" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UZAO" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UDPH" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UTZHNED" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="IMDOKUMENTY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16">
</column>
<column name="SUBOR" type="VARCHAR2" precision="254">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="IMEVID">
<columns>
<column name="XX" type="VARCHAR2" precision="12">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="DODAVATEL" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="D_NADOB" type="DATE">
</column>
<column name="DOKLNAD" type="VARCHAR2" precision="50">
</column>
<column name="SPOSNAD" type="VARCHAR2" precision="1">
</column>
<column name="CENANAD" type="NUMBER" precision="8" scale="2">
</column>
<column name="BEZDPH" type="NUMBER" precision="8" scale="2">
</column>
<column name="DPH" type="NUMBER" precision="8" scale="2">
</column>
<column name="POCET" type="NUMBER" precision="6">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="D_ZARAD" type="DATE">
</column>
<column name="D_PREVZ" type="DATE">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="MIESTO" type="VARCHAR2" precision="8" referenceTable="C_IMMIESTO" referenceColumn="XX">
</column>
<column name="ZAM" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="D_VYRAD" type="DATE">
</column>
<column name="SPOSVYR" type="VARCHAR2" precision="1">
</column>
<column name="POZNAMKA" type="LONG">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="IMKARTY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1">
</column>
<column name="DRUH" type="VARCHAR2" precision="6" referenceTable="C_IMDRUH" referenceColumn="XX">
</column>
<column name="TYP" type="VARCHAR2" precision="6" referenceTable="C_IMTYP" referenceColumn="XX">
</column>
<column name="KLASPROD" type="VARCHAR2" precision="10" referenceTable="C_KLASPROD" referenceColumn="XX">
</column>
<column name="ODPSKUPINA" type="NUMBER" precision="1">
</column>
<column name="ODPSPOSOB" type="VARCHAR2" precision="1">
</column>
<column name="ODPUCTOV" type="VARCHAR2" precision="6" referenceTable="IMC_UCTODPISY" referenceColumn="XX">
</column>
<column name="ODPPLAN" type="VARCHAR2" precision="6" referenceTable="IMC_ODPPLAN" referenceColumn="XX">
</column>
<column name="ODPPERC" type="NUMBER" precision="5" scale="2">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="ZAM" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="UZIVATEL" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="MIESTO" type="VARCHAR2" precision="8" referenceTable="C_IMMIESTO" referenceColumn="XX">
</column>
<column name="D_ZARAD" type="DATE">
</column>
<column name="D_VYRAD" type="DATE">
</column>
<column name="D_ZARUKA" type="DATE">
</column>
<column name="VYROBCA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="VYRCIS" type="VARCHAR2" precision="40" referenceTable="VYR_CISLA" referenceColumn="VYR_CISLO">
</column>
<column name="DODAVATEL" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="SERVIS" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POZNAMKA" type="LONG">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XP" type="VARCHAR2" precision="6">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="IMPOHYBY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="IMKARTY" referenceColumn="XX">
</column>
<column name="POHYBN" type="NUMBER" precision="2">
</column>
<column name="POHYB" type="VARCHAR2" precision="1">
</column>
<column name="FORMA" type="VARCHAR2" precision="1">
</column>
<column name="DRUHVYRAD" type="VARCHAR2" precision="6" referenceTable="C_IMVYRAD" referenceColumn="XX">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="DOKLAD" type="VARCHAR2" precision="20">
</column>
<column name="BEZDPH" type="NUMBER" precision="13" scale="2">
</column>
<column name="DPH" type="NUMBER" precision="13" scale="2">
</column>
<column name="K_DPH" type="NUMBER" precision="6" scale="5">
</column>
<column name="SUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="Z_DPH" type="NUMBER" precision="13" scale="2">
</column>
<column name="ODPIS" type="NUMBER" precision="13" scale="2">
</column>
<column name="ODPISN" type="NUMBER" precision="13" scale="2">
</column>
<column name="ODPPRERUS" type="VARCHAR2" precision="1">
</column>
<column name="ODPISP" type="NUMBER" precision="13" scale="2">
</column>
<column name="ODPNEUPL" type="NUMBER" precision="13" scale="2">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="ZAM" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="MIESTO" type="VARCHAR2" precision="8" referenceTable="C_IMMIESTO" referenceColumn="XX">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
<column name="POCETCYKLOV" type="NUMBER" precision="9">
</column>
<column name="PREDLZENIE" type="NUMBER" precision="3">
</column>
<column name="CV_OPRU" type="NUMBER" precision="13" scale="2">
</column>
<column name="CV_OPRD" type="NUMBER" precision="13" scale="2">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="ORIGMODUL" type="VARCHAR2" precision="3">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="16">
</column>
</columns>
<indexes>
<index name="ORIG" type="NON_UNIQUE">
<definition>ORIGMODUL,ORIGXX</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="IMPRM">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="KOD" type="VARCHAR2" precision="16" referenceTable="IMKARTY" referenceColumn="XX">
</column>
<column name="PRM" type="VARCHAR2" precision="13" referenceTable="C_SKPRMR" referenceColumn="XX">
</column>
<column name="HODNOTA" type="VARCHAR2" precision="250">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD</definition>
</index>
<index name="KODPRM" type="UNIQUE">
<definition>KOD,PRM</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="IMSERVIS">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="IMKARTY" referenceColumn="XX">
</column>
<column name="DRUH" type="VARCHAR2" precision="6" referenceTable="C_IMSERVIS" referenceColumn="XX">
</column>
<column name="D_PLAN" type="DATE">
</column>
<column name="N_PLAN" type="NUMBER" precision="2">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="SUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="FAKTURA" type="VARCHAR2" precision="20">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="D_PLAN" type="NON_UNIQUE">
<definition>D_PLAN</definition>
</index>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="IMZOSTAVA">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="IMKARTY" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="DRUH" type="VARCHAR2" precision="6" referenceTable="C_IMZOSTAVA" referenceColumn="XX">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
<column name="SUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="D_VYRAD" type="DATE">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAM" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="MIESTO" type="VARCHAR2" precision="8" referenceTable="C_IMMIESTO" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="JCD">
<columns>
<column name="XX" type="VARCHAR2" precision="12">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="D_ZDANPL" type="DATE">
</column>
<column name="D_SPLATN" type="DATE">
</column>
<column name="D_ZAUCT" type="DATE">
</column>
<column name="D_ODPOC" type="DATE">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="ICDPH" type="VARCHAR2" precision="16">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="KS" type="VARCHAR2" precision="4">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="ZAKL1" type="NUMBER" precision="13" scale="2">
</column>
<column name="ZAKL2" type="NUMBER" precision="13" scale="2">
</column>
<column name="ZAKL3" type="NUMBER" precision="13" scale="2">
</column>
<column name="ZAKL4" type="NUMBER" precision="13" scale="2">
</column>
<column name="DAN1" type="NUMBER" precision="13" scale="2">
</column>
<column name="DAN2" type="NUMBER" precision="13" scale="2">
</column>
<column name="DAN3" type="NUMBER" precision="13" scale="2">
</column>
<column name="DAN4" type="NUMBER" precision="13" scale="2">
</column>
<column name="TYP1" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYP2" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYP3" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="TYP4" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="SUMAZAL" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMACLO" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMADPR" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMAUHR" type="NUMBER" precision="13" scale="2">
</column>
<column name="VSZAL" type="VARCHAR2" precision="20" referenceTable="UCTR" referenceColumn="VS">
</column>
<column name="SSZAL" type="VARCHAR2" precision="10">
</column>
<column name="UCETZAL" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCETCLO" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCETDPR" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCETZAO" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCETUHR" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UHRADADPH" type="VARCHAR2" precision="30">
</column>
<column name="XP" type="VARCHAR2" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="DZAUCT" type="NON_UNIQUE">
<definition>D_ZAUCT</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="KONZNAMKY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="ID" type="VARCHAR2" precision="10">
</column>
<column name="BALIK" type="VARCHAR2" precision="12">
</column>
<column name="SKOBAL" type="VARCHAR2" precision="12">
</column>
<column name="PROBAL" type="VARCHAR2" precision="12">
</column>
<column name="PREDMET" type="VARCHAR2" precision="1">
</column>
<column name="STAV" type="VARCHAR2" precision="1">
</column>
<column name="D_ZMENASTAVU" type="DATE">
</column>
<column name="ROZMER" type="VARCHAR2" precision="30">
</column>
<column name="D_ODOBRATIE" type="DATE">
</column>
<column name="D_OZNAMENIE" type="DATE">
</column>
<column name="D_EXPIRACIA" type="DATE">
</column>
<column name="TOVAR" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="OBJCIS" type="VARCHAR2" precision="30">
</column>
<column name="DOVODREKLAMACIE" type="VARCHAR2" precision="250">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="KURZLIST">
<columns>
<column name="XX" type="VARCHAR2" precision="11">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="KOD" type="VARCHAR2" precision="3">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="KURZZ" type="NUMBER" precision="12" scale="6">
</column>
<column name="MENJ" type="NUMBER" precision="7" referenceTable="C_MENY" referenceColumn="MENJ">
</column>
<column name="KURZ" type="NUMBER" precision="12" scale="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="KURZLIST" type="UNIQUE">
<definition>KOD,DATUM</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="LICENCIE">
<columns>
<column name="ZAMOK" type="VARCHAR2" precision="10">
</column>
<column name="KLUC" type="VARCHAR2" precision="10">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
<column name="XO" type="VARCHAR2" precision="30">
</column>
<column name="XD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="ZAMOK" type="UNIQUE">
<definition>ZAMOK</definition>
</index>
</indexes>
</table>
<table name="OBDOBIA">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="UO" type="VARCHAR2" precision="13">
</column>
<column name="XO" type="VARCHAR2" precision="30">
</column>
<column name="XD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="OBPDOD">
<columns>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="OBPH" referenceColumn="XX">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="16" referenceTable="SKLADH" referenceColumn="XX">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="ORIGDATUM" type="DATE">
</column>
</columns>
<indexes>
</indexes>
</table>
<table name="OBPH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="C_OBP" referenceColumn="XX">
</column>
<column name="CDOK" type="NUMBER" precision="9">
</column>
<column name="EXTCIS" type="VARCHAR2" precision="20">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="TRASA" type="VARCHAR2" precision="6" referenceTable="C_TRASY" referenceColumn="XX">
</column>
<column name="FIRMAREF" type="VARCHAR2" precision="30">
</column>
<column name="MIESTO" type="VARCHAR2" precision="60">
</column>
<column name="D_TERMIN" type="DATE">
</column>
<column name="T_TERMIN" type="NUMBER" precision="4">
</column>
<column name="D_POTVRD" type="DATE">
</column>
<column name="VYBA" type="VARCHAR2" precision="1" referenceTable="OBPR" referenceColumn="VYBA">
</column>
<column name="VYRADPT" type="VARCHAR2" precision="1">
</column>
<column name="VCELKU" type="VARCHAR2" precision="1">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="REFERENT" type="VARCHAR2" precision="30">
</column>
<column name="TELEFON" type="VARCHAR2" precision="30">
</column>
<column name="XP" type="VARCHAR2" precision="6">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKCENSKUP" referenceColumn="XX">
</column>
<column name="ZL_F" type="NUMBER" precision="6" scale="2" referenceTable="SKLADH" referenceColumn="ZL_F">
</column>
<column name="TEXT" type="LONG">
</column>
<column name="OBCHZAST" type="VARCHAR2" precision="6" referenceTable="C_OBCHZAST" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="FIRMA" type="NON_UNIQUE">
<definition>FIRMA</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="OBPR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="OBPH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1" referenceTable="SKLADR" referenceColumn="KATEGORIA">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="ZNAZOV" type="VARCHAR2" precision="50" referenceTable="TOVARY" referenceColumn="NAZOV">
</column>
<column name="ZAVAZNA" type="VARCHAR2" precision="1">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3">
</column>
<column name="MNDOD" type="NUMBER" precision="12" scale="3">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="D_POTVRD" type="DATE">
</column>
<column name="D_DOD" type="DATE">
</column>
<column name="VYBR" type="VARCHAR2" precision="1">
</column>
<column name="VYBA" type="VARCHAR2" precision="1">
</column>
<column name="REZERV" type="VARCHAR2" precision="1">
</column>
<column name="CM_CENN" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_CENN">
</column>
<column name="CM_JEDN" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_JEDN">
</column>
<column name="CM_BDPH" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_BDPH">
</column>
<column name="CM_SDPH" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_SDPH">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="SKLADR" referenceColumn="MENA">
</column>
<column name="ZL_TYP" type="VARCHAR2" precision="1" referenceTable="SKLADR" referenceColumn="ZL_TYP">
</column>
<column name="ZL_T" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZLAVA">
</column>
<column name="SADZBA_DPH" type="NUMBER" precision="5" scale="2" referenceTable="SKLADR" referenceColumn="SADZBA_DPH">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="SKLADR" referenceColumn="CENSKUP">
</column>
<column name="AKCIA" type="VARCHAR2" precision="8" referenceTable="C_SKAKCIE" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="OBVH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XP" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="XL" type="VARCHAR2" precision="1">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="C_OBV" referenceColumn="XX">
</column>
<column name="CDOK" type="NUMBER" precision="9">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="FIRMAREF" type="VARCHAR2" precision="30">
</column>
<column name="VOSKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="MIESTO" type="VARCHAR2" precision="60">
</column>
<column name="D_TERMIN" type="DATE">
</column>
<column name="T_TERMIN" type="NUMBER" precision="4">
</column>
<column name="D_POTVRD" type="DATE">
</column>
<column name="VYBA" type="VARCHAR2" precision="1">
</column>
<column name="VYRADPT" type="VARCHAR2" precision="1">
</column>
<column name="VCELKU" type="VARCHAR2" precision="1">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="REFERENT" type="VARCHAR2" precision="30">
</column>
<column name="TELEFON" type="VARCHAR2" precision="30">
</column>
<column name="TEXT" type="LONG">
</column>
<column name="FOOTER" type="VARCHAR2" precision="6" referenceTable="C_TEXT" referenceColumn="XX">
</column>
<column name="FLGEXPORT" type="VARCHAR2" precision="20">
</column>
<column name="EDISTAV" type="VARCHAR2" precision="1">
</column>
<column name="EDIPOZN" type="VARCHAR2" precision="250">
</column>
<column name="PEN_SUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="PEN_POZN" type="VARCHAR2" precision="250">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="OBVR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XH" type="VARCHAR2" precision="16">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="KOD" type="VARCHAR2" precision="20">
</column>
<column name="POPIS" type="VARCHAR2" precision="50">
</column>
<column name="NAKCENA" type="NUMBER" precision="14" scale="5">
</column>
<column name="MENA" type="VARCHAR2" precision="3">
</column>
<column name="MNWIZ" type="NUMBER" precision="12" scale="3">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3">
</column>
<column name="MNDOD" type="NUMBER" precision="12" scale="3">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3">
</column>
<column name="STR" type="VARCHAR2" precision="7">
</column>
<column name="ZAK" type="VARCHAR2" precision="10">
</column>
<column name="KP" type="VARCHAR2" precision="5">
</column>
<column name="D_POTVRD" type="DATE">
</column>
<column name="D_DOD" type="DATE">
</column>
<column name="VYBR" type="VARCHAR2" precision="1">
</column>
<column name="VYBA" type="VARCHAR2" precision="1">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="WPRIORITA" type="VARCHAR2" precision="1">
</column>
<column name="WZMENA" type="VARCHAR2" precision="6">
</column>
<column name="WAKCIA" type="VARCHAR2" precision="1">
</column>
<column name="WID" type="VARCHAR2" precision="30">
</column>
</columns>
<indexes>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASADOKD">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16">
</column>
<column name="XN" type="NUMBER" precision="4">
</column>
<column name="SADZBA_DPH" type="NUMBER" precision="5" scale="2">
</column>
<column name="BDPH" type="NUMBER" precision="11" scale="2">
</column>
<column name="DPH" type="NUMBER" precision="11" scale="2">
</column>
<column name="SDPH" type="NUMBER" precision="11" scale="2">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASADOKH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="ZMAZANY" type="VARCHAR2" precision="1">
</column>
<column name="XP" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="KASA" type="VARCHAR2" precision="6">
</column>
<column name="TYPDOKLADU" type="VARCHAR2" precision="1">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="CAS" type="NUMBER" precision="4">
</column>
<column name="CDOK" type="NUMBER" precision="4">
</column>
<column name="DFISK" type="DATE">
</column>
<column name="UZAVD" type="NUMBER" precision="6">
</column>
<column name="DANDOKLAD" type="NUMBER" precision="4">
</column>
<column name="SUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="ZAOKR" type="NUMBER" precision="11" scale="2">
</column>
<column name="HOTOVOST" type="NUMBER" precision="11" scale="2">
</column>
<column name="SEK1" type="NUMBER" precision="11" scale="2">
</column>
<column name="SEK2" type="NUMBER" precision="11" scale="2">
</column>
<column name="SEK3" type="NUMBER" precision="11" scale="2">
</column>
<column name="KARTASUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="KARTATRANS" type="VARCHAR2" precision="10">
</column>
<column name="KARTAKOD" type="VARCHAR2" precision="20" referenceTable="ECR_ZAK" referenceColumn="XX">
</column>
<column name="KARTAOSC" type="VARCHAR2" precision="8">
</column>
<column name="KARTASTR" type="VARCHAR2" precision="10">
</column>
<column name="KARTATYP" type="VARCHAR2" precision="1">
</column>
<column name="FLGSTAV" type="VARCHAR2" precision="1">
</column>
<column name="FLGEXPORT" type="VARCHAR2" precision="10">
</column>
<column name="FLGODPIS" type="VARCHAR2" precision="16">
</column>
<column name="VKLAD" type="NUMBER" precision="11" scale="2">
</column>
<column name="VYBER" type="NUMBER" precision="11" scale="2">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="FAKTURA" type="VARCHAR2" precision="30">
</column>
<column name="FAKTUCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="FAKTVS" type="VARCHAR2" precision="20" referenceTable="FAV" referenceColumn="VS">
</column>
<column name="FAKTSS" type="VARCHAR2" precision="10" referenceTable="FAV" referenceColumn="SS">
</column>
<column name="SEK1POZN" type="VARCHAR2" precision="30">
</column>
<column name="SEK2POZN" type="VARCHAR2" precision="30">
</column>
<column name="SEK3POZN" type="VARCHAR2" precision="30">
</column>
<column name="ZL_F" type="NUMBER" precision="6" scale="2" referenceTable="SKLADH" referenceColumn="ZL_F">
</column>
<column name="VYVOZ" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="KASADATUM" type="NON_UNIQUE">
<definition>KASA,DATUM</definition>
</index>
<index name="SKLADDATUM" type="NON_UNIQUE">
<definition>SKLAD,DATUM</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASADOKP">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16">
</column>
<column name="XN" type="NUMBER" precision="4">
</column>
<column name="DRUH" type="VARCHAR2" precision="1" referenceTable="C_PLATBY" referenceColumn="XX">
</column>
<column name="SUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="POPIS" type="VARCHAR2" precision="30">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASADOKR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="PCKASADOKH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="4">
</column>
<column name="BLOK" type="NUMBER" precision="4">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3">
</column>
<column name="CENNIK" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="UC_CENN">
</column>
<column name="CENA_T" type="NUMBER" precision="14" scale="5">
</column>
<column name="ZL_TYP" type="VARCHAR2" precision="1" referenceTable="SKLADR" referenceColumn="ZL_TYP">
</column>
<column name="ZL_TA" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZL_TB" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZL_TS" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZL_TZ" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZL_T" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2" referenceTable="TOVCENY" referenceColumn="ZL_T">
</column>
<column name="CENA" type="NUMBER" precision="14" scale="5">
</column>
<column name="SUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="AKCIA" type="VARCHAR2" precision="8" referenceTable="TOVCENY" referenceColumn="AKCIA">
</column>
<column name="SADZBA_DPH" type="NUMBER" precision="5" scale="2" referenceTable="TOVCENY" referenceColumn="SADZBA_DPH">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="TOVCENY" referenceColumn="CENSKUP">
</column>
<column name="ZMAZANY" type="VARCHAR2" precision="1">
</column>
<column name="INA_CENA" type="VARCHAR2" precision="1">
</column>
<column name="VYR_CISLO" type="VARCHAR2" precision="30" referenceTable="VYR_CISLA" referenceColumn="VYR_CISLO">
</column>
<column name="ZARUKA" type="DATE">
</column>
<column name="DOTACIA" type="VARCHAR2" precision="1">
</column>
<column name="CM_CENN" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_CENN">
</column>
<column name="CM_JEDN" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_JEDN">
</column>
<column name="CM_BDPH" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_BDPH">
</column>
<column name="CM_SUMA" type="NUMBER" precision="11" scale="2" referenceTable="SKLADR" referenceColumn="CM_SUMA">
</column>
<column name="ZNAZOV" type="VARCHAR2" precision="50" referenceTable="SKLADR" referenceColumn="ZNAZOV">
</column>
<column name="ZLAVAZAKL" type="NUMBER" precision="11" scale="2" referenceTable="SKLADR" referenceColumn="CM_SUMA">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="PREDAVAC" type="VARCHAR2" precision="8" referenceTable="PCKASAPOKL" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASAHOT">
<columns>
<column name="KLAVESY" type="VARCHAR2" precision="6">
</column>
<column name="XN" type="NUMBER" precision="4">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="FARBA" type="NUMBER" precision="8">
</column>
<column name="PRIKAZ" type="VARCHAR2" precision="6">
</column>
<column name="HODNOTA" type="VARCHAR2" precision="20">
</column>
<column name="CFGSADA" type="VARCHAR2" precision="6" referenceTable="PCKASALIST" referenceColumn="CFGSADA">
</column>
</columns>
<indexes>
<index name="HOTKEY" type="UNIQUE">
<definition>CFGSADA,KLAVESY,XN</definition>
</index>
</indexes>
</table>
<table name="PCKASALIST">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="XP" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="FILTER" type="VARCHAR2" precision="250">
</column>
<column name="LASTSYNC" type="TIMESTAMP">
</column>
<column name="CFGSADA" type="VARCHAR2" precision="6">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASALOG">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="TYP" type="NUMBER" precision="1">
</column>
<column name="KOD" type="VARCHAR2" precision="10">
</column>
<column name="OPERACIA" type="VARCHAR2" precision="250">
</column>
<column name="CAS" type="TIMESTAMP">
</column>
<column name="DETAIL" type="VARCHAR2" precision="250">
</column>
<column name="KASA" type="VARCHAR2" precision="6" referenceTable="PCKASADOKH" referenceColumn="KASA">
</column>
<column name="EXPORTOVANE" type="VARCHAR2" precision="1">
</column>
<column name="PRECITANE" type="VARCHAR2" precision="1">
</column>
<column name="PRIJATE" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="KASACAS" type="NON_UNIQUE">
<definition>KASA,CAS</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASAMSGH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="TYP" type="VARCHAR2" precision="3">
</column>
<column name="TEXT" type="VARCHAR2" precision="250">
</column>
<column name="ODOSLANE" type="DATE">
</column>
</columns>
<indexes>
<index name="ODOSLANE" type="NON_UNIQUE">
<definition>ODOSLANE</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASAMSGR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="PCKASAMSGH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="4">
</column>
<column name="KASA" type="VARCHAR2" precision="6" referenceTable="PCKASALIST" referenceColumn="XX">
</column>
<column name="PRECITAL" type="VARCHAR2" precision="8" referenceTable="PCKASAPOKL" referenceColumn="XX">
</column>
<column name="PRECITANE" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASAONLINE">
<columns>
<column name="PRIPOJENIE" type="VARCHAR2" precision="15">
</column>
<column name="CAS" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="PRIPOJENIE" type="UNIQUE">
<definition>PRIPOJENIE</definition>
</index>
</indexes>
</table>
<table name="PCKASAPOKL">
<columns>
<column name="XX" type="VARCHAR2" precision="8">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="30">
</column>
<column name="HESLO" type="VARCHAR2" precision="20">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XP" type="VARCHAR2" precision="100" referenceTable="PCKASADOKH" referenceColumn="XP">
</column>
<column name="PRAVO_PREDAJ" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_MAZAT" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_STORNO" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_ZLAVA" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_CENA" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_UZAV_X" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_UZAV_DZ" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_UZAV_MZ" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_MANAZER" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_KONIEC" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_KARTA_PRIDAT" type="VARCHAR2" precision="1">
</column>
<column name="PRAVO_KARTA_ZMENIT" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="HESLO" type="UNIQUE">
<definition>HESLO</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASAUCTY">
<columns>
<column name="H_UCET" type="NUMBER" precision="9">
</column>
<column name="H_ZAKTYP" type="VARCHAR2" precision="1">
</column>
<column name="H_ZAKAZNIK" type="VARCHAR2" precision="17">
</column>
<column name="H_ZAKMENO" type="VARCHAR2" precision="120">
</column>
<column name="H_POKLADNIK" type="VARCHAR2" precision="30" referenceTable="PCKASADOKH" referenceColumn="XIO">
</column>
<column name="H_POZNAMKA" type="VARCHAR2" precision="250" referenceTable="PCKASADOKH" referenceColumn="POZNAMKA">
</column>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XN" type="NUMBER" precision="4" referenceTable="PCKASADOKR" referenceColumn="XN">
</column>
<column name="XD" type="TIMESTAMP">
</column>
<column name="BLOK" type="NUMBER" precision="4" referenceTable="PCKASADOKR" referenceColumn="BLOK">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3" referenceTable="PCKASADOKR" referenceColumn="MN">
</column>
<column name="ZMAZANE" type="VARCHAR2" precision="1">
</column>
<column name="VAZBA" type="VARCHAR2" precision="1">
</column>
<column name="VYR_CISLO" type="VARCHAR2" precision="30" referenceTable="PCKASADOKR" referenceColumn="VYR_CISLO">
</column>
<column name="ZARUKA" type="DATE" referenceTable="PCKASADOKR" referenceColumn="ZARUKA">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250" referenceTable="PCKASADOKR" referenceColumn="POZNAMKA">
</column>
<column name="ZNAZOV" type="VARCHAR2" precision="50" referenceTable="PCKASADOKR" referenceColumn="ZNAZOV">
</column>
<column name="PREDAVAC" type="VARCHAR2" precision="8" referenceTable="PCKASAPOKL" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="H_UCET" type="NON_UNIQUE">
<definition>H_UCET</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PCKASAZURNALY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="FISKAL" type="VARCHAR2" precision="9" referenceTable="ECR_LIST" referenceColumn="XX">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="ZURNAL" type="LONG">
</column>
<column name="SUBOR" type="VARCHAR2" precision="32">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="PDRIADKY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="HBI" type="VARCHAR2" precision="1">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1">
</column>
<column name="CDOK" type="NUMBER" precision="8" referenceTable="UCTH" referenceColumn="CDOK">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="ORIGMODUL" type="VARCHAR2" precision="3">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="16">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="POCSTAV" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMACM" type="NUMBER" precision="13" scale="2">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="KURZ" type="NUMBER" precision="12" scale="6">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="SZPT" type="NUMBER" precision="13" scale="2">
</column>
<column name="SZPV" type="NUMBER" precision="13" scale="2">
</column>
<column name="SZPS" type="NUMBER" precision="13" scale="2">
</column>
<column name="SZPI" type="NUMBER" precision="13" scale="2">
</column>
<column name="SNPZ" type="NUMBER" precision="13" scale="2">
</column>
<column name="SNPD" type="NUMBER" precision="13" scale="2">
</column>
<column name="SNPV" type="NUMBER" precision="13" scale="2">
</column>
<column name="SNPI" type="NUMBER" precision="13" scale="2">
</column>
<column name="SZVM" type="NUMBER" precision="13" scale="2">
</column>
<column name="SZVT" type="NUMBER" precision="13" scale="2">
</column>
<column name="SZVZ" type="NUMBER" precision="13" scale="2">
</column>
<column name="SZVF" type="NUMBER" precision="13" scale="2">
</column>
<column name="SZVR" type="NUMBER" precision="13" scale="2">
</column>
<column name="SZVS" type="NUMBER" precision="13" scale="2">
</column>
<column name="SZVI" type="NUMBER" precision="13" scale="2">
</column>
<column name="SNVM" type="NUMBER" precision="13" scale="2">
</column>
<column name="SNVP" type="NUMBER" precision="13" scale="2">
</column>
<column name="SNVD" type="NUMBER" precision="13" scale="2">
</column>
<column name="SNVR" type="NUMBER" precision="13" scale="2">
</column>
<column name="SNVI" type="NUMBER" precision="13" scale="2">
</column>
<column name="SPPP" type="NUMBER" precision="13" scale="2">
</column>
<column name="SPPV" type="NUMBER" precision="13" scale="2">
</column>
<column name="FLGIMPORT" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="PD_DOKLAD" type="NON_UNIQUE">
<definition>DATUM,XN</definition>
</index>
<index name="PD_XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="POSTA">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="EVCIS" type="NUMBER" precision="6">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="PV" type="VARCHAR2" precision="1">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="REFERENT" type="VARCHAR2" precision="30">
</column>
<column name="SPIS" type="VARCHAR2" precision="10" referenceTable="C_P_SPIS" referenceColumn="XX">
</column>
<column name="DRUH" type="VARCHAR2" precision="6" referenceTable="C_P_DRUH" referenceColumn="XX">
</column>
<column name="PRIORITA" type="VARCHAR2" precision="1">
</column>
<column name="VECSKUP" type="VARCHAR2" precision="8" referenceTable="C_P_VECSKUP" referenceColumn="XX">
</column>
<column name="REGZN" type="VARCHAR2" precision="8" referenceTable="C_P_RZ" referenceColumn="XX">
</column>
<column name="VEC" type="VARCHAR2" precision="60">
</column>
<column name="PRILOHY" type="VARCHAR2" precision="60">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="VYBAVUJE" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="D_TERMIN" type="DATE">
</column>
<column name="D_PREVZAL" type="DATE">
</column>
<column name="D_VYBAVENE" type="DATE">
</column>
<column name="B_TERMIN" type="VARCHAR2" precision="1">
</column>
<column name="CDORUC" type="VARCHAR2" precision="25">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="EVCIS" type="NON_UNIQUE">
<definition>EVCIS</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="RSSTAV">
<columns>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="MIESTO" type="VARCHAR2" precision="16" referenceTable="C_SKMIESTO" referenceColumn="XX">
</column>
<column name="SARZA" type="VARCHAR2" precision="20">
</column>
<column name="D_VYROBA" type="DATE">
</column>
<column name="D_SPOTREBA" type="DATE">
</column>
<column name="STAV" type="NUMBER" precision="12" scale="3">
</column>
</columns>
<indexes>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD</definition>
</index>
</indexes>
</table>
<table name="SALDET">
<columns>
<column name="SALXX" type="VARCHAR2" precision="58" referenceTable="SALDO" referenceColumn="XX">
</column>
<column name="SALDO" type="VARCHAR2" precision="1" referenceTable="C_UCT_ROZVRH" referenceColumn="SALDO">
</column>
<column name="FLG_SAL" type="VARCHAR2" precision="1" referenceTable="UCTR" referenceColumn="FLG_SAL">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="VS" type="VARCHAR2" precision="20" referenceTable="UCTR" referenceColumn="VS">
</column>
<column name="SS" type="VARCHAR2" precision="10" referenceTable="UCTR" referenceColumn="SS">
</column>
<column name="KS" type="VARCHAR2" precision="4" referenceTable="UCTR" referenceColumn="KS">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="SPLATNOST" type="DATE">
</column>
<column name="BANKUCET" type="VARCHAR2" precision="34" referenceTable="FIRUCTY" referenceColumn="UCET">
</column>
<column name="SP_UHRADY" type="VARCHAR2" precision="1">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="MD" type="VARCHAR2" precision="1">
</column>
<column name="SUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMACM" type="NUMBER" precision="13" scale="2">
</column>
<column name="ORIGMODUL" type="VARCHAR2" precision="3">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="16">
</column>
</columns>
<indexes>
<index name="SALXX" type="NON_UNIQUE">
<definition>SALXX</definition>
</index>
</indexes>
</table>
<table name="SALDO">
<columns>
<column name="XX" type="VARCHAR2" precision="58">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="KS" type="VARCHAR2" precision="4">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="SPLATNOST" type="DATE">
</column>
<column name="BANKUCET" type="VARCHAR2" precision="34" referenceTable="FIRUCTY" referenceColumn="UCET">
</column>
<column name="SP_UHRADY" type="VARCHAR2" precision="1">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="FLG_PAR" type="VARCHAR2" precision="1">
</column>
<column name="SALDO" type="VARCHAR2" precision="1" referenceTable="C_UCT_ROZVRH" referenceColumn="SALDO">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="MSUMAUC" type="NUMBER" precision="13" scale="2">
</column>
<column name="DSUMAUC" type="NUMBER" precision="13" scale="2">
</column>
<column name="MSUMACM" type="NUMBER" precision="13" scale="2">
</column>
<column name="DSUMACM" type="NUMBER" precision="13" scale="2">
</column>
<column name="ORIGMODUL" type="VARCHAR2" precision="3">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="16">
</column>
<column name="D_UHRAD" type="DATE">
</column>
<column name="ERRORTEXT" type="VARCHAR2" precision="30">
</column>
</columns>
<indexes>
<index name="UFVS" type="NON_UNIQUE">
<definition>UCET,FIRMA,POBOCKA,VS,SS</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SALPS">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="KS" type="VARCHAR2" precision="4">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="SPLATNOST" type="DATE">
</column>
<column name="BANKUCET" type="VARCHAR2" precision="34" referenceTable="FIRUCTY" referenceColumn="UCET">
</column>
<column name="SP_UHRADY" type="VARCHAR2" precision="1">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="MD" type="VARCHAR2" precision="1">
</column>
<column name="SUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="SUMACM" type="NUMBER" precision="13" scale="2">
</column>
<column name="ORIGMODUL" type="VARCHAR2" precision="3">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="UFVS" type="NON_UNIQUE">
<definition>UCET,FIRMA,POBOCKA,VS,SS</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SERVISH">
<columns>
<column name="XX" type="VARCHAR2" precision="10">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="DRUH" type="VARCHAR2" precision="6">
</column>
<column name="ZNACKA" type="VARCHAR2" precision="10" referenceTable="C_SKZNACKY" referenceColumn="XX">
</column>
<column name="MODEL" type="VARCHAR2" precision="10">
</column>
<column name="SERIALNO" type="VARCHAR2" precision="20">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="PRIORITA" type="VARCHAR2" precision="1">
</column>
<column name="D_ODOVZD" type="DATE">
</column>
<column name="D_ZARUKA" type="DATE">
</column>
<column name="MNOZSTVO" type="NUMBER" precision="8">
</column>
<column name="TECHNIK" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="FLG1" type="VARCHAR2" precision="1">
</column>
<column name="FLG2" type="VARCHAR2" precision="1">
</column>
<column name="FLG3" type="VARCHAR2" precision="1">
</column>
<column name="FLG4" type="VARCHAR2" precision="1">
</column>
<column name="FLG5" type="VARCHAR2" precision="1">
</column>
<column name="NEAKTIVNA" type="VARCHAR2" precision="1">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SERVISP">
<columns>
<column name="XH" type="VARCHAR2" precision="10" referenceTable="SERVISH" referenceColumn="XX">
</column>
<column name="POZNAMKA" type="LONG">
</column>
</columns>
<indexes>
<index name="XH" type="UNIQUE">
<definition>XH</definition>
</index>
</indexes>
</table>
<table name="SERVISR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="10" referenceTable="SERVISH" referenceColumn="XX">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="DRUH" type="VARCHAR2" precision="6">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="TECHNIK1" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="TECHNIK2" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="VYBAVENE" type="VARCHAR2" precision="1">
</column>
<column name="FAKTUROVAT" type="VARCHAR2" precision="1">
</column>
<column name="FAKTUROVANE" type="VARCHAR2" precision="1">
</column>
<column name="SPRAVA" type="VARCHAR2" precision="250">
</column>
<column name="CAS" type="NUMBER" precision="4">
</column>
<column name="DLZKA" type="NUMBER" precision="4">
</column>
<column name="STAV" type="NUMBER" precision="8">
</column>
<column name="SERVISKOPIE" type="NUMBER" precision="8">
</column>
<column name="PRIORITA" type="VARCHAR2" precision="1">
</column>
<column name="FLG0" type="VARCHAR2" precision="1">
</column>
<column name="FLG1" type="VARCHAR2" precision="1">
</column>
<column name="FLG2" type="VARCHAR2" precision="1">
</column>
<column name="FLG3" type="VARCHAR2" precision="1">
</column>
<column name="FLG4" type="VARCHAR2" precision="1">
</column>
<column name="FLG5" type="VARCHAR2" precision="1">
</column>
<column name="FLG6" type="VARCHAR2" precision="1">
</column>
<column name="FLG7" type="VARCHAR2" precision="1">
</column>
<column name="FLG8" type="VARCHAR2" precision="1">
</column>
<column name="FLG9" type="VARCHAR2" precision="1">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKALIAS">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="ALIAS" type="VARCHAR2" precision="6" referenceTable="C_SKALIAS" referenceColumn="XX">
</column>
<column name="AKOD" type="VARCHAR2" precision="20">
</column>
<column name="ANAZOV" type="VARCHAR2" precision="50">
</column>
<column name="AEAN" type="VARCHAR2" precision="16" referenceTable="TOVARY" referenceColumn="EAN">
</column>
<column name="ABALENIE" type="NUMBER" precision="6">
</column>
<column name="AMJ" type="VARCHAR2" precision="3">
</column>
</columns>
<indexes>
<index name="ID" type="UNIQUE">
<definition>KOD,ALIAS</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKINVH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="STAV" type="VARCHAR2" precision="1">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="FILTER" type="VARCHAR2" precision="250">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="250">
</column>
<column name="PC_CENSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKCENSKUP" referenceColumn="XX">
</column>
<column name="PC_ADRTYP" type="VARCHAR2" precision="6" referenceTable="C_ADRTYP" referenceColumn="XX">
</column>
<column name="PC_ADRESA" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="XP" type="VARCHAR2" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKINVR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="8">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="SKINVH" referenceColumn="XX">
</column>
<column name="LIST" type="NUMBER" precision="6">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3">
</column>
<column name="NADCENA" type="NUMBER" precision="14" scale="5">
</column>
<column name="MIESTO" type="VARCHAR2" precision="16" referenceTable="SKLADZ" referenceColumn="MIESTO">
</column>
<column name="SARZA" type="VARCHAR2" precision="20" referenceTable="SKLADZ" referenceColumn="SARZA">
</column>
<column name="D_VYROBA" type="DATE" referenceTable="SKLADZ" referenceColumn="D_VYROBA">
</column>
<column name="D_SPOTREBA" type="DATE" referenceTable="SKLADZ" referenceColumn="D_SPOTREBA">
</column>
<column name="SSCC" type="VARCHAR2" precision="18" referenceTable="SKLADZ" referenceColumn="SSCC">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="SKINVLIST1" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="SKINVLIST2" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKINVXRS">
<columns>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="SKINVH" referenceColumn="XX">
</column>
<column name="KOD" type="VARCHAR2" precision="20">
</column>
<column name="MNUCT" type="NUMBER" precision="12" scale="3">
</column>
<column name="MNSKUT" type="NUMBER" precision="12" scale="3">
</column>
<column name="MIESTO" type="VARCHAR2" precision="16">
</column>
<column name="SARZA" type="VARCHAR2" precision="20">
</column>
<column name="D_VYROBA" type="DATE">
</column>
<column name="D_SPOTREBA" type="DATE">
</column>
<column name="SSCC" type="VARCHAR2" precision="18">
</column>
</columns>
<indexes>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
</indexes>
</table>
<table name="SKINVXUC">
<columns>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="SKINVH" referenceColumn="XX">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="MNUCT" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="MNSKUT" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="NCUCT" type="NUMBER" precision="13" scale="2">
</column>
<column name="NCROZD" type="NUMBER" precision="13" scale="2">
</column>
<column name="NC" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="NADCENA">
</column>
<column name="PC" type="NUMBER" precision="14" scale="5" referenceTable="TOVCENY" referenceColumn="CM_BDPH">
</column>
<column name="FIFOCOUNT" type="NUMBER" precision="6">
</column>
</columns>
<indexes>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
</indexes>
</table>
<table name="SKLADH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XP" type="VARCHAR2" precision="6">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1" referenceTable="C_SKDOK" referenceColumn="KATEGORIA">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="C_SKDOK" referenceColumn="XX">
</column>
<column name="CDOK" type="NUMBER" precision="9">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="D_TERMIN" type="DATE">
</column>
<column name="T_TERMIN" type="NUMBER" precision="4">
</column>
<column name="SUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="DDTYP" type="VARCHAR2" precision="1">
</column>
<column name="DDXX" type="VARCHAR2" precision="16" referenceTable="FAV" referenceColumn="XX">
</column>
<column name="DODLIST" type="VARCHAR2" precision="20">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="MIESTO" type="VARCHAR2" precision="60">
</column>
<column name="VS" type="VARCHAR2" precision="20" referenceTable="UCTR" referenceColumn="VS">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="ZL_F" type="NUMBER" precision="6" scale="2">
</column>
<column name="TRASA" type="VARCHAR2" precision="6" referenceTable="C_TRASY" referenceColumn="XX">
</column>
<column name="OBCHOD" type="VARCHAR2" precision="3" referenceTable="C_OBCHOD" referenceColumn="XX">
</column>
<column name="DOPRAVA" type="VARCHAR2" precision="6" referenceTable="C_DOPRAVA" referenceColumn="XX">
</column>
<column name="INCOTERM" type="VARCHAR2" precision="3" referenceTable="C_INCOTERM" referenceColumn="XX">
</column>
<column name="STAT_EU" type="VARCHAR2" precision="2" referenceTable="C_STATY" referenceColumn="XX">
</column>
<column name="RSSTAV" type="VARCHAR2" precision="1">
</column>
<column name="OBCHZAST" type="VARCHAR2" precision="6" referenceTable="C_OBCHZAST" referenceColumn="XX">
</column>
<column name="FLGEXPORT" type="VARCHAR2" precision="10">
</column>
<column name="EDISTAV" type="VARCHAR2" precision="1">
</column>
<column name="EDIPOZN" type="VARCHAR2" precision="250">
</column>
<column name="VYVOZ" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="DOKLAD" type="NON_UNIQUE">
<definition>DRUHDOK,CDOK</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKLADR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="SKLADH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="BLOK" type="NUMBER" precision="4">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="SKLADH" referenceColumn="DRUHDOK">
</column>
<column name="CDOK" type="NUMBER" precision="9" referenceTable="SKLADH" referenceColumn="CDOK">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="NORMA" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1" referenceTable="TOVARY" referenceColumn="KATEGORIA">
</column>
<column name="NADCENA" type="NUMBER" precision="14" scale="5">
</column>
<column name="NAKCENA" type="NUMBER" precision="14" scale="5">
</column>
<column name="OBSTNAK" type="NUMBER" precision="14" scale="5">
</column>
<column name="ZL_TYP" type="VARCHAR2" precision="1" referenceTable="TOVCENY" referenceColumn="ZL_TYP">
</column>
<column name="ZL_T" type="NUMBER" precision="6" scale="2" referenceTable="TOVCENY" referenceColumn="ZL_T">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="KURZ" type="NUMBER" precision="12" scale="6" referenceTable="KURZLIST" referenceColumn="KURZ">
</column>
<column name="CM_CENN" type="NUMBER" precision="14" scale="5" referenceTable="TOVCENY" referenceColumn="CM_BDPH">
</column>
<column name="CM_JEDN" type="NUMBER" precision="14" scale="5" referenceTable="TOVCENY" referenceColumn="CM_BDPH">
</column>
<column name="CM_BDPH" type="NUMBER" precision="14" scale="5" referenceTable="TOVCENY" referenceColumn="CM_BDPH">
</column>
<column name="CM_SDPH" type="NUMBER" precision="14" scale="5" referenceTable="TOVCENY" referenceColumn="CM_SDPH">
</column>
<column name="CM_SUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="UC_CENN" type="NUMBER" precision="14" scale="5">
</column>
<column name="UC_BDPH" type="NUMBER" precision="14" scale="5">
</column>
<column name="UC_SDPH" type="NUMBER" precision="14" scale="5">
</column>
<column name="UC_SUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="SADZBA_DPH" type="NUMBER" precision="5" scale="2">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKCENSKUP" referenceColumn="XX">
</column>
<column name="MNP" type="NUMBER" precision="12" scale="3">
</column>
<column name="MNV" type="NUMBER" precision="12" scale="3">
</column>
<column name="MNVS" type="NUMBER" precision="12" scale="3">
</column>
<column name="MIESTO" type="VARCHAR2" precision="10">
</column>
<column name="ZARUKA" type="DATE">
</column>
<column name="OBJTYP" type="VARCHAR2" precision="1">
</column>
<column name="OBJXX" type="VARCHAR2" precision="16" referenceTable="OBPH" referenceColumn="XX">
</column>
<column name="OBJCIS" type="VARCHAR2" precision="16">
</column>
<column name="EXTXX" type="VARCHAR2" precision="16" referenceTable="EXTDOKH" referenceColumn="XX">
</column>
<column name="AKCIA" type="VARCHAR2" precision="8" referenceTable="C_SKAKCIE" referenceColumn="XX">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="ZNAZOV" type="VARCHAR2" precision="50" referenceTable="TOVARY" referenceColumn="NAZOV">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="SKLADNIK" type="VARCHAR2" precision="8">
</column>
<column name="D_VYSKLAD" type="DATE">
</column>
<column name="T_VYSKLAD" type="NUMBER" precision="4">
</column>
<column name="VAZBAXX" type="VARCHAR2" precision="16" referenceTable="SKLADR" referenceColumn="XX">
</column>
<column name="VAZBATYP" type="VARCHAR2" precision="1">
</column>
<column name="INFO_FLAG" type="VARCHAR2" precision="1">
</column>
<column name="ORIGDATUM" type="DATE">
</column>
<column name="ORIGNC" type="NUMBER" precision="14" scale="5">
</column>
<column name="PDATUM" type="DATE">
</column>
<column name="FLG_IMA" type="VARCHAR2" precision="1">
</column>
<column name="FLG_RS" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD</definition>
</index>
<index name="SKLAD" type="NON_UNIQUE">
<definition>SKLAD</definition>
</index>
<index name="VAZBAXX" type="NON_UNIQUE">
<definition>VAZBAXX</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKLADX">
<columns>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="SKLADR" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="4">
</column>
<column name="NADCENA" type="NUMBER" precision="14" scale="5" referenceTable="SKSTAVY" referenceColumn="NADCENA">
</column>
<column name="MNP" type="NUMBER" precision="12" scale="3" referenceTable="SKSTAVY" referenceColumn="MNP">
</column>
<column name="MNV" type="NUMBER" precision="12" scale="3" referenceTable="SKSTAVY" referenceColumn="MNV">
</column>
<column name="VAZBAXX" type="VARCHAR2" precision="16" referenceTable="SKSTAVY" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="VAZBAXX" type="NON_UNIQUE">
<definition>VAZBAXX</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
</indexes>
</table>
<table name="SKLADZ">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="SKLADR" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="4">
</column>
<column name="SKLADHXX" type="VARCHAR2" precision="16" referenceTable="SKLADH" referenceColumn="XX">
</column>
<column name="DATUM" type="DATE" referenceTable="SKLADH" referenceColumn="DATUM">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="SKLADR" referenceColumn="SKLAD">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="SKLADR" referenceColumn="KOD">
</column>
<column name="MNP" type="NUMBER" precision="12" scale="3">
</column>
<column name="MNV" type="NUMBER" precision="12" scale="3">
</column>
<column name="MIESTO" type="VARCHAR2" precision="16" referenceTable="C_SKMIESTO" referenceColumn="XX">
</column>
<column name="SARZA" type="VARCHAR2" precision="20">
</column>
<column name="D_VYROBA" type="DATE">
</column>
<column name="D_SPOTREBA" type="DATE">
</column>
<column name="SSCC" type="VARCHAR2" precision="18">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="SKLADHXX" type="NON_UNIQUE">
<definition>SKLADHXX</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKMINSTAV">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="MINS" type="NUMBER" precision="12" scale="3">
</column>
<column name="MAXS" type="NUMBER" precision="12" scale="3">
</column>
<column name="MINH" type="NUMBER" precision="12" scale="3">
</column>
<column name="MAXH" type="NUMBER" precision="12" scale="3">
</column>
<column name="MINA" type="NUMBER" precision="12" scale="3">
</column>
<column name="MAXA" type="NUMBER" precision="12" scale="3">
</column>
<column name="DHFROM" type="DATE">
</column>
<column name="DHTO" type="DATE">
</column>
<column name="DAFROM" type="DATE">
</column>
<column name="DATO" type="DATE">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
<column name="OBJBAL" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="ID" type="UNIQUE">
<definition>KOD,SKLAD</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKNCENY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="OBDOBIE" type="VARCHAR2" precision="6">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="CENA" type="NUMBER" precision="14" scale="5">
</column>
</columns>
<indexes>
<index name="KSO" type="UNIQUE">
<definition>KOD,SKLAD,OBDOBIE</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKPOCOBALY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="KOD" type="VARCHAR2" precision="20">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="MN" type="NUMBER" precision="9">
</column>
</columns>
<indexes>
<index name="UO" type="NON_UNIQUE">
<definition>UO</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKROZPRAC">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XO" type="VARCHAR2" precision="30">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="BLOK" type="NUMBER" precision="4" referenceTable="SKLADR" referenceColumn="BLOK">
</column>
<column name="VAZBA" type="VARCHAR2" precision="1">
</column>
<column name="DRUH" type="VARCHAR2" precision="1">
</column>
<column name="SKLAD_PREVOD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="SKLADR" referenceColumn="SKLAD">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="SKLADR" referenceColumn="KOD">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1" referenceTable="SKLADR" referenceColumn="KATEGORIA">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="SKLADR" referenceColumn="CENSKUP">
</column>
<column name="CM_CENNSD" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_CENN">
</column>
<column name="CM_CENN" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_CENN">
</column>
<column name="CM_JEDN" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_JEDN">
</column>
<column name="CM_BDPH" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_BDPH">
</column>
<column name="CM_SDPH" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="CM_SDPH">
</column>
<column name="KURZ" type="NUMBER" precision="12" scale="6" referenceTable="SKLADR" referenceColumn="KURZ">
</column>
<column name="ZL_TYP" type="VARCHAR2" precision="1" referenceTable="SKLADR" referenceColumn="ZL_TYP">
</column>
<column name="ZL_T" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZLAVA">
</column>
<column name="MNP" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNP">
</column>
<column name="MNV" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="SADZBA_DPH" type="NUMBER" precision="5" scale="2" referenceTable="SKLADR" referenceColumn="SADZBA_DPH">
</column>
<column name="NADCENA" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="NADCENA">
</column>
<column name="NAKCENA" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="NAKCENA">
</column>
<column name="OBSTNAK" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="OBSTNAK">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="SKLADR" referenceColumn="MENA">
</column>
<column name="MIESTO" type="VARCHAR2" precision="10">
</column>
<column name="ZARUKA" type="DATE">
</column>
<column name="OBJTYP" type="VARCHAR2" precision="1">
</column>
<column name="OBJXX" type="VARCHAR2" precision="16" referenceTable="SKLADR" referenceColumn="OBJXX">
</column>
<column name="EXTXX" type="VARCHAR2" precision="16" referenceTable="EXTDOKH" referenceColumn="XX">
</column>
<column name="OBJCIS" type="VARCHAR2" precision="16" referenceTable="SKLADR" referenceColumn="OBJXX">
</column>
<column name="AKCIA" type="VARCHAR2" precision="8" referenceTable="SKLADR" referenceColumn="AKCIA">
</column>
<column name="POPIS" type="VARCHAR2" precision="250" referenceTable="SKLADR" referenceColumn="POPIS">
</column>
<column name="ZNAZOV" type="VARCHAR2" precision="50" referenceTable="SKLADR" referenceColumn="ZNAZOV">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="SKLADR" referenceColumn="STR">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="SKLADR" referenceColumn="ZAK">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="SKLADR" referenceColumn="KP">
</column>
<column name="NORMA" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="VAZBAXX" type="VARCHAR2" precision="16" referenceTable="SKLADR" referenceColumn="VAZBAXX">
</column>
<column name="VAZBATYP" type="VARCHAR2" precision="1" referenceTable="SKLADR" referenceColumn="VAZBATYP">
</column>
<column name="STR_PREVOD" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK_PREVOD" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP_PREVOD" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="INFO_FLAG" type="VARCHAR2" precision="1" referenceTable="SKLADR" referenceColumn="INFO_FLAG">
</column>
<column name="ORIGNC" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="ORIGNC">
</column>
<column name="PDATUM" type="DATE">
</column>
<column name="VYVOZ" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XO" type="NON_UNIQUE">
<definition>XO,DRUH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKSTAVY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="NADCENA" type="NUMBER" precision="14" scale="5">
</column>
<column name="NAKCENA" type="NUMBER" precision="14" scale="5">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="ZARUKA" type="DATE">
</column>
<column name="MIESTO" type="VARCHAR2" precision="10">
</column>
<column name="MNP" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNP">
</column>
<column name="MNV" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="XP" type="VARCHAR2" precision="6">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="50" referenceTable="SKLADR" referenceColumn="POPIS">
</column>
<column name="ORIGDATUM" type="DATE">
</column>
<column name="PDATUM" type="DATE">
</column>
<column name="NEAKTIVNA" type="VARCHAR2" precision="1">
</column>
<column name="PREVODXX" type="VARCHAR2" precision="16">
</column>
</columns>
<indexes>
<index name="ASKLADKOD" type="NON_UNIQUE">
<definition>SKLAD,KOD</definition>
</index>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SKZLAV">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="DRUH" type="VARCHAR2" precision="6" referenceTable="C_SKDRUH" referenceColumn="XX">
</column>
<column name="ODBSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKODBSKUP" referenceColumn="XX">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
</columns>
<indexes>
<index name="ID" type="UNIQUE">
<definition>DRUH,ODBSKUP</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SLOVNIK">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="TABULKA" type="VARCHAR2" precision="30">
</column>
<column name="JAZYK" type="VARCHAR2" precision="3">
</column>
<column name="KOD" type="VARCHAR2" precision="20">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
</columns>
<indexes>
<index name="ID" type="UNIQUE">
<definition>TABULKA, JAZYK, KOD</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="SQLSKRIPTY">
<columns>
<column name="XX" type="VARCHAR2" precision="12">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="SKRIPT" type="LONG">
</column>
<column name="OCHRANA" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="STAT_PREDAJ">
<columns>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="SKLADR" referenceColumn="DRUHDOK">
</column>
<column name="CDOK" type="NUMBER" precision="9" referenceTable="SKLADR" referenceColumn="CDOK">
</column>
<column name="DATUM" type="DATE" referenceTable="SKLADR" referenceColumn="DATUM">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="INFO_FLAG" type="VARCHAR2" precision="1" referenceTable="SKLADR" referenceColumn="INFO_FLAG">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="SKLADR" referenceColumn="SKLAD">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="SKLADR" referenceColumn="KOD">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1" referenceTable="SKLADR" referenceColumn="KATEGORIA">
</column>
<column name="NADCENA" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="NADCENA">
</column>
<column name="ZL_TYP" type="VARCHAR2" precision="1" referenceTable="SKLADR" referenceColumn="ZL_TYP">
</column>
<column name="ZL_T" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZLAVA" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZLAVA">
</column>
<column name="UC_CENN" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="UC_CENN">
</column>
<column name="UC_BDPH" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="UC_BDPH">
</column>
<column name="UC_SDPH" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="UC_SDPH">
</column>
<column name="UC_SUMA" type="NUMBER" precision="11" scale="2" referenceTable="SKLADR" referenceColumn="UC_SUMA">
</column>
<column name="SADZBA_DPH" type="NUMBER" precision="5" scale="2" referenceTable="SKLADR" referenceColumn="SADZBA_DPH">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="SKLADR" referenceColumn="CENSKUP">
</column>
<column name="MNV" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="AKCIA" type="VARCHAR2" precision="8" referenceTable="SKLADR" referenceColumn="AKCIA">
</column>
<column name="POPIS" type="VARCHAR2" precision="250" referenceTable="SKLADR" referenceColumn="POPIS">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="SKLADR" referenceColumn="STR">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="SKLADR" referenceColumn="ZAK">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="SKLADR" referenceColumn="KP">
</column>
<column name="SKLADNIK" type="VARCHAR2" precision="8" referenceTable="SKLADR" referenceColumn="SKLADNIK">
</column>
<column name="D_VYSKLAD" type="DATE" referenceTable="SKLADR" referenceColumn="D_VYSKLAD">
</column>
<column name="T_VYSKLAD" type="NUMBER" precision="4" referenceTable="SKLADR" referenceColumn="T_VYSKLAD">
</column>
<column name="MNBAL" type="NUMBER" precision="12" scale="3">
</column>
<column name="MNPAL" type="NUMBER" precision="12" scale="3">
</column>
<column name="MN2" type="NUMBER" precision="12" scale="3">
</column>
<column name="MNHM" type="NUMBER" precision="12" scale="3">
</column>
<column name="MNOBJ" type="NUMBER" precision="12" scale="3">
</column>
<column name="MNJEDN" type="NUMBER" precision="12" scale="3">
</column>
<column name="DKATG" type="VARCHAR2" precision="1">
</column>
<column name="DDRUH" type="VARCHAR2" precision="6" referenceTable="FAV" referenceColumn="DF">
</column>
<column name="DCDOK" type="VARCHAR2" precision="12" referenceTable="FAV" referenceColumn="FAKTC">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="TRASA" type="VARCHAR2" precision="6" referenceTable="C_TRASY" referenceColumn="XX">
</column>
<column name="ODRUH" type="VARCHAR2" precision="6" referenceTable="OBPH" referenceColumn="DRUHDOK">
</column>
<column name="OCDOK" type="NUMBER" precision="9" referenceTable="OBPH" referenceColumn="CDOK">
</column>
<column name="FSTAT" type="VARCHAR2" precision="2" referenceTable="C_STATY" referenceColumn="XX">
</column>
<column name="FKRAJ" type="VARCHAR2" precision="2" referenceTable="FIRMY" referenceColumn="KRAJ">
</column>
<column name="FOKRES" type="VARCHAR2" precision="2" referenceTable="FIRMY" referenceColumn="OKRES">
</column>
<column name="FMESTO" type="VARCHAR2" precision="40" referenceTable="FIRMY" referenceColumn="MESTO">
</column>
<column name="FKLUC1" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="KLUC1">
</column>
<column name="FKLUC2" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="KLUC2">
</column>
<column name="FKLUC3" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="KLUC3">
</column>
<column name="FSKALIAS" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="SKALIAS">
</column>
<column name="FODBSKUP" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="ODBSKUP">
</column>
<column name="CH_BDPH" type="NUMBER" precision="11" scale="2">
</column>
</columns>
<indexes>
<index name="UO" type="NON_UNIQUE">
<definition>UO</definition>
</index>
</indexes>
</table>
<table name="STAT_PREDAJ_PRM">
<columns>
<column name="UO" type="VARCHAR2" precision="6" referenceTable="STAT_PREDAJ" referenceColumn="UO">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="PERCENTO" type="NUMBER" precision="9" scale="5">
</column>
<column name="RPOBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
</columns>
<indexes>
<index name="UO" type="NON_UNIQUE">
<definition>UO</definition>
</index>
</indexes>
</table>
<table name="TALOS_BODY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="KARTA" type="VARCHAR2" precision="20" referenceTable="ECR_ZAK" referenceColumn="XX">
</column>
<column name="POHYB" type="VARCHAR2" precision="1">
</column>
<column name="BODYPLUS" type="NUMBER" precision="11" scale="2">
</column>
<column name="BODYMINUS" type="NUMBER" precision="11" scale="2">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="DARCEK" type="VARCHAR2" precision="20">
</column>
<column name="F_DARCEK" type="VARCHAR2" precision="1">
</column>
<column name="DOKTYP" type="VARCHAR2" precision="3">
</column>
<column name="DOKXX" type="VARCHAR2" precision="16">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="KARTA" type="NON_UNIQUE">
<definition>KARTA</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="TALOS_DARCEKY">
<columns>
<column name="XX" type="VARCHAR2" precision="20">
</column>
<column name="NAZOV" type="VARCHAR2" precision="60">
</column>
<column name="CENA" type="NUMBER" precision="11" scale="2">
</column>
<column name="DATZ" type="DATE">
</column>
<column name="DATK" type="DATE">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="TMP_OBV" globaltemp="true">
<columns>
<column name="XX" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="DODAVATEL" type="VARCHAR2" precision="10" referenceTable="TOVARY" referenceColumn="DODAVATEL">
</column>
<column name="BALENIE" type="NUMBER" precision="6" referenceTable="TOVARY" referenceColumn="BALENIE">
</column>
<column name="PALETA" type="NUMBER" precision="10" referenceTable="TOVARY" referenceColumn="PALETA">
</column>
<column name="STAV" type="NUMBER" precision="12" scale="3">
</column>
<column name="STAVPCKASA" type="NUMBER" precision="12" scale="3">
</column>
<column name="STAVOBV" type="NUMBER" precision="12" scale="3">
</column>
<column name="STAVOBP" type="NUMBER" precision="12" scale="3">
</column>
<column name="MINS" type="NUMBER" precision="12" scale="3">
</column>
<column name="MAXS" type="NUMBER" precision="12" scale="3">
</column>
<column name="OBJBAL" type="VARCHAR2" precision="1" referenceTable="TOVARY" referenceColumn="DODAVATEL">
</column>
<column name="STAVDISP" type="NUMBER" precision="12" scale="3">
</column>
<column name="STAVVO" type="NUMBER" precision="12" scale="3">
</column>
<column name="OBRAT" type="NUMBER" precision="12" scale="3">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="NCMIN" type="NUMBER" precision="14" scale="5" referenceTable="SKSTAVY" referenceColumn="NADCENA">
</column>
<column name="NCMAX" type="NUMBER" precision="14" scale="5" referenceTable="SKSTAVY" referenceColumn="NADCENA">
</column>
<column name="NCPRIEM" type="NUMBER" precision="14" scale="5" referenceTable="SKSTAVY" referenceColumn="NADCENA">
</column>
<column name="NCLAST" type="NUMBER" precision="14" scale="5" referenceTable="SKSTAVY" referenceColumn="NADCENA">
</column>
<column name="KC" type="NUMBER" precision="14" scale="5" referenceTable="TOVCENY" referenceColumn="CM_BDPH">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="TMP_SKUCT" globaltemp="true">
<columns>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="SKLADH" referenceColumn="DRUHDOK">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1" referenceTable="TOVARY" referenceColumn="KATEGORIA">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="DRUH" type="VARCHAR2" precision="6" referenceTable="TOVARY" referenceColumn="DRUH">
</column>
<column name="VS" type="VARCHAR2" precision="20" referenceTable="SKLADH" referenceColumn="VS">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="SKLADR" referenceColumn="STR">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="SKLADR" referenceColumn="ZAK">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="SKLADR" referenceColumn="KP">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="SKLADHXX" type="VARCHAR2" precision="16" referenceTable="SKLADH" referenceColumn="XX">
</column>
<column name="SUMA" type="NUMBER" precision="11" scale="2" referenceTable="SKLADR" referenceColumn="UC_SUMA">
</column>
<column name="SKUCTXX" type="VARCHAR2" precision="16" referenceTable="C_SKUCT" referenceColumn="XX">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="UCET_SALDO" type="VARCHAR2" precision="1">
</column>
<column name="UCET_STR" type="VARCHAR2" precision="1">
</column>
<column name="UCET_ZAK" type="VARCHAR2" precision="1">
</column>
<column name="UCET_KP" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
</indexes>
</table>
<table name="TMP_VK" globaltemp="true">
<columns>
<column name="XX" type="VARCHAR2" precision="100">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="POLOZKA" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="NAHRADA" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="ROZPAD" type="VARCHAR2" precision="1">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3">
</column>
<column name="CDRUH" type="VARCHAR2" precision="1">
</column>
<column name="CENA" type="NUMBER" precision="14" scale="5">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="UROVEN" type="NUMBER" precision="2">
</column>
<column name="F_RS" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
</indexes>
</table>
<table name="TMP_XX" globaltemp="true">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
</columns>
<indexes>
</indexes>
</table>
<table name="TN_CFG">
<columns>
<column name="KLUC" type="VARCHAR2" precision="128">
</column>
<column name="HODNOTA" type="LONG">
</column>
</columns>
<indexes>
<index name="KLUC" type="UNIQUE">
<definition>KLUC</definition>
</index>
</indexes>
</table>
<table name="TN_JRN">
<columns>
<column name="CAS" type="TIMESTAMP">
</column>
<column name="XO" type="VARCHAR2" precision="30">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
</columns>
<indexes>
<index name="CAS" type="NON_UNIQUE">
<definition>CAS</definition>
</index>
</indexes>
</table>
<table name="TN_PRAVA">
<columns>
<column name="ROLA" type="VARCHAR2" precision="12">
</column>
<column name="OBJEKT" type="VARCHAR2" precision="32">
</column>
</columns>
<indexes>
<index name="ROLA" type="NON_UNIQUE">
<definition>ROLA</definition>
</index>
</indexes>
</table>
<table name="TN_SCHEDULER">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="CAS" type="NUMBER" precision="4">
</column>
<column name="ULOHA" type="VARCHAR2" precision="10">
</column>
<column name="PARAMETRE" type="LONG">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
<column name="NEAKTIVNA" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="CAS" type="UNIQUE">
<definition>CAS</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="TNGUSERS">
<columns>
<column name="LOGINNAME" type="VARCHAR2" precision="30">
</column>
<column name="FULLNAME" type="VARCHAR2" precision="30">
</column>
<column name="GROUPCODE" type="VARCHAR2" precision="16">
</column>
<column name="TEMA" type="VARCHAR2" precision="16">
</column>
<column name="PRISTUP" type="LONG">
</column>
<column name="AKTIVNY" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="LOGINNAME" type="UNIQUE">
<definition>LOGINNAME</definition>
</index>
</indexes>
</table>
<table name="TNGVAR">
<columns>
<column name="KLUC" type="VARCHAR2" precision="128">
</column>
<column name="UZIVATEL" type="VARCHAR2" precision="30">
</column>
<column name="HODNOTA" type="LONG">
</column>
</columns>
<indexes>
<index name="TNGVAR" type="UNIQUE">
<definition>KLUC, UZIVATEL</definition>
</index>
</indexes>
</table>
<table name="TOVAKCIE">
<columns>
<column name="XX" type="VARCHAR2" precision="8">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="DATUM_OD" type="DATE">
</column>
<column name="DATUM_DO" type="DATE">
</column>
<column name="ADRTYP" type="VARCHAR2" precision="6">
</column>
<column name="ADRESA" type="VARCHAR2" precision="6">
</column>
<column name="PODM_TYP" type="VARCHAR2" precision="1">
</column>
<column name="PODM_ZAKAZNIK" type="VARCHAR2" precision="3">
</column>
<column name="PODM_ODBSKUP" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="ODBSKUP">
</column>
<column name="PODM_MINDOKSUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="PODM_MINTOVSUMA" type="NUMBER" precision="11" scale="2">
</column>
<column name="PODM_AKCIA" type="VARCHAR2" precision="8" referenceTable="C_SKAKCIE" referenceColumn="XX">
</column>
<column name="POVINNY_KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="POVINNY_MN" type="NUMBER" precision="12" scale="3" referenceTable="PCKASADOKR" referenceColumn="MN">
</column>
<column name="NEPOVINNE_KODY" type="VARCHAR2" precision="250">
</column>
<column name="NEPOVINNE_MN" type="NUMBER" precision="3">
</column>
<column name="BONUS_TYP" type="VARCHAR2" precision="1">
</column>
<column name="BONUS_KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="BONUS_MN" type="NUMBER" precision="3">
</column>
<column name="BONUS_ZL" type="NUMBER" precision="6" scale="2">
</column>
<column name="BONUS_CENA" type="NUMBER" precision="11" scale="2">
</column>
<column name="BONUS_AKCIA" type="VARCHAR2" precision="8" referenceTable="C_SKAKCIE" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="TOVARY">
<columns>
<column name="XX" type="VARCHAR2" precision="20">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="50">
</column>
<column name="DRUH" type="VARCHAR2" precision="6" referenceTable="C_SKDRUH" referenceColumn="XX">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1">
</column>
<column name="DODAVATEL" type="VARCHAR2" precision="10">
</column>
<column name="DODAVATELIA" type="VARCHAR2" precision="250">
</column>
<column name="CENAKALK" type="NUMBER" precision="14" scale="5">
</column>
<column name="MENAKALK" type="VARCHAR2" precision="3">
</column>
<column name="NAKLKALK" type="NUMBER" precision="2">
</column>
<column name="SADZBA_DPH" type="NUMBER" precision="5" scale="2">
</column>
<column name="MJCELE" type="VARCHAR2" precision="1">
</column>
<column name="MJ" type="VARCHAR2" precision="3" referenceTable="C_MERJED" referenceColumn="XX">
</column>
<column name="MJ2" type="VARCHAR2" precision="3" referenceTable="C_MERJED" referenceColumn="XX">
</column>
<column name="MJ2KOEF" type="NUMBER" precision="12" scale="6">
</column>
<column name="JMJ" type="VARCHAR2" precision="3" referenceTable="C_MERJED" referenceColumn="XX">
</column>
<column name="JKOEF" type="NUMBER" precision="12" scale="6">
</column>
<column name="JHM" type="NUMBER" precision="10" scale="3">
</column>
<column name="JOBJ" type="NUMBER" precision="7" scale="3">
</column>
<column name="BALENIE" type="NUMBER" precision="6">
</column>
<column name="PALETA" type="NUMBER" precision="10">
</column>
<column name="MJBAL" type="VARCHAR2" precision="3" referenceTable="C_MERJED" referenceColumn="XX">
</column>
<column name="MJPAL" type="VARCHAR2" precision="3" referenceTable="C_MERJED" referenceColumn="XX">
</column>
<column name="NAZOVPLU" type="VARCHAR2" precision="24">
</column>
<column name="PLU" type="NUMBER" precision="6">
</column>
<column name="OBAL" type="VARCHAR2" precision="20">
</column>
<column name="PREPRAVKA" type="VARCHAR2" precision="20">
</column>
<column name="ZARUKA" type="NUMBER" precision="3">
</column>
<column name="ZARDNI" type="NUMBER" precision="3">
</column>
<column name="ZARZLAV" type="VARCHAR2" precision="6" referenceTable="C_SKZARZLAV" referenceColumn="XX">
</column>
<column name="CERTIFIKAT" type="VARCHAR2" precision="12">
</column>
<column name="PART_NO" type="VARCHAR2" precision="20">
</column>
<column name="KLASIFIKACIA" type="VARCHAR2" precision="24">
</column>
<column name="VYRCISLO" type="VARCHAR2" precision="1">
</column>
<column name="FLG_RS" type="VARCHAR2" precision="4">
</column>
<column name="NEAKTIVNA" type="VARCHAR2" precision="1">
</column>
<column name="POZN" type="VARCHAR2" precision="250">
</column>
<column name="SPOTRDAN" type="VARCHAR2" precision="6">
</column>
<column name="ZNACKA" type="VARCHAR2" precision="10" referenceTable="C_SKZNACKY" referenceColumn="XX">
</column>
<column name="COLSADZ" type="VARCHAR2" precision="10" referenceTable="C_COLSADZ" referenceColumn="XX">
</column>
<column name="DKOEF" type="NUMBER" precision="12" scale="3">
</column>
<column name="NETTO_KOEF" type="NUMBER" precision="12" scale="3">
</column>
<column name="POVOD" type="VARCHAR2" precision="2" referenceTable="C_STATY" referenceColumn="XX">
</column>
<column name="EAN" type="VARCHAR2" precision="16">
</column>
<column name="EANBAL" type="VARCHAR2" precision="16">
</column>
<column name="EANY" type="VARCHAR2" precision="250">
</column>
<column name="ALKOHOL" type="NUMBER" precision="4" scale="1">
</column>
<column name="RECPOPL" type="NUMBER" precision="14" scale="5">
</column>
<column name="VK_RNCIAST" type="NUMBER" precision="14" scale="5">
</column>
<column name="VK_RNCELK" type="NUMBER" precision="14" scale="5">
</column>
<column name="VK_RNKALK" type="VARCHAR2" precision="1">
</column>
<column name="VK_CKCIAST" type="NUMBER" precision="14" scale="5">
</column>
<column name="VK_CENAKALK" type="NUMBER" precision="14" scale="5">
</column>
<column name="VK_CENAODP" type="NUMBER" precision="14" scale="5">
</column>
<column name="VK_PERCODP" type="NUMBER" precision="3" scale="1">
</column>
<column name="VK_DAVKA" type="NUMBER" precision="12" scale="3">
</column>
<column name="VK_REKALK" type="VARCHAR2" precision="1">
</column>
<column name="ZASINT" type="NUMBER" precision="3">
</column>
<column name="POVSORT" type="NUMBER" precision="2">
</column>
<column name="OB_SKLO" type="NUMBER" precision="12" scale="6">
</column>
<column name="OB_PLAST" type="NUMBER" precision="12" scale="6">
</column>
<column name="OB_PAPIER" type="NUMBER" precision="12" scale="6">
</column>
<column name="OB_KOMP" type="NUMBER" precision="12" scale="6">
</column>
<column name="OB_OCEL" type="NUMBER" precision="12" scale="6">
</column>
<column name="OB_HLINIK" type="NUMBER" precision="12" scale="6">
</column>
<column name="OB_DREVO" type="NUMBER" precision="12" scale="6">
</column>
<column name="OB_OST" type="NUMBER" precision="12" scale="6">
</column>
<column name="KV_TD" type="VARCHAR2" precision="2">
</column>
</columns>
<indexes>
<index name="DRUH" type="NON_UNIQUE">
<definition>DRUH</definition>
</index>
<index name="EAN" type="NON_UNIQUE">
<definition>EAN</definition>
</index>
<index name="EANBAL" type="NON_UNIQUE">
<definition>EANBAL</definition>
</index>
<index name="NAZOV" type="NON_UNIQUE">
<definition>NAZOV</definition>
</index>
<index name="PLU" type="NON_UNIQUE">
<definition>PLU</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="TOVCENDEF">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKCENSKUP" referenceColumn="XX">
</column>
<column name="DRUH" type="VARCHAR2" precision="6" referenceTable="C_SKDRUH" referenceColumn="XX">
</column>
<column name="DODAVATEL" type="VARCHAR2" precision="10" referenceTable="TOVARY" referenceColumn="DODAVATEL">
</column>
<column name="MARZA" type="NUMBER" precision="4" scale="1">
</column>
</columns>
<indexes>
<index name="CSDRUHDOD" type="UNIQUE">
<definition>CENSKUP,DRUH,DODAVATEL</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="TOVCENY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="CENSKUP" type="VARCHAR2" precision="6" referenceTable="C_SKCENSKUP" referenceColumn="XX">
</column>
<column name="TYPCENY" type="VARCHAR2" precision="1">
</column>
<column name="DATUM_OD" type="DATE">
</column>
<column name="DATUM_DO" type="DATE">
</column>
<column name="ADRTYP" type="VARCHAR2" precision="6" referenceTable="C_ADRTYP" referenceColumn="XX">
</column>
<column name="ADRESA" type="VARCHAR2" precision="6" referenceTable="ADRESA" referenceColumn="XX">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="AKCIA" type="VARCHAR2" precision="8" referenceTable="C_SKAKCIE" referenceColumn="XX">
</column>
<column name="CM_BDPH" type="NUMBER" precision="14" scale="5">
</column>
<column name="CM_SDPH" type="NUMBER" precision="14" scale="5">
</column>
<column name="CMBAL_BDPH" type="NUMBER" precision="14" scale="5">
</column>
<column name="CMBAL_SDPH" type="NUMBER" precision="14" scale="5">
</column>
<column name="SADZBA_DPH" type="NUMBER" precision="5" scale="2" referenceTable="TOVARY" referenceColumn="SADZBA_DPH">
</column>
<column name="ZL_TYP" type="VARCHAR2" precision="1">
</column>
<column name="ZL_T" type="NUMBER" precision="6" scale="2" referenceTable="SKLADR" referenceColumn="ZL_T">
</column>
<column name="ZL_BAL" type="NUMBER" precision="6" scale="2">
</column>
<column name="PREPOCET" type="VARCHAR2" precision="1">
</column>
<column name="MARZA" type="NUMBER" precision="4" scale="1">
</column>
<column name="ZAOKRBD" type="VARCHAR2" precision="1">
</column>
<column name="ZAOKRSD" type="VARCHAR2" precision="1">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="F_NCAKCIA" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="KCD" type="NON_UNIQUE">
<definition>KOD,CENSKUP</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="TOVHOTKEY">
<columns>
<column name="XX" type="VARCHAR2" precision="1">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="KODY" type="VARCHAR2" precision="60">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="TOVPRM">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="PRM" type="VARCHAR2" precision="13" referenceTable="C_SKPRMR" referenceColumn="XX">
</column>
<column name="HODNOTA" type="VARCHAR2" precision="250">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="KOD" type="NON_UNIQUE">
<definition>KOD</definition>
</index>
<index name="KODPRM" type="UNIQUE">
<definition>KOD,PRM</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTDEFH">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="STLPEC1" type="VARCHAR2" precision="20">
</column>
<column name="STLPEC2" type="VARCHAR2" precision="20">
</column>
<column name="STLPEC3" type="VARCHAR2" precision="20">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTDEFR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="6">
</column>
<column name="XN" type="NUMBER" precision="5">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="STRANA" type="NUMBER" precision="2">
</column>
<column name="CR" type="VARCHAR2" precision="3">
</column>
<column name="PREFIX" type="VARCHAR2" precision="7">
</column>
<column name="NAZOV" type="VARCHAR2" precision="120">
</column>
<column name="UR" type="NUMBER" precision="1">
</column>
<column name="S1DEF" type="VARCHAR2" precision="250">
</column>
<column name="S2DEF" type="VARCHAR2" precision="250">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="UO" type="VARCHAR2" precision="6">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="KATEGORIA" type="VARCHAR2" precision="1">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="C_PUDOK" referenceColumn="XX">
</column>
<column name="CDOK" type="NUMBER" precision="8">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="XP" type="VARCHAR2" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="SCHVALIL" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="KONTROLOVAL" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
</columns>
<indexes>
<index name="DATUM" type="NON_UNIQUE">
<definition>DATUM</definition>
</index>
<index name="UCTH" type="UNIQUE">
<definition>XX</definition>
</index>
<index name="UO" type="NON_UNIQUE">
<definition>UO</definition>
</index>
</indexes>
</table>
<table name="UCTNAK">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="PODLA" type="VARCHAR2" precision="1">
</column>
<column name="KOD" type="VARCHAR2" precision="10">
</column>
<column name="KRITERIUM" type="VARCHAR2" precision="1">
</column>
<column name="DEFINICIA" type="LONG">
</column>
<column name="POPIS" type="VARCHAR2" precision="60" referenceTable="UCTR" referenceColumn="POPIS">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTPLANH">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="C_PUDOK" referenceColumn="XX">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTPLANR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="MD" type="VARCHAR2" precision="1">
</column>
<column name="SUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="UCET" type="VARCHAR2" precision="12">
</column>
<column name="STR" type="VARCHAR2" precision="7">
</column>
<column name="ZAK" type="VARCHAR2" precision="10">
</column>
<column name="KP" type="VARCHAR2" precision="5">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="SPLATNOST" type="DATE">
</column>
<column name="MENA" type="VARCHAR2" precision="3">
</column>
<column name="SUMACM" type="NUMBER" precision="13" scale="2">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6">
</column>
<column name="DPHZAKLAD" type="NUMBER" precision="13" scale="2">
</column>
<column name="DZAUCT" type="DATE">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="DNIS" type="NUMBER" precision="3">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTPREH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="GRAF" type="VARCHAR2" precision="1">
</column>
<column name="USPORIADANIE" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTPRER">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="POSUN" type="NUMBER" precision="2">
</column>
<column name="DEF" type="LONG">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XN" type="NON_UNIQUE">
<definition>XN</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XH" type="VARCHAR2" precision="16">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="BLOK" type="NUMBER" precision="6">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="MD" type="VARCHAR2" precision="1">
</column>
<column name="SUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="FLG_SAL" type="VARCHAR2" precision="1">
</column>
<column name="FLG_NOSAL" type="VARCHAR2" precision="1">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="KS" type="VARCHAR2" precision="4">
</column>
<column name="SPLATNOST" type="DATE">
</column>
<column name="BANKUCET" type="VARCHAR2" precision="34" referenceTable="FIRUCTY" referenceColumn="UCET">
</column>
<column name="SP_UHRADY" type="VARCHAR2" precision="1">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="SUMACM" type="NUMBER" precision="13" scale="2">
</column>
<column name="KURZ" type="NUMBER" precision="12" scale="6">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="DPHZAKLAD" type="NUMBER" precision="13" scale="2">
</column>
<column name="DPHDATUM" type="DATE">
</column>
<column name="ICDPH" type="VARCHAR2" precision="16">
</column>
<column name="KVODDIEL" type="VARCHAR2" precision="2">
</column>
<column name="KVORIGDOK" type="VARCHAR2" precision="30">
</column>
<column name="KVSUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="KVDATUM" type="DATE">
</column>
<column name="KVORIGDAT" type="DATE">
</column>
<column name="ORIGMODUL" type="VARCHAR2" precision="3">
</column>
<column name="ORIGDOKLAD" type="VARCHAR2" precision="30">
</column>
<column name="ORIGXX" type="VARCHAR2" precision="16">
</column>
<column name="FLG_ERR" type="VARCHAR2" precision="60">
</column>
<column name="INVCIS" type="VARCHAR2" precision="16" referenceTable="IMKARTY" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XHXN" type="NON_UNIQUE">
<definition>XH,XN</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTSABLH">
<columns>
<column name="XX" type="VARCHAR2" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTSABLR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="6" referenceTable="UCTSABLH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="BLOK" type="NUMBER" precision="6" referenceTable="UCTR" referenceColumn="BLOK">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="MD" type="VARCHAR2" precision="1">
</column>
<column name="SUMA" type="NUMBER" precision="13" scale="2">
</column>
<column name="UCET" type="VARCHAR2" precision="12" referenceTable="C_UCT_ROZVRH" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="POBOCKA" type="VARCHAR2" precision="6" referenceTable="FIRMY" referenceColumn="POBOCKA">
</column>
<column name="VS" type="VARCHAR2" precision="20">
</column>
<column name="SS" type="VARCHAR2" precision="10">
</column>
<column name="MENA" type="VARCHAR2" precision="3" referenceTable="C_MENY" referenceColumn="XX">
</column>
<column name="SUMACM" type="NUMBER" precision="13" scale="2">
</column>
<column name="BANKUCET" type="VARCHAR2" precision="34" referenceTable="FINPPR" referenceColumn="BANKUCET">
</column>
<column name="DPHTYP" type="VARCHAR2" precision="6" referenceTable="C_TYPDPH" referenceColumn="XX">
</column>
<column name="DPHZAKLAD" type="NUMBER" precision="13" scale="2">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTVYKH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="VYKAZ" type="VARCHAR2" precision="6">
</column>
<column name="UOBEG" type="VARCHAR2" precision="6">
</column>
<column name="UOEND" type="VARCHAR2" precision="6">
</column>
<column name="KDOK" type="VARCHAR2" precision="1">
</column>
<column name="KPS" type="VARCHAR2" precision="1">
</column>
<column name="KDP" type="VARCHAR2" precision="1">
</column>
<column name="KHV" type="VARCHAR2" precision="1">
</column>
<column name="KKS" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UCTVYKR">
<columns>
<column name="XH" type="VARCHAR2" precision="16">
</column>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="CR" type="VARCHAR2" precision="3">
</column>
<column name="PREFIX" type="VARCHAR2" precision="7">
</column>
<column name="NAZOV" type="VARCHAR2" precision="120">
</column>
<column name="HODNOTA1" type="NUMBER" precision="13" scale="2">
</column>
<column name="HODNOTA2" type="NUMBER" precision="13" scale="2">
</column>
<column name="TISICE1" type="NUMBER" precision="10">
</column>
<column name="TISICE2" type="NUMBER" precision="10">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="ULOHY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="PREDXX" type="VARCHAR2" precision="16">
</column>
<column name="DRUH" type="VARCHAR2" precision="12" referenceTable="C_ULOHYDRUH" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="PRIORITA" type="VARCHAR2" precision="1">
</column>
<column name="POPIS" type="VARCHAR2" precision="250">
</column>
<column name="RIESENIE" type="VARCHAR2" precision="250">
</column>
<column name="FIRMA" type="VARCHAR2" precision="10" referenceTable="FIRMY" referenceColumn="FIRMA">
</column>
<column name="ZADAL" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="ZODPOVEDNY" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="ZACIATOK" type="DATE">
</column>
<column name="TERMIN" type="DATE">
</column>
<column name="ROZPRAC" type="DATE">
</column>
<column name="SPLNENE" type="DATE">
</column>
<column name="TRVANIE" type="NUMBER" precision="6" scale="2">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="UZFO2014">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="DATUM_OD" type="DATE">
</column>
<column name="DATUM_DO" type="DATE">
</column>
<column name="ZOSTAVENE" type="DATE">
</column>
<column name="DRUH" type="VARCHAR2" precision="1">
</column>
<column name="P01" type="NUMBER" precision="13">
</column>
<column name="P02" type="NUMBER" precision="13">
</column>
<column name="P03" type="NUMBER" precision="13">
</column>
<column name="P04" type="NUMBER" precision="13">
</column>
<column name="V05" type="NUMBER" precision="13">
</column>
<column name="V06" type="NUMBER" precision="13">
</column>
<column name="V07" type="NUMBER" precision="13">
</column>
<column name="V08" type="NUMBER" precision="13">
</column>
<column name="V09" type="NUMBER" precision="13">
</column>
<column name="V10" type="NUMBER" precision="13">
</column>
<column name="V11" type="NUMBER" precision="13">
</column>
<column name="V12" type="NUMBER" precision="13">
</column>
<column name="M01" type="NUMBER" precision="13">
</column>
<column name="M02" type="NUMBER" precision="13">
</column>
<column name="M03" type="NUMBER" precision="13">
</column>
<column name="M04" type="NUMBER" precision="13">
</column>
<column name="M05" type="NUMBER" precision="13">
</column>
<column name="M06" type="NUMBER" precision="13">
</column>
<column name="M07" type="NUMBER" precision="13">
</column>
<column name="M08" type="NUMBER" precision="13">
</column>
<column name="M09" type="NUMBER" precision="13">
</column>
<column name="M10" type="NUMBER" precision="13">
</column>
<column name="M11" type="NUMBER" precision="13">
</column>
<column name="M12" type="NUMBER" precision="13">
</column>
<column name="M13" type="NUMBER" precision="13">
</column>
<column name="M14" type="NUMBER" precision="13">
</column>
<column name="M15" type="NUMBER" precision="13">
</column>
<column name="M16" type="NUMBER" precision="13">
</column>
<column name="M17" type="NUMBER" precision="13">
</column>
<column name="M18" type="NUMBER" precision="13">
</column>
<column name="M19" type="NUMBER" precision="13">
</column>
<column name="M20" type="NUMBER" precision="13">
</column>
<column name="M21" type="NUMBER" precision="13">
</column>
<column name="S01" type="NUMBER" precision="13">
</column>
<column name="S02" type="NUMBER" precision="13">
</column>
<column name="S03" type="NUMBER" precision="13">
</column>
<column name="S04" type="NUMBER" precision="13">
</column>
<column name="S05" type="NUMBER" precision="13">
</column>
<column name="S06" type="NUMBER" precision="13">
</column>
<column name="S07" type="NUMBER" precision="13">
</column>
<column name="S08" type="NUMBER" precision="13">
</column>
<column name="S09" type="NUMBER" precision="13">
</column>
<column name="S10" type="NUMBER" precision="13">
</column>
<column name="S11" type="NUMBER" precision="13">
</column>
<column name="S12" type="NUMBER" precision="13">
</column>
<column name="S13" type="NUMBER" precision="13">
</column>
<column name="S14" type="NUMBER" precision="13">
</column>
<column name="S15" type="NUMBER" precision="13">
</column>
<column name="S16" type="NUMBER" precision="13">
</column>
<column name="S17" type="NUMBER" precision="13">
</column>
<column name="S18" type="NUMBER" precision="13">
</column>
<column name="S19" type="NUMBER" precision="13">
</column>
<column name="S20" type="NUMBER" precision="13">
</column>
<column name="S21" type="NUMBER" precision="13">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="VAHYH">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="TYP" type="VARCHAR2" precision="1">
</column>
<column name="NAZOV" type="VARCHAR2" precision="40">
</column>
<column name="PRIPOJENIE" type="VARCHAR2" precision="60">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="CENNIK" type="VARCHAR2" precision="1">
</column>
<column name="FILTER" type="VARCHAR2" precision="60">
</column>
<column name="NEAKTIVNA" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="VAHYR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="3" referenceTable="VAHYH" referenceColumn="XX">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="PLU" type="UNIQUE">
<definition>XH,XN</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="VERZIE">
<columns>
<column name="PROJEKT" type="VARCHAR2" precision="60">
</column>
<column name="VERZIA" type="NUMBER" precision="4" scale="2">
</column>
<column name="XO" type="VARCHAR2" precision="30">
</column>
<column name="XD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="VERZIA" type="UNIQUE">
<definition>VERZIA</definition>
</index>
</indexes>
</table>
<table name="VK_NORMY">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="POLOZKA" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="ROZPAD" type="VARCHAR2" precision="1">
</column>
<column name="MNV" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="CDRUH" type="VARCHAR2" precision="1">
</column>
<column name="RCENA" type="NUMBER" precision="14" scale="5">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="F_RS" type="VARCHAR2" precision="1">
</column>
</columns>
<indexes>
<index name="VK_NORMY" type="UNIQUE">
<definition>XX</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XHXN" type="NON_UNIQUE">
<definition>XH,XN</definition>
</index>
</indexes>
</table>
<table name="VK_PLAN">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="C_VKP" referenceColumn="XX">
</column>
<column name="CDOK" type="NUMBER" precision="9">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="TERMIN" type="DATE">
</column>
<column name="NORMA" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="NAHRADA" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="MNODV" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="SKLADV" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="SKLADP" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="SKLADO" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7">
</column>
<column name="ZAK" type="VARCHAR2" precision="10">
</column>
<column name="KP" type="VARCHAR2" precision="5">
</column>
<column name="POPIS" type="VARCHAR2" precision="60">
</column>
<column name="UROVEN" type="NUMBER" precision="2">
</column>
<column name="PORADIE" type="NUMBER" precision="6">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="VK_PLANR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="VK_PLAN" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="POLOZKA" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="ROZPAD" type="VARCHAR2" precision="1">
</column>
<column name="CDRUH" type="VARCHAR2" precision="1">
</column>
<column name="RCENA" type="NUMBER" precision="14" scale="5" referenceTable="SKLADR" referenceColumn="NADCENA">
</column>
<column name="MNVNORMA" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="POPIS" type="VARCHAR2" precision="60" referenceTable="VK_NORMY" referenceColumn="POPIS">
</column>
<column name="UROVEN" type="NUMBER" precision="2">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="PLANXX" type="VARCHAR2" precision="16" referenceTable="VK_PLAN" referenceColumn="XX">
</column>
<column name="F_RS" type="VARCHAR2" precision="2">
</column>
</columns>
<indexes>
<index name="PLANXX" type="NON_UNIQUE">
<definition>PLANXX</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="VK_PRIKAZYH">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="DRUHDOK" type="VARCHAR2" precision="6" referenceTable="C_VKP" referenceColumn="XX">
</column>
<column name="CDOK" type="NUMBER" precision="9">
</column>
<column name="DATUM" type="DATE">
</column>
<column name="NORMA" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="NAHRADA" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="ODPAD" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="SKLADV" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="SKLADP" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="SKLADO" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="STR" type="VARCHAR2" precision="7" referenceTable="C_STR" referenceColumn="XX">
</column>
<column name="ZAK" type="VARCHAR2" precision="10" referenceTable="C_ZAK" referenceColumn="XX">
</column>
<column name="KP" type="VARCHAR2" precision="5" referenceTable="C_KP" referenceColumn="XX">
</column>
<column name="POPIS" type="VARCHAR2" precision="60" referenceTable="SKLADH" referenceColumn="POPIS">
</column>
<column name="SKLXX" type="VARCHAR2" precision="16" referenceTable="SKLADH" referenceColumn="XX">
</column>
<column name="PLANXX" type="VARCHAR2" precision="16" referenceTable="VK_PLAN" referenceColumn="XX">
</column>
<column name="RSSTAV" type="VARCHAR2" precision="1">
</column>
<column name="REZNAKLADY" type="NUMBER" precision="11" scale="2">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="VK_PRIKAZYR">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="VK_PRIKAZYH" referenceColumn="XX">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="POLOZKA" type="VARCHAR2" precision="20" referenceTable="VK_NORMY" referenceColumn="POLOZKA">
</column>
<column name="CDRUH" type="VARCHAR2" precision="1" referenceTable="VK_NORMY" referenceColumn="CDRUH">
</column>
<column name="RCENA" type="NUMBER" precision="14" scale="5" referenceTable="VK_NORMY" referenceColumn="RCENA">
</column>
<column name="MNVNORMA" type="NUMBER" precision="12" scale="3" referenceTable="VK_NORMY" referenceColumn="MNV">
</column>
<column name="MNV" type="NUMBER" precision="12" scale="3" referenceTable="VK_NORMY" referenceColumn="MNV">
</column>
<column name="SKLAD" type="VARCHAR2" precision="3" referenceTable="C_SKLADY" referenceColumn="XX">
</column>
<column name="UROVEN" type="NUMBER" precision="2">
</column>
<column name="F_RS" type="VARCHAR2" precision="1">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
</columns>
<indexes>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="VK_PRIKAZYS">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XH" type="VARCHAR2" precision="16" referenceTable="VK_PRIKAZYR" referenceColumn="XX">
</column>
<column name="PRIKAZXX" type="VARCHAR2" precision="16" referenceTable="VK_PRIKAZYH" referenceColumn="XX">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="MN" type="NUMBER" precision="12" scale="3" referenceTable="SKLADR" referenceColumn="MNV">
</column>
<column name="ZAM" type="VARCHAR2" precision="8" referenceTable="C_ZAM" referenceColumn="XX">
</column>
<column name="MIESTO" type="VARCHAR2" precision="16" referenceTable="C_SKMIESTO" referenceColumn="XX">
</column>
<column name="SARZA" type="VARCHAR2" precision="20">
</column>
<column name="D_SPOTREBA" type="DATE">
</column>
<column name="D_VYROBA" type="DATE">
</column>
<column name="SSCC" type="VARCHAR2" precision="18">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
</columns>
<indexes>
<index name="PRIKAZXX" type="NON_UNIQUE">
<definition>PRIKAZXX</definition>
</index>
<index name="XH" type="NON_UNIQUE">
<definition>XH</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="VYR_CISLA">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="NAZOV" type="VARCHAR2" precision="50" referenceTable="TOVARY" referenceColumn="NAZOV">
</column>
<column name="VYR_CISLO" type="VARCHAR2" precision="40">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
<column name="P_DRUHDOK" type="VARCHAR2" precision="6" referenceTable="SKLADH" referenceColumn="DRUHDOK">
</column>
<column name="P_CDOK" type="NUMBER" precision="9" referenceTable="SKLADH" referenceColumn="CDOK">
</column>
<column name="P_DATUM" type="DATE">
</column>
<column name="P_FIRMA" type="VARCHAR2" precision="60">
</column>
<column name="P_ZARUKA_MES" type="NUMBER" precision="3" referenceTable="TOVARY" referenceColumn="ZARUKA">
</column>
<column name="P_ZARUKA_DNI" type="NUMBER" precision="4">
</column>
<column name="P_ZARUKA_DAT" type="DATE">
</column>
<column name="P_FA" type="VARCHAR2" precision="30" referenceTable="SKLADH" referenceColumn="DANDOKLAD">
</column>
<column name="P_POZNAMKA" type="VARCHAR2" precision="60">
</column>
<column name="V_DRUHDOK" type="VARCHAR2" precision="6" referenceTable="SKLADH" referenceColumn="DRUHDOK">
</column>
<column name="V_CDOK" type="NUMBER" precision="9" referenceTable="SKLADH" referenceColumn="CDOK">
</column>
<column name="V_DATUM" type="DATE">
</column>
<column name="V_FIRMA" type="VARCHAR2" precision="60">
</column>
<column name="V_ZARUKA_MES" type="NUMBER" precision="3" referenceTable="TOVARY" referenceColumn="ZARUKA">
</column>
<column name="V_ZARUKA_DNI" type="NUMBER" precision="4">
</column>
<column name="V_ZARUKA_DAT" type="DATE">
</column>
<column name="V_FA" type="VARCHAR2" precision="30" referenceTable="SKLADH" referenceColumn="DANDOKLAD">
</column>
<column name="V_POZNAMKA" type="VARCHAR2" precision="60">
</column>
</columns>
<indexes>
<index name="VCISLA1" type="NON_UNIQUE">
<definition>KOD,VYR_CISLO</definition>
</index>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
<table name="VYR_CISLA_TMP">
<columns>
<column name="XX" type="VARCHAR2" precision="16">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="XO" type="VARCHAR2" precision="30">
</column>
<column name="XN" type="NUMBER" precision="6">
</column>
<column name="POHYB" type="VARCHAR2" precision="1">
</column>
<column name="KOD" type="VARCHAR2" precision="20" referenceTable="TOVARY" referenceColumn="XX">
</column>
<column name="NAZOV" type="VARCHAR2" precision="50" referenceTable="TOVARY" referenceColumn="NAZOV">
</column>
<column name="VYR_CISLO" type="VARCHAR2" precision="40" referenceTable="VYR_CISLA" referenceColumn="VYR_CISLO">
</column>
<column name="ZARUKA_DAT" type="DATE">
</column>
<column name="ZARUKA_MES" type="NUMBER" precision="3" referenceTable="TOVARY" referenceColumn="ZARUKA">
</column>
<column name="POZNAMKA" type="VARCHAR2" precision="60">
</column>
</columns>
<indexes>
<index name="VCISLATMP" type="UNIQUE">
<definition>XX</definition>
</index>
<index name="VCISLATMP1" type="NON_UNIQUE">
<definition>XO,POHYB</definition>
</index>
</indexes>
</table>
<table name="ZAMKY">
<columns>
<column name="XX" type="VARCHAR2" precision="3">
</column>
<column name="XC" type="NUMBER" precision="6">
</column>
<column name="ZAMOK_DO" type="DATE">
</column>
<column name="ZAMOK_OD" type="DATE">
</column>
<column name="XIO" type="VARCHAR2" precision="30">
</column>
<column name="XID" type="TIMESTAMP">
</column>
<column name="XUO" type="VARCHAR2" precision="30">
</column>
<column name="XUD" type="TIMESTAMP">
</column>
</columns>
<indexes>
<index name="XX" type="UNIQUE">
<definition>XX</definition>
</index>
</indexes>
</table>
</tables>
<views>
<view name="PCKASASTAV" versionFrom="15.07">
<definition>SELECT Sklad, Kod, sum(SubStav) as Stav FROM
  ( SELECT Sklad, Kod, Mnp-Mnv as SubStav FROM SKSTAVY 
    UNION ALL
    SELECT H.Sklad, R.Kod, 0-nvl(R.Mn,0) as SubStav FROM PCKASADOKH  H, PCKASADOKR R
    WHERE H.XX=R.XH and H.Datum&gt;(sysdate-30) and H.Flgodpis is null and R.Zmazany is null
  )
GROUP BY Kod, Sklad
WITH READ ONLY</definition>
</view>
</views>
<scripts>
<script name="CONVERT_15_06A" versionFrom="15.07">
<definition>update c_typdph set stat='SK' where (Stat is null or Stat='SV' or Stat='SL')</definition>
</script>
<script name="CONVERT_15_06B" versionFrom="15.07">
<definition>update Firmy set Stat='SK' where (Stat is null or Stat='SV' or Stat='SL')</definition>
</script>
<script name="CONVERT_15_06C" versionFrom="15.07">
<definition>update Firmy set Zlavatyp=nvl(Zakaz_zl,'B') where Zlavatyp is null</definition>
</script>
<script name="RSSTAV_CALC" versionFrom="15.07">
<definition>create or replace TRIGGER RSSTAV_calc
  AFTER INSERT OR DELETE OR UPDATE OF Sklad, Kod, Miesto, Sarza, D_vyroba, D_spotreba, Mnp, Mnv ON SKLADZ FOR EACH ROW
BEGIN
  CASE
    WHEN DELETING THEN
      TNG.RSstav_update (:old.Kod, :old.Sklad, :old.Miesto, :old.Sarza, :old.D_vyroba, :old.D_spotreba, 0-(nvl(:old.Mnp,0)-nvl(:old.Mnv,0)));
    WHEN INSERTING THEN
      TNG.RSstav_update (:new.Kod, :new.Sklad, :new.Miesto, :new.Sarza, :new.D_vyroba, :new.D_spotreba, nvl(:new.Mnp,0)-nvl(:new.Mnv,0));
    WHEN UPDATING THEN
      TNG.RSstav_update (:old.Kod, :old.Sklad, :old.Miesto, :old.Sarza, :old.D_vyroba, :old.D_spotreba, 0-(nvl(:old.Mnp,0)-nvl(:old.Mnv,0)));
      TNG.RSstav_update (:new.Kod, :new.Sklad, :new.Miesto, :new.Sarza, :new.D_vyroba, :new.D_spotreba, nvl(:new.Mnp,0)-nvl(:new.Mnv,0));
  END CASE;
END;</definition>
</script>
<script name="RSSKLADR_FLG" versionFrom="15.07">
<definition>create or replace TRIGGER RSSKLADR_FLG 
BEFORE INSERT OR UPDATE OF KOD,XH,SKLAD ON SKLADR FOR EACH ROW
DECLARE
  CF_rs VARCHAR2(4);
  TFlg_rs VARCHAR2(4);
  TKategoria VARCHAR2(1);
  HKategoria VARCHAR2(1);
  Pocet NUMBER;
BEGIN
  :new.FLG_RS := null;
  SELECT max(F_rs), count(*) INTO CF_rs, Pocet FROM C_sklady WHERE Xx=:new.Sklad;
  IF CF_rs is not null THEN
    SELECT max(Kategoria), max(Flg_rs), count(*) INTO TKategoria, TFlg_rs, Pocet FROM Tovary WHERE Xx=:new.Kod;
    SELECT max(Kategoria), count(*) INTO HKategoria, Pocet FROM Skladh WHERE Xx=:new.Xh;
    IF TKategoria in ('T','M','V') and HKategoria not in ('X','F') and TFlg_rs is not null THEN :new.FLG_RS := 'A'; END IF;
  END IF;
END;</definition>
</script>
<script name="VKPRIKAZYS" versionFrom="15.07">
<definition>create or replace TRIGGER VKPRIKAZYS_CALC
AFTER INSERT OR DELETE OR UPDATE OF Mn, Miesto, Sarza, D_vyroba, D_spotreba ON VK_PRIKAZYS FOR EACH ROW
DECLARE
  sKod VARCHAR2(20);
  sSklad VARCHAR2(3);
  sRSstav VARCHAR2(1);
  nPocet NUMBER;
BEGIN
  -- Select riadka: ak XH ukazuje na hlavicku, tak nevrati ziaden riadok, preto finta s count(*)
  CASE
    WHEN DELETING THEN
      SELECT RSstav INTO sRSstav FROM VK_PRIKAZYH WHERE Xx=:old.Prikazxx;
      IF sRSstav&lt;&gt;'4' THEN
        SELECT max(Polozka), max(Sklad), count(*) INTO sKod, sSklad, nPocet FROM VK_PRIKAZYR WHERE Xx=:old.Xh;
        IF nPocet&gt;0 THEN
          TNG.RSstav_update (sKod, sSklad, :old.Miesto, :old.Sarza, :old.D_vyroba, :old.D_spotreba, nvl(:old.Mn,0));
        END IF;
      END IF;
    WHEN INSERTING THEN
      SELECT RSstav INTO sRSstav FROM VK_PRIKAZYH WHERE Xx=:new.Prikazxx;
      IF sRSstav&lt;&gt;'4' THEN
        SELECT max(Polozka), max(Sklad), count(*) INTO sKod, sSklad, nPocet FROM VK_PRIKAZYR WHERE Xx=:new.Xh;
        IF nPocet&gt;0 THEN
          TNG.RSstav_update (sKod, sSklad, :new.Miesto, :new.Sarza, :new.D_vyroba, :new.D_spotreba, 0-nvl(:new.Mn,0));
        END IF;
      END IF;
    WHEN UPDATING THEN
      SELECT RSstav INTO sRSstav FROM VK_PRIKAZYH WHERE Xx=:old.Prikazxx;
      IF sRSstav&lt;&gt;'4' THEN
        SELECT max(Polozka), max(Sklad), count(*) INTO sKod, sSklad, nPocet FROM VK_PRIKAZYR WHERE Xx=:old.Xh;
        IF nPocet&gt;0 THEN
          TNG.RSstav_update (sKod, sSklad, :old.Miesto, :old.Sarza, :old.D_vyroba, :old.D_spotreba, nvl(:old.Mn,0));
          TNG.RSstav_update (sKod, sSklad, :new.Miesto, :new.Sarza, :new.D_vyroba, :new.D_spotreba, 0-nvl(:new.Mn,0));
        END IF;
      END IF;
  END CASE;
END;</definition>
</script>
<script name="VKPRIKAZYH" versionFrom="15.07">
<definition>create or replace TRIGGER VKPRIKAZYH_calc
AFTER UPDATE OF RSstav ON VK_PRIKAZYH FOR EACH ROW
DECLARE
  sKod VARCHAR2(20);
  sSklad VARCHAR2(3);
  sRSstav VARCHAR2(1);
BEGIN
  -- Zmena stavu Davky na Odvedena, vsetky riadky S musime vystornovat z RS-stavu, budu odpocitane v skladovom doklade
  IF :old.RSstav&lt;&gt;'4' and :new.RSstav=4 THEN
    FOR cur IN 
    ( SELECT R.Polozka, R.Sklad, S.Miesto, S.Sarza, S.D_vyroba, S.D_spotreba, nvl(S.Mn,0) as Mn
      FROM VK_PRIKAZYS S JOIN VK_PRIKAZYR R ON S.Xh=R.Xx
      WHERE R.Xh=:old.Xx ORDER BY R.Xn
    )
    LOOP
      TNG.RSstav_update (cur.Polozka, cur.Sklad, cur.Miesto, cur.Sarza, cur.D_vyroba, cur.D_spotreba, cur.Mn);
    END LOOP;
  END IF;
END;</definition>
</script>
</scripts>
<packages>
<package name="TNG" versionFrom="15.07">
<headerDefinition>FUNCTION Verzia RETURN NUMBER;
FUNCTION Stav ( pKod tovary.xx%TYPE, pSklad c_sklady.xx%TYPE DEFAULT NULL ) RETURN NUMBER; 
FUNCTION SkucSearchGen (pDruhdok VARCHAR2, pTkateg VARCHAR2, pSklad VARCHAR2, pTdruh VARCHAR2) RETURN VARCHAR2;
FUNCTION SkucKeyGen (pDruhdok VARCHAR2, pTkateg VARCHAR2, pSklad VARCHAR2, pTdruh VARCHAR2) RETURN VARCHAR2;
PROCEDURE XSkucKeyGen (rsKey OUT VARCHAR2, pDruhdok IN VARCHAR2, pTkateg IN VARCHAR2, pSklad IN VARCHAR2, pTdruh IN VARCHAR2);  
PROCEDURE SaldoCheck (pFirma IN VARCHAR2, rnStav OUT NUMBER, rsStav OUT VARCHAR2, rnSaldo OUT NUMBER);
PROCEDURE SkucFAP (dummy IN VARCHAR2);
PROCEDURE SkucFAPclose (dummy IN varchar2);
PROCEDURE TmpxxClear (dummy IN varchar2);
PROCEDURE RSstav_update (pKod VARCHAR2, pSklad VARCHAR2, pMiesto VARCHAR2, pSarza VARCHAR2, pD_vyroba DATE, pD_spotreba DATE, pMnchange NUMBER);
END TNG;</headerDefinition>
<bodyDefinition>FUNCTION Verzia RETURN NUMBER AS BEGIN RETURN 4; END; 
------------------
FUNCTION Stav (pKod tovary.xx%TYPE, pSklad c_sklady.xx%TYPE DEFAULT NULL) RETURN NUMBER  -- kod musi byt vzdy zadany, nesmie byt null
AS
  nStav NUMBER; 
BEGIN
  IF pSklad IS NULL THEN
    SELECT SUM(mnp-mnv) INTO nStav FROM SKSTAVY WHERE kod=pKod; --vzdy vrati jeden riadok, aj ked je SKSTAVY prazdna alebo ziaden vyhovujci zaznam
  ELSE
    SELECT SUM(mnp-mnv) INTO nStav FROM SKSTAVY WHERE kod=pKod AND sklad=pSklad; --vzdy vrati jeden riadok, aj ked je SKSTAVY prazdna alebo ziaden vyhovujuci zaznam
  END IF;
  RETURN NVL(nStav,0); --nikdy nevratime null
END; 
------------------
FUNCTION SkucSearchGen (pDruhdok VARCHAR2, pTkateg VARCHAR2, pSklad VARCHAR2, pTdruh VARCHAR2) RETURN VARCHAR2 
-- Vytvorenie retazca pre hladanie v tabulke C_SKUCT, polozky sa doplnia medzerami
AS BEGIN return rpad(pDruhdok,6) || rpad(pTkateg,1) || rpad(nvl(pSklad,' '),3) || rpad(nvl(pTdruh,' '),6); END; 
FUNCTION SkucKeyGen (pDruhdok VARCHAR2, pTkateg VARCHAR2, pSklad VARCHAR2, pTdruh VARCHAR2) RETURN VARCHAR2 
-- Vytvorenie LIKE retazca, ktory bude klucom v tabulke C_SKUCT
AS 
BEGIN 
  return SkucSearchGen(
    replace(pDruhdok,'*','______'),
    replace(pTkateg,'*','_'),
    replace(nvl(pSklad,'___'),'*','___'),
    replace(nvl(pTdruh,'______'),'*','______'));
END; 
PROCEDURE XSkucKeyGen (rsKey OUT VARCHAR2, pDruhdok IN VARCHAR2, pTkateg IN VARCHAR2, pSklad IN VARCHAR2, pTdruh IN VARCHAR2)
-- Obalka nad funkciou, lebo do Century nevieme dostat CHAR navratovu hodnotu
AS BEGIN rsKey:=SkucKeyGen(pDruhdok, pTkateg, pSklad , pTdruh); END; 
------------------
PROCEDURE SaldoCheck (pFirma IN VARCHAR2, rnStav OUT NUMBER, rsStav OUT VARCHAR2, rnSaldo OUT NUMBER) AS
-- Kontrola saldokonta pri predaji. Vstup=kod firmy, Vystup: rnStav 0=Err 1=OK, rsStav=popis
  vSaldo_max NUMBER;  
  vSaldo_lps NUMBER;  
  vSaldo_dps NUMBER;  
  vSaldo_spolu NUMBER;  
  vSaldo_pospl NUMBER;  
  vPocet NUMBER;  
BEGIN
  IF pFirma is null THEN rnStav := 1; rsStav := 'OK'; rnSaldo:= null; return; END IF;
  SELECT count(*), max(Saldo_max), max(Saldo_lps), nvl(max(Saldo_dps),0) INTO vPocet, vSaldo_max, vSaldo_lps, vSaldo_dps 
  FROM FIRMY WHERE Firma=pFirma and Pobocka is null;
  IF vPocet=0 THEN rnStav := 0; rsStav := 'firma nenájdená v adresári'; rnSaldo:= null; return; END IF;
  -- suma vsetkych pohladavok
  SELECT sum(Msumauc-Dsumauc) INTO vSaldo_spolu FROM SALDO WHERE Firma=pFirma;
  rnStav := 0;
  rnSaldo:= vSaldo_spolu;
  -- test maximalnej sumy, ak je zadana hranica
  IF vSaldo_max is not null THEN
    IF vSaldo_spolu &gt; vSaldo_max THEN
      rsStav := 'prekročená max. suma';
      return;
    END IF;
  END IF;
  -- suma pohladavok po splatnosti, ak je zadany limit
  IF vSaldo_lps is not null THEN
    SELECT sum(Msumauc-Dsumauc) INTO vSaldo_pospl FROM SALDO WHERE Firma=pFirma and Splatnost&lt;(trunc(sysdate)-vSaldo_dps);
    IF vSaldo_pospl &gt; vSaldo_lps THEN
      rsStav := 'prekročená splatnosť';
      return;
    END IF;
  END IF;
  -- vsetko v limite, alebo limity nezadane
  rnStav := 1;
  rsStav := 'OK';
END;
------------------
PROCEDURE SkucFAP (dummy IN VARCHAR2) AS
-- Vygenerovanie rozuctovania skladovych dokladov do tabulky TMP_SKUCT (musi byt uz vytvorena ako GLOBAL TEMPORARY)
-- Zoznam SKLADH.XX je v tabulke TMP_XX
BEGIN 
  -- vymazeme a naplnime TMP tabulku zo skladovych dokladov
  EXECUTE IMMEDIATE 'TRUNCATE TABLE TMP_SKUCT';
  INSERT INTO TMP_SKUCT (Druhdok, Kategoria, Sklad, Druh, Vs, Str, Zak, Kp, Skladhxx, Popis, Suma) 
   SELECT R.druhdok, R.kategoria, R.sklad, T.Druh, H.Vs, R.Str, R.Zak, R.Kp, R.Xh, 
          substr(R.Druhdok || '/' || to_char(R.Cdok) || '/' || to_char(R.Datum,'DD.MM.YYYY') || ' ' || H.Popis, 1, 60),
          sum(R.Nadcena*R.mnp)
   FROM SKLADR R, SKLADH H, TOVARY T, TMP_XX X 
   WHERE (R.Xh=H.Xx) and (R.Kod=T.Xx(+)) and (H.Xx=X.Xx)
   GROUP BY R.druhdok, R.kategoria, R.sklad, T.Druh, H.Vs, R.Str, R.Zak, R.Kp, R.Xh, R.Cdok, R.Datum, H.Popis;
  -- vyhladame predkontaciu (XX) v tabulke C_CKUCT
  UPDATE TMP_SKUCT SET skuctxx=(select min(xx) from c_skuct where TNG.SkucSearchGen(tmp_skuct.druhdok, tmp_skuct.kategoria, tmp_skuct.sklad, tmp_skuct.Druh) like c_skuct.xx);
  -- doplnime ucet z predkontacie
  UPDATE TMP_SKUCT SET Ucet=(select P_ucet_d from c_skuct where c_skuct.xx=TMP_SKUCT.skuctxx);
  -- doplnime priznaky uctov z rozvrhu
  UPDATE TMP_SKUCT SET (Ucet_saldo, Ucet_str, Ucet_zak, Ucet_kp)=(select Saldo, Str, Zak, Kp from c_uct_rozvrh where c_uct_rozvrh.xx=TMP_SKUCT.ucet) WHERE Ucet is not null;
  UPDATE TMP_SKUCT SET Ucet='???' WHERE Skuctxx is null;
  -- vymazeme Vs, Str, Zak, Kp ak to ucet zakazuje
  -- UPDATE TMP_SKUCT SET Vs=null  WHERE Ucet_saldo is null;
  UPDATE TMP_SKUCT SET Str=null WHERE (Ucet_str is null) or (Ucet_str='Z');
  UPDATE TMP_SKUCT SET Zak=null WHERE (Ucet_zak is null) or (Ucet_zak='Z');
  UPDATE TMP_SKUCT SET Kp=null  WHERE (Ucet_kp is null) or (Ucet_kp='Z');
  COMMIT;
END; 
PROCEDURE SkucFAPclose (dummy IN varchar2) AS
-- Vymazanie tabulky TMP_SKUCT (bezny user nema pravo TRUNCATE). Dummy prm kvoli tomu, ze z century sa neda volat procedura bez parametrov.
BEGIN 
  EXECUTE IMMEDIATE 'TRUNCATE TABLE TMP_SKUCT';
  EXECUTE IMMEDIATE 'TRUNCATE TABLE TMP_XX';
  COMMIT;
END; 
PROCEDURE TmpxxClear (dummy IN varchar2) AS
-- Vymazanie tabulky TMP_XX (bezny user nema pravo TRUNCATE). Dummy prm kvoli tomu, ze z century sa neda volat procedura bez parametrov.
BEGIN 
  EXECUTE IMMEDIATE 'TRUNCATE TABLE TMP_XX';
  COMMIT;
END; 
------------------
PROCEDURE RSstav_update (pKod VARCHAR2, pSklad VARCHAR2, pMiesto VARCHAR2, pSarza VARCHAR2, pD_vyroba DATE, pD_spotreba DATE, pMnchange NUMBER) AS
-- Zmena stavu RS, updatuje riadok a ak ziaden nenajde tak prida novy. Ziaden COMMIT.
BEGIN
  IF (pMiesto is not null) or (pSarza is not null) or (pD_vyroba is not null) or (pD_spotreba is not null) THEN
    UPDATE RSSTAV SET Stav=Stav+nvl(pMnchange,0)
    WHERE (Kod || '.' || Sklad || '.' || Miesto || '.' || Sarza || '.' || to_char(D_vyroba,'yyyyMMdd') || '.' || to_char(D_spotreba,'yyyyMMdd')) = 
          pKod || '.' || pSklad || '.' || pMiesto || '.' || pSarza || '.' || to_char(pD_vyroba,'yyyyMMdd') || '.' || to_char(pD_spotreba,'yyyyMMdd');
    IF sql%rowcount &lt; 1 THEN
      INSERT INTO RSSTAV (Kod, Sklad, Miesto, Sarza, Stav, D_vyroba, D_spotreba)
      VALUES (pKod, pSklad, pMiesto, pSarza, nvl(pMnchange,0), pD_vyroba, pD_spotreba);
    END IF;
  END IF;
END;
------------------
END TNG;</bodyDefinition>
</package>
</packages>
</template>
