[sql] Teste

Viewer

  1. <?xml version="1.0" standalone="yes" ?>
  2. <DBMODEL Version="4.0">
  3. <SETTINGS>
  4. <GLOBALSETTINGS ModelName="T2Ti SisCom" IDModel="0" IDVersion="0" VersionStr="1.0" Comments="T2Ti SisCom" UseVersionHistroy="1" AutoIncVersion="1" DatabaseType="MySQL" ZoomFac="60.00" XPos="2035" YPos="527" DefaultDataType="5" DefaultTablePrefix="0" DefSaveDBConn="" DefSyncDBConn="" DefQueryDBConn="" Printer="" HPageCount="4.0" PageAspectRatio="1.440892512336408" PageOrientation="1" PageFormat="A4 (210x297 mm, 8.26x11.7 inches)" SelectedPages="" UsePositionGrid="0" PositionGridX="20" PositionGridY="20" TableNameInRefs="1" DefaultTableType="1" ActivateRefDefForNewRelations="1" FKPrefix="" FKPostfix="" CreateFKRefDefIndex="1" DBQuoteCharacter="`" CreateSQLforLinkedObjects="0" DefModelFont="Tahoma" CanvasWidth="10001" CanvasHeight="6939" />
  5. <DATATYPEGROUPS>
  6. <DATATYPEGROUP Name="Numeric Types" Icon="1" />
  7. <DATATYPEGROUP Name="Date and Time Types" Icon="2" />
  8. <DATATYPEGROUP Name="String Types" Icon="3" />
  9. <DATATYPEGROUP Name="Blob and Text Types" Icon="4" />
  10. <DATATYPEGROUP Name="User defined Types" Icon="5" />
  11. <DATATYPEGROUP Name="Geographic Types" Icon="6" />
  12. </DATATYPEGROUPS>
  13. <DATATYPES>
  14. <DATATYPE ID="1" IDGroup="0" TypeName="TINYINT" Description="A very small integer. The signed range is -128 to 127. The unsigned range is 0 to 255." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  15. <PARAMS>
  16. <PARAM Name="length" />
  17. </PARAMS>
  18. <OPTIONS>
  19. <OPTION Name="UNSIGNED" DEFAULT="1" />
  20. <OPTION Name="ZEROFILL" DEFAULT="0" />
  21. </OPTIONS>
  22. </DATATYPE>
  23. <DATATYPE ID="2" IDGroup="0" TypeName="SMALLINT" Description="A small integer. The signed range is -32768 to 32767. The unsigned range is 0 to 65535." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  24. <PARAMS>
  25. <PARAM Name="length" />
  26. </PARAMS>
  27. <OPTIONS>
  28. <OPTION Name="UNSIGNED" DEFAULT="1" />
  29. <OPTION Name="ZEROFILL" DEFAULT="0" />
  30. </OPTIONS>
  31. </DATATYPE>
  32. <DATATYPE ID="3" IDGroup="0" TypeName="MEDIUMINT" Description="A medium-size integer. The signed range is -8388608 to 8388607. The unsigned range is 0 to 16777215." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  33. <PARAMS>
  34. <PARAM Name="length" />
  35. </PARAMS>
  36. <OPTIONS>
  37. <OPTION Name="UNSIGNED" DEFAULT="1" />
  38. <OPTION Name="ZEROFILL" DEFAULT="0" />
  39. </OPTIONS>
  40. </DATATYPE>
  41. <DATATYPE ID="4" IDGroup="0" TypeName="INT" Description="A normal-size integer. The signed range is -2147483648 to 2147483647. The unsigned range is 0 to 4294967295." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="1" PhysicalMapping="0" PhysicalTypeName="" >
  42. <PARAMS>
  43. <PARAM Name="length" />
  44. </PARAMS>
  45. <OPTIONS>
  46. <OPTION Name="UNSIGNED" DEFAULT="0" />
  47. <OPTION Name="ZEROFILL" DEFAULT="0" />
  48. </OPTIONS>
  49. </DATATYPE>
  50. <DATATYPE ID="5" IDGroup="0" TypeName="INTEGER" Description="A normal-size integer. The signed range is -2147483648 to 2147483647. The unsigned range is 0 to 4294967295." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="1" PhysicalMapping="0" PhysicalTypeName="" >
  51. <PARAMS>
  52. <PARAM Name="length" />
  53. </PARAMS>
  54. <OPTIONS>
  55. <OPTION Name="UNSIGNED" DEFAULT="1" />
  56. <OPTION Name="ZEROFILL" DEFAULT="0" />
  57. </OPTIONS>
  58. </DATATYPE>
  59. <DATATYPE ID="6" IDGroup="0" TypeName="BIGINT" Description="A large integer. The signed range is -9223372036854775808 to 9223372036854775807. The unsigned range is 0 to 18446744073709551615." ParamCount="1" OptionCount="2" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  60. <PARAMS>
  61. <PARAM Name="length" />
  62. </PARAMS>
  63. <OPTIONS>
  64. <OPTION Name="UNSIGNED" DEFAULT="0" />
  65. <OPTION Name="ZEROFILL" DEFAULT="0" />
  66. </OPTIONS>
  67. </DATATYPE>
  68. <DATATYPE ID="7" IDGroup="0" TypeName="FLOAT" Description="A small (single-precision) floating-point number. Cannot be unsigned. Allowable values are -3.402823466E+38 to -1.175494351E-38, 0, and 1.175494351E-38 to 3.402823466E+38." ParamCount="1" OptionCount="1" ParamRequired="1" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  69. <PARAMS>
  70. <PARAM Name="precision" />
  71. </PARAMS>
  72. <OPTIONS>
  73. <OPTION Name="ZEROFILL" DEFAULT="0" />
  74. </OPTIONS>
  75. </DATATYPE>
  76. <DATATYPE ID="8" IDGroup="0" TypeName="FLOAT" Description="A small (single-precision) floating-point number. Cannot be unsigned. Allowable values are -3.402823466E+38 to -1.175494351E-38, 0, and 1.175494351E-38 to 3.402823466E+38." ParamCount="2" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  77. <PARAMS>
  78. <PARAM Name="length" />
  79. <PARAM Name="decimals" />
  80. </PARAMS>
  81. <OPTIONS>
  82. <OPTION Name="ZEROFILL" DEFAULT="0" />
  83. </OPTIONS>
  84. </DATATYPE>
  85. <DATATYPE ID="9" IDGroup="0" TypeName="DOUBLE" Description="A normal-size (double-precision) floating-point number. Cannot be unsigned. Allowable values are -1.7976931348623157E+308 to -2.2250738585072014E-308, 0, and 2.2250738585072014E-308 to 1.7976931348623157E+308." ParamCount="2" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="2" PhysicalMapping="0" PhysicalTypeName="" >
  86. <PARAMS>
  87. <PARAM Name="length" />
  88. <PARAM Name="decimals" />
  89. </PARAMS>
  90. <OPTIONS>
  91. <OPTION Name="ZEROFILL" DEFAULT="0" />
  92. </OPTIONS>
  93. </DATATYPE>
  94. <DATATYPE ID="10" IDGroup="0" TypeName="DOUBLE PRECISION" Description="This is a synonym for DOUBLE." ParamCount="2" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="2" PhysicalMapping="0" PhysicalTypeName="" >
  95. <PARAMS>
  96. <PARAM Name="length" />
  97. <PARAM Name="decimals" />
  98. </PARAMS>
  99. <OPTIONS>
  100. <OPTION Name="ZEROFILL" DEFAULT="0" />
  101. </OPTIONS>
  102. </DATATYPE>
  103. <DATATYPE ID="11" IDGroup="0" TypeName="REAL" Description="This is a synonym for DOUBLE." ParamCount="2" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="2" PhysicalMapping="0" PhysicalTypeName="" >
  104. <PARAMS>
  105. <PARAM Name="length" />
  106. <PARAM Name="decimals" />
  107. </PARAMS>
  108. <OPTIONS>
  109. <OPTION Name="ZEROFILL" DEFAULT="0" />
  110. </OPTIONS>
  111. </DATATYPE>
  112. <DATATYPE ID="12" IDGroup="0" TypeName="DECIMAL" Description="An unpacked floating-point number. Cannot be unsigned. Behaves like a CHAR column." ParamCount="2" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="3" PhysicalMapping="0" PhysicalTypeName="" >
  113. <PARAMS>
  114. <PARAM Name="length" />
  115. <PARAM Name="decimals" />
  116. </PARAMS>
  117. <OPTIONS>
  118. <OPTION Name="ZEROFILL" DEFAULT="0" />
  119. </OPTIONS>
  120. </DATATYPE>
  121. <DATATYPE ID="13" IDGroup="0" TypeName="NUMERIC" Description="This is a synonym for DECIMAL." ParamCount="2" OptionCount="1" ParamRequired="1" EditParamsAsString="0" SynonymGroup="3" PhysicalMapping="0" PhysicalTypeName="" >
  122. <PARAMS>
  123. <PARAM Name="length" />
  124. <PARAM Name="decimals" />
  125. </PARAMS>
  126. <OPTIONS>
  127. <OPTION Name="ZEROFILL" DEFAULT="0" />
  128. </OPTIONS>
  129. </DATATYPE>
  130. <DATATYPE ID="14" IDGroup="1" TypeName="DATE" Description="A date. The supported range is \a1000-01-01\a to \a9999-12-31\a." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  131. </DATATYPE>
  132. <DATATYPE ID="15" IDGroup="1" TypeName="DATETIME" Description="A date and time combination. The supported range is \a1000-01-01 00:00:00\a to \a9999-12-31 23:59:59\a." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  133. </DATATYPE>
  134. <DATATYPE ID="16" IDGroup="1" TypeName="TIMESTAMP" Description="A timestamp. The range is \a1970-01-01 00:00:00\a to sometime in the year 2037. The length can be 14 (or missing), 12, 10, 8, 6, 4, or 2 representing YYYYMMDDHHMMSS, ... , YYYYMMDD, ... , YY formats." ParamCount="1" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  135. <PARAMS>
  136. <PARAM Name="length" />
  137. </PARAMS>
  138. </DATATYPE>
  139. <DATATYPE ID="17" IDGroup="1" TypeName="TIME" Description="A time. The range is \a-838:59:59\a to \a838:59:59\a." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  140. </DATATYPE>
  141. <DATATYPE ID="18" IDGroup="1" TypeName="YEAR" Description="A year in 2- or 4-digit format (default is 4-digit)." ParamCount="1" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  142. <PARAMS>
  143. <PARAM Name="length" />
  144. </PARAMS>
  145. </DATATYPE>
  146. <DATATYPE ID="19" IDGroup="2" TypeName="CHAR" Description="A fixed-length string (1 to 255 characters) that is always right-padded with spaces to the specified length when stored. values are sorted and compared in case-insensitive fashion according to the default character set unless the BINARY keyword is given." ParamCount="1" OptionCount="1" ParamRequired="1" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  147. <PARAMS>
  148. <PARAM Name="length" />
  149. </PARAMS>
  150. <OPTIONS>
  151. <OPTION Name="BINARY" DEFAULT="0" />
  152. </OPTIONS>
  153. </DATATYPE>
  154. <DATATYPE ID="20" IDGroup="2" TypeName="VARCHAR" Description="A variable-length string (1 to 255 characters). Values are sorted and compared in case-sensitive fashion unless the BINARY keyword is given." ParamCount="1" OptionCount="1" ParamRequired="1" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  155. <PARAMS>
  156. <PARAM Name="length" />
  157. </PARAMS>
  158. <OPTIONS>
  159. <OPTION Name="BINARY" DEFAULT="0" />
  160. </OPTIONS>
  161. </DATATYPE>
  162. <DATATYPE ID="21" IDGroup="2" TypeName="BIT" Description="This is a synonym for CHAR(1)." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  163. </DATATYPE>
  164. <DATATYPE ID="22" IDGroup="2" TypeName="BOOL" Description="This is a synonym for CHAR(1)." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  165. </DATATYPE>
  166. <DATATYPE ID="23" IDGroup="3" TypeName="TINYBLOB" Description="A column maximum length of 255 (2^8 - 1) characters. Values are sorted and compared in case-sensitive fashion." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  167. </DATATYPE>
  168. <DATATYPE ID="24" IDGroup="3" TypeName="BLOB" Description="A column maximum length of 65535 (2^16 - 1) characters. Values are sorted and compared in case-sensitive fashion." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  169. </DATATYPE>
  170. <DATATYPE ID="25" IDGroup="3" TypeName="MEDIUMBLOB" Description="A column maximum length of 16777215 (2^24 - 1) characters. Values are sorted and compared in case-sensitive fashion." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  171. </DATATYPE>
  172. <DATATYPE ID="26" IDGroup="3" TypeName="LONGBLOB" Description="A column maximum length of 4294967295 (2^32 - 1) characters. Values are sorted and compared in case-sensitive fashion." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  173. </DATATYPE>
  174. <DATATYPE ID="27" IDGroup="3" TypeName="TINYTEXT" Description="A column maximum length of 255 (2^8 - 1) characters." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  175. </DATATYPE>
  176. <DATATYPE ID="28" IDGroup="3" TypeName="TEXT" Description="A column maximum length of 65535 (2^16 - 1) characters." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  177. </DATATYPE>
  178. <DATATYPE ID="29" IDGroup="3" TypeName="MEDIUMTEXT" Description="A column maximum length of 16777215 (2^24 - 1) characters." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  179. </DATATYPE>
  180. <DATATYPE ID="30" IDGroup="3" TypeName="LONGTEXT" Description="A column maximum length of 4294967295 (2^32 - 1) characters." ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  181. </DATATYPE>
  182. <DATATYPE ID="31" IDGroup="3" TypeName="ENUM" Description="An enumeration. A string object that can have only one value, chosen from the list of values." ParamCount="1" OptionCount="0" ParamRequired="1" EditParamsAsString="1" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  183. <PARAMS>
  184. <PARAM Name="values" />
  185. </PARAMS>
  186. </DATATYPE>
  187. <DATATYPE ID="32" IDGroup="3" TypeName="SET" Description="A set. A string object that can have zero or more values, each of which must be chosen from the list of values." ParamCount="1" OptionCount="0" ParamRequired="1" EditParamsAsString="1" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  188. <PARAMS>
  189. <PARAM Name="values" />
  190. </PARAMS>
  191. </DATATYPE>
  192. <DATATYPE ID="33" IDGroup="4" TypeName="Varchar(20)" Description="" ParamCount="0" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  193. <OPTIONS>
  194. <OPTION Name="BINARY" DEFAULT="0" />
  195. </OPTIONS>
  196. </DATATYPE>
  197. <DATATYPE ID="34" IDGroup="4" TypeName="Varchar(45)" Description="" ParamCount="0" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  198. <OPTIONS>
  199. <OPTION Name="BINARY" DEFAULT="0" />
  200. </OPTIONS>
  201. </DATATYPE>
  202. <DATATYPE ID="35" IDGroup="4" TypeName="Varchar(255)" Description="" ParamCount="0" OptionCount="1" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  203. <OPTIONS>
  204. <OPTION Name="BINARY" DEFAULT="0" />
  205. </OPTIONS>
  206. </DATATYPE>
  207. <DATATYPE ID="36" IDGroup="5" TypeName="GEOMETRY" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  208. </DATATYPE>
  209. <DATATYPE ID="38" IDGroup="5" TypeName="LINESTRING" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  210. </DATATYPE>
  211. <DATATYPE ID="39" IDGroup="5" TypeName="POLYGON" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  212. </DATATYPE>
  213. <DATATYPE ID="40" IDGroup="5" TypeName="MULTIPOINT" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  214. </DATATYPE>
  215. <DATATYPE ID="41" IDGroup="5" TypeName="MULTILINESTRING" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  216. </DATATYPE>
  217. <DATATYPE ID="42" IDGroup="5" TypeName="MULTIPOLYGON" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  218. </DATATYPE>
  219. <DATATYPE ID="43" IDGroup="5" TypeName="GEOMETRYCOLLECTION" Description="Geographic Datatype" ParamCount="0" OptionCount="0" ParamRequired="0" EditParamsAsString="0" SynonymGroup="0" PhysicalMapping="0" PhysicalTypeName="" >
  220. </DATATYPE>
  221. </DATATYPES>
  222. <COMMON_DATATYPES>
  223. <COMMON_DATATYPE ID="5" />
  224. <COMMON_DATATYPE ID="8" />
  225. <COMMON_DATATYPE ID="20" />
  226. <COMMON_DATATYPE ID="15" />
  227. <COMMON_DATATYPE ID="22" />
  228. <COMMON_DATATYPE ID="28" />
  229. <COMMON_DATATYPE ID="26" />
  230. <COMMON_DATATYPE ID="33" />
  231. <COMMON_DATATYPE ID="34" />
  232. <COMMON_DATATYPE ID="35" />
  233. </COMMON_DATATYPES>
  234. <TABLEPREFIXES>
  235. <TABLEPREFIX Name="Default (no prefix)" />
  236. </TABLEPREFIXES>
  237. <REGIONCOLORS>
  238. <REGIONCOLOR Color="Red=#FFEEEC" />
  239. <REGIONCOLOR Color="Yellow=#FEFDED" />
  240. <REGIONCOLOR Color="Green=#EAFFE5" />
  241. <REGIONCOLOR Color="Cyan=#ECFDFF" />
  242. <REGIONCOLOR Color="Blue=#F0F1FE" />
  243. <REGIONCOLOR Color="Magenta=#FFEBFA" />
  244. </REGIONCOLORS>
  245. <POSITIONMARKERS>
  246. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  247. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  248. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  249. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  250. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  251. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  252. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  253. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  254. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  255. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  256. <POSITIONMARKER ZoomFac="-1.0" X="0" Y="0" />
  257. </POSITIONMARKERS>
  258. </SETTINGS>
  259. <METADATA>
  260. <REGIONS>
  261. <REGION ID="101750" RegionName="Tabelas Base - Dados Preexistentes" XPos="6395" YPos="3050" Width="2095" Height="940" RegionColor="2" TablePrefix="0" TableType="1" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="375" />
  262. <REGION ID="101749" RegionName="Financeiro" XPos="3372" YPos="4002" Width="2995" Height="1050" RegionColor="3" TablePrefix="0" TableType="0" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="375" />
  263. <REGION ID="101748" RegionName="Vendas" XPos="1515" YPos="4005" Width="1835" Height="1048" RegionColor="5" TablePrefix="0" TableType="1" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="375" />
  264. <REGION ID="101747" RegionName="Empresa e Outros" XPos="3372" YPos="2665" Width="2998" Height="1328" RegionColor="1" TablePrefix="0" TableType="1" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="375" />
  265. <REGION ID="101746" RegionName="Pessoa" XPos="3378" YPos="1660" Width="2992" Height="992" RegionColor="0" TablePrefix="0" TableType="1" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="374" />
  266. <REGION ID="101735" RegionName="Cadastros - Colaborador" XPos="1515" YPos="2665" Width="1835" Height="1328" RegionColor="4" TablePrefix="0" TableType="1" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="390" />
  267. <REGION ID="101734" RegionName="Cadastros - Produto" XPos="1515" YPos="1662" Width="1838" Height="990" RegionColor="3" TablePrefix="0" TableType="1" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="389" />
  268. <REGION ID="101733" RegionName="Controle de Estoque" XPos="1518" YPos="940" Width="1835" Height="702" RegionColor="1" TablePrefix="0" TableType="1" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="390" />
  269. <REGION ID="54170" RegionName="Compras" XPos="3380" YPos="940" Width="1820" Height="702" RegionColor="5" TablePrefix="0" TableType="1" OverwriteTablePrefix="0" OverwriteTableType="0" Comments="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="586" />
  270. </REGIONS>
  271. <TABLES>
  272. <TABLE ID="1074" Tablename="EMPRESA" PrevTableName="Table_01" XPos="4152" YPos="2940" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com as empresas que utilizam o sistema. " Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="87" >
  273. <COLUMNS>
  274. <COLUMN ID="1076" ColName="ID" PrevColName="id_empresa" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  275. <OPTIONSELECTED>
  276. <OPTIONSELECT VALUE="1" />
  277. <OPTIONSELECT VALUE="0" />
  278. </OPTIONSELECTED>
  279. </COLUMN>
  280. <COLUMN ID="80116" ColName="ID_EMPRESA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  281. <OPTIONSELECTED>
  282. <OPTIONSELECT VALUE="1" />
  283. <OPTIONSELECT VALUE="0" />
  284. </OPTIONSELECTED>
  285. </COLUMN>
  286. <COLUMN ID="22929" ColName="ID_CONTADOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  287. <OPTIONSELECTED>
  288. <OPTIONSELECT VALUE="1" />
  289. <OPTIONSELECT VALUE="0" />
  290. </OPTIONSELECTED>
  291. </COLUMN>
  292. <COLUMN ID="1189" ColName="RAZAO_SOCIAL" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(150)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  293. <OPTIONSELECTED>
  294. <OPTIONSELECT VALUE="0" />
  295. </OPTIONSELECTED>
  296. </COLUMN>
  297. <COLUMN ID="1190" ColName="NOME_FANTASIA" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(150)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  298. <OPTIONSELECTED>
  299. <OPTIONSELECT VALUE="0" />
  300. </OPTIONSELECTED>
  301. </COLUMN>
  302. <COLUMN ID="1191" ColName="CNPJ" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  303. <OPTIONSELECTED>
  304. <OPTIONSELECT VALUE="0" />
  305. </OPTIONSELECTED>
  306. </COLUMN>
  307. <COLUMN ID="19259" ColName="INSCRICAO_ESTADUAL" PrevColName="INCRICAO_ESTADUAL" Pos="7" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  308. <OPTIONSELECTED>
  309. <OPTIONSELECT VALUE="0" />
  310. </OPTIONSELECTED>
  311. </COLUMN>
  312. <COLUMN ID="18088" ColName="INSCRICAO_ESTADUAL_ST" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  313. <OPTIONSELECTED>
  314. <OPTIONSELECT VALUE="0" />
  315. </OPTIONSELECTED>
  316. </COLUMN>
  317. <COLUMN ID="1193" ColName="INSCRICAO_MUNICIPAL" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  318. <OPTIONSELECTED>
  319. <OPTIONSELECT VALUE="1" />
  320. </OPTIONSELECTED>
  321. </COLUMN>
  322. <COLUMN ID="22922" ColName="INSCRICAO_JUNTA_COMERCIAL" PrevColName="" Pos="8" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  323. <OPTIONSELECTED>
  324. <OPTIONSELECT VALUE="0" />
  325. </OPTIONSELECTED>
  326. </COLUMN>
  327. <COLUMN ID="22924" ColName="DATA_INSC_JUNTA_COMERCIAL" PrevColName="" Pos="9" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  328. <OPTIONSELECTED>
  329. </OPTIONSELECTED>
  330. </COLUMN>
  331. <COLUMN ID="5304" ColName="TIPO" PrevColName="MATRIZ_FILIAL" Pos="8" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valores poss\237veis: M-Matriz | F-Filial | D=Dep\243sito">
  332. <OPTIONSELECTED>
  333. <OPTIONSELECT VALUE="0" />
  334. </OPTIONSELECTED>
  335. </COLUMN>
  336. <COLUMN ID="5546" ColName="DATA_CADASTRO" PrevColName="" Pos="8" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  337. <OPTIONSELECTED>
  338. </OPTIONSELECTED>
  339. </COLUMN>
  340. <COLUMN ID="22925" ColName="DATA_INICIO_ATIVIDADES" PrevColName="" Pos="12" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  341. <OPTIONSELECTED>
  342. </OPTIONSELECTED>
  343. </COLUMN>
  344. <COLUMN ID="17821" ColName="SUFRAMA" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(9)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  345. <OPTIONSELECTED>
  346. <OPTIONSELECT VALUE="0" />
  347. </OPTIONSELECTED>
  348. </COLUMN>
  349. <COLUMN ID="17835" ColName="EMAIL" PrevColName="" Pos="18" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  350. <OPTIONSELECTED>
  351. <OPTIONSELECT VALUE="1" />
  352. </OPTIONSELECTED>
  353. </COLUMN>
  354. <COLUMN ID="17870" ColName="IMAGEM_LOGOTIPO" PrevColName="" Pos="19" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  355. <OPTIONSELECTED>
  356. </OPTIONSELECTED>
  357. </COLUMN>
  358. <COLUMN ID="19680" ColName="CRT" PrevColName="" Pos="14" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo Regime Tribut\225rio [1=Simples Nacional | 2=Simples Nacional - excesso de sublimite da receita bruta  | 3=Regime Normal ">
  359. <OPTIONSELECTED>
  360. <OPTIONSELECT VALUE="0" />
  361. </OPTIONSELECTED>
  362. </COLUMN>
  363. <COLUMN ID="19682" ColName="TIPO_REGIME" PrevColName="" Pos="15" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="1-Lucro REAL;2-Lucro presumido;3-Simples nacional;">
  364. <OPTIONSELECTED>
  365. <OPTIONSELECT VALUE="0" />
  366. </OPTIONSELECTED>
  367. </COLUMN>
  368. <COLUMN ID="19681" ColName="ALIQUOTA_PIS" PrevColName="" Pos="15" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Aliquota do PIS padrao para a empresa">
  369. <OPTIONSELECTED>
  370. <OPTIONSELECT VALUE="0" />
  371. </OPTIONSELECTED>
  372. </COLUMN>
  373. <COLUMN ID="32675" ColName="CONTATO" PrevColName="" Pos="22" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Aliquota padrao do Confins">
  374. <OPTIONSELECTED>
  375. <OPTIONSELECT VALUE="0" />
  376. </OPTIONSELECTED>
  377. </COLUMN>
  378. <COLUMN ID="19683" ColName="ALIQUOTA_COFINS" PrevColName="" Pos="17" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  379. <OPTIONSELECTED>
  380. <OPTIONSELECT VALUE="0" />
  381. </OPTIONSELECTED>
  382. </COLUMN>
  383. <COLUMN ID="32676" ColName="CODIGO_IBGE_CIDADE" PrevColName="" Pos="23" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  384. <OPTIONSELECTED>
  385. <OPTIONSELECT VALUE="1" />
  386. <OPTIONSELECT VALUE="0" />
  387. </OPTIONSELECTED>
  388. </COLUMN>
  389. <COLUMN ID="32677" ColName="CODIGO_IBGE_UF" PrevColName="" Pos="24" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  390. <OPTIONSELECTED>
  391. <OPTIONSELECT VALUE="1" />
  392. <OPTIONSELECT VALUE="0" />
  393. </OPTIONSELECTED>
  394. </COLUMN>
  395. <COLUMN ID="44468" ColName="CODIGO_TERCEIROS" PrevColName="" Pos="25" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Codigo das contribuicoes para terceiros incidentes sobre a folha de pagamento (os terceiros sao SESI, SENAI, SEBRAE, INCRA, etc) esta tabela consta na IN 971/2009  da RFB">
  396. <OPTIONSELECTED>
  397. <OPTIONSELECT VALUE="1" />
  398. <OPTIONSELECT VALUE="0" />
  399. </OPTIONSELECTED>
  400. </COLUMN>
  401. <COLUMN ID="44526" ColName="CODIGO_GPS" PrevColName="" Pos="29" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Codigo de pagamento da GPS, trata-se de tabale encontrada no site da Previdencia Social">
  402. <OPTIONSELECTED>
  403. <OPTIONSELECT VALUE="1" />
  404. <OPTIONSELECT VALUE="0" />
  405. </OPTIONSELECTED>
  406. </COLUMN>
  407. <COLUMN ID="44575" ColName="ALIQUOTA_SAT" PrevColName="" Pos="30" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Aliquota do Seguro contra Acidente de trabalho incidente sobre a folha de pagametno dos empregados">
  408. <OPTIONSELECTED>
  409. <OPTIONSELECT VALUE="0" />
  410. </OPTIONSELECTED>
  411. </COLUMN>
  412. <COLUMN ID="79887" ColName="CEI" PrevColName="" Pos="29" idDatatype="20" DatatypeParams="(12)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="N\250mero de inscri\231\227o do estabelecimento no Cadastro Espec\237fico do INSS">
  413. <OPTIONSELECTED>
  414. <OPTIONSELECT VALUE="0" />
  415. </OPTIONSELECTED>
  416. </COLUMN>
  417. <COLUMN ID="95790" ColName="CODIGO_CNAE_PRINCIPAL" PrevColName="" Pos="30" idDatatype="20" DatatypeParams="(7)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Demais c\243digos da empresa devem ser informados na tabela EMPRESA_CNAE">
  418. <OPTIONSELECTED>
  419. <OPTIONSELECT VALUE="0" />
  420. </OPTIONSELECTED>
  421. </COLUMN>
  422. </COLUMNS>
  423. <RELATIONS_START>
  424. <RELATION_START ID="5851" />
  425. <RELATION_START ID="17871" />
  426. <RELATION_START ID="54106" />
  427. <RELATION_START ID="80113" />
  428. </RELATIONS_START>
  429. <RELATIONS_END>
  430. <RELATION_END ID="22926" />
  431. <RELATION_END ID="80113" />
  432. </RELATIONS_END>
  433. <INDICES>
  434. <INDEX ID="1077" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  435. <INDEXCOLUMNS>
  436. <INDEXCOLUMN idColumn="1076" LengthParam="0" />
  437. </INDEXCOLUMNS>
  438. </INDEX>
  439. <INDEX ID="22928" IndexName="FK_CONTADOR_EMPRESA" IndexKind="1" FKRefDef_Obj_id="22926">
  440. <INDEXCOLUMNS>
  441. <INDEXCOLUMN idColumn="22929" LengthParam="0" />
  442. </INDEXCOLUMNS>
  443. </INDEX>
  444. <INDEX ID="80115" IndexName="FK_AUTO_REL_EMPRESA" IndexKind="1" FKRefDef_Obj_id="80113">
  445. <INDEXCOLUMNS>
  446. <INDEXCOLUMN idColumn="80116" LengthParam="0" />
  447. </INDEXCOLUMNS>
  448. </INDEX>
  449. </INDICES>
  450. </TABLE>
  451. <TABLE ID="1085" Tablename="FORNECEDOR" PrevTableName="Table_03" XPos="4308" YPos="1962" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com a rela\231ao de fornecedores das empresas." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="415" >
  452. <COLUMNS>
  453. <COLUMN ID="1087" ColName="ID" PrevColName="id_fornecedor" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  454. <OPTIONSELECTED>
  455. <OPTIONSELECT VALUE="1" />
  456. <OPTIONSELECT VALUE="0" />
  457. </OPTIONSELECTED>
  458. </COLUMN>
  459. <COLUMN ID="20843" ColName="ID_PESSOA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  460. <OPTIONSELECTED>
  461. <OPTIONSELECT VALUE="1" />
  462. <OPTIONSELECT VALUE="0" />
  463. </OPTIONSELECTED>
  464. </COLUMN>
  465. <COLUMN ID="18075" ColName="ID_ATIVIDADE_FOR_CLI" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  466. <OPTIONSELECTED>
  467. <OPTIONSELECT VALUE="1" />
  468. <OPTIONSELECT VALUE="0" />
  469. </OPTIONSELECTED>
  470. </COLUMN>
  471. <COLUMN ID="11038" ColName="ID_SITUACAO_FOR_CLI" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  472. <OPTIONSELECTED>
  473. <OPTIONSELECT VALUE="1" />
  474. <OPTIONSELECT VALUE="0" />
  475. </OPTIONSELECTED>
  476. </COLUMN>
  477. <COLUMN ID="1600" ColName="DESDE" PrevColName="" Pos="7" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  478. <OPTIONSELECTED>
  479. </OPTIONSELECTED>
  480. </COLUMN>
  481. <COLUMN ID="14136" ColName="OPTANTE_SIMPLES_NACIONAL" PrevColName="OPTANTE_SIMPLES_NAC" Pos="14" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Indica se \233 optante do simples nacional">
  482. <OPTIONSELECTED>
  483. <OPTIONSELECT VALUE="0" />
  484. </OPTIONSELECTED>
  485. </COLUMN>
  486. <COLUMN ID="14141" ColName="LOCALIZACAO" PrevColName="" Pos="17" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="N = Nacional, E = Exterior">
  487. <OPTIONSELECTED>
  488. <OPTIONSELECT VALUE="0" />
  489. </OPTIONSELECTED>
  490. </COLUMN>
  491. <COLUMN ID="5550" ColName="DATA_CADASTRO" PrevColName="" Pos="13" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  492. <OPTIONSELECTED>
  493. </OPTIONSELECTED>
  494. </COLUMN>
  495. <COLUMN ID="15511" ColName="SOFRE_RETENCAO" PrevColName="" Pos="17" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valores poss\237veis: S-Sim | N-N\227o - Informa se o fornecedor sofre reten\231\227o de pagamentos caso ocorra algum tipo de problema.">
  496. <OPTIONSELECTED>
  497. <OPTIONSELECT VALUE="0" />
  498. </OPTIONSELECTED>
  499. </COLUMN>
  500. <COLUMN ID="18058" ColName="CHEQUE_NOMINAL_A" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  501. <OPTIONSELECTED>
  502. <OPTIONSELECT VALUE="0" />
  503. </OPTIONSELECTED>
  504. </COLUMN>
  505. <COLUMN ID="20856" ColName="OBSERVACAO" PrevColName="" Pos="10" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  506. <OPTIONSELECTED>
  507. </OPTIONSELECTED>
  508. </COLUMN>
  509. <COLUMN ID="40317" ColName="CONTA_REMETENTE" PrevColName="" Pos="11" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Conta vinculada ao plano de contas cont\225bil.">
  510. <OPTIONSELECTED>
  511. <OPTIONSELECT VALUE="0" />
  512. </OPTIONSELECTED>
  513. </COLUMN>
  514. <COLUMN ID="46356" ColName="PRAZO_MEDIO_ENTREGA" PrevColName="PRAZO_MEDIO_ENTEGRA" Pos="12" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  515. <OPTIONSELECTED>
  516. <OPTIONSELECT VALUE="1" />
  517. <OPTIONSELECT VALUE="0" />
  518. </OPTIONSELECTED>
  519. </COLUMN>
  520. <COLUMN ID="46357" ColName="GERA_FATURAMENTO" PrevColName="" Pos="13" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="indicar se este fornecedor libera a prazo ou nao.">
  521. <OPTIONSELECTED>
  522. <OPTIONSELECT VALUE="0" />
  523. </OPTIONSELECTED>
  524. </COLUMN>
  525. <COLUMN ID="46358" ColName="NUM_DIAS_PRIMEIRO_VENCIMENTO" PrevColName="NUM_DIAS_PRIM_VENC" Pos="14" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="numero de dias do primeiro vencimento">
  526. <OPTIONSELECTED>
  527. <OPTIONSELECT VALUE="1" />
  528. <OPTIONSELECT VALUE="0" />
  529. </OPTIONSELECTED>
  530. </COLUMN>
  531. <COLUMN ID="46359" ColName="NUM_DIAS_INTERVALO" PrevColName="" Pos="15" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="intervalo de dias entre as parcelas">
  532. <OPTIONSELECTED>
  533. <OPTIONSELECT VALUE="1" />
  534. <OPTIONSELECT VALUE="0" />
  535. </OPTIONSELECTED>
  536. </COLUMN>
  537. <COLUMN ID="46360" ColName="QUANTIDADE_PARCELAS" PrevColName="QTD_PARCELAS" Pos="16" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="quantidade de parcelas que o forncedor permite">
  538. <OPTIONSELECTED>
  539. <OPTIONSELECT VALUE="1" />
  540. <OPTIONSELECT VALUE="0" />
  541. </OPTIONSELECTED>
  542. </COLUMN>
  543. </COLUMNS>
  544. <RELATIONS_START>
  545. <RELATION_START ID="46433" />
  546. <RELATION_START ID="46447" />
  547. <RELATION_START ID="79987" />
  548. </RELATIONS_START>
  549. <RELATIONS_END>
  550. <RELATION_END ID="5525" />
  551. <RELATION_END ID="18068" />
  552. <RELATION_END ID="20840" />
  553. </RELATIONS_END>
  554. <INDICES>
  555. <INDEX ID="1088" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  556. <INDEXCOLUMNS>
  557. <INDEXCOLUMN idColumn="1087" LengthParam="0" />
  558. </INDEXCOLUMNS>
  559. </INDEX>
  560. <INDEX ID="5527" IndexName="FK_SITUACAO_FORNECEDOR" IndexKind="1" FKRefDef_Obj_id="5525">
  561. <INDEXCOLUMNS>
  562. <INDEXCOLUMN idColumn="11038" LengthParam="0" />
  563. </INDEXCOLUMNS>
  564. </INDEX>
  565. <INDEX ID="18070" IndexName="FK_ATIVIDADE_FORNECEDOR" IndexKind="1" FKRefDef_Obj_id="18068">
  566. <INDEXCOLUMNS>
  567. <INDEXCOLUMN idColumn="18075" LengthParam="0" />
  568. </INDEXCOLUMNS>
  569. </INDEX>
  570. <INDEX ID="20842" IndexName="FK_PESSOA_FORNECEDOR" IndexKind="1" FKRefDef_Obj_id="20840">
  571. <INDEXCOLUMNS>
  572. <INDEXCOLUMN idColumn="20843" LengthParam="0" />
  573. </INDEXCOLUMNS>
  574. </INDEX>
  575. </INDICES>
  576. </TABLE>
  577. <TABLE ID="1089" Tablename="CLIENTE" PrevTableName="Table_04" XPos="5192" YPos="1698" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com a rela\231\227o dos clientes." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="382" >
  578. <COLUMNS>
  579. <COLUMN ID="1091" ColName="ID" PrevColName="id_cliente" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  580. <OPTIONSELECTED>
  581. <OPTIONSELECT VALUE="1" />
  582. <OPTIONSELECT VALUE="0" />
  583. </OPTIONSELECTED>
  584. </COLUMN>
  585. <COLUMN ID="20832" ColName="ID_PESSOA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  586. <OPTIONSELECTED>
  587. <OPTIONSELECT VALUE="1" />
  588. <OPTIONSELECT VALUE="0" />
  589. </OPTIONSELECTED>
  590. </COLUMN>
  591. <COLUMN ID="18077" ColName="ID_ATIVIDADE_FOR_CLI" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  592. <OPTIONSELECTED>
  593. <OPTIONSELECT VALUE="1" />
  594. <OPTIONSELECT VALUE="0" />
  595. </OPTIONSELECTED>
  596. </COLUMN>
  597. <COLUMN ID="11039" ColName="ID_SITUACAO_FOR_CLI" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  598. <OPTIONSELECTED>
  599. <OPTIONSELECT VALUE="1" />
  600. <OPTIONSELECT VALUE="0" />
  601. </OPTIONSELECTED>
  602. </COLUMN>
  603. <COLUMN ID="1598" ColName="DESDE" PrevColName="" Pos="7" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  604. <OPTIONSELECTED>
  605. </OPTIONSELECTED>
  606. </COLUMN>
  607. <COLUMN ID="5554" ColName="DATA_CADASTRO" PrevColName="" Pos="11" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  608. <OPTIONSELECTED>
  609. </OPTIONSELECTED>
  610. </COLUMN>
  611. <COLUMN ID="20854" ColName="OBSERVACAO" PrevColName="" Pos="6" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  612. <OPTIONSELECTED>
  613. </OPTIONSELECTED>
  614. </COLUMN>
  615. <COLUMN ID="40319" ColName="CONTA_TOMADOR" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Conta vinculada ao plano de contas cont\225bil.">
  616. <OPTIONSELECTED>
  617. <OPTIONSELECT VALUE="0" />
  618. </OPTIONSELECTED>
  619. </COLUMN>
  620. <COLUMN ID="46347" ColName="GERA_FINANCEIRO" PrevColName="" Pos="12" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Indicar se o cliente ter\225 direito de comprar a prazo faturado e parcelado">
  621. <OPTIONSELECTED>
  622. <OPTIONSELECT VALUE="0" />
  623. </OPTIONSELECTED>
  624. </COLUMN>
  625. <COLUMN ID="49209" ColName="INDICADOR_PRECO" PrevColName="" Pos="15" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="T=tabela, P=Ultimo pedido: Indicar se os pre\231os deste cliente ser\225 pela tabela informada ou ultimo pedido de venda">
  626. <OPTIONSELECTED>
  627. <OPTIONSELECT VALUE="0" />
  628. </OPTIONSELECTED>
  629. </COLUMN>
  630. <COLUMN ID="49210" ColName="PORCENTO_DESCONTO" PrevColName="" Pos="16" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  631. <OPTIONSELECTED>
  632. <OPTIONSELECT VALUE="0" />
  633. </OPTIONSELECTED>
  634. </COLUMN>
  635. <COLUMN ID="49211" ColName="FORMA_DESCONTO" PrevColName="" Pos="17" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="P=produto, F= fim do pedido">
  636. <OPTIONSELECTED>
  637. <OPTIONSELECT VALUE="0" />
  638. </OPTIONSELECTED>
  639. </COLUMN>
  640. <COLUMN ID="49213" ColName="LIMITE_CREDITO" PrevColName="" Pos="18" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  641. <OPTIONSELECTED>
  642. <OPTIONSELECT VALUE="0" />
  643. </OPTIONSELECTED>
  644. </COLUMN>
  645. <COLUMN ID="49224" ColName="TIPO_FRETE" PrevColName="" Pos="20" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="E=Emitente | D=Destinatario | S=Sem frete | T=Terceiros">
  646. <OPTIONSELECTED>
  647. <OPTIONSELECT VALUE="0" />
  648. </OPTIONSELECTED>
  649. </COLUMN>
  650. </COLUMNS>
  651. <RELATIONS_START>
  652. <RELATION_START ID="46549" />
  653. <RELATION_START ID="46552" />
  654. <RELATION_START ID="80086" />
  655. </RELATIONS_START>
  656. <RELATIONS_END>
  657. <RELATION_END ID="5528" />
  658. <RELATION_END ID="18072" />
  659. <RELATION_END ID="20829" />
  660. </RELATIONS_END>
  661. <INDICES>
  662. <INDEX ID="1092" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  663. <INDEXCOLUMNS>
  664. <INDEXCOLUMN idColumn="1091" LengthParam="0" />
  665. </INDEXCOLUMNS>
  666. </INDEX>
  667. <INDEX ID="5530" IndexName="FK_SITUACAO_CLIENTE" IndexKind="1" FKRefDef_Obj_id="5528">
  668. <INDEXCOLUMNS>
  669. <INDEXCOLUMN idColumn="11039" LengthParam="0" />
  670. </INDEXCOLUMNS>
  671. </INDEX>
  672. <INDEX ID="18074" IndexName="FK_ATIVIDADE_CLIENTE" IndexKind="1" FKRefDef_Obj_id="18072">
  673. <INDEXCOLUMNS>
  674. <INDEXCOLUMN idColumn="18077" LengthParam="0" />
  675. </INDEXCOLUMNS>
  676. </INDEX>
  677. <INDEX ID="20831" IndexName="FK_PESSOA_CLIENTE" IndexKind="1" FKRefDef_Obj_id="20829">
  678. <INDEXCOLUMNS>
  679. <INDEXCOLUMN idColumn="20832" LengthParam="0" />
  680. </INDEXCOLUMNS>
  681. </INDEX>
  682. </INDICES>
  683. </TABLE>
  684. <TABLE ID="1097" Tablename="COLABORADOR" PrevTableName="Table_06" XPos="2160" YPos="3235" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com os colaboradores da empresa." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="2" >
  685. <COLUMNS>
  686. <COLUMN ID="1099" ColName="ID" PrevColName="id_funcionario" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  687. <OPTIONSELECTED>
  688. <OPTIONSELECT VALUE="1" />
  689. <OPTIONSELECT VALUE="0" />
  690. </OPTIONSELECTED>
  691. </COLUMN>
  692. <COLUMN ID="42417" ColName="ID_TIPO_ADMISSAO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  693. <OPTIONSELECTED>
  694. <OPTIONSELECT VALUE="1" />
  695. <OPTIONSELECT VALUE="0" />
  696. </OPTIONSELECTED>
  697. </COLUMN>
  698. <COLUMN ID="42239" ColName="ID_SITUACAO_COLABORADOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  699. <OPTIONSELECTED>
  700. <OPTIONSELECT VALUE="1" />
  701. <OPTIONSELECT VALUE="0" />
  702. </OPTIONSELECTED>
  703. </COLUMN>
  704. <COLUMN ID="20847" ColName="ID_PESSOA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  705. <OPTIONSELECTED>
  706. <OPTIONSELECT VALUE="1" />
  707. <OPTIONSELECT VALUE="0" />
  708. </OPTIONSELECTED>
  709. </COLUMN>
  710. <COLUMN ID="11034" ColName="ID_TIPO_COLABORADOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  711. <OPTIONSELECTED>
  712. <OPTIONSELECT VALUE="1" />
  713. <OPTIONSELECT VALUE="0" />
  714. </OPTIONSELECTED>
  715. </COLUMN>
  716. <COLUMN ID="11033" ColName="ID_NIVEL_FORMACAO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  717. <OPTIONSELECTED>
  718. <OPTIONSELECT VALUE="1" />
  719. <OPTIONSELECT VALUE="0" />
  720. </OPTIONSELECTED>
  721. </COLUMN>
  722. <COLUMN ID="11032" ColName="ID_CARGO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  723. <OPTIONSELECTED>
  724. <OPTIONSELECT VALUE="1" />
  725. <OPTIONSELECT VALUE="0" />
  726. </OPTIONSELECTED>
  727. </COLUMN>
  728. <COLUMN ID="1273" ColName="ID_SETOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  729. <OPTIONSELECTED>
  730. <OPTIONSELECT VALUE="1" />
  731. <OPTIONSELECT VALUE="0" />
  732. </OPTIONSELECTED>
  733. </COLUMN>
  734. <COLUMN ID="42242" ColName="MATRICULA" PrevColName="" Pos="12" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  735. <OPTIONSELECTED>
  736. <OPTIONSELECT VALUE="0" />
  737. </OPTIONSELECTED>
  738. </COLUMN>
  739. <COLUMN ID="5274" ColName="FOTO_34" PrevColName="" Pos="17" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Caminho onde a foto est\225 armazenada">
  740. <OPTIONSELECTED>
  741. </OPTIONSELECTED>
  742. </COLUMN>
  743. <COLUMN ID="5552" ColName="DATA_CADASTRO" PrevColName="" Pos="19" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  744. <OPTIONSELECTED>
  745. </OPTIONSELECTED>
  746. </COLUMN>
  747. <COLUMN ID="42228" ColName="DATA_ADMISSAO" PrevColName="" Pos="10" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  748. <OPTIONSELECTED>
  749. </OPTIONSELECTED>
  750. </COLUMN>
  751. <COLUMN ID="42244" ColName="VENCIMENTO_FERIAS" PrevColName="" Pos="13" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="O  preenchimento desse campo \233 obrigat\243rio, para efeito de c\225lculo de f\233rias e rescis\227o">
  752. <OPTIONSELECTED>
  753. </OPTIONSELECTED>
  754. </COLUMN>
  755. <COLUMN ID="42420" ColName="DATA_TRANSFERENCIA" PrevColName="" Pos="14" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Preenchido caso o colaborador tenha sido transferido">
  756. <OPTIONSELECTED>
  757. </OPTIONSELECTED>
  758. </COLUMN>
  759. <COLUMN ID="42452" ColName="FGTS_OPTANTE" PrevColName="" Pos="15" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  760. <OPTIONSELECTED>
  761. <OPTIONSELECT VALUE="0" />
  762. </OPTIONSELECTED>
  763. </COLUMN>
  764. <COLUMN ID="42453" ColName="FGTS_DATA_OPCAO" PrevColName="" Pos="16" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Data de op\231\227o do FGTS (sistema traz a data de admiss\227o)">
  765. <OPTIONSELECTED>
  766. </OPTIONSELECTED>
  767. </COLUMN>
  768. <COLUMN ID="42454" ColName="FGTS_CONTA" PrevColName="" Pos="17" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="N\250mero da conta do FGTS">
  769. <OPTIONSELECTED>
  770. <OPTIONSELECT VALUE="1" />
  771. <OPTIONSELECT VALUE="0" />
  772. </OPTIONSELECTED>
  773. </COLUMN>
  774. <COLUMN ID="42456" ColName="PAGAMENTO_FORMA" PrevColName="" Pos="18" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="1=Dinheiro | 2=Cheque | 3=Conta">
  775. <OPTIONSELECTED>
  776. <OPTIONSELECT VALUE="0" />
  777. </OPTIONSELECTED>
  778. </COLUMN>
  779. <COLUMN ID="42457" ColName="PAGAMENTO_BANCO" PrevColName="" Pos="19" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo do banco para pagamento">
  780. <OPTIONSELECTED>
  781. <OPTIONSELECT VALUE="0" />
  782. </OPTIONSELECTED>
  783. </COLUMN>
  784. <COLUMN ID="42578" ColName="PAGAMENTO_AGENCIA" PrevColName="" Pos="20" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo da agencia para pagamento">
  785. <OPTIONSELECTED>
  786. <OPTIONSELECT VALUE="0" />
  787. </OPTIONSELECTED>
  788. </COLUMN>
  789. <COLUMN ID="42587" ColName="PAGAMENTO_AGENCIA_DIGITO" PrevColName="" Pos="21" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  790. <OPTIONSELECTED>
  791. <OPTIONSELECT VALUE="0" />
  792. </OPTIONSELECTED>
  793. </COLUMN>
  794. <COLUMN ID="42581" ColName="PAGAMENTO_CONTA" PrevColName="" Pos="21" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo da conta para pagamento">
  795. <OPTIONSELECTED>
  796. <OPTIONSELECT VALUE="0" />
  797. </OPTIONSELECTED>
  798. </COLUMN>
  799. <COLUMN ID="42588" ColName="PAGAMENTO_CONTA_DIGITO" PrevColName="" Pos="23" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  800. <OPTIONSELECTED>
  801. <OPTIONSELECT VALUE="0" />
  802. </OPTIONSELECTED>
  803. </COLUMN>
  804. <COLUMN ID="42584" ColName="EXAME_MEDICO_ULTIMO" PrevColName="" Pos="22" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  805. <OPTIONSELECTED>
  806. </OPTIONSELECTED>
  807. </COLUMN>
  808. <COLUMN ID="42585" ColName="EXAME_MEDICO_VENCIMENTO" PrevColName="" Pos="23" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  809. <OPTIONSELECTED>
  810. </OPTIONSELECTED>
  811. </COLUMN>
  812. <COLUMN ID="42590" ColName="PIS_DATA_CADASTRO" PrevColName="" Pos="26" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  813. <OPTIONSELECTED>
  814. </OPTIONSELECTED>
  815. </COLUMN>
  816. <COLUMN ID="42591" ColName="PIS_NUMERO" PrevColName="" Pos="27" idDatatype="20" DatatypeParams="(12)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  817. <OPTIONSELECTED>
  818. <OPTIONSELECT VALUE="0" />
  819. </OPTIONSELECTED>
  820. </COLUMN>
  821. <COLUMN ID="42592" ColName="PIS_BANCO" PrevColName="" Pos="28" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo do banco do PIS">
  822. <OPTIONSELECTED>
  823. <OPTIONSELECT VALUE="0" />
  824. </OPTIONSELECTED>
  825. </COLUMN>
  826. <COLUMN ID="42593" ColName="PIS_AGENCIA" PrevColName="" Pos="29" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  827. <OPTIONSELECTED>
  828. <OPTIONSELECT VALUE="0" />
  829. </OPTIONSELECTED>
  830. </COLUMN>
  831. <COLUMN ID="42594" ColName="PIS_AGENCIA_DIGITO" PrevColName="" Pos="30" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  832. <OPTIONSELECTED>
  833. <OPTIONSELECT VALUE="0" />
  834. </OPTIONSELECTED>
  835. </COLUMN>
  836. <COLUMN ID="42596" ColName="CTPS_NUMERO" PrevColName="" Pos="31" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  837. <OPTIONSELECTED>
  838. <OPTIONSELECT VALUE="0" />
  839. </OPTIONSELECTED>
  840. </COLUMN>
  841. <COLUMN ID="42597" ColName="CTPS_SERIE" PrevColName="" Pos="32" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  842. <OPTIONSELECTED>
  843. <OPTIONSELECT VALUE="0" />
  844. </OPTIONSELECTED>
  845. </COLUMN>
  846. <COLUMN ID="42598" ColName="CTPS_DATA_EXPEDICAO" PrevColName="" Pos="33" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  847. <OPTIONSELECTED>
  848. </OPTIONSELECTED>
  849. </COLUMN>
  850. <COLUMN ID="42599" ColName="CTPS_UF" PrevColName="" Pos="34" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  851. <OPTIONSELECTED>
  852. <OPTIONSELECT VALUE="0" />
  853. </OPTIONSELECTED>
  854. </COLUMN>
  855. <COLUMN ID="42601" ColName="DESCONTO_PLANO_SAUDE" PrevColName="" Pos="35" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o [informar desconto no plano de sa\250de para empregados e/ou dependentes]">
  856. <OPTIONSELECTED>
  857. <OPTIONSELECT VALUE="0" />
  858. </OPTIONSELECTED>
  859. </COLUMN>
  860. <COLUMN ID="42602" ColName="SAI_NA_RAIS" PrevColName="" Pos="36" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o [informar se os dados do  empregado dever\227o sai na RAIS]">
  861. <OPTIONSELECTED>
  862. <OPTIONSELECT VALUE="0" />
  863. </OPTIONSELECTED>
  864. </COLUMN>
  865. <COLUMN ID="42603" ColName="CATEGORIA_SEFIP" PrevColName="OCORRENCIA_SEFIP" Pos="37" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Importar c\243digo da categoria da tabela SEFIP">
  866. <OPTIONSELECTED>
  867. <OPTIONSELECT VALUE="0" />
  868. </OPTIONSELECTED>
  869. </COLUMN>
  870. <COLUMN ID="20860" ColName="OBSERVACAO" PrevColName="" Pos="9" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  871. <OPTIONSELECTED>
  872. </OPTIONSELECTED>
  873. </COLUMN>
  874. <COLUMN ID="44554" ColName="OCORRENCIA_SEFIP" PrevColName="" Pos="39" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  875. <OPTIONSELECTED>
  876. <OPTIONSELECT VALUE="1" />
  877. <OPTIONSELECT VALUE="0" />
  878. </OPTIONSELECTED>
  879. </COLUMN>
  880. <COLUMN ID="44555" ColName="CODIGO_ADMISSAO_CAGED" PrevColName="COD_ADMISSAO_CAGED" Pos="40" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  881. <OPTIONSELECTED>
  882. <OPTIONSELECT VALUE="1" />
  883. <OPTIONSELECT VALUE="0" />
  884. </OPTIONSELECTED>
  885. </COLUMN>
  886. <COLUMN ID="44556" ColName="CODIGO_DEMISSAO_CAGED" PrevColName="COD_DEMISSAO_CAGED" Pos="41" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  887. <OPTIONSELECTED>
  888. <OPTIONSELECT VALUE="1" />
  889. <OPTIONSELECT VALUE="0" />
  890. </OPTIONSELECTED>
  891. </COLUMN>
  892. <COLUMN ID="44558" ColName="CODIGO_DEMISSAO_SEFIP" PrevColName="" Pos="43" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  893. <OPTIONSELECTED>
  894. <OPTIONSELECT VALUE="1" />
  895. <OPTIONSELECT VALUE="0" />
  896. </OPTIONSELECTED>
  897. </COLUMN>
  898. <COLUMN ID="44557" ColName="DATA_DEMISSAO" PrevColName="" Pos="42" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  899. <OPTIONSELECTED>
  900. </OPTIONSELECTED>
  901. </COLUMN>
  902. <COLUMN ID="58329" ColName="CODIGO_TURMA_PONTO" PrevColName="" Pos="46" idDatatype="19" DatatypeParams="(5)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  903. <OPTIONSELECTED>
  904. <OPTIONSELECT VALUE="0" />
  905. </OPTIONSELECTED>
  906. </COLUMN>
  907. <COLUMN ID="99910" ColName="CAGED_APRENDIZ" PrevColName="" Pos="46" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="1-Sim  2-N\227o">
  908. <OPTIONSELECTED>
  909. <OPTIONSELECT VALUE="0" />
  910. </OPTIONSELECTED>
  911. </COLUMN>
  912. <COLUMN ID="99911" ColName="CAGED_DEFICIENCIA" PrevColName="" Pos="47" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="0-N\227o  1-F\237sica  2-Auditiva  3-Visual  4-Mental  5-M\250ltipla  6-Reabilitado">
  913. <OPTIONSELECTED>
  914. <OPTIONSELECT VALUE="0" />
  915. </OPTIONSELECTED>
  916. </COLUMN>
  917. </COLUMNS>
  918. <RELATIONS_START>
  919. <RELATION_START ID="5443" />
  920. <RELATION_START ID="5541" />
  921. <RELATION_START ID="46450" />
  922. <RELATION_START ID="49250" />
  923. <RELATION_START ID="56643" />
  924. <RELATION_START ID="56668" />
  925. </RELATIONS_START>
  926. <RELATIONS_END>
  927. <RELATION_END ID="1270" />
  928. <RELATION_END ID="5336" />
  929. <RELATION_END ID="5339" />
  930. <RELATION_END ID="5342" />
  931. <RELATION_END ID="20844" />
  932. <RELATION_END ID="42236" />
  933. <RELATION_END ID="42414" />
  934. </RELATIONS_END>
  935. <INDICES>
  936. <INDEX ID="1100" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  937. <INDEXCOLUMNS>
  938. <INDEXCOLUMN idColumn="1099" LengthParam="0" />
  939. </INDEXCOLUMNS>
  940. </INDEX>
  941. <INDEX ID="1272" IndexName="FK_COLABORADOR_SETOR" IndexKind="1" FKRefDef_Obj_id="1270">
  942. <INDEXCOLUMNS>
  943. <INDEXCOLUMN idColumn="1273" LengthParam="0" />
  944. </INDEXCOLUMNS>
  945. </INDEX>
  946. <INDEX ID="5338" IndexName="FK_CARGO_COLABORADOR" IndexKind="1" FKRefDef_Obj_id="5336">
  947. <INDEXCOLUMNS>
  948. <INDEXCOLUMN idColumn="11032" LengthParam="0" />
  949. </INDEXCOLUMNS>
  950. </INDEX>
  951. <INDEX ID="5341" IndexName="FK_TIPO_COLABORADOR" IndexKind="1" FKRefDef_Obj_id="5339">
  952. <INDEXCOLUMNS>
  953. <INDEXCOLUMN idColumn="11034" LengthParam="0" />
  954. </INDEXCOLUMNS>
  955. </INDEX>
  956. <INDEX ID="5344" IndexName="FK_NIVEL_FORMACAO_COLABORADOR" IndexKind="1" FKRefDef_Obj_id="5342">
  957. <INDEXCOLUMNS>
  958. <INDEXCOLUMN idColumn="11033" LengthParam="0" />
  959. </INDEXCOLUMNS>
  960. </INDEX>
  961. <INDEX ID="20846" IndexName="FK_PESSOA_COLABORADOR" IndexKind="1" FKRefDef_Obj_id="20844">
  962. <INDEXCOLUMNS>
  963. <INDEXCOLUMN idColumn="20847" LengthParam="0" />
  964. </INDEXCOLUMNS>
  965. </INDEX>
  966. <INDEX ID="42238" IndexName="FK_SITUACAO_COLABORADOR" IndexKind="1" FKRefDef_Obj_id="42236">
  967. <INDEXCOLUMNS>
  968. <INDEXCOLUMN idColumn="42239" LengthParam="0" />
  969. </INDEXCOLUMNS>
  970. </INDEX>
  971. <INDEX ID="42416" IndexName="FK_TIPO_ADMISSAO_COLAB" IndexKind="1" FKRefDef_Obj_id="42414">
  972. <INDEXCOLUMNS>
  973. <INDEXCOLUMN idColumn="42417" LengthParam="0" />
  974. </INDEXCOLUMNS>
  975. </INDEX>
  976. </INDICES>
  977. </TABLE>
  978. <TABLE ID="1127" Tablename="PRODUTO" PrevTableName="Table_09" XPos="2290" YPos="2098" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela de produtos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="9" >
  979. <COLUMNS>
  980. <COLUMN ID="1129" ColName="ID" PrevColName="id_produto" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  981. <OPTIONSELECTED>
  982. <OPTIONSELECT VALUE="1" />
  983. <OPTIONSELECT VALUE="0" />
  984. </OPTIONSELECTED>
  985. </COLUMN>
  986. <COLUMN ID="84107" ColName="ID_UNIDADE_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  987. <OPTIONSELECTED>
  988. <OPTIONSELECT VALUE="1" />
  989. <OPTIONSELECT VALUE="0" />
  990. </OPTIONSELECTED>
  991. </COLUMN>
  992. <COLUMN ID="18579" ColName="ID_MARCA_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  993. <OPTIONSELECTED>
  994. <OPTIONSELECT VALUE="1" />
  995. <OPTIONSELECT VALUE="0" />
  996. </OPTIONSELECTED>
  997. </COLUMN>
  998. <COLUMN ID="1511" ColName="ID_SUB_GRUPO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  999. <OPTIONSELECTED>
  1000. <OPTIONSELECT VALUE="1" />
  1001. <OPTIONSELECT VALUE="0" />
  1002. </OPTIONSELECTED>
  1003. </COLUMN>
  1004. <COLUMN ID="5276" ColName="GTIN" PrevColName="" Pos="4" idDatatype="19" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo GTIN do produto com at\233 14 caracteres">
  1005. <OPTIONSELECTED>
  1006. <OPTIONSELECT VALUE="1" />
  1007. </OPTIONSELECTED>
  1008. </COLUMN>
  1009. <COLUMN ID="17888" ColName="CODIGO_INTERNO" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1010. <OPTIONSELECTED>
  1011. <OPTIONSELECT VALUE="0" />
  1012. </OPTIONSELECTED>
  1013. </COLUMN>
  1014. <COLUMN ID="55862" ColName="NCM" PrevColName="" Pos="13" idDatatype="20" DatatypeParams="(8)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Nomenclatura Comum do Mercosul">
  1015. <OPTIONSELECTED>
  1016. <OPTIONSELECT VALUE="0" />
  1017. </OPTIONSELECTED>
  1018. </COLUMN>
  1019. <COLUMN ID="1495" ColName="NOME" PrevColName="NOME_PRODUTO" Pos="4" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1020. <OPTIONSELECTED>
  1021. <OPTIONSELECT VALUE="0" />
  1022. </OPTIONSELECTED>
  1023. </COLUMN>
  1024. <COLUMN ID="1518" ColName="DESCRICAO" PrevColName="" Pos="5" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1025. <OPTIONSELECTED>
  1026. </OPTIONSELECTED>
  1027. </COLUMN>
  1028. <COLUMN ID="1824" ColName="DESCRICAO_PDV" PrevColName="" Pos="12" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1029. <OPTIONSELECTED>
  1030. <OPTIONSELECT VALUE="0" />
  1031. </OPTIONSELECTED>
  1032. </COLUMN>
  1033. <COLUMN ID="1519" ColName="VALOR_COMPRA" PrevColName="" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1034. <OPTIONSELECTED>
  1035. <OPTIONSELECT VALUE="0" />
  1036. </OPTIONSELECTED>
  1037. </COLUMN>
  1038. <COLUMN ID="1520" ColName="VALOR_VENDA" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1039. <OPTIONSELECTED>
  1040. <OPTIONSELECT VALUE="0" />
  1041. </OPTIONSELECTED>
  1042. </COLUMN>
  1043. <COLUMN ID="19692" ColName="PRECO_VENDA_MINIMO" PrevColName="" Pos="17" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1044. <OPTIONSELECTED>
  1045. <OPTIONSELECT VALUE="0" />
  1046. </OPTIONSELECTED>
  1047. </COLUMN>
  1048. <COLUMN ID="19691" ColName="PRECO_SUGERIDO" PrevColName="" Pos="16" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1049. <OPTIONSELECTED>
  1050. <OPTIONSELECT VALUE="0" />
  1051. </OPTIONSELECTED>
  1052. </COLUMN>
  1053. <COLUMN ID="19687" ColName="CUSTO_MEDIO_LIQUIDO" PrevColName="" Pos="27" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1054. <OPTIONSELECTED>
  1055. <OPTIONSELECT VALUE="0" />
  1056. </OPTIONSELECTED>
  1057. </COLUMN>
  1058. <COLUMN ID="19694" ColName="PRECO_LUCRO_ZERO" PrevColName="" Pos="18" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1059. <OPTIONSELECTED>
  1060. <OPTIONSELECT VALUE="0" />
  1061. </OPTIONSELECTED>
  1062. </COLUMN>
  1063. <COLUMN ID="19695" ColName="PRECO_LUCRO_MINIMO" PrevColName="" Pos="19" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1064. <OPTIONSELECTED>
  1065. <OPTIONSELECT VALUE="0" />
  1066. </OPTIONSELECTED>
  1067. </COLUMN>
  1068. <COLUMN ID="19696" ColName="PRECO_LUCRO_MAXIMO" PrevColName="" Pos="20" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1069. <OPTIONSELECTED>
  1070. <OPTIONSELECT VALUE="0" />
  1071. </OPTIONSELECTED>
  1072. </COLUMN>
  1073. <COLUMN ID="19700" ColName="MARKUP" PrevColName="" Pos="21" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1074. <OPTIONSELECTED>
  1075. <OPTIONSELECT VALUE="0" />
  1076. </OPTIONSELECTED>
  1077. </COLUMN>
  1078. <COLUMN ID="1521" ColName="QUANTIDADE_ESTOQUE" PrevColName="QTD_ESTOQUE" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1079. <OPTIONSELECTED>
  1080. <OPTIONSELECT VALUE="0" />
  1081. </OPTIONSELECTED>
  1082. </COLUMN>
  1083. <COLUMN ID="50133" ColName="QUANTIDADE_ESTOQUE_ANTERIOR" PrevColName="QTD_ESTOQUE_ANTERIOR" Pos="45" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1084. <OPTIONSELECTED>
  1085. <OPTIONSELECT VALUE="0" />
  1086. </OPTIONSELECTED>
  1087. </COLUMN>
  1088. <COLUMN ID="1762" ColName="ESTOQUE_MINIMO" PrevColName="ESTOQUE_MIN" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1089. <OPTIONSELECTED>
  1090. <OPTIONSELECT VALUE="0" />
  1091. </OPTIONSELECTED>
  1092. </COLUMN>
  1093. <COLUMN ID="1770" ColName="ESTOQUE_MAXIMO" PrevColName="ESTOQUE_MAX" Pos="11" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1094. <OPTIONSELECTED>
  1095. <OPTIONSELECT VALUE="0" />
  1096. </OPTIONSELECTED>
  1097. </COLUMN>
  1098. <COLUMN ID="49153" ColName="ESTOQUE_IDEAL" PrevColName="" Pos="44" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Quatidade Ideal do estoque a ser mantido, neste caso a sugestao de compra deve ser a diferen\231a entre o EST. ATUAL e EST. IDEAL">
  1099. <OPTIONSELECTED>
  1100. <OPTIONSELECT VALUE="0" />
  1101. </OPTIONSELECTED>
  1102. </COLUMN>
  1103. <COLUMN ID="5499" ColName="EXCLUIDO" PrevColName="" Pos="12" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valores poss\237veis: S-Sim | N-N\227o">
  1104. <OPTIONSELECTED>
  1105. <OPTIONSELECT VALUE="0" />
  1106. </OPTIONSELECTED>
  1107. </COLUMN>
  1108. <COLUMN ID="18105" ColName="INATIVO" PrevColName="" Pos="17" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valores poss\237veis: S-Sim | N-N\227o">
  1109. <OPTIONSELECTED>
  1110. <OPTIONSELECT VALUE="0" />
  1111. </OPTIONSELECTED>
  1112. </COLUMN>
  1113. <COLUMN ID="5556" ColName="DATA_CADASTRO" PrevColName="" Pos="13" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1114. <OPTIONSELECTED>
  1115. </OPTIONSELECTED>
  1116. </COLUMN>
  1117. <COLUMN ID="15480" ColName="FOTO_PRODUTO" PrevColName="IMAGEM" Pos="15" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Caminho para a imagem do produto">
  1118. <OPTIONSELECTED>
  1119. </OPTIONSELECTED>
  1120. </COLUMN>
  1121. <COLUMN ID="17908" ColName="EX_TIPI" PrevColName="EX_IPI" Pos="18" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Informar com o C\243digo de Exce\231\227o de NCM,de acordo com a Tabela de Incid\234ncia do  Imposto de Produtos Industrializados (TIPI), quando existir.">
  1122. <OPTIONSELECTED>
  1123. <OPTIONSELECT VALUE="0" />
  1124. </OPTIONSELECTED>
  1125. </COLUMN>
  1126. <COLUMN ID="17910" ColName="CODIGO_LST" PrevColName="" Pos="19" idDatatype="19" DatatypeParams="(4)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo do servi\231o conforme lista do Anexo I da Lei  Complementar Federal n\186 116/03.">
  1127. <OPTIONSELECTED>
  1128. <OPTIONSELECT VALUE="0" />
  1129. </OPTIONSELECTED>
  1130. </COLUMN>
  1131. <COLUMN ID="18104" ColName="CLASSE_ABC" PrevColName="" Pos="21" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1132. <OPTIONSELECTED>
  1133. <OPTIONSELECT VALUE="0" />
  1134. </OPTIONSELECTED>
  1135. </COLUMN>
  1136. <COLUMN ID="18891" ColName="IAT" PrevColName="" Pos="24" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="A=ARREDONDAMENTO | T=TRUNCAMENTO">
  1137. <OPTIONSELECTED>
  1138. <OPTIONSELECT VALUE="0" />
  1139. </OPTIONSELECTED>
  1140. </COLUMN>
  1141. <COLUMN ID="18892" ColName="IPPT" PrevColName="" Pos="25" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="P=PROPRIO | T=TERCEIRO">
  1142. <OPTIONSELECTED>
  1143. <OPTIONSELECT VALUE="0" />
  1144. </OPTIONSELECTED>
  1145. </COLUMN>
  1146. <COLUMN ID="21423" ColName="TIPO_ITEM_SPED" PrevColName="" Pos="35" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Tipo do item \150 Atividades Industriais, Comerciais e  Servi\231os:  00 \150 Mercadoria para Revenda;  01 \150 Mat\233ria-Prima;  02 \150 Embalagem;  03 \150 Produto em Processo;  04 \150 Produto Acabado;  05 \150 Subproduto;  06 \150 Produto Intermedi\225rio;  07 \150 Material de Uso e Consumo;  08 \150 Ativo Imobilizado;  09 \150 Servi\231os;  10 \150 Outros insumos;  99 \150 Outras">
  1147. <OPTIONSELECTED>
  1148. <OPTIONSELECT VALUE="0" />
  1149. </OPTIONSELECTED>
  1150. </COLUMN>
  1151. <COLUMN ID="47455" ColName="PESO" PrevColName="" Pos="41" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1152. <OPTIONSELECTED>
  1153. <OPTIONSELECT VALUE="0" />
  1154. </OPTIONSELECTED>
  1155. </COLUMN>
  1156. <COLUMN ID="49150" ColName="PORCENTO_COMISSAO" PrevColName="" Pos="42" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Percentual de comissao no produto">
  1157. <OPTIONSELECTED>
  1158. <OPTIONSELECT VALUE="0" />
  1159. </OPTIONSELECTED>
  1160. </COLUMN>
  1161. <COLUMN ID="49152" ColName="PONTO_PEDIDO" PrevColName="" Pos="43" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Informar em que ponto o sistema ir\225 sugerir a compra">
  1162. <OPTIONSELECTED>
  1163. <OPTIONSELECT VALUE="0" />
  1164. </OPTIONSELECTED>
  1165. </COLUMN>
  1166. <COLUMN ID="49155" ColName="LOTE_ECONOMICO_COMPRA" PrevColName="" Pos="45" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Quantidade que otimiza os custos de frete, financeiro, etc (quantidade \243tima de compra)">
  1167. <OPTIONSELECTED>
  1168. <OPTIONSELECT VALUE="0" />
  1169. </OPTIONSELECTED>
  1170. </COLUMN>
  1171. <COLUMN ID="50138" ColName="ALIQUOTA_ICMS_PAF" PrevColName="TAXA_ICMS" Pos="50" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valor da al\237quota do ICMS que ser\225 exportado para o banco de dados do PAF.">
  1172. <OPTIONSELECTED>
  1173. <OPTIONSELECT VALUE="0" />
  1174. </OPTIONSELECTED>
  1175. </COLUMN>
  1176. <COLUMN ID="50135" ColName="ALIQUOTA_ISSQN_PAF" PrevColName="TAXA_ISSQN" Pos="47" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valor da al\237quota do ISSQN que ser\225 exportado para o banco de dados do PAF.">
  1177. <OPTIONSELECTED>
  1178. <OPTIONSELECT VALUE="0" />
  1179. </OPTIONSELECTED>
  1180. </COLUMN>
  1181. <COLUMN ID="50141" ColName="TOTALIZADOR_PARCIAL" PrevColName="" Pos="51" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Ex: 04T0700 (al\237quota de ICMS na quarta posi\231\227o dos totalizadores do ECF com taxa de 7%) | I1 (isento) | F1 (substitui\231\227o tribut\225ria) | N1 (n\227o tributado)">
  1182. <OPTIONSELECTED>
  1183. <OPTIONSELECT VALUE="0" />
  1184. </OPTIONSELECTED>
  1185. </COLUMN>
  1186. <COLUMN ID="50143" ColName="CODIGO_BALANCA" PrevColName="" Pos="53" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo da balan\231a">
  1187. <OPTIONSELECTED>
  1188. <OPTIONSELECT VALUE="1" />
  1189. <OPTIONSELECT VALUE="0" />
  1190. </OPTIONSELECTED>
  1191. </COLUMN>
  1192. <COLUMN ID="50147" ColName="DATA_ALTERACAO" PrevColName="" Pos="57" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Data da altera\231\227o">
  1193. <OPTIONSELECTED>
  1194. </OPTIONSELECTED>
  1195. </COLUMN>
  1196. <COLUMN ID="76457" ColName="TIPO" PrevColName="" Pos="51" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Define o tipo de produto V = Venda | C = Composi\231\227o | P = Produ\231\227o | I = Insumo | U = Uso Proprio">
  1197. <OPTIONSELECTED>
  1198. <OPTIONSELECT VALUE="0" />
  1199. </OPTIONSELECTED>
  1200. </COLUMN>
  1201. </COLUMNS>
  1202. <RELATIONS_START>
  1203. <RELATION_START ID="15404" />
  1204. <RELATION_START ID="46441" />
  1205. <RELATION_START ID="46564" />
  1206. <RELATION_START ID="46567" />
  1207. <RELATION_START ID="54153" />
  1208. <RELATION_START ID="54164" />
  1209. <RELATION_START ID="56657" />
  1210. <RELATION_START ID="56673" />
  1211. <RELATION_START ID="56689" />
  1212. <RELATION_START ID="94731" />
  1213. </RELATIONS_START>
  1214. <RELATIONS_END>
  1215. <RELATION_END ID="1138" />
  1216. <RELATION_END ID="1508" />
  1217. <RELATION_END ID="18576" />
  1218. </RELATIONS_END>
  1219. <INDICES>
  1220. <INDEX ID="1130" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1221. <INDEXCOLUMNS>
  1222. <INDEXCOLUMN idColumn="1129" LengthParam="0" />
  1223. </INDEXCOLUMNS>
  1224. </INDEX>
  1225. <INDEX ID="1140" IndexName="FK_PRODUTO_UNIDADE" IndexKind="1" FKRefDef_Obj_id="1138">
  1226. <INDEXCOLUMNS>
  1227. <INDEXCOLUMN idColumn="84107" LengthParam="0" />
  1228. </INDEXCOLUMNS>
  1229. </INDEX>
  1230. <INDEX ID="1510" IndexName="FK_PRODUTO_SUBGRUPO" IndexKind="1" FKRefDef_Obj_id="1508">
  1231. <INDEXCOLUMNS>
  1232. <INDEXCOLUMN idColumn="1511" LengthParam="0" />
  1233. </INDEXCOLUMNS>
  1234. </INDEX>
  1235. <INDEX ID="18578" IndexName="FK_MARCA_PRODUTO" IndexKind="1" FKRefDef_Obj_id="18576">
  1236. <INDEXCOLUMNS>
  1237. <INDEXCOLUMN idColumn="18579" LengthParam="0" />
  1238. </INDEXCOLUMNS>
  1239. </INDEX>
  1240. </INDICES>
  1241. </TABLE>
  1242. <TABLE ID="1134" Tablename="UNIDADE_PRODUTO" PrevTableName="Table_10" XPos="1690" YPos="2075" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com as unidades de produto." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="13" >
  1243. <COLUMNS>
  1244. <COLUMN ID="1136" ColName="ID" PrevColName="id_unidade" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1245. <OPTIONSELECTED>
  1246. <OPTIONSELECT VALUE="1" />
  1247. <OPTIONSELECT VALUE="0" />
  1248. </OPTIONSELECTED>
  1249. </COLUMN>
  1250. <COLUMN ID="1347" ColName="SIGLA" PrevColName="NOME" Pos="1" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Esta sigla no PAF e MINI equivale ao NOME">
  1251. <OPTIONSELECTED>
  1252. <OPTIONSELECT VALUE="0" />
  1253. </OPTIONSELECTED>
  1254. </COLUMN>
  1255. <COLUMN ID="5358" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1256. <OPTIONSELECTED>
  1257. </OPTIONSELECTED>
  1258. </COLUMN>
  1259. <COLUMN ID="50131" ColName="PODE_FRACIONAR" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  1260. <OPTIONSELECTED>
  1261. <OPTIONSELECT VALUE="0" />
  1262. </OPTIONSELECTED>
  1263. </COLUMN>
  1264. </COLUMNS>
  1265. <RELATIONS_START>
  1266. <RELATION_START ID="1138" />
  1267. </RELATIONS_START>
  1268. <INDICES>
  1269. <INDEX ID="1137" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1270. <INDEXCOLUMNS>
  1271. <INDEXCOLUMN idColumn="1136" LengthParam="0" />
  1272. </INDEXCOLUMNS>
  1273. </INDEX>
  1274. </INDICES>
  1275. </TABLE>
  1276. <TABLE ID="1141" Tablename="PRODUTO_GRUPO" PrevTableName="Table_11" XPos="1708" YPos="1815" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com os grupos de produtos" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="11" >
  1277. <COLUMNS>
  1278. <COLUMN ID="1144" ColName="ID" PrevColName="id_grupo" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1279. <OPTIONSELECTED>
  1280. <OPTIONSELECT VALUE="1" />
  1281. <OPTIONSELECT VALUE="0" />
  1282. </OPTIONSELECTED>
  1283. </COLUMN>
  1284. <COLUMN ID="1350" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1285. <OPTIONSELECTED>
  1286. <OPTIONSELECT VALUE="0" />
  1287. </OPTIONSELECTED>
  1288. </COLUMN>
  1289. <COLUMN ID="1351" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1290. <OPTIONSELECTED>
  1291. </OPTIONSELECTED>
  1292. </COLUMN>
  1293. </COLUMNS>
  1294. <RELATIONS_START>
  1295. <RELATION_START ID="1504" />
  1296. </RELATIONS_START>
  1297. <INDICES>
  1298. <INDEX ID="1145" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1299. <INDEXCOLUMNS>
  1300. <INDEXCOLUMN idColumn="1144" LengthParam="0" />
  1301. </INDEXCOLUMNS>
  1302. </INDEX>
  1303. </INDICES>
  1304. </TABLE>
  1305. <TABLE ID="1249" Tablename="CARGO" PrevTableName="Table_13" XPos="2818" YPos="3048" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela de cargos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="2" >
  1306. <COLUMNS>
  1307. <COLUMN ID="1251" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1308. <OPTIONSELECTED>
  1309. <OPTIONSELECT VALUE="1" />
  1310. <OPTIONSELECT VALUE="0" />
  1311. </OPTIONSELECTED>
  1312. </COLUMN>
  1313. <COLUMN ID="1253" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1314. <OPTIONSELECTED>
  1315. <OPTIONSELECT VALUE="0" />
  1316. </OPTIONSELECTED>
  1317. </COLUMN>
  1318. <COLUMN ID="1254" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1319. <OPTIONSELECTED>
  1320. </OPTIONSELECTED>
  1321. </COLUMN>
  1322. <COLUMN ID="1255" ColName="SALARIO" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1323. <OPTIONSELECTED>
  1324. <OPTIONSELECT VALUE="0" />
  1325. </OPTIONSELECTED>
  1326. </COLUMN>
  1327. <COLUMN ID="29232" ColName="CBO_1994" PrevColName="CBO_94" Pos="5" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Classifica\231\227o Brasileira de Ocupa\231\245es">
  1328. <OPTIONSELECTED>
  1329. <OPTIONSELECT VALUE="0" />
  1330. </OPTIONSELECTED>
  1331. </COLUMN>
  1332. <COLUMN ID="29233" ColName="CBO_2002" PrevColName="CBO_02" Pos="6" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Classifica\231\227o Brasileira de Ocupa\231\245es">
  1333. <OPTIONSELECTED>
  1334. <OPTIONSELECT VALUE="0" />
  1335. </OPTIONSELECTED>
  1336. </COLUMN>
  1337. </COLUMNS>
  1338. <RELATIONS_START>
  1339. <RELATION_START ID="5336" />
  1340. </RELATIONS_START>
  1341. <INDICES>
  1342. <INDEX ID="1252" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1343. <INDEXCOLUMNS>
  1344. <INDEXCOLUMN idColumn="1251" LengthParam="0" />
  1345. </INDEXCOLUMNS>
  1346. </INDEX>
  1347. </INDICES>
  1348. </TABLE>
  1349. <TABLE ID="1264" Tablename="SETOR" PrevTableName="Table_14" XPos="2202" YPos="2882" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela de setores/departamentos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="5" >
  1350. <COLUMNS>
  1351. <COLUMN ID="1266" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1352. <OPTIONSELECTED>
  1353. <OPTIONSELECT VALUE="1" />
  1354. <OPTIONSELECT VALUE="0" />
  1355. </OPTIONSELECTED>
  1356. </COLUMN>
  1357. <COLUMN ID="1268" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1358. <OPTIONSELECTED>
  1359. <OPTIONSELECT VALUE="0" />
  1360. </OPTIONSELECTED>
  1361. </COLUMN>
  1362. <COLUMN ID="1269" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1363. <OPTIONSELECTED>
  1364. </OPTIONSELECTED>
  1365. </COLUMN>
  1366. </COLUMNS>
  1367. <RELATIONS_START>
  1368. <RELATION_START ID="1270" />
  1369. </RELATIONS_START>
  1370. <INDICES>
  1371. <INDEX ID="1267" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1372. <INDEXCOLUMNS>
  1373. <INDEXCOLUMN idColumn="1266" LengthParam="0" />
  1374. </INDEXCOLUMNS>
  1375. </INDEX>
  1376. </INDICES>
  1377. </TABLE>
  1378. <TABLE ID="1279" Tablename="NIVEL_FORMACAO" PrevTableName="Table_15" XPos="1782" YPos="2870" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com os n\237veis de forma\231\227o. Tabela somente para consulta." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="3" >
  1379. <COLUMNS>
  1380. <COLUMN ID="1281" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1381. <OPTIONSELECTED>
  1382. <OPTIONSELECT VALUE="1" />
  1383. <OPTIONSELECT VALUE="0" />
  1384. </OPTIONSELECTED>
  1385. </COLUMN>
  1386. <COLUMN ID="1283" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1387. <OPTIONSELECTED>
  1388. <OPTIONSELECT VALUE="0" />
  1389. </OPTIONSELECTED>
  1390. </COLUMN>
  1391. <COLUMN ID="1284" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1392. <OPTIONSELECTED>
  1393. </OPTIONSELECTED>
  1394. </COLUMN>
  1395. <COLUMN ID="44573" ColName="GRAU_INSTRUCAO_CAGED" PrevColName="" Pos="3" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1396. <OPTIONSELECTED>
  1397. <OPTIONSELECT VALUE="1" />
  1398. <OPTIONSELECT VALUE="0" />
  1399. </OPTIONSELECTED>
  1400. </COLUMN>
  1401. <COLUMN ID="99952" ColName="GRAU_INSTRUCAO_SEFIP" PrevColName="" Pos="4" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1402. <OPTIONSELECTED>
  1403. <OPTIONSELECT VALUE="1" />
  1404. <OPTIONSELECT VALUE="0" />
  1405. </OPTIONSELECTED>
  1406. </COLUMN>
  1407. <COLUMN ID="99953" ColName="GRAU_INSTRUCAO_RAIS" PrevColName="" Pos="5" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1408. <OPTIONSELECTED>
  1409. <OPTIONSELECT VALUE="1" />
  1410. <OPTIONSELECT VALUE="0" />
  1411. </OPTIONSELECTED>
  1412. </COLUMN>
  1413. </COLUMNS>
  1414. <RELATIONS_START>
  1415. <RELATION_START ID="5342" />
  1416. </RELATIONS_START>
  1417. <INDICES>
  1418. <INDEX ID="1282" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1419. <INDEXCOLUMNS>
  1420. <INDEXCOLUMN idColumn="1281" LengthParam="0" />
  1421. </INDEXCOLUMNS>
  1422. </INDEX>
  1423. </INDICES>
  1424. </TABLE>
  1425. <TABLE ID="1352" Tablename="PAIS" PrevTableName="Table_01" XPos="6750" YPos="3114" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela de pa\237ses." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="542" >
  1426. <COLUMNS>
  1427. <COLUMN ID="1353" ColName="ID" PrevColName="id_pais" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1428. <OPTIONSELECTED>
  1429. <OPTIONSELECT VALUE="1" />
  1430. <OPTIONSELECT VALUE="0" />
  1431. </OPTIONSELECTED>
  1432. </COLUMN>
  1433. <COLUMN ID="5627" ColName="CODIGO" PrevColName="" Pos="2" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1434. <OPTIONSELECTED>
  1435. <OPTIONSELECT VALUE="1" />
  1436. <OPTIONSELECT VALUE="0" />
  1437. </OPTIONSELECTED>
  1438. </COLUMN>
  1439. <COLUMN ID="1354" ColName="NOME_EN" PrevColName="NOME" Pos="1" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1440. <OPTIONSELECTED>
  1441. <OPTIONSELECT VALUE="0" />
  1442. </OPTIONSELECTED>
  1443. </COLUMN>
  1444. <COLUMN ID="5892" ColName="NOME_PTBR" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1445. <OPTIONSELECTED>
  1446. <OPTIONSELECT VALUE="0" />
  1447. </OPTIONSELECTED>
  1448. </COLUMN>
  1449. <COLUMN ID="5625" ColName="SIGLA2" PrevColName="SIGLA" Pos="2" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1450. <OPTIONSELECTED>
  1451. <OPTIONSELECT VALUE="0" />
  1452. </OPTIONSELECTED>
  1453. </COLUMN>
  1454. <COLUMN ID="5641" ColName="SIGLA3" PrevColName="" Pos="4" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1455. <OPTIONSELECTED>
  1456. <OPTIONSELECT VALUE="0" />
  1457. </OPTIONSELECTED>
  1458. </COLUMN>
  1459. </COLUMNS>
  1460. <RELATIONS_START>
  1461. <RELATION_START ID="5475" />
  1462. </RELATIONS_START>
  1463. <INDICES>
  1464. <INDEX ID="1357" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1465. <INDEXCOLUMNS>
  1466. <INDEXCOLUMN idColumn="1353" LengthParam="0" />
  1467. </INDEXCOLUMNS>
  1468. </INDEX>
  1469. </INDICES>
  1470. </TABLE>
  1471. <TABLE ID="1358" Tablename="UF" PrevTableName="Table_02" XPos="6766" YPos="3248" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com os Estados de determinado Pais." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="605" >
  1472. <COLUMNS>
  1473. <COLUMN ID="1359" ColName="ID" PrevColName="id_estado" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1474. <OPTIONSELECTED>
  1475. <OPTIONSELECT VALUE="1" />
  1476. <OPTIONSELECT VALUE="0" />
  1477. </OPTIONSELECTED>
  1478. </COLUMN>
  1479. <COLUMN ID="11041" ColName="ID_PAIS" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  1480. <OPTIONSELECTED>
  1481. <OPTIONSELECT VALUE="1" />
  1482. <OPTIONSELECT VALUE="0" />
  1483. </OPTIONSELECTED>
  1484. </COLUMN>
  1485. <COLUMN ID="5622" ColName="SIGLA" PrevColName="" Pos="2" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1486. <OPTIONSELECTED>
  1487. <OPTIONSELECT VALUE="0" />
  1488. </OPTIONSELECTED>
  1489. </COLUMN>
  1490. <COLUMN ID="1361" ColName="NOME" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1491. <OPTIONSELECTED>
  1492. <OPTIONSELECT VALUE="0" />
  1493. </OPTIONSELECTED>
  1494. </COLUMN>
  1495. <COLUMN ID="5629" ColName="CODIGO_IBGE" PrevColName="" Pos="4" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1496. <OPTIONSELECTED>
  1497. <OPTIONSELECT VALUE="1" />
  1498. <OPTIONSELECT VALUE="0" />
  1499. </OPTIONSELECTED>
  1500. </COLUMN>
  1501. </COLUMNS>
  1502. <RELATIONS_START>
  1503. <RELATION_START ID="5482" />
  1504. </RELATIONS_START>
  1505. <RELATIONS_END>
  1506. <RELATION_END ID="5475" />
  1507. </RELATIONS_END>
  1508. <INDICES>
  1509. <INDEX ID="1363" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1510. <INDEXCOLUMNS>
  1511. <INDEXCOLUMN idColumn="1359" LengthParam="0" />
  1512. </INDEXCOLUMNS>
  1513. </INDEX>
  1514. <INDEX ID="5477" IndexName="FK_PAIS_UF" IndexKind="1" FKRefDef_Obj_id="5475">
  1515. <INDEXCOLUMNS>
  1516. <INDEXCOLUMN idColumn="11041" LengthParam="0" />
  1517. </INDEXCOLUMNS>
  1518. </INDEX>
  1519. </INDICES>
  1520. </TABLE>
  1521. <TABLE ID="1365" Tablename="MUNICIPIO" PrevTableName="Table_03" XPos="6726" YPos="3418" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com as cidades de determinado Estado." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="540" >
  1522. <COLUMNS>
  1523. <COLUMN ID="1366" ColName="ID" PrevColName="id_cidade" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1524. <OPTIONSELECTED>
  1525. <OPTIONSELECT VALUE="1" />
  1526. <OPTIONSELECT VALUE="0" />
  1527. </OPTIONSELECTED>
  1528. </COLUMN>
  1529. <COLUMN ID="19269" ColName="ID_UF" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  1530. <OPTIONSELECTED>
  1531. <OPTIONSELECT VALUE="1" />
  1532. <OPTIONSELECT VALUE="0" />
  1533. </OPTIONSELECTED>
  1534. </COLUMN>
  1535. <COLUMN ID="1368" ColName="NOME" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1536. <OPTIONSELECTED>
  1537. <OPTIONSELECT VALUE="0" />
  1538. </OPTIONSELECTED>
  1539. </COLUMN>
  1540. <COLUMN ID="1369" ColName="CODIGO_IBGE" PrevColName="" Pos="3" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1541. <OPTIONSELECTED>
  1542. <OPTIONSELECT VALUE="1" />
  1543. <OPTIONSELECT VALUE="0" />
  1544. </OPTIONSELECTED>
  1545. </COLUMN>
  1546. <COLUMN ID="43114" ColName="CODIGO_RECEITA_FEDERAL" PrevColName="" Pos="4" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1547. <OPTIONSELECTED>
  1548. <OPTIONSELECT VALUE="1" />
  1549. <OPTIONSELECT VALUE="0" />
  1550. </OPTIONSELECTED>
  1551. </COLUMN>
  1552. <COLUMN ID="43115" ColName="CODIGO_ESTADUAL" PrevColName="" Pos="5" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1553. <OPTIONSELECTED>
  1554. <OPTIONSELECT VALUE="1" />
  1555. <OPTIONSELECT VALUE="0" />
  1556. </OPTIONSELECTED>
  1557. </COLUMN>
  1558. </COLUMNS>
  1559. <RELATIONS_END>
  1560. <RELATION_END ID="5482" />
  1561. </RELATIONS_END>
  1562. <INDICES>
  1563. <INDEX ID="1372" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1564. <INDEXCOLUMNS>
  1565. <INDEXCOLUMN idColumn="1366" LengthParam="0" />
  1566. </INDEXCOLUMNS>
  1567. </INDEX>
  1568. <INDEX ID="5484" IndexName="FK_UF_MUNICIPIO" IndexKind="1" FKRefDef_Obj_id="5482">
  1569. <INDEXCOLUMNS>
  1570. <INDEXCOLUMN idColumn="19269" LengthParam="0" />
  1571. </INDEXCOLUMNS>
  1572. </INDEX>
  1573. </INDICES>
  1574. </TABLE>
  1575. <TABLE ID="1379" Tablename="BANCO" PrevTableName="Table_05" XPos="5860" YPos="2728" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com a rela\231\227o de bancos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="86" >
  1576. <COLUMNS>
  1577. <COLUMN ID="1380" ColName="ID" PrevColName="id_banco" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1578. <OPTIONSELECTED>
  1579. <OPTIONSELECT VALUE="1" />
  1580. <OPTIONSELECT VALUE="0" />
  1581. </OPTIONSELECTED>
  1582. </COLUMN>
  1583. <COLUMN ID="1383" ColName="CODIGO" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1584. <OPTIONSELECTED>
  1585. <OPTIONSELECT VALUE="0" />
  1586. </OPTIONSELECTED>
  1587. </COLUMN>
  1588. <COLUMN ID="1382" ColName="NOME" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1589. <OPTIONSELECTED>
  1590. <OPTIONSELECT VALUE="0" />
  1591. </OPTIONSELECTED>
  1592. </COLUMN>
  1593. <COLUMN ID="1384" ColName="URL" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1594. <OPTIONSELECTED>
  1595. <OPTIONSELECT VALUE="0" />
  1596. </OPTIONSELECTED>
  1597. </COLUMN>
  1598. </COLUMNS>
  1599. <RELATIONS_START>
  1600. <RELATION_START ID="5489" />
  1601. </RELATIONS_START>
  1602. <INDICES>
  1603. <INDEX ID="1386" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1604. <INDEXCOLUMNS>
  1605. <INDEXCOLUMN idColumn="1380" LengthParam="0" />
  1606. </INDEXCOLUMNS>
  1607. </INDEX>
  1608. </INDICES>
  1609. </TABLE>
  1610. <TABLE ID="1388" Tablename="AGENCIA_BANCO" PrevTableName="Table_06" XPos="5842" YPos="2940" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela para armazenar as ag\234ncias banc\225rias." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="84" >
  1611. <COLUMNS>
  1612. <COLUMN ID="1389" ColName="ID" PrevColName="id_agencia" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1613. <OPTIONSELECTED>
  1614. <OPTIONSELECT VALUE="1" />
  1615. <OPTIONSELECT VALUE="0" />
  1616. </OPTIONSELECTED>
  1617. </COLUMN>
  1618. <COLUMN ID="11043" ColName="ID_BANCO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  1619. <OPTIONSELECTED>
  1620. <OPTIONSELECT VALUE="1" />
  1621. <OPTIONSELECT VALUE="0" />
  1622. </OPTIONSELECTED>
  1623. </COLUMN>
  1624. <COLUMN ID="1391" ColName="CODIGO" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1625. <OPTIONSELECTED>
  1626. <OPTIONSELECT VALUE="0" />
  1627. </OPTIONSELECTED>
  1628. </COLUMN>
  1629. <COLUMN ID="79978" ColName="DIGITO" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1630. <OPTIONSELECTED>
  1631. <OPTIONSELECT VALUE="0" />
  1632. </OPTIONSELECTED>
  1633. </COLUMN>
  1634. <COLUMN ID="1392" ColName="NOME" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1635. <OPTIONSELECTED>
  1636. <OPTIONSELECT VALUE="0" />
  1637. </OPTIONSELECTED>
  1638. </COLUMN>
  1639. <COLUMN ID="1393" ColName="LOGRADOURO" PrevColName="FORNECEDOR_ENDERECO" Pos="4" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1640. <OPTIONSELECTED>
  1641. <OPTIONSELECT VALUE="0" />
  1642. </OPTIONSELECTED>
  1643. </COLUMN>
  1644. <COLUMN ID="19050" ColName="NUMERO" PrevColName="" Pos="6" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1645. <OPTIONSELECTED>
  1646. <OPTIONSELECT VALUE="0" />
  1647. </OPTIONSELECTED>
  1648. </COLUMN>
  1649. <COLUMN ID="19051" ColName="CEP" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(8)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1650. <OPTIONSELECTED>
  1651. <OPTIONSELECT VALUE="0" />
  1652. </OPTIONSELECTED>
  1653. </COLUMN>
  1654. <COLUMN ID="50249" ColName="BAIRRO" PrevColName="" Pos="13" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1655. <OPTIONSELECTED>
  1656. <OPTIONSELECT VALUE="0" />
  1657. </OPTIONSELECTED>
  1658. </COLUMN>
  1659. <COLUMN ID="19052" ColName="MUNICIPIO" PrevColName="MUNICIPIO_IBGE" Pos="8" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1660. <OPTIONSELECTED>
  1661. <OPTIONSELECT VALUE="0" />
  1662. </OPTIONSELECTED>
  1663. </COLUMN>
  1664. <COLUMN ID="19053" ColName="UF" PrevColName="" Pos="9" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1665. <OPTIONSELECTED>
  1666. <OPTIONSELECT VALUE="0" />
  1667. </OPTIONSELECTED>
  1668. </COLUMN>
  1669. <COLUMN ID="1395" ColName="TELEFONE" PrevColName="" Pos="6" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1670. <OPTIONSELECTED>
  1671. <OPTIONSELECT VALUE="0" />
  1672. </OPTIONSELECTED>
  1673. </COLUMN>
  1674. <COLUMN ID="5633" ColName="GERENTE" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1675. <OPTIONSELECTED>
  1676. <OPTIONSELECT VALUE="0" />
  1677. </OPTIONSELECTED>
  1678. </COLUMN>
  1679. <COLUMN ID="1852" ColName="CONTATO" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1680. <OPTIONSELECTED>
  1681. <OPTIONSELECT VALUE="0" />
  1682. </OPTIONSELECTED>
  1683. </COLUMN>
  1684. <COLUMN ID="1853" ColName="OBSERVACAO" PrevColName="OBS" Pos="8" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1685. <OPTIONSELECTED>
  1686. </OPTIONSELECTED>
  1687. </COLUMN>
  1688. </COLUMNS>
  1689. <RELATIONS_START>
  1690. <RELATION_START ID="19653" />
  1691. </RELATIONS_START>
  1692. <RELATIONS_END>
  1693. <RELATION_END ID="5489" />
  1694. </RELATIONS_END>
  1695. <INDICES>
  1696. <INDEX ID="1396" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1697. <INDEXCOLUMNS>
  1698. <INDEXCOLUMN idColumn="1389" LengthParam="0" />
  1699. </INDEXCOLUMNS>
  1700. </INDEX>
  1701. <INDEX ID="5491" IndexName="FK_BANCO_AGENCIA" IndexKind="1" FKRefDef_Obj_id="5489">
  1702. <INDEXCOLUMNS>
  1703. <INDEXCOLUMN idColumn="11043" LengthParam="0" />
  1704. </INDEXCOLUMNS>
  1705. </INDEX>
  1706. </INDICES>
  1707. </TABLE>
  1708. <TABLE ID="1401" Tablename="CEP" PrevTableName="Table_08" XPos="6460" YPos="3110" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com a rela\231\227o de CEPs do Brasil." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="458" >
  1709. <COLUMNS>
  1710. <COLUMN ID="1402" ColName="ID" PrevColName="id_cep" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1711. <OPTIONSELECTED>
  1712. <OPTIONSELECT VALUE="1" />
  1713. <OPTIONSELECT VALUE="0" />
  1714. </OPTIONSELECTED>
  1715. </COLUMN>
  1716. <COLUMN ID="1404" ColName="CEP" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(8)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1717. <OPTIONSELECTED>
  1718. <OPTIONSELECT VALUE="0" />
  1719. </OPTIONSELECTED>
  1720. </COLUMN>
  1721. <COLUMN ID="1405" ColName="LOGRADOURO" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1722. <OPTIONSELECTED>
  1723. <OPTIONSELECT VALUE="0" />
  1724. </OPTIONSELECTED>
  1725. </COLUMN>
  1726. <COLUMN ID="5894" ColName="COMPLEMENTO" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1727. <OPTIONSELECTED>
  1728. <OPTIONSELECT VALUE="0" />
  1729. </OPTIONSELECTED>
  1730. </COLUMN>
  1731. <COLUMN ID="50209" ColName="BAIRRO" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1732. <OPTIONSELECTED>
  1733. <OPTIONSELECT VALUE="0" />
  1734. </OPTIONSELECTED>
  1735. </COLUMN>
  1736. <COLUMN ID="50210" ColName="MUNICIPIO" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1737. <OPTIONSELECTED>
  1738. <OPTIONSELECT VALUE="0" />
  1739. </OPTIONSELECTED>
  1740. </COLUMN>
  1741. <COLUMN ID="50211" ColName="UF" PrevColName="" Pos="6" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1742. <OPTIONSELECTED>
  1743. <OPTIONSELECT VALUE="0" />
  1744. </OPTIONSELECTED>
  1745. </COLUMN>
  1746. <COLUMN ID="50212" ColName="CODIGO_IBGE_MUNICIPIO" PrevColName="" Pos="7" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1747. <OPTIONSELECTED>
  1748. <OPTIONSELECT VALUE="1" />
  1749. <OPTIONSELECT VALUE="0" />
  1750. </OPTIONSELECTED>
  1751. </COLUMN>
  1752. </COLUMNS>
  1753. <INDICES>
  1754. <INDEX ID="1406" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1755. <INDEXCOLUMNS>
  1756. <INDEXCOLUMN idColumn="1402" LengthParam="0" />
  1757. </INDEXCOLUMNS>
  1758. </INDEX>
  1759. </INDICES>
  1760. </TABLE>
  1761. <TABLE ID="1420" Tablename="OPERADORA_CARTAO" PrevTableName="Table_12" XPos="5380" YPos="3158" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela das operadoras de cart\227o." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="90" >
  1762. <COLUMNS>
  1763. <COLUMN ID="1421" ColName="ID" PrevColName="id_cartao" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1764. <OPTIONSELECTED>
  1765. <OPTIONSELECT VALUE="1" />
  1766. <OPTIONSELECT VALUE="0" />
  1767. </OPTIONSELECTED>
  1768. </COLUMN>
  1769. <COLUMN ID="46318" ColName="ID_CONTA_CAIXA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  1770. <OPTIONSELECTED>
  1771. <OPTIONSELECT VALUE="1" />
  1772. <OPTIONSELECT VALUE="0" />
  1773. </OPTIONSELECTED>
  1774. </COLUMN>
  1775. <COLUMN ID="1422" ColName="BANDEIRA" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1776. <OPTIONSELECTED>
  1777. <OPTIONSELECT VALUE="0" />
  1778. </OPTIONSELECTED>
  1779. </COLUMN>
  1780. <COLUMN ID="1423" ColName="NOME" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1781. <OPTIONSELECTED>
  1782. <OPTIONSELECT VALUE="0" />
  1783. </OPTIONSELECTED>
  1784. </COLUMN>
  1785. <COLUMN ID="46309" ColName="TAXA_ADM" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1786. <OPTIONSELECTED>
  1787. <OPTIONSELECT VALUE="0" />
  1788. </OPTIONSELECTED>
  1789. </COLUMN>
  1790. <COLUMN ID="46310" ColName="TAXA_ADM_DEBITO" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1791. <OPTIONSELECTED>
  1792. <OPTIONSELECT VALUE="0" />
  1793. </OPTIONSELECTED>
  1794. </COLUMN>
  1795. <COLUMN ID="46311" ColName="VALOR_ALUGUEL_POS_PIN" PrevColName="" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1796. <OPTIONSELECTED>
  1797. <OPTIONSELECT VALUE="0" />
  1798. </OPTIONSELECTED>
  1799. </COLUMN>
  1800. <COLUMN ID="46312" ColName="VENCIMENTO_ALUGUEL" PrevColName="" Pos="6" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1801. <OPTIONSELECTED>
  1802. <OPTIONSELECT VALUE="1" />
  1803. <OPTIONSELECT VALUE="0" />
  1804. </OPTIONSELECTED>
  1805. </COLUMN>
  1806. <COLUMN ID="46313" ColName="FONE1" PrevColName="FONE" Pos="7" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1807. <OPTIONSELECTED>
  1808. <OPTIONSELECT VALUE="0" />
  1809. </OPTIONSELECTED>
  1810. </COLUMN>
  1811. <COLUMN ID="46314" ColName="FONE2" PrevColName="" Pos="8" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1812. <OPTIONSELECTED>
  1813. <OPTIONSELECT VALUE="0" />
  1814. </OPTIONSELECTED>
  1815. </COLUMN>
  1816. </COLUMNS>
  1817. <RELATIONS_END>
  1818. <RELATION_END ID="46315" />
  1819. </RELATIONS_END>
  1820. <INDICES>
  1821. <INDEX ID="1424" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1822. <INDEXCOLUMNS>
  1823. <INDEXCOLUMN idColumn="1421" LengthParam="0" />
  1824. </INDEXCOLUMNS>
  1825. </INDEX>
  1826. <INDEX ID="46317" IndexName="FK_CONTA_OP_CARTAO" IndexKind="1" FKRefDef_Obj_id="46315">
  1827. <INDEXCOLUMNS>
  1828. <INDEXCOLUMN idColumn="46318" LengthParam="0" />
  1829. </INDEXCOLUMNS>
  1830. </INDEX>
  1831. </INDICES>
  1832. </TABLE>
  1833. <TABLE ID="1460" Tablename="COLABORADOR_RELACIONAMENTO" PrevTableName="Table_31" XPos="2280" YPos="3580" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com os relacionamentos dos colaboradores." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="2" >
  1834. <COLUMNS>
  1835. <COLUMN ID="1462" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1836. <OPTIONSELECTED>
  1837. <OPTIONSELECT VALUE="1" />
  1838. <OPTIONSELECT VALUE="0" />
  1839. </OPTIONSELECTED>
  1840. </COLUMN>
  1841. <COLUMN ID="11027" ColName="ID_COLABORADOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  1842. <OPTIONSELECTED>
  1843. <OPTIONSELECT VALUE="1" />
  1844. <OPTIONSELECT VALUE="0" />
  1845. </OPTIONSELECTED>
  1846. </COLUMN>
  1847. <COLUMN ID="11026" ColName="ID_TIPO_RELACIONAMENTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  1848. <OPTIONSELECTED>
  1849. <OPTIONSELECT VALUE="1" />
  1850. <OPTIONSELECT VALUE="0" />
  1851. </OPTIONSELECTED>
  1852. </COLUMN>
  1853. <COLUMN ID="1464" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1854. <OPTIONSELECTED>
  1855. <OPTIONSELECT VALUE="0" />
  1856. </OPTIONSELECTED>
  1857. </COLUMN>
  1858. <COLUMN ID="42656" ColName="DATA_NASCIMENTO" PrevColName="" Pos="4" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1859. <OPTIONSELECTED>
  1860. </OPTIONSELECTED>
  1861. </COLUMN>
  1862. <COLUMN ID="42657" ColName="CPF" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(11)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1863. <OPTIONSELECTED>
  1864. <OPTIONSELECT VALUE="0" />
  1865. </OPTIONSELECTED>
  1866. </COLUMN>
  1867. <COLUMN ID="42658" ColName="REGISTRO_MATRICULA" PrevColName="" Pos="6" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="N\250mero do registro de nascimento">
  1868. <OPTIONSELECTED>
  1869. <OPTIONSELECT VALUE="0" />
  1870. </OPTIONSELECTED>
  1871. </COLUMN>
  1872. <COLUMN ID="42659" ColName="REGISTRO_CARTORIO" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Cart\243rio em que foi feito o registro do dependente">
  1873. <OPTIONSELECTED>
  1874. <OPTIONSELECT VALUE="0" />
  1875. </OPTIONSELECTED>
  1876. </COLUMN>
  1877. <COLUMN ID="42660" ColName="REGISTRO_CARTORIO_NUMERO" PrevColName="" Pos="8" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="N\250mero do registro do cart\243rio">
  1878. <OPTIONSELECTED>
  1879. <OPTIONSELECT VALUE="0" />
  1880. </OPTIONSELECTED>
  1881. </COLUMN>
  1882. <COLUMN ID="42661" ColName="REGISTRO_NUMERO_LIVRO" PrevColName="" Pos="9" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="N\250mero do livro de registro do cart\243rio">
  1883. <OPTIONSELECTED>
  1884. <OPTIONSELECT VALUE="0" />
  1885. </OPTIONSELECTED>
  1886. </COLUMN>
  1887. <COLUMN ID="42662" ColName="REGISTRO_NUMERO_FOLHA" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="N\250mero da folha em que foi feito o registro">
  1888. <OPTIONSELECTED>
  1889. <OPTIONSELECT VALUE="0" />
  1890. </OPTIONSELECTED>
  1891. </COLUMN>
  1892. <COLUMN ID="42663" ColName="DATA_ENTREGA_DOCUMENTO" PrevColName="" Pos="11" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Data em que o empregado entregou o documento que  comprove a depend\234ncia">
  1893. <OPTIONSELECTED>
  1894. </OPTIONSELECTED>
  1895. </COLUMN>
  1896. <COLUMN ID="42665" ColName="SALARIO_FAMILIA" PrevColName="" Pos="12" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N\227o [Se o dependente entra no c\225lculo para o salario familia]">
  1897. <OPTIONSELECTED>
  1898. <OPTIONSELECT VALUE="0" />
  1899. </OPTIONSELECTED>
  1900. </COLUMN>
  1901. <COLUMN ID="42666" ColName="SALARIO_FAMILIA_IDADE_LIMITE" PrevColName="" Pos="13" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Informar a idade limite para o sal\225rio fam\237lia">
  1902. <OPTIONSELECTED>
  1903. <OPTIONSELECT VALUE="1" />
  1904. <OPTIONSELECT VALUE="0" />
  1905. </OPTIONSELECTED>
  1906. </COLUMN>
  1907. <COLUMN ID="42667" ColName="SALARIO_FAMILIA_DATA_FIM" PrevColName="" Pos="14" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Informar a data limite para o sal\225rio fam\237lia">
  1908. <OPTIONSELECTED>
  1909. </OPTIONSELECTED>
  1910. </COLUMN>
  1911. <COLUMN ID="42669" ColName="IMPOSTO_RENDA_IDADE_LIMITE" PrevColName="" Pos="15" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Informar a idade limite para o imposto de renda">
  1912. <OPTIONSELECTED>
  1913. <OPTIONSELECT VALUE="1" />
  1914. <OPTIONSELECT VALUE="0" />
  1915. </OPTIONSELECTED>
  1916. </COLUMN>
  1917. <COLUMN ID="42670" ColName="IMPOSTO_RENDA_DATA_FIM" PrevColName="" Pos="16" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Informar a data limite para o imposto de renda">
  1918. <OPTIONSELECTED>
  1919. <OPTIONSELECT VALUE="1" />
  1920. <OPTIONSELECT VALUE="0" />
  1921. </OPTIONSELECTED>
  1922. </COLUMN>
  1923. </COLUMNS>
  1924. <RELATIONS_END>
  1925. <RELATION_END ID="5443" />
  1926. <RELATION_END ID="5447" />
  1927. </RELATIONS_END>
  1928. <INDICES>
  1929. <INDEX ID="1463" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1930. <INDEXCOLUMNS>
  1931. <INDEXCOLUMN idColumn="1462" LengthParam="0" />
  1932. </INDEXCOLUMNS>
  1933. </INDEX>
  1934. <INDEX ID="5445" IndexName="FK_COLABORADOR_RELACIONAMENTO" IndexKind="1" FKRefDef_Obj_id="5443">
  1935. <INDEXCOLUMNS>
  1936. <INDEXCOLUMN idColumn="11027" LengthParam="0" />
  1937. </INDEXCOLUMNS>
  1938. </INDEX>
  1939. <INDEX ID="5449" IndexName="FK_TIPO_REL_COLABORADOR" IndexKind="1" FKRefDef_Obj_id="5447">
  1940. <INDEXCOLUMNS>
  1941. <INDEXCOLUMN idColumn="11026" LengthParam="0" />
  1942. </INDEXCOLUMNS>
  1943. </INDEX>
  1944. </INDICES>
  1945. </TABLE>
  1946. <TABLE ID="1470" Tablename="TIPO_RELACIONAMENTO" PrevTableName="Table_32" XPos="2345" YPos="3825" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com os tipos de relacionamento." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="6" >
  1947. <COLUMNS>
  1948. <COLUMN ID="1472" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1949. <OPTIONSELECTED>
  1950. <OPTIONSELECT VALUE="1" />
  1951. <OPTIONSELECT VALUE="0" />
  1952. </OPTIONSELECTED>
  1953. </COLUMN>
  1954. <COLUMN ID="42637" ColName="CODIGO" PrevColName="" Pos="1" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Exemplos: 100=Conjuge | 101=Filho | 102=Pai">
  1955. <OPTIONSELECTED>
  1956. <OPTIONSELECT VALUE="0" />
  1957. </OPTIONSELECTED>
  1958. </COLUMN>
  1959. <COLUMN ID="1474" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1960. <OPTIONSELECTED>
  1961. <OPTIONSELECT VALUE="0" />
  1962. </OPTIONSELECTED>
  1963. </COLUMN>
  1964. <COLUMN ID="1475" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1965. <OPTIONSELECTED>
  1966. </OPTIONSELECTED>
  1967. </COLUMN>
  1968. </COLUMNS>
  1969. <RELATIONS_START>
  1970. <RELATION_START ID="5447" />
  1971. </RELATIONS_START>
  1972. <INDICES>
  1973. <INDEX ID="1473" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  1974. <INDEXCOLUMNS>
  1975. <INDEXCOLUMN idColumn="1472" LengthParam="0" />
  1976. </INDEXCOLUMNS>
  1977. </INDEX>
  1978. </INDICES>
  1979. </TABLE>
  1980. <TABLE ID="1498" Tablename="PRODUTO_SUB_GRUPO" PrevTableName="Table_32" XPos="1842" YPos="1968" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com os sub-grupos dos produtos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="11" >
  1981. <COLUMNS>
  1982. <COLUMN ID="1500" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  1983. <OPTIONSELECTED>
  1984. <OPTIONSELECT VALUE="1" />
  1985. <OPTIONSELECT VALUE="0" />
  1986. </OPTIONSELECTED>
  1987. </COLUMN>
  1988. <COLUMN ID="1507" ColName="ID_GRUPO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  1989. <OPTIONSELECTED>
  1990. <OPTIONSELECT VALUE="1" />
  1991. <OPTIONSELECT VALUE="0" />
  1992. </OPTIONSELECTED>
  1993. </COLUMN>
  1994. <COLUMN ID="1502" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  1995. <OPTIONSELECTED>
  1996. <OPTIONSELECT VALUE="0" />
  1997. </OPTIONSELECTED>
  1998. </COLUMN>
  1999. <COLUMN ID="1503" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2000. <OPTIONSELECTED>
  2001. </OPTIONSELECTED>
  2002. </COLUMN>
  2003. </COLUMNS>
  2004. <RELATIONS_START>
  2005. <RELATION_START ID="1508" />
  2006. </RELATIONS_START>
  2007. <RELATIONS_END>
  2008. <RELATION_END ID="1504" />
  2009. </RELATIONS_END>
  2010. <INDICES>
  2011. <INDEX ID="1501" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2012. <INDEXCOLUMNS>
  2013. <INDEXCOLUMN idColumn="1500" LengthParam="0" />
  2014. </INDEXCOLUMNS>
  2015. </INDEX>
  2016. <INDEX ID="1506" IndexName="FK_SUB_GRUPO_GRUPO" IndexKind="1" FKRefDef_Obj_id="1504">
  2017. <INDEXCOLUMNS>
  2018. <INDEXCOLUMN idColumn="1507" LengthParam="0" />
  2019. </INDEXCOLUMNS>
  2020. </INDEX>
  2021. </INDICES>
  2022. </TABLE>
  2023. <TABLE ID="1645" Tablename="CONTATO" PrevTableName="Table_17" XPos="3625" YPos="2500" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela de contatos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="383" >
  2024. <COLUMNS>
  2025. <COLUMN ID="1646" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2026. <OPTIONSELECTED>
  2027. <OPTIONSELECT VALUE="1" />
  2028. <OPTIONSELECT VALUE="0" />
  2029. </OPTIONSELECTED>
  2030. </COLUMN>
  2031. <COLUMN ID="17883" ColName="ID_PESSOA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2032. <OPTIONSELECTED>
  2033. <OPTIONSELECT VALUE="1" />
  2034. <OPTIONSELECT VALUE="0" />
  2035. </OPTIONSELECTED>
  2036. </COLUMN>
  2037. <COLUMN ID="11019" ColName="ID_EMPRESA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2038. <OPTIONSELECTED>
  2039. <OPTIONSELECT VALUE="1" />
  2040. <OPTIONSELECT VALUE="0" />
  2041. </OPTIONSELECTED>
  2042. </COLUMN>
  2043. <COLUMN ID="1647" ColName="NOME" PrevColName="LOGRADOURO" Pos="1" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2044. <OPTIONSELECTED>
  2045. <OPTIONSELECT VALUE="0" />
  2046. </OPTIONSELECTED>
  2047. </COLUMN>
  2048. <COLUMN ID="54050" ColName="EMAIL" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2049. <OPTIONSELECTED>
  2050. <OPTIONSELECT VALUE="1" />
  2051. </OPTIONSELECTED>
  2052. </COLUMN>
  2053. <COLUMN ID="54049" ColName="FONE_COMERCIAL" PrevColName="TELEFONE" Pos="4" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2054. <OPTIONSELECTED>
  2055. <OPTIONSELECT VALUE="0" />
  2056. </OPTIONSELECTED>
  2057. </COLUMN>
  2058. <COLUMN ID="54057" ColName="FONE_RESIDENCIAL" PrevColName="TELEFONE_RESIDENCIAL" Pos="6" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2059. <OPTIONSELECTED>
  2060. <OPTIONSELECT VALUE="1" />
  2061. </OPTIONSELECTED>
  2062. </COLUMN>
  2063. <COLUMN ID="54058" ColName="FONE_CELULAR" PrevColName="TELEFONE_CELULAR" Pos="7" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2064. <OPTIONSELECTED>
  2065. <OPTIONSELECT VALUE="0" />
  2066. </OPTIONSELECTED>
  2067. </COLUMN>
  2068. </COLUMNS>
  2069. <RELATIONS_END>
  2070. <RELATION_END ID="5851" />
  2071. <RELATION_END ID="17880" />
  2072. </RELATIONS_END>
  2073. <INDICES>
  2074. <INDEX ID="1657" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2075. <INDEXCOLUMNS>
  2076. <INDEXCOLUMN idColumn="1646" LengthParam="0" />
  2077. </INDEXCOLUMNS>
  2078. </INDEX>
  2079. <INDEX ID="5853" IndexName="FK_EMPRESA_CONTATO" IndexKind="1" FKRefDef_Obj_id="5851">
  2080. <INDEXCOLUMNS>
  2081. <INDEXCOLUMN idColumn="11019" LengthParam="0" />
  2082. </INDEXCOLUMNS>
  2083. </INDEX>
  2084. <INDEX ID="17882" IndexName="FK_PESSOA_CONTATO" IndexKind="1" FKRefDef_Obj_id="17880">
  2085. <INDEXCOLUMNS>
  2086. <INDEXCOLUMN idColumn="17883" LengthParam="0" />
  2087. </INDEXCOLUMNS>
  2088. </INDEX>
  2089. </INDICES>
  2090. </TABLE>
  2091. <TABLE ID="1673" Tablename="ENDERECO" PrevTableName="Table_17" XPos="4128" YPos="2435" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela de endere\231os." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="412" >
  2092. <COLUMNS>
  2093. <COLUMN ID="1674" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2094. <OPTIONSELECTED>
  2095. <OPTIONSELECT VALUE="0" />
  2096. <OPTIONSELECT VALUE="0" />
  2097. </OPTIONSELECTED>
  2098. </COLUMN>
  2099. <COLUMN ID="17875" ColName="ID_EMPRESA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2100. <OPTIONSELECTED>
  2101. <OPTIONSELECT VALUE="1" />
  2102. <OPTIONSELECT VALUE="0" />
  2103. </OPTIONSELECTED>
  2104. </COLUMN>
  2105. <COLUMN ID="17862" ColName="ID_PESSOA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2106. <OPTIONSELECTED>
  2107. <OPTIONSELECT VALUE="1" />
  2108. <OPTIONSELECT VALUE="0" />
  2109. </OPTIONSELECTED>
  2110. </COLUMN>
  2111. <COLUMN ID="1675" ColName="LOGRADOURO" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2112. <OPTIONSELECTED>
  2113. <OPTIONSELECT VALUE="0" />
  2114. </OPTIONSELECTED>
  2115. </COLUMN>
  2116. <COLUMN ID="1676" ColName="NUMERO" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2117. <OPTIONSELECTED>
  2118. <OPTIONSELECT VALUE="0" />
  2119. </OPTIONSELECTED>
  2120. </COLUMN>
  2121. <COLUMN ID="1677" ColName="COMPLEMENTO" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2122. <OPTIONSELECTED>
  2123. <OPTIONSELECT VALUE="0" />
  2124. </OPTIONSELECTED>
  2125. </COLUMN>
  2126. <COLUMN ID="1678" ColName="BAIRRO" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2127. <OPTIONSELECTED>
  2128. <OPTIONSELECT VALUE="0" />
  2129. </OPTIONSELECTED>
  2130. </COLUMN>
  2131. <COLUMN ID="37237" ColName="CIDADE" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2132. <OPTIONSELECTED>
  2133. <OPTIONSELECT VALUE="0" />
  2134. </OPTIONSELECTED>
  2135. </COLUMN>
  2136. <COLUMN ID="17865" ColName="CEP" PrevColName="" Pos="6" idDatatype="20" DatatypeParams="(8)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2137. <OPTIONSELECTED>
  2138. <OPTIONSELECT VALUE="0" />
  2139. </OPTIONSELECTED>
  2140. </COLUMN>
  2141. <COLUMN ID="17866" ColName="MUNICIPIO_IBGE" PrevColName="CIDADE" Pos="7" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2142. <OPTIONSELECTED>
  2143. <OPTIONSELECT VALUE="1" />
  2144. <OPTIONSELECT VALUE="0" />
  2145. </OPTIONSELECTED>
  2146. </COLUMN>
  2147. <COLUMN ID="17868" ColName="UF" PrevColName="" Pos="8" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2148. <OPTIONSELECTED>
  2149. <OPTIONSELECT VALUE="0" />
  2150. </OPTIONSELECTED>
  2151. </COLUMN>
  2152. <COLUMN ID="17856" ColName="FONE" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2153. <OPTIONSELECTED>
  2154. <OPTIONSELECT VALUE="0" />
  2155. </OPTIONSELECTED>
  2156. </COLUMN>
  2157. <COLUMN ID="17857" ColName="FAX" PrevColName="" Pos="11" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2158. <OPTIONSELECTED>
  2159. <OPTIONSELECT VALUE="0" />
  2160. </OPTIONSELECTED>
  2161. </COLUMN>
  2162. <COLUMN ID="17849" ColName="PRINCIPAL" PrevColName="corresp" Pos="12" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o [Apenas um endere\231o por PESSOA pode ser marcado como principal]">
  2163. <OPTIONSELECTED>
  2164. <OPTIONSELECT VALUE="0" />
  2165. </OPTIONSELECTED>
  2166. </COLUMN>
  2167. <COLUMN ID="17850" ColName="ENTREGA" PrevColName="entrega" Pos="13" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  2168. <OPTIONSELECTED>
  2169. <OPTIONSELECT VALUE="0" />
  2170. </OPTIONSELECTED>
  2171. </COLUMN>
  2172. <COLUMN ID="17851" ColName="COBRANCA" PrevColName="cobranca" Pos="14" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  2173. <OPTIONSELECTED>
  2174. <OPTIONSELECT VALUE="0" />
  2175. </OPTIONSELECTED>
  2176. </COLUMN>
  2177. <COLUMN ID="17858" ColName="CORRESPONDENCIA" PrevColName="" Pos="16" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  2178. <OPTIONSELECTED>
  2179. <OPTIONSELECT VALUE="0" />
  2180. </OPTIONSELECTED>
  2181. </COLUMN>
  2182. </COLUMNS>
  2183. <RELATIONS_END>
  2184. <RELATION_END ID="17859" />
  2185. <RELATION_END ID="17871" />
  2186. </RELATIONS_END>
  2187. <INDICES>
  2188. <INDEX ID="1685" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2189. <INDEXCOLUMNS>
  2190. <INDEXCOLUMN idColumn="1674" LengthParam="0" />
  2191. </INDEXCOLUMNS>
  2192. </INDEX>
  2193. <INDEX ID="17861" IndexName="FK_PESSOA_ENDERECO" IndexKind="1" FKRefDef_Obj_id="17859">
  2194. <INDEXCOLUMNS>
  2195. <INDEXCOLUMN idColumn="17862" LengthParam="0" />
  2196. </INDEXCOLUMNS>
  2197. </INDEX>
  2198. <INDEX ID="17873" IndexName="FK_EMPRESA_ENDERECO" IndexKind="1" FKRefDef_Obj_id="17871">
  2199. <INDEXCOLUMNS>
  2200. <INDEXCOLUMN idColumn="17875" LengthParam="0" />
  2201. </INDEXCOLUMNS>
  2202. </INDEX>
  2203. </INDICES>
  2204. </TABLE>
  2205. <TABLE ID="1833" Tablename="SITUACAO_FOR_CLI" PrevTableName="Table_44" XPos="4260" YPos="1738" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Identifica a situa\231\227o (ativo, inativo, bloqueado, desbloqueado...)" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="423" >
  2206. <COLUMNS>
  2207. <COLUMN ID="1835" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2208. <OPTIONSELECTED>
  2209. <OPTIONSELECT VALUE="1" />
  2210. <OPTIONSELECT VALUE="0" />
  2211. </OPTIONSELECTED>
  2212. </COLUMN>
  2213. <COLUMN ID="1837" ColName="NOME" PrevColName="COD" Pos="1" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2214. <OPTIONSELECTED>
  2215. <OPTIONSELECT VALUE="0" />
  2216. </OPTIONSELECTED>
  2217. </COLUMN>
  2218. <COLUMN ID="1838" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2219. <OPTIONSELECTED>
  2220. </OPTIONSELECTED>
  2221. </COLUMN>
  2222. </COLUMNS>
  2223. <RELATIONS_START>
  2224. <RELATION_START ID="5525" />
  2225. <RELATION_START ID="5528" />
  2226. </RELATIONS_START>
  2227. <INDICES>
  2228. <INDEX ID="1836" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2229. <INDEXCOLUMNS>
  2230. <INDEXCOLUMN idColumn="1835" LengthParam="0" />
  2231. </INDEXCOLUMNS>
  2232. </INDEX>
  2233. </INDICES>
  2234. </TABLE>
  2235. <TABLE ID="5316" Tablename="TIPO_COLABORADOR" PrevTableName="Table_42" XPos="1688" YPos="3172" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tipos de colaboradores" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="6" >
  2236. <COLUMNS>
  2237. <COLUMN ID="5318" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2238. <OPTIONSELECTED>
  2239. <OPTIONSELECT VALUE="1" />
  2240. <OPTIONSELECT VALUE="0" />
  2241. </OPTIONSELECTED>
  2242. </COLUMN>
  2243. <COLUMN ID="5348" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2244. <OPTIONSELECTED>
  2245. <OPTIONSELECT VALUE="0" />
  2246. </OPTIONSELECTED>
  2247. </COLUMN>
  2248. <COLUMN ID="5320" ColName="DESCRICAO" PrevColName="" Pos="1" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2249. <OPTIONSELECTED>
  2250. </OPTIONSELECTED>
  2251. </COLUMN>
  2252. </COLUMNS>
  2253. <RELATIONS_START>
  2254. <RELATION_START ID="5339" />
  2255. </RELATIONS_START>
  2256. <INDICES>
  2257. <INDEX ID="5319" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2258. <INDEXCOLUMNS>
  2259. <INDEXCOLUMN idColumn="5318" LengthParam="0" />
  2260. </INDEXCOLUMNS>
  2261. </INDEX>
  2262. </INDICES>
  2263. </TABLE>
  2264. <TABLE ID="5533" Tablename="USUARIO" PrevTableName="Table_46" XPos="1608" YPos="3340" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com os usuarios do sistema" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="6" >
  2265. <COLUMNS>
  2266. <COLUMN ID="5535" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2267. <OPTIONSELECTED>
  2268. <OPTIONSELECT VALUE="1" />
  2269. <OPTIONSELECT VALUE="0" />
  2270. </OPTIONSELECTED>
  2271. </COLUMN>
  2272. <COLUMN ID="11029" ColName="ID_COLABORADOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2273. <OPTIONSELECTED>
  2274. <OPTIONSELECT VALUE="1" />
  2275. <OPTIONSELECT VALUE="0" />
  2276. </OPTIONSELECTED>
  2277. </COLUMN>
  2278. <COLUMN ID="11028" ColName="ID_PAPEL" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2279. <OPTIONSELECTED>
  2280. <OPTIONSELECT VALUE="1" />
  2281. <OPTIONSELECT VALUE="0" />
  2282. </OPTIONSELECTED>
  2283. </COLUMN>
  2284. <COLUMN ID="5537" ColName="LOGIN" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2285. <OPTIONSELECTED>
  2286. <OPTIONSELECT VALUE="0" />
  2287. </OPTIONSELECTED>
  2288. </COLUMN>
  2289. <COLUMN ID="5538" ColName="SENHA" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(40)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2290. <OPTIONSELECTED>
  2291. <OPTIONSELECT VALUE="0" />
  2292. </OPTIONSELECTED>
  2293. </COLUMN>
  2294. <COLUMN ID="5540" ColName="DATA_CADASTRO" PrevColName="" Pos="3" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2295. <OPTIONSELECTED>
  2296. </OPTIONSELECTED>
  2297. </COLUMN>
  2298. <COLUMN ID="37908" ColName="ADMINISTRADOR" PrevColName="" Pos="6" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2299. <OPTIONSELECTED>
  2300. <OPTIONSELECT VALUE="0" />
  2301. </OPTIONSELECTED>
  2302. </COLUMN>
  2303. </COLUMNS>
  2304. <RELATIONS_END>
  2305. <RELATION_END ID="5541" />
  2306. <RELATION_END ID="5602" />
  2307. </RELATIONS_END>
  2308. <INDICES>
  2309. <INDEX ID="5536" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2310. <INDEXCOLUMNS>
  2311. <INDEXCOLUMN idColumn="5535" LengthParam="0" />
  2312. </INDEXCOLUMNS>
  2313. </INDEX>
  2314. <INDEX ID="5543" IndexName="FK_COLABORADOR_USUARIO" IndexKind="1" FKRefDef_Obj_id="5541">
  2315. <INDEXCOLUMNS>
  2316. <INDEXCOLUMN idColumn="11029" LengthParam="0" />
  2317. </INDEXCOLUMNS>
  2318. </INDEX>
  2319. <INDEX ID="5604" IndexName="FK_PAPEL_USUARIO" IndexKind="1" FKRefDef_Obj_id="5602">
  2320. <INDEXCOLUMNS>
  2321. <INDEXCOLUMN idColumn="11028" LengthParam="0" />
  2322. </INDEXCOLUMNS>
  2323. </INDEX>
  2324. </INDICES>
  2325. </TABLE>
  2326. <TABLE ID="5569" Tablename="PAPEL" PrevTableName="Table_48" XPos="1642" YPos="3538" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que define os pap\233is do sistema." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="3" >
  2327. <COLUMNS>
  2328. <COLUMN ID="5571" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2329. <OPTIONSELECTED>
  2330. <OPTIONSELECT VALUE="1" />
  2331. <OPTIONSELECT VALUE="0" />
  2332. </OPTIONSELECTED>
  2333. </COLUMN>
  2334. <COLUMN ID="5573" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2335. <OPTIONSELECTED>
  2336. <OPTIONSELECT VALUE="0" />
  2337. </OPTIONSELECTED>
  2338. </COLUMN>
  2339. <COLUMN ID="5574" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2340. <OPTIONSELECTED>
  2341. </OPTIONSELECTED>
  2342. </COLUMN>
  2343. <COLUMN ID="77237" ColName="ACESSO_COMPLETO" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o [Se marcado como S o usu\225rio vinculado ao papel ter\225 acesso completo e n\227o precisar\225 ter todas as fun\231\245es cadastradas no banco de dados]">
  2344. <OPTIONSELECTED>
  2345. <OPTIONSELECT VALUE="0" />
  2346. </OPTIONSELECTED>
  2347. </COLUMN>
  2348. </COLUMNS>
  2349. <RELATIONS_START>
  2350. <RELATION_START ID="5602" />
  2351. <RELATION_START ID="5866" />
  2352. </RELATIONS_START>
  2353. <INDICES>
  2354. <INDEX ID="5572" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2355. <INDEXCOLUMNS>
  2356. <INDEXCOLUMN idColumn="5571" LengthParam="0" />
  2357. </INDEXCOLUMNS>
  2358. </INDEX>
  2359. </INDICES>
  2360. </TABLE>
  2361. <TABLE ID="5579" Tablename="FUNCAO" PrevTableName="Table_50" XPos="1625" YPos="3918" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com as fun\231\245es do sistema." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="2" >
  2362. <COLUMNS>
  2363. <COLUMN ID="5581" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2364. <OPTIONSELECTED>
  2365. <OPTIONSELECT VALUE="1" />
  2366. <OPTIONSELECT VALUE="0" />
  2367. </OPTIONSELECTED>
  2368. </COLUMN>
  2369. <COLUMN ID="5583" ColName="DESCRICAO_MENU" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2370. <OPTIONSELECTED>
  2371. <OPTIONSELECT VALUE="0" />
  2372. </OPTIONSELECTED>
  2373. </COLUMN>
  2374. <COLUMN ID="5584" ColName="IMAGEM_MENU" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2375. <OPTIONSELECTED>
  2376. <OPTIONSELECT VALUE="0" />
  2377. </OPTIONSELECTED>
  2378. </COLUMN>
  2379. <COLUMN ID="5585" ColName="METODO" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2380. <OPTIONSELECTED>
  2381. <OPTIONSELECT VALUE="0" />
  2382. </OPTIONSELECTED>
  2383. </COLUMN>
  2384. <COLUMN ID="37912" ColName="NOME" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2385. <OPTIONSELECTED>
  2386. <OPTIONSELECT VALUE="0" />
  2387. </OPTIONSELECTED>
  2388. </COLUMN>
  2389. <COLUMN ID="37913" ColName="FORMULARIO" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2390. <OPTIONSELECTED>
  2391. <OPTIONSELECT VALUE="0" />
  2392. </OPTIONSELECTED>
  2393. </COLUMN>
  2394. </COLUMNS>
  2395. <RELATIONS_START>
  2396. <RELATION_START ID="5869" />
  2397. </RELATIONS_START>
  2398. <INDICES>
  2399. <INDEX ID="5582" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2400. <INDEXCOLUMNS>
  2401. <INDEXCOLUMN idColumn="5581" LengthParam="0" />
  2402. </INDEXCOLUMNS>
  2403. </INDEX>
  2404. </INDICES>
  2405. </TABLE>
  2406. <TABLE ID="5586" Tablename="PAPEL_FUNCAO" PrevTableName="FUNCAO_has_PAPEL" XPos="1655" YPos="3735" TableType="1" TablePrefix="0" nmTable="1" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Vinculo entre PAPEL e FUNCAO pare definir os n\237veis de acesso do sistema." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="4" >
  2407. <COLUMNS>
  2408. <COLUMN ID="5863" ColName="ID" PrevColName="" Pos="6" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2409. <OPTIONSELECTED>
  2410. <OPTIONSELECT VALUE="1" />
  2411. <OPTIONSELECT VALUE="0" />
  2412. </OPTIONSELECTED>
  2413. </COLUMN>
  2414. <COLUMN ID="11031" ColName="ID_PAPEL" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2415. <OPTIONSELECTED>
  2416. <OPTIONSELECT VALUE="1" />
  2417. <OPTIONSELECT VALUE="0" />
  2418. </OPTIONSELECTED>
  2419. </COLUMN>
  2420. <COLUMN ID="11030" ColName="ID_FUNCAO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2421. <OPTIONSELECTED>
  2422. <OPTIONSELECT VALUE="1" />
  2423. <OPTIONSELECT VALUE="0" />
  2424. </OPTIONSELECTED>
  2425. </COLUMN>
  2426. <COLUMN ID="5598" ColName="PODE_CONSULTAR" PrevColName="" Pos="2" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valores poss\237veis: S-Sim | N-N\227o">
  2427. <OPTIONSELECTED>
  2428. <OPTIONSELECT VALUE="0" />
  2429. </OPTIONSELECTED>
  2430. </COLUMN>
  2431. <COLUMN ID="5599" ColName="PODE_INSERIR" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valores poss\237veis: S-Sim | N-N\227o">
  2432. <OPTIONSELECTED>
  2433. <OPTIONSELECT VALUE="0" />
  2434. </OPTIONSELECTED>
  2435. </COLUMN>
  2436. <COLUMN ID="5600" ColName="PODE_ALTERAR" PrevColName="" Pos="4" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valores poss\237veis: S-Sim | N-N\227o">
  2437. <OPTIONSELECTED>
  2438. <OPTIONSELECT VALUE="0" />
  2439. </OPTIONSELECTED>
  2440. </COLUMN>
  2441. <COLUMN ID="5601" ColName="PODE_EXCLUIR" PrevColName="" Pos="5" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valores poss\237veis: S-Sim | N-N\227o">
  2442. <OPTIONSELECTED>
  2443. <OPTIONSELECT VALUE="0" />
  2444. </OPTIONSELECTED>
  2445. </COLUMN>
  2446. <COLUMN ID="37910" ColName="HABILITADO" PrevColName="" Pos="7" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2447. <OPTIONSELECTED>
  2448. <OPTIONSELECT VALUE="0" />
  2449. </OPTIONSELECTED>
  2450. </COLUMN>
  2451. </COLUMNS>
  2452. <RELATIONS_END>
  2453. <RELATION_END ID="5866" />
  2454. <RELATION_END ID="5869" />
  2455. </RELATIONS_END>
  2456. <INDICES>
  2457. <INDEX ID="5593" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2458. <INDEXCOLUMNS>
  2459. <INDEXCOLUMN idColumn="5863" LengthParam="0" />
  2460. </INDEXCOLUMNS>
  2461. </INDEX>
  2462. <INDEX ID="5868" IndexName="FK_PAPEL_FUNCAO" IndexKind="1" FKRefDef_Obj_id="5866">
  2463. <INDEXCOLUMNS>
  2464. <INDEXCOLUMN idColumn="11031" LengthParam="0" />
  2465. </INDEXCOLUMNS>
  2466. </INDEX>
  2467. <INDEX ID="5871" IndexName="FK_FUNCAO_PAPEL" IndexKind="1" FKRefDef_Obj_id="5869">
  2468. <INDEXCOLUMNS>
  2469. <INDEXCOLUMN idColumn="11030" LengthParam="0" />
  2470. </INDEXCOLUMNS>
  2471. </INDEX>
  2472. </INDICES>
  2473. </TABLE>
  2474. <TABLE ID="12368" Tablename="CNAE" PrevTableName="Table_07" XPos="4190" YPos="3385" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="A CNAE - Classifica\231\227o Nacional de Atividades Econ\244micas \233 o instrumento de padroniza\231\227o nacional dos c\243digos de atividade econ\244mica e dos crit\233rios de enquadramento utilizados pelos diversos \243rg\227os da Administra\231\227o Tribut\225ria do pa\237s.\n\nEX.:\n   Se\231\227o:  A  AGRICULTURA, PECU\193RIA, PRODU\199\195O FLORESTAL, PESCA E AQ\220ICULTURA\n   Divis\227o:  01  AGRICULTURA, PECU\193RIA E SERVI\199OS RELACIONADOS\n   Grupo:  011  PRODU\199\195O DE LAVOURAS TEMPOR\193RIAS\n   Classe:  0111-3  CULTIVO DE CEREAIS\n   Subclasse  0111-3/01  CULTIVO DE ARROZ" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="87" >
  2475. <COLUMNS>
  2476. <COLUMN ID="12369" ColName="ID" PrevColName="id_cnae" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2477. <OPTIONSELECTED>
  2478. <OPTIONSELECT VALUE="1" />
  2479. <OPTIONSELECT VALUE="0" />
  2480. </OPTIONSELECTED>
  2481. </COLUMN>
  2482. <COLUMN ID="49145" ColName="CODIGO" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(7)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2483. <OPTIONSELECTED>
  2484. <OPTIONSELECT VALUE="0" />
  2485. </OPTIONSELECTED>
  2486. </COLUMN>
  2487. <COLUMN ID="12375" ColName="DENOMINACAO" PrevColName="" Pos="1" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2488. <OPTIONSELECTED>
  2489. </OPTIONSELECTED>
  2490. </COLUMN>
  2491. </COLUMNS>
  2492. <RELATIONS_START>
  2493. <RELATION_START ID="54112" />
  2494. </RELATIONS_START>
  2495. <INDICES>
  2496. <INDEX ID="12381" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2497. <INDEXCOLUMNS>
  2498. <INDEXCOLUMN idColumn="12369" LengthParam="0" />
  2499. </INDEXCOLUMNS>
  2500. </INDEX>
  2501. </INDICES>
  2502. </TABLE>
  2503. <TABLE ID="14682" Tablename="NCM" PrevTableName="Table_07" XPos="6484" YPos="3484" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com a Nomeclatura Comum do Mercosul (NCM)" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="541" >
  2504. <COLUMNS>
  2505. <COLUMN ID="14683" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2506. <OPTIONSELECTED>
  2507. <OPTIONSELECT VALUE="1" />
  2508. <OPTIONSELECT VALUE="0" />
  2509. </OPTIONSELECTED>
  2510. </COLUMN>
  2511. <COLUMN ID="14687" ColName="CODIGO" PrevColName="NCM" Pos="4" idDatatype="20" DatatypeParams="(8)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo NCM completo">
  2512. <OPTIONSELECTED>
  2513. <OPTIONSELECT VALUE="0" />
  2514. </OPTIONSELECTED>
  2515. </COLUMN>
  2516. <COLUMN ID="14688" ColName="DESCRICAO" PrevColName="DESCRICAO_NCM" Pos="5" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2517. <OPTIONSELECTED>
  2518. </OPTIONSELECTED>
  2519. </COLUMN>
  2520. <COLUMN ID="55794" ColName="OBSERVACAO" PrevColName="OBSERVACOES" Pos="3" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2521. <OPTIONSELECTED>
  2522. </OPTIONSELECTED>
  2523. </COLUMN>
  2524. </COLUMNS>
  2525. <INDICES>
  2526. <INDEX ID="14693" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2527. <INDEXCOLUMNS>
  2528. <INDEXCOLUMN idColumn="14683" LengthParam="0" />
  2529. </INDEXCOLUMNS>
  2530. </INDEX>
  2531. </INDICES>
  2532. </TABLE>
  2533. <TABLE ID="15032" Tablename="TRANSPORTADORA" PrevTableName="Table_04" XPos="4858" YPos="2122" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela de transportadoras" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="450" >
  2534. <COLUMNS>
  2535. <COLUMN ID="15033" ColName="ID" PrevColName="id_cliente" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2536. <OPTIONSELECTED>
  2537. <OPTIONSELECT VALUE="1" />
  2538. <OPTIONSELECT VALUE="0" />
  2539. </OPTIONSELECTED>
  2540. </COLUMN>
  2541. <COLUMN ID="20837" ColName="ID_PESSOA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2542. <OPTIONSELECTED>
  2543. <OPTIONSELECT VALUE="1" />
  2544. <OPTIONSELECT VALUE="0" />
  2545. </OPTIONSELECTED>
  2546. </COLUMN>
  2547. <COLUMN ID="15045" ColName="DATA_CADASTRO" PrevColName="" Pos="11" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2548. <OPTIONSELECTED>
  2549. </OPTIONSELECTED>
  2550. </COLUMN>
  2551. <COLUMN ID="20858" ColName="OBSERVACAO" PrevColName="" Pos="3" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2552. <OPTIONSELECTED>
  2553. </OPTIONSELECTED>
  2554. </COLUMN>
  2555. </COLUMNS>
  2556. <RELATIONS_START>
  2557. <RELATION_START ID="46537" />
  2558. <RELATION_START ID="67793" />
  2559. </RELATIONS_START>
  2560. <RELATIONS_END>
  2561. <RELATION_END ID="20834" />
  2562. </RELATIONS_END>
  2563. <INDICES>
  2564. <INDEX ID="15050" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2565. <INDEXCOLUMNS>
  2566. <INDEXCOLUMN idColumn="15033" LengthParam="0" />
  2567. </INDEXCOLUMNS>
  2568. </INDEX>
  2569. <INDEX ID="20836" IndexName="FK_PESSOA_TRANSPORTADORA" IndexKind="1" FKRefDef_Obj_id="20834">
  2570. <INDEXCOLUMNS>
  2571. <INDEXCOLUMN idColumn="20837" LengthParam="0" />
  2572. </INDEXCOLUMNS>
  2573. </INDEX>
  2574. </INDICES>
  2575. </TABLE>
  2576. <TABLE ID="15352" Tablename="CONTADOR" PrevTableName="Table_43" XPos="3600" YPos="2962" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os dados do contador da empresa. " Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="87" >
  2577. <COLUMNS>
  2578. <COLUMN ID="15353" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2579. <OPTIONSELECTED>
  2580. <OPTIONSELECT VALUE="1" />
  2581. <OPTIONSELECT VALUE="0" />
  2582. </OPTIONSELECTED>
  2583. </COLUMN>
  2584. <COLUMN ID="15358" ColName="INSCRICAO_CRC" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(15)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2585. <OPTIONSELECTED>
  2586. <OPTIONSELECT VALUE="0" />
  2587. </OPTIONSELECTED>
  2588. </COLUMN>
  2589. <COLUMN ID="69484" ColName="UF_CRC" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2590. <OPTIONSELECTED>
  2591. <OPTIONSELECT VALUE="0" />
  2592. </OPTIONSELECTED>
  2593. </COLUMN>
  2594. <COLUMN ID="15359" ColName="FONE" PrevColName="" Pos="6" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2595. <OPTIONSELECTED>
  2596. <OPTIONSELECT VALUE="0" />
  2597. </OPTIONSELECTED>
  2598. </COLUMN>
  2599. <COLUMN ID="15360" ColName="FAX" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2600. <OPTIONSELECTED>
  2601. <OPTIONSELECT VALUE="0" />
  2602. </OPTIONSELECTED>
  2603. </COLUMN>
  2604. <COLUMN ID="15361" ColName="LOGRADOURO" PrevColName="" Pos="8" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2605. <OPTIONSELECTED>
  2606. <OPTIONSELECT VALUE="0" />
  2607. </OPTIONSELECTED>
  2608. </COLUMN>
  2609. <COLUMN ID="15362" ColName="NUMERO" PrevColName="" Pos="9" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2610. <OPTIONSELECTED>
  2611. <OPTIONSELECT VALUE="0" />
  2612. </OPTIONSELECTED>
  2613. </COLUMN>
  2614. <COLUMN ID="15363" ColName="COMPLEMENTO" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2615. <OPTIONSELECTED>
  2616. <OPTIONSELECT VALUE="0" />
  2617. </OPTIONSELECTED>
  2618. </COLUMN>
  2619. <COLUMN ID="15364" ColName="BAIRRO" PrevColName="" Pos="11" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2620. <OPTIONSELECTED>
  2621. <OPTIONSELECT VALUE="0" />
  2622. </OPTIONSELECTED>
  2623. </COLUMN>
  2624. <COLUMN ID="89068" ColName="CIDADE" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(60)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2625. <OPTIONSELECTED>
  2626. <OPTIONSELECT VALUE="0" />
  2627. </OPTIONSELECTED>
  2628. </COLUMN>
  2629. <COLUMN ID="15365" ColName="CEP" PrevColName="" Pos="12" idDatatype="20" DatatypeParams="(8)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2630. <OPTIONSELECTED>
  2631. <OPTIONSELECT VALUE="0" />
  2632. </OPTIONSELECTED>
  2633. </COLUMN>
  2634. <COLUMN ID="15366" ColName="MUNICIPIO_IBGE" PrevColName="CODIGO_MUNICIPIO" Pos="13" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2635. <OPTIONSELECTED>
  2636. <OPTIONSELECT VALUE="1" />
  2637. <OPTIONSELECT VALUE="0" />
  2638. </OPTIONSELECTED>
  2639. </COLUMN>
  2640. <COLUMN ID="15367" ColName="UF" PrevColName="" Pos="14" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2641. <OPTIONSELECTED>
  2642. <OPTIONSELECT VALUE="0" />
  2643. </OPTIONSELECTED>
  2644. </COLUMN>
  2645. <COLUMN ID="15368" ColName="EMAIL" PrevColName="" Pos="14" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2646. <OPTIONSELECTED>
  2647. <OPTIONSELECT VALUE="0" />
  2648. </OPTIONSELECTED>
  2649. </COLUMN>
  2650. </COLUMNS>
  2651. <RELATIONS_START>
  2652. <RELATION_START ID="22926" />
  2653. </RELATIONS_START>
  2654. <INDICES>
  2655. <INDEX ID="15370" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2656. <INDEXCOLUMNS>
  2657. <INDEXCOLUMN idColumn="15353" LengthParam="0" />
  2658. </INDEXCOLUMNS>
  2659. </INDEX>
  2660. </INDICES>
  2661. </TABLE>
  2662. <TABLE ID="15394" Tablename="FICHA_TECNICA" PrevTableName="Table_45" XPos="2582" YPos="2414" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela de ficha t\233cnica para produtos produzidos pelo proprio estabelecimento." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="8" >
  2663. <COLUMNS>
  2664. <COLUMN ID="15395" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2665. <OPTIONSELECTED>
  2666. <OPTIONSELECT VALUE="1" />
  2667. <OPTIONSELECT VALUE="0" />
  2668. </OPTIONSELECTED>
  2669. </COLUMN>
  2670. <COLUMN ID="15451" ColName="ID_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2671. <OPTIONSELECTED>
  2672. <OPTIONSELECT VALUE="1" />
  2673. <OPTIONSELECT VALUE="0" />
  2674. </OPTIONSELECTED>
  2675. </COLUMN>
  2676. <COLUMN ID="15397" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2677. <OPTIONSELECTED>
  2678. <OPTIONSELECT VALUE="0" />
  2679. </OPTIONSELECTED>
  2680. </COLUMN>
  2681. <COLUMN ID="15398" ColName="ID_PRODUTO_FILHO" PrevColName="" Pos="2" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2682. <OPTIONSELECTED>
  2683. <OPTIONSELECT VALUE="1" />
  2684. <OPTIONSELECT VALUE="0" />
  2685. </OPTIONSELECTED>
  2686. </COLUMN>
  2687. <COLUMN ID="15399" ColName="QUANTIDADE" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2688. <OPTIONSELECTED>
  2689. <OPTIONSELECT VALUE="0" />
  2690. </OPTIONSELECTED>
  2691. </COLUMN>
  2692. </COLUMNS>
  2693. <RELATIONS_END>
  2694. <RELATION_END ID="15404" />
  2695. </RELATIONS_END>
  2696. <INDICES>
  2697. <INDEX ID="15401" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2698. <INDEXCOLUMNS>
  2699. <INDEXCOLUMN idColumn="15395" LengthParam="0" />
  2700. </INDEXCOLUMNS>
  2701. </INDEX>
  2702. <INDEX ID="15406" IndexName="FK_PRODUTO_FICHA_TECNICA" IndexKind="1" FKRefDef_Obj_id="15404">
  2703. <INDEXCOLUMNS>
  2704. <INDEXCOLUMN idColumn="15451" LengthParam="0" />
  2705. </INDEXCOLUMNS>
  2706. </INDEX>
  2707. </INDICES>
  2708. </TABLE>
  2709. <TABLE ID="15468" Tablename="TALONARIO_CHEQUE" PrevTableName="Table_10" XPos="4708" YPos="4020" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que armazena os talonario de cheque de determinada empresa." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="182" >
  2710. <COLUMNS>
  2711. <COLUMN ID="15469" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2712. <OPTIONSELECTED>
  2713. <OPTIONSELECT VALUE="1" />
  2714. <OPTIONSELECT VALUE="0" />
  2715. </OPTIONSELECTED>
  2716. </COLUMN>
  2717. <COLUMN ID="19662" ColName="ID_CONTA_CAIXA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2718. <OPTIONSELECTED>
  2719. <OPTIONSELECT VALUE="1" />
  2720. <OPTIONSELECT VALUE="0" />
  2721. </OPTIONSELECTED>
  2722. </COLUMN>
  2723. <COLUMN ID="15470" ColName="TALAO" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2724. <OPTIONSELECTED>
  2725. <OPTIONSELECT VALUE="0" />
  2726. </OPTIONSELECTED>
  2727. </COLUMN>
  2728. <COLUMN ID="15471" ColName="NUMERO" PrevColName="" Pos="2" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2729. <OPTIONSELECTED>
  2730. <OPTIONSELECT VALUE="1" />
  2731. <OPTIONSELECT VALUE="0" />
  2732. </OPTIONSELECTED>
  2733. </COLUMN>
  2734. <COLUMN ID="37906" ColName="STATUS_TALAO" PrevColName="" Pos="5" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="N=Normal | C=Cancelado | E=Extraviado | U=Utilizado">
  2735. <OPTIONSELECTED>
  2736. <OPTIONSELECT VALUE="0" />
  2737. </OPTIONSELECTED>
  2738. </COLUMN>
  2739. </COLUMNS>
  2740. <RELATIONS_START>
  2741. <RELATION_START ID="15505" />
  2742. </RELATIONS_START>
  2743. <RELATIONS_END>
  2744. <RELATION_END ID="19659" />
  2745. </RELATIONS_END>
  2746. <INDICES>
  2747. <INDEX ID="15473" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2748. <INDEXCOLUMNS>
  2749. <INDEXCOLUMN idColumn="15469" LengthParam="0" />
  2750. </INDEXCOLUMNS>
  2751. </INDEX>
  2752. <INDEX ID="19661" IndexName="FK_CONTA_TALONARIO" IndexKind="1" FKRefDef_Obj_id="19659">
  2753. <INDEXCOLUMNS>
  2754. <INDEXCOLUMN idColumn="19662" LengthParam="0" />
  2755. </INDEXCOLUMNS>
  2756. </INDEX>
  2757. </INDICES>
  2758. </TABLE>
  2759. <TABLE ID="15496" Tablename="CHEQUE" PrevTableName="Table_87" XPos="4328" YPos="4145" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com a rela\231\227o dos cheques vinculados a determinado tal\227o." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="97" >
  2760. <COLUMNS>
  2761. <COLUMN ID="15500" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2762. <OPTIONSELECTED>
  2763. <OPTIONSELECT VALUE="1" />
  2764. <OPTIONSELECT VALUE="0" />
  2765. </OPTIONSELECTED>
  2766. </COLUMN>
  2767. <COLUMN ID="15508" ColName="ID_TALONARIO_CHEQUE" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2768. <OPTIONSELECTED>
  2769. <OPTIONSELECT VALUE="1" />
  2770. <OPTIONSELECT VALUE="0" />
  2771. </OPTIONSELECTED>
  2772. </COLUMN>
  2773. <COLUMN ID="15502" ColName="NUMERO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2774. <OPTIONSELECTED>
  2775. <OPTIONSELECT VALUE="1" />
  2776. <OPTIONSELECT VALUE="0" />
  2777. </OPTIONSELECTED>
  2778. </COLUMN>
  2779. <COLUMN ID="15503" ColName="STATUS_CHEQUE" PrevColName="" Pos="2" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="E=Em Ser | B=Baixado | U=Utilizado | C=Compensado | N=Cancelado">
  2780. <OPTIONSELECTED>
  2781. <OPTIONSELECT VALUE="0" />
  2782. </OPTIONSELECTED>
  2783. </COLUMN>
  2784. <COLUMN ID="15504" ColName="DATA_STATUS" PrevColName="" Pos="3" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2785. <OPTIONSELECTED>
  2786. </OPTIONSELECTED>
  2787. </COLUMN>
  2788. </COLUMNS>
  2789. <RELATIONS_START>
  2790. <RELATION_START ID="49069" />
  2791. </RELATIONS_START>
  2792. <RELATIONS_END>
  2793. <RELATION_END ID="15505" />
  2794. </RELATIONS_END>
  2795. <INDICES>
  2796. <INDEX ID="15501" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2797. <INDEXCOLUMNS>
  2798. <INDEXCOLUMN idColumn="15500" LengthParam="0" />
  2799. </INDEXCOLUMNS>
  2800. </INDEX>
  2801. <INDEX ID="15507" IndexName="FK_TALONARIO_CHEQUE" IndexKind="1" FKRefDef_Obj_id="15505">
  2802. <INDEXCOLUMNS>
  2803. <INDEXCOLUMN idColumn="15508" LengthParam="0" />
  2804. </INDEXCOLUMNS>
  2805. </INDEX>
  2806. </INDICES>
  2807. </TABLE>
  2808. <TABLE ID="17504" Tablename="PESSOA" PrevTableName="Table_88" XPos="3932" YPos="2235" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que armazena os dados da PESSOA. Demais tabelas devem especializar esta tabela com seus pr\243prios dados: FORNECEDOR, TRANSPORTADORA, CLIENTE, etc." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="416" >
  2809. <COLUMNS>
  2810. <COLUMN ID="17506" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2811. <OPTIONSELECTED>
  2812. <OPTIONSELECT VALUE="1" />
  2813. <OPTIONSELECT VALUE="0" />
  2814. </OPTIONSELECTED>
  2815. </COLUMN>
  2816. <COLUMN ID="17750" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(150)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2817. <OPTIONSELECTED>
  2818. <OPTIONSELECT VALUE="0" />
  2819. </OPTIONSELECTED>
  2820. </COLUMN>
  2821. <COLUMN ID="17757" ColName="TIPO" PrevColName="" Pos="2" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="F=F\237sica | J=Jur\237dica">
  2822. <OPTIONSELECTED>
  2823. <OPTIONSELECT VALUE="0" />
  2824. </OPTIONSELECTED>
  2825. </COLUMN>
  2826. <COLUMN ID="17759" ColName="EMAIL" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2827. <OPTIONSELECTED>
  2828. <OPTIONSELECT VALUE="0" />
  2829. </OPTIONSELECTED>
  2830. </COLUMN>
  2831. <COLUMN ID="17760" ColName="SITE" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2832. <OPTIONSELECTED>
  2833. <OPTIONSELECT VALUE="0" />
  2834. </OPTIONSELECTED>
  2835. </COLUMN>
  2836. <COLUMN ID="66176" ColName="CLIENTE" PrevColName="" Pos="5" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  2837. <OPTIONSELECTED>
  2838. <OPTIONSELECT VALUE="0" />
  2839. </OPTIONSELECTED>
  2840. </COLUMN>
  2841. <COLUMN ID="66177" ColName="FORNECEDOR" PrevColName="" Pos="6" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  2842. <OPTIONSELECTED>
  2843. <OPTIONSELECT VALUE="0" />
  2844. </OPTIONSELECTED>
  2845. </COLUMN>
  2846. <COLUMN ID="66178" ColName="COLABORADOR" PrevColName="" Pos="7" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  2847. <OPTIONSELECTED>
  2848. <OPTIONSELECT VALUE="0" />
  2849. </OPTIONSELECTED>
  2850. </COLUMN>
  2851. <COLUMN ID="66179" ColName="CONVENIO" PrevColName="" Pos="8" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  2852. <OPTIONSELECTED>
  2853. <OPTIONSELECT VALUE="0" />
  2854. </OPTIONSELECTED>
  2855. </COLUMN>
  2856. <COLUMN ID="66180" ColName="CONTADOR" PrevColName="" Pos="9" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  2857. <OPTIONSELECTED>
  2858. <OPTIONSELECT VALUE="0" />
  2859. </OPTIONSELECTED>
  2860. </COLUMN>
  2861. <COLUMN ID="66181" ColName="TRANSPORTADORA" PrevColName="" Pos="10" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  2862. <OPTIONSELECTED>
  2863. <OPTIONSELECT VALUE="0" />
  2864. </OPTIONSELECTED>
  2865. </COLUMN>
  2866. </COLUMNS>
  2867. <RELATIONS_START>
  2868. <RELATION_START ID="17859" />
  2869. <RELATION_START ID="17880" />
  2870. <RELATION_START ID="20657" />
  2871. <RELATION_START ID="20662" />
  2872. <RELATION_START ID="20829" />
  2873. <RELATION_START ID="20834" />
  2874. <RELATION_START ID="20840" />
  2875. <RELATION_START ID="20844" />
  2876. <RELATION_START ID="67798" />
  2877. </RELATIONS_START>
  2878. <INDICES>
  2879. <INDEX ID="17507" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  2880. <INDEXCOLUMNS>
  2881. <INDEXCOLUMN idColumn="17506" LengthParam="0" />
  2882. </INDEXCOLUMNS>
  2883. </INDEX>
  2884. </INDICES>
  2885. </TABLE>
  2886. <TABLE ID="17741" Tablename="PESSOA_FISICA" PrevTableName="Table_89" XPos="3652" YPos="1772" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os dados espec\237ficos de pessoa f\237sica." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="419" >
  2887. <COLUMNS>
  2888. <COLUMN ID="17743" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  2889. <OPTIONSELECTED>
  2890. <OPTIONSELECT VALUE="1" />
  2891. <OPTIONSELECT VALUE="0" />
  2892. </OPTIONSELECTED>
  2893. </COLUMN>
  2894. <COLUMN ID="20665" ColName="ID_PESSOA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2895. <OPTIONSELECTED>
  2896. <OPTIONSELECT VALUE="1" />
  2897. <OPTIONSELECT VALUE="0" />
  2898. </OPTIONSELECTED>
  2899. </COLUMN>
  2900. <COLUMN ID="18128" ColName="ID_ESTADO_CIVIL" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  2901. <OPTIONSELECTED>
  2902. <OPTIONSELECT VALUE="1" />
  2903. <OPTIONSELECT VALUE="0" />
  2904. </OPTIONSELECTED>
  2905. </COLUMN>
  2906. <COLUMN ID="17762" ColName="CPF" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(11)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2907. <OPTIONSELECTED>
  2908. <OPTIONSELECT VALUE="0" />
  2909. </OPTIONSELECTED>
  2910. </COLUMN>
  2911. <COLUMN ID="17764" ColName="RG" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2912. <OPTIONSELECTED>
  2913. <OPTIONSELECT VALUE="0" />
  2914. </OPTIONSELECTED>
  2915. </COLUMN>
  2916. <COLUMN ID="17765" ColName="ORGAO_RG" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2917. <OPTIONSELECTED>
  2918. <OPTIONSELECT VALUE="0" />
  2919. </OPTIONSELECTED>
  2920. </COLUMN>
  2921. <COLUMN ID="17886" ColName="DATA_EMISSAO_RG" PrevColName="" Pos="5" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2922. <OPTIONSELECTED>
  2923. </OPTIONSELECTED>
  2924. </COLUMN>
  2925. <COLUMN ID="17767" ColName="DATA_NASCIMENTO" PrevColName="" Pos="4" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2926. <OPTIONSELECTED>
  2927. </OPTIONSELECTED>
  2928. </COLUMN>
  2929. <COLUMN ID="17769" ColName="SEXO" PrevColName="" Pos="5" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="M=Masculino | F=Feminino">
  2930. <OPTIONSELECTED>
  2931. <OPTIONSELECT VALUE="0" />
  2932. </OPTIONSELECTED>
  2933. </COLUMN>
  2934. <COLUMN ID="42640" ColName="NATURALIDADE" PrevColName="" Pos="9" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2935. <OPTIONSELECTED>
  2936. <OPTIONSELECT VALUE="0" />
  2937. </OPTIONSELECTED>
  2938. </COLUMN>
  2939. <COLUMN ID="42641" ColName="NACIONALIDADE" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2940. <OPTIONSELECTED>
  2941. <OPTIONSELECT VALUE="0" />
  2942. </OPTIONSELECTED>
  2943. </COLUMN>
  2944. <COLUMN ID="42642" ColName="RACA" PrevColName="" Pos="11" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="B=Branco | N=Negro | P=Pardo | I=Indio">
  2945. <OPTIONSELECTED>
  2946. <OPTIONSELECT VALUE="0" />
  2947. </OPTIONSELECTED>
  2948. </COLUMN>
  2949. <COLUMN ID="42644" ColName="TIPO_SANGUE" PrevColName="" Pos="12" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Exemplos: A+ | AB+ | O-">
  2950. <OPTIONSELECTED>
  2951. <OPTIONSELECT VALUE="0" />
  2952. </OPTIONSELECTED>
  2953. </COLUMN>
  2954. <COLUMN ID="42646" ColName="CNH_NUMERO" PrevColName="" Pos="13" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2955. <OPTIONSELECTED>
  2956. <OPTIONSELECT VALUE="0" />
  2957. </OPTIONSELECTED>
  2958. </COLUMN>
  2959. <COLUMN ID="42647" ColName="CNH_CATEGORIA" PrevColName="" Pos="14" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="A | B | C | D | E">
  2960. <OPTIONSELECTED>
  2961. <OPTIONSELECT VALUE="0" />
  2962. </OPTIONSELECTED>
  2963. </COLUMN>
  2964. <COLUMN ID="42648" ColName="CNH_VENCIMENTO" PrevColName="" Pos="15" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2965. <OPTIONSELECTED>
  2966. </OPTIONSELECTED>
  2967. </COLUMN>
  2968. <COLUMN ID="42650" ColName="TITULO_ELEITORAL_NUMERO" PrevColName="" Pos="16" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2969. <OPTIONSELECTED>
  2970. <OPTIONSELECT VALUE="0" />
  2971. </OPTIONSELECTED>
  2972. </COLUMN>
  2973. <COLUMN ID="42651" ColName="TITULO_ELEITORAL_ZONA" PrevColName="" Pos="17" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2974. <OPTIONSELECTED>
  2975. <OPTIONSELECT VALUE="1" />
  2976. <OPTIONSELECT VALUE="0" />
  2977. </OPTIONSELECTED>
  2978. </COLUMN>
  2979. <COLUMN ID="42652" ColName="TITULO_ELEITORAL_SECAO" PrevColName="" Pos="18" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2980. <OPTIONSELECTED>
  2981. <OPTIONSELECT VALUE="1" />
  2982. <OPTIONSELECT VALUE="0" />
  2983. </OPTIONSELECTED>
  2984. </COLUMN>
  2985. <COLUMN ID="42653" ColName="RESERVISTA_NUMERO" PrevColName="" Pos="19" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2986. <OPTIONSELECTED>
  2987. <OPTIONSELECT VALUE="0" />
  2988. </OPTIONSELECTED>
  2989. </COLUMN>
  2990. <COLUMN ID="42654" ColName="RESERVISTA_CATEGORIA" PrevColName="" Pos="20" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2991. <OPTIONSELECTED>
  2992. <OPTIONSELECT VALUE="1" />
  2993. <OPTIONSELECT VALUE="0" />
  2994. </OPTIONSELECTED>
  2995. </COLUMN>
  2996. <COLUMN ID="50081" ColName="NOME_MAE" PrevColName="MAE" Pos="21" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  2997. <OPTIONSELECTED>
  2998. <OPTIONSELECT VALUE="0" />
  2999. </OPTIONSELECTED>
  3000. </COLUMN>
  3001. <COLUMN ID="50082" ColName="NOME_PAI" PrevColName="PAI" Pos="22" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3002. <OPTIONSELECTED>
  3003. <OPTIONSELECT VALUE="0" />
  3004. </OPTIONSELECTED>
  3005. </COLUMN>
  3006. </COLUMNS>
  3007. <RELATIONS_END>
  3008. <RELATION_END ID="18125" />
  3009. <RELATION_END ID="20662" />
  3010. </RELATIONS_END>
  3011. <INDICES>
  3012. <INDEX ID="17744" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3013. <INDEXCOLUMNS>
  3014. <INDEXCOLUMN idColumn="17743" LengthParam="0" />
  3015. </INDEXCOLUMNS>
  3016. </INDEX>
  3017. <INDEX ID="18127" IndexName="FK_ESTADO_CIVIL_PF" IndexKind="1" FKRefDef_Obj_id="18125">
  3018. <INDEXCOLUMNS>
  3019. <INDEXCOLUMN idColumn="18128" LengthParam="0" />
  3020. </INDEXCOLUMNS>
  3021. </INDEX>
  3022. <INDEX ID="20664" IndexName="FK_PESSOA_FISICA" IndexKind="1" FKRefDef_Obj_id="20662">
  3023. <INDEXCOLUMNS>
  3024. <INDEXCOLUMN idColumn="20665" LengthParam="0" />
  3025. </INDEXCOLUMNS>
  3026. </INDEX>
  3027. </INDICES>
  3028. </TABLE>
  3029. <TABLE ID="17745" Tablename="PESSOA_JURIDICA" PrevTableName="Table_90" XPos="3978" YPos="1862" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os dados espec\237ficos de pessoa jur\237dica." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="421" >
  3030. <COLUMNS>
  3031. <COLUMN ID="17747" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3032. <OPTIONSELECTED>
  3033. <OPTIONSELECT VALUE="1" />
  3034. <OPTIONSELECT VALUE="0" />
  3035. </OPTIONSELECTED>
  3036. </COLUMN>
  3037. <COLUMN ID="20660" ColName="ID_PESSOA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3038. <OPTIONSELECTED>
  3039. <OPTIONSELECT VALUE="1" />
  3040. <OPTIONSELECT VALUE="0" />
  3041. </OPTIONSELECTED>
  3042. </COLUMN>
  3043. <COLUMN ID="17752" ColName="CNPJ" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3044. <OPTIONSELECTED>
  3045. <OPTIONSELECT VALUE="0" />
  3046. </OPTIONSELECTED>
  3047. </COLUMN>
  3048. <COLUMN ID="37901" ColName="FANTASIA" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(150)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3049. <OPTIONSELECTED>
  3050. <OPTIONSELECT VALUE="0" />
  3051. </OPTIONSELECTED>
  3052. </COLUMN>
  3053. <COLUMN ID="17754" ColName="INSCRICAO_MUNICIPAL" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3054. <OPTIONSELECTED>
  3055. <OPTIONSELECT VALUE="0" />
  3056. </OPTIONSELECTED>
  3057. </COLUMN>
  3058. <COLUMN ID="37358" ColName="INSCRICAO_ESTADUAL" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3059. <OPTIONSELECTED>
  3060. <OPTIONSELECT VALUE="0" />
  3061. </OPTIONSELECTED>
  3062. </COLUMN>
  3063. <COLUMN ID="18080" ColName="DATA_CONSTITUICAO" PrevColName="" Pos="5" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3064. <OPTIONSELECTED>
  3065. </OPTIONSELECTED>
  3066. </COLUMN>
  3067. <COLUMN ID="66190" ColName="TIPO_REGIME" PrevColName="" Pos="7" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="1-Lucro REAL;2-Lucro presumido;3-Simples nacional;">
  3068. <OPTIONSELECTED>
  3069. <OPTIONSELECT VALUE="0" />
  3070. </OPTIONSELECTED>
  3071. </COLUMN>
  3072. <COLUMN ID="37904" ColName="CRT" PrevColName="" Pos="8" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo Regime Tribut\225rio [1=Simples Nacional | 2=Simples Nacional - excesso de sublimite da receita bruta  | 3=Regime Normal ">
  3073. <OPTIONSELECTED>
  3074. <OPTIONSELECT VALUE="0" />
  3075. </OPTIONSELECTED>
  3076. </COLUMN>
  3077. <COLUMN ID="53412" ColName="SUFRAMA" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(9)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3078. <OPTIONSELECTED>
  3079. <OPTIONSELECT VALUE="0" />
  3080. </OPTIONSELECTED>
  3081. </COLUMN>
  3082. </COLUMNS>
  3083. <RELATIONS_END>
  3084. <RELATION_END ID="20657" />
  3085. </RELATIONS_END>
  3086. <INDICES>
  3087. <INDEX ID="17748" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3088. <INDEXCOLUMNS>
  3089. <INDEXCOLUMN idColumn="17747" LengthParam="0" />
  3090. </INDEXCOLUMNS>
  3091. </INDEX>
  3092. <INDEX ID="20659" IndexName="FK_PESSOA_JURIDICA" IndexKind="1" FKRefDef_Obj_id="20657">
  3093. <INDEXCOLUMNS>
  3094. <INDEXCOLUMN idColumn="20660" LengthParam="0" />
  3095. </INDEXCOLUMNS>
  3096. </INDEX>
  3097. </INDICES>
  3098. </TABLE>
  3099. <TABLE ID="17889" Tablename="TIPO_ITEM_SPED" PrevTableName="Table_92" XPos="6472" YPos="3582" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena a informa\231\227o do tipo de item que \233 gerado para o arquivo do SPED: Registro 200 - Campo 7.\nTipos:\n\n00-Mercadoria para Revenda;\n01-Mat\233ria-Prima;\n02-Embalagem;\n03-Produto em Processo;\n04-Produto Acabado;\n05-Subproduto;\n06-Produto Intermedi\225rio;\n07-Material de Uso e Consumo;\n08-Ativo Imobilizado;\n09-Servi\231os;\n10-Outros insumos;\n99-Outras" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="591" >
  3100. <COLUMNS>
  3101. <COLUMN ID="17891" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3102. <OPTIONSELECTED>
  3103. <OPTIONSELECT VALUE="1" />
  3104. <OPTIONSELECT VALUE="0" />
  3105. </OPTIONSELECTED>
  3106. </COLUMN>
  3107. <COLUMN ID="17893" ColName="CODIGO" PrevColName="" Pos="1" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3108. <OPTIONSELECTED>
  3109. <OPTIONSELECT VALUE="0" />
  3110. </OPTIONSELECTED>
  3111. </COLUMN>
  3112. <COLUMN ID="17894" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3113. <OPTIONSELECTED>
  3114. <OPTIONSELECT VALUE="0" />
  3115. </OPTIONSELECTED>
  3116. </COLUMN>
  3117. </COLUMNS>
  3118. <INDICES>
  3119. <INDEX ID="17892" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3120. <INDEXCOLUMNS>
  3121. <INDEXCOLUMN idColumn="17891" LengthParam="0" />
  3122. </INDEXCOLUMNS>
  3123. </INDEX>
  3124. </INDICES>
  3125. </TABLE>
  3126. <TABLE ID="18062" Tablename="ATIVIDADE_FOR_CLI" PrevTableName="Table_96" XPos="4882" YPos="1820" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Permite agrupar clientes e fornecedores por segmentos e ramos de atividades." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="380" >
  3127. <COLUMNS>
  3128. <COLUMN ID="18064" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3129. <OPTIONSELECTED>
  3130. <OPTIONSELECT VALUE="1" />
  3131. <OPTIONSELECT VALUE="0" />
  3132. </OPTIONSELECTED>
  3133. </COLUMN>
  3134. <COLUMN ID="18066" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3135. <OPTIONSELECTED>
  3136. <OPTIONSELECT VALUE="0" />
  3137. </OPTIONSELECTED>
  3138. </COLUMN>
  3139. <COLUMN ID="18067" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3140. <OPTIONSELECTED>
  3141. </OPTIONSELECTED>
  3142. </COLUMN>
  3143. </COLUMNS>
  3144. <RELATIONS_START>
  3145. <RELATION_START ID="18068" />
  3146. <RELATION_START ID="18072" />
  3147. </RELATIONS_START>
  3148. <INDICES>
  3149. <INDEX ID="18065" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3150. <INDEXCOLUMNS>
  3151. <INDEXCOLUMN idColumn="18064" LengthParam="0" />
  3152. </INDEXCOLUMNS>
  3153. </INDEX>
  3154. </INDICES>
  3155. </TABLE>
  3156. <TABLE ID="18119" Tablename="ESTADO_CIVIL" PrevTableName="Table_98" XPos="4062" YPos="1665" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os poss\237veis estados civis. De acordo com as leis brasileiras, os poss\237veis estados civis s\227o:\n\n    * Solteiro(a) - quem nunca se casou, ou que teve o casamento anulado\n    * Casado(a) - quem contraiu matrim\244nio, independente do regime de bens adotado\n    * Separado(a) judicialmente - quem n\227o vive mais com o c\244njuge (vive em separa\231\227o f\237sica dele), mas que ainda n\227o obteve o div\243rcio, todavia obteve senten\231a que deliberou por decretar a separa\231\227o judicial dos c\244njuges, cessando, assim, os deveres oriundos da sociedade conjugal.\n    * Divorciado(a) - ap\243s a homologa\231\227o do div\243rcio pela justi\231a\n    * Vi\250vo(a) - pessoa cujo c\244njuge faleceu.\n" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="414" >
  3157. <COLUMNS>
  3158. <COLUMN ID="18121" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3159. <OPTIONSELECTED>
  3160. <OPTIONSELECT VALUE="1" />
  3161. <OPTIONSELECT VALUE="0" />
  3162. </OPTIONSELECTED>
  3163. </COLUMN>
  3164. <COLUMN ID="18123" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3165. <OPTIONSELECTED>
  3166. <OPTIONSELECT VALUE="0" />
  3167. </OPTIONSELECTED>
  3168. </COLUMN>
  3169. <COLUMN ID="18124" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3170. <OPTIONSELECTED>
  3171. </OPTIONSELECTED>
  3172. </COLUMN>
  3173. </COLUMNS>
  3174. <RELATIONS_START>
  3175. <RELATION_START ID="18125" />
  3176. </RELATIONS_START>
  3177. <INDICES>
  3178. <INDEX ID="18122" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3179. <INDEXCOLUMNS>
  3180. <INDEXCOLUMN idColumn="18121" LengthParam="0" />
  3181. </INDEXCOLUMNS>
  3182. </INDEX>
  3183. </INDICES>
  3184. </TABLE>
  3185. <TABLE ID="18570" Tablename="PRODUTO_MARCA" PrevTableName="Table_96" XPos="1882" YPos="2438" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena as marcas dos produtos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="11" >
  3186. <COLUMNS>
  3187. <COLUMN ID="18572" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3188. <OPTIONSELECTED>
  3189. <OPTIONSELECT VALUE="1" />
  3190. <OPTIONSELECT VALUE="0" />
  3191. </OPTIONSELECTED>
  3192. </COLUMN>
  3193. <COLUMN ID="18574" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3194. <OPTIONSELECTED>
  3195. <OPTIONSELECT VALUE="0" />
  3196. </OPTIONSELECTED>
  3197. </COLUMN>
  3198. <COLUMN ID="18575" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3199. <OPTIONSELECTED>
  3200. </OPTIONSELECTED>
  3201. </COLUMN>
  3202. </COLUMNS>
  3203. <RELATIONS_START>
  3204. <RELATION_START ID="18576" />
  3205. </RELATIONS_START>
  3206. <INDICES>
  3207. <INDEX ID="18573" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3208. <INDEXCOLUMNS>
  3209. <INDEXCOLUMN idColumn="18572" LengthParam="0" />
  3210. </INDEXCOLUMNS>
  3211. </INDEX>
  3212. </INDICES>
  3213. </TABLE>
  3214. <TABLE ID="19644" Tablename="CONTA_CAIXA" PrevTableName="Table_80" XPos="5820" YPos="3325" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazenas as contas de banco e de caixa interno da empresa." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="87" >
  3215. <COLUMNS>
  3216. <COLUMN ID="19646" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3217. <OPTIONSELECTED>
  3218. <OPTIONSELECT VALUE="1" />
  3219. <OPTIONSELECT VALUE="0" />
  3220. </OPTIONSELECTED>
  3221. </COLUMN>
  3222. <COLUMN ID="19657" ColName="ID_AGENCIA_BANCO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3223. <OPTIONSELECTED>
  3224. <OPTIONSELECT VALUE="1" />
  3225. <OPTIONSELECT VALUE="0" />
  3226. </OPTIONSELECTED>
  3227. </COLUMN>
  3228. <COLUMN ID="19649" ColName="CODIGO" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3229. <OPTIONSELECTED>
  3230. <OPTIONSELECT VALUE="0" />
  3231. </OPTIONSELECTED>
  3232. </COLUMN>
  3233. <COLUMN ID="83277" ColName="DIGITO" PrevColName="" Pos="8" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Digito da conta">
  3234. <OPTIONSELECTED>
  3235. <OPTIONSELECT VALUE="0" />
  3236. </OPTIONSELECTED>
  3237. </COLUMN>
  3238. <COLUMN ID="19650" ColName="NOME" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3239. <OPTIONSELECTED>
  3240. <OPTIONSELECT VALUE="0" />
  3241. </OPTIONSELECTED>
  3242. </COLUMN>
  3243. <COLUMN ID="19651" ColName="DESCRICAO" PrevColName="" Pos="3" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3244. <OPTIONSELECTED>
  3245. </OPTIONSELECTED>
  3246. </COLUMN>
  3247. <COLUMN ID="19652" ColName="TIPO" PrevColName="" Pos="4" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C=Corrente | P=Poupan\231a | I=Investimento | X=Caixa Interno">
  3248. <OPTIONSELECTED>
  3249. <OPTIONSELECT VALUE="0" />
  3250. </OPTIONSELECTED>
  3251. </COLUMN>
  3252. </COLUMNS>
  3253. <RELATIONS_START>
  3254. <RELATION_START ID="19659" />
  3255. <RELATION_START ID="46315" />
  3256. <RELATION_START ID="46638" />
  3257. <RELATION_START ID="46641" />
  3258. <RELATION_START ID="48786" />
  3259. <RELATION_START ID="72721" />
  3260. <RELATION_START ID="81384" />
  3261. <RELATION_START ID="81393" />
  3262. <RELATION_START ID="81423" />
  3263. </RELATIONS_START>
  3264. <RELATIONS_END>
  3265. <RELATION_END ID="19653" />
  3266. </RELATIONS_END>
  3267. <INDICES>
  3268. <INDEX ID="19647" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3269. <INDEXCOLUMNS>
  3270. <INDEXCOLUMN idColumn="19646" LengthParam="0" />
  3271. </INDEXCOLUMNS>
  3272. </INDEX>
  3273. <INDEX ID="19655" IndexName="FK_AGENCIA_CONTA" IndexKind="1" FKRefDef_Obj_id="19653">
  3274. <INDEXCOLUMNS>
  3275. <INDEXCOLUMN idColumn="19657" LengthParam="0" />
  3276. </INDEXCOLUMNS>
  3277. </INDEX>
  3278. </INDICES>
  3279. </TABLE>
  3280. <TABLE ID="23408" Tablename="VENDEDOR" PrevTableName="Table_78" XPos="3050" YPos="3845" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que armazena  os dados dos colaboradores que s\227o vendedores." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="6" >
  3281. <COLUMNS>
  3282. <COLUMN ID="23410" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3283. <OPTIONSELECTED>
  3284. <OPTIONSELECT VALUE="1" />
  3285. <OPTIONSELECT VALUE="0" />
  3286. </OPTIONSELECTED>
  3287. </COLUMN>
  3288. <COLUMN ID="49253" ColName="ID_COLABORADOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3289. <OPTIONSELECTED>
  3290. <OPTIONSELECT VALUE="1" />
  3291. <OPTIONSELECT VALUE="0" />
  3292. </OPTIONSELECTED>
  3293. </COLUMN>
  3294. <COLUMN ID="23419" ColName="COMISSAO" PrevColName="" Pos="2" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3295. <OPTIONSELECTED>
  3296. <OPTIONSELECT VALUE="0" />
  3297. </OPTIONSELECTED>
  3298. </COLUMN>
  3299. <COLUMN ID="23423" ColName="META_VENDAS" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3300. <OPTIONSELECTED>
  3301. <OPTIONSELECT VALUE="0" />
  3302. </OPTIONSELECTED>
  3303. </COLUMN>
  3304. </COLUMNS>
  3305. <RELATIONS_START>
  3306. <RELATION_START ID="46559" />
  3307. <RELATION_START ID="46589" />
  3308. <RELATION_START ID="49092" />
  3309. </RELATIONS_START>
  3310. <RELATIONS_END>
  3311. <RELATION_END ID="49250" />
  3312. </RELATIONS_END>
  3313. <INDICES>
  3314. <INDEX ID="23411" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3315. <INDEXCOLUMNS>
  3316. <INDEXCOLUMN idColumn="23410" LengthParam="0" />
  3317. </INDEXCOLUMNS>
  3318. </INDEX>
  3319. <INDEX ID="49252" IndexName="FK_COLABORADOR_VENDEDOR" IndexKind="1" FKRefDef_Obj_id="49250">
  3320. <INDEXCOLUMNS>
  3321. <INDEXCOLUMN idColumn="49253" LengthParam="0" />
  3322. </INDEXCOLUMNS>
  3323. </INDEX>
  3324. </INDICES>
  3325. </TABLE>
  3326. <TABLE ID="42229" Tablename="SITUACAO_COLABORADOR" PrevTableName="Table_78" XPos="2005" YPos="3522" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Situa\231\245es poss\237veis para o colaborador dentro da empresa." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="5" >
  3327. <COLUMNS>
  3328. <COLUMN ID="42231" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3329. <OPTIONSELECTED>
  3330. <OPTIONSELECT VALUE="1" />
  3331. <OPTIONSELECT VALUE="0" />
  3332. </OPTIONSELECTED>
  3333. </COLUMN>
  3334. <COLUMN ID="42233" ColName="CODIGO" PrevColName="" Pos="1" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Exemplos: 100=Trabalhando | 101=Licen\231a Sa\250de | 102=Licen\231a interesse">
  3335. <OPTIONSELECTED>
  3336. <OPTIONSELECT VALUE="0" />
  3337. </OPTIONSELECTED>
  3338. </COLUMN>
  3339. <COLUMN ID="42234" ColName="NOME" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3340. <OPTIONSELECTED>
  3341. <OPTIONSELECT VALUE="0" />
  3342. </OPTIONSELECTED>
  3343. </COLUMN>
  3344. <COLUMN ID="42235" ColName="DESCRICAO" PrevColName="" Pos="3" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3345. <OPTIONSELECTED>
  3346. </OPTIONSELECTED>
  3347. </COLUMN>
  3348. </COLUMNS>
  3349. <RELATIONS_START>
  3350. <RELATION_START ID="42236" />
  3351. </RELATIONS_START>
  3352. <INDICES>
  3353. <INDEX ID="42232" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3354. <INDEXCOLUMNS>
  3355. <INDEXCOLUMN idColumn="42231" LengthParam="0" />
  3356. </INDEXCOLUMNS>
  3357. </INDEX>
  3358. </INDICES>
  3359. </TABLE>
  3360. <TABLE ID="42407" Tablename="TIPO_ADMISSAO" PrevTableName="Table_79" XPos="1675" YPos="3025" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os tipos de admiss\227o do colaborador." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="6" >
  3361. <COLUMNS>
  3362. <COLUMN ID="42409" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3363. <OPTIONSELECTED>
  3364. <OPTIONSELECT VALUE="1" />
  3365. <OPTIONSELECT VALUE="0" />
  3366. </OPTIONSELECTED>
  3367. </COLUMN>
  3368. <COLUMN ID="42411" ColName="CODIGO" PrevColName="" Pos="1" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Exemplos: 100=Admiss\227o Normal | 101=Transfer\234ncia | 102=Reintegra\231\227o">
  3369. <OPTIONSELECTED>
  3370. <OPTIONSELECT VALUE="0" />
  3371. </OPTIONSELECTED>
  3372. </COLUMN>
  3373. <COLUMN ID="42412" ColName="NOME" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3374. <OPTIONSELECTED>
  3375. <OPTIONSELECT VALUE="0" />
  3376. </OPTIONSELECTED>
  3377. </COLUMN>
  3378. <COLUMN ID="42413" ColName="DESCRICAO" PrevColName="" Pos="3" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3379. <OPTIONSELECTED>
  3380. </OPTIONSELECTED>
  3381. </COLUMN>
  3382. </COLUMNS>
  3383. <RELATIONS_START>
  3384. <RELATION_START ID="42414" />
  3385. </RELATIONS_START>
  3386. <INDICES>
  3387. <INDEX ID="42410" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3388. <INDEXCOLUMNS>
  3389. <INDEXCOLUMN idColumn="42409" LengthParam="0" />
  3390. </INDEXCOLUMNS>
  3391. </INDEX>
  3392. </INDICES>
  3393. </TABLE>
  3394. <TABLE ID="46150" Tablename="CFOP" PrevTableName="Table_09" XPos="6495" YPos="3400" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="C\211DIGO FISCAL DE OPERA\199\213ES E PRESTA\199\213ES - CFOP" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="1408" OrderPos="458" >
  3395. <COLUMNS>
  3396. <COLUMN ID="1409" ColName="ID" PrevColName="id_cfop" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3397. <OPTIONSELECTED>
  3398. <OPTIONSELECT VALUE="1" />
  3399. <OPTIONSELECT VALUE="0" />
  3400. </OPTIONSELECTED>
  3401. </COLUMN>
  3402. <COLUMN ID="1410" ColName="CFOP" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3403. <OPTIONSELECTED>
  3404. <OPTIONSELECT VALUE="1" />
  3405. <OPTIONSELECT VALUE="0" />
  3406. </OPTIONSELECTED>
  3407. </COLUMN>
  3408. <COLUMN ID="1411" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3409. <OPTIONSELECTED>
  3410. </OPTIONSELECTED>
  3411. </COLUMN>
  3412. <COLUMN ID="1412" ColName="APLICACAO" PrevColName="" Pos="3" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3413. <OPTIONSELECTED>
  3414. </OPTIONSELECTED>
  3415. </COLUMN>
  3416. </COLUMNS>
  3417. <INDICES>
  3418. <INDEX ID="1413" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3419. <INDEXCOLUMNS>
  3420. <INDEXCOLUMN idColumn="1409" LengthParam="0" />
  3421. </INDEXCOLUMNS>
  3422. </INDEX>
  3423. </INDICES>
  3424. </TABLE>
  3425. <TABLE ID="46400" Tablename="COMPRA_TIPO_REQUISICAO" PrevTableName="Table_11" XPos="3458" YPos="1280" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os tipos de requisi\231\227o:\n\n01=INTERNA = requisi\231\227o onde os itens s\227o utilizados pela pr\243pria empresa\n02=EXTERNA = requisi\231\227o onde os itens s\227o utilizados para venda ao consumidor" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="10249" OrderPos="19" >
  3426. <COLUMNS>
  3427. <COLUMN ID="10251" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3428. <OPTIONSELECTED>
  3429. <OPTIONSELECT VALUE="1" />
  3430. <OPTIONSELECT VALUE="0" />
  3431. </OPTIONSELECTED>
  3432. </COLUMN>
  3433. <COLUMN ID="22750" ColName="CODIGO" PrevColName="" Pos="2" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="01=Interna | 02=Externa">
  3434. <OPTIONSELECTED>
  3435. <OPTIONSELECT VALUE="0" />
  3436. </OPTIONSELECTED>
  3437. </COLUMN>
  3438. <COLUMN ID="10253" ColName="NOME" PrevColName="DESCRICAO" Pos="1" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3439. <OPTIONSELECTED>
  3440. <OPTIONSELECT VALUE="0" />
  3441. </OPTIONSELECTED>
  3442. </COLUMN>
  3443. <COLUMN ID="22754" ColName="DESCRICAO" PrevColName="" Pos="4" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3444. <OPTIONSELECTED>
  3445. </OPTIONSELECTED>
  3446. </COLUMN>
  3447. </COLUMNS>
  3448. <RELATIONS_START>
  3449. <RELATION_START ID="46417" />
  3450. </RELATIONS_START>
  3451. <INDICES>
  3452. <INDEX ID="10252" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3453. <INDEXCOLUMNS>
  3454. <INDEXCOLUMN idColumn="10251" LengthParam="0" />
  3455. </INDEXCOLUMNS>
  3456. </INDEX>
  3457. </INDICES>
  3458. </TABLE>
  3459. <TABLE ID="46402" Tablename="COMPRA_REQUISICAO" PrevTableName="Table_12" XPos="3783" YPos="1557" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena as requisi\231\245es de compra." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="10545" OrderPos="15" >
  3460. <COLUMNS>
  3461. <COLUMN ID="10547" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3462. <OPTIONSELECTED>
  3463. <OPTIONSELECT VALUE="1" />
  3464. <OPTIONSELECT VALUE="0" />
  3465. </OPTIONSELECTED>
  3466. </COLUMN>
  3467. <COLUMN ID="78105" ColName="ID_COMPRA_TIPO_REQUISICAO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3468. <OPTIONSELECTED>
  3469. <OPTIONSELECT VALUE="1" />
  3470. <OPTIONSELECT VALUE="0" />
  3471. </OPTIONSELECTED>
  3472. </COLUMN>
  3473. <COLUMN ID="46462" ColName="ID_COLABORADOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3474. <OPTIONSELECTED>
  3475. <OPTIONSELECT VALUE="1" />
  3476. <OPTIONSELECT VALUE="0" />
  3477. </OPTIONSELECTED>
  3478. </COLUMN>
  3479. <COLUMN ID="10549" ColName="DATA_REQUISICAO" PrevColName="NOME" Pos="1" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3480. <OPTIONSELECTED>
  3481. </OPTIONSELECTED>
  3482. </COLUMN>
  3483. </COLUMNS>
  3484. <RELATIONS_START>
  3485. <RELATION_START ID="46418" />
  3486. </RELATIONS_START>
  3487. <RELATIONS_END>
  3488. <RELATION_END ID="46417" />
  3489. <RELATION_END ID="46450" />
  3490. </RELATIONS_END>
  3491. <INDICES>
  3492. <INDEX ID="10548" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3493. <INDEXCOLUMNS>
  3494. <INDEXCOLUMN idColumn="10547" LengthParam="0" />
  3495. </INDEXCOLUMNS>
  3496. </INDEX>
  3497. <INDEX ID="15879" IndexName="FK_TIPO_REQ_COMPRA" IndexKind="1" FKRefDef_Obj_id="15877">
  3498. <INDEXCOLUMNS>
  3499. <INDEXCOLUMN idColumn="78105" LengthParam="0" />
  3500. </INDEXCOLUMNS>
  3501. </INDEX>
  3502. <INDEX ID="46452" IndexName="FK_COL_REQ_COMPRA" IndexKind="1" FKRefDef_Obj_id="46450">
  3503. <INDEXCOLUMNS>
  3504. <INDEXCOLUMN idColumn="46462" LengthParam="0" />
  3505. </INDEXCOLUMNS>
  3506. </INDEX>
  3507. </INDICES>
  3508. </TABLE>
  3509. <TABLE ID="46403" Tablename="COMPRA_REQUISICAO_DETALHE" PrevTableName="Table_02" XPos="3742" YPos="1162" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela com os detalhes da requisi\231\227o de compra" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="16011" OrderPos="17" >
  3510. <COLUMNS>
  3511. <COLUMN ID="16012" ColName="ID" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3512. <OPTIONSELECTED>
  3513. <OPTIONSELECT VALUE="1" />
  3514. <OPTIONSELECT VALUE="0" />
  3515. </OPTIONSELECTED>
  3516. </COLUMN>
  3517. <COLUMN ID="78106" ColName="ID_COMPRA_REQUISICAO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3518. <OPTIONSELECTED>
  3519. <OPTIONSELECT VALUE="1" />
  3520. <OPTIONSELECT VALUE="0" />
  3521. </OPTIONSELECTED>
  3522. </COLUMN>
  3523. <COLUMN ID="46457" ColName="ID_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3524. <OPTIONSELECTED>
  3525. <OPTIONSELECT VALUE="1" />
  3526. <OPTIONSELECT VALUE="0" />
  3527. </OPTIONSELECTED>
  3528. </COLUMN>
  3529. <COLUMN ID="16017" ColName="QUANTIDADE" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3530. <OPTIONSELECTED>
  3531. <OPTIONSELECT VALUE="0" />
  3532. </OPTIONSELECTED>
  3533. </COLUMN>
  3534. <COLUMN ID="78037" ColName="QUANTIDADE_COTADA" PrevColName="QUANTIDADE_COTADO" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Vai incrementando a quantidade cotada at\233 atingir o valor do campo QUANTIDADE">
  3535. <OPTIONSELECTED>
  3536. <OPTIONSELECT VALUE="0" />
  3537. </OPTIONSELECTED>
  3538. </COLUMN>
  3539. <COLUMN ID="16124" ColName="ITEM_COTADO" PrevColName="" Pos="4" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Quando a quantidade for utilizada de forma completa deve-se marcar S para Sim, do contr\225rio, N para n\227o.">
  3540. <OPTIONSELECTED>
  3541. <OPTIONSELECT VALUE="0" />
  3542. </OPTIONSELECTED>
  3543. </COLUMN>
  3544. </COLUMNS>
  3545. <RELATIONS_START>
  3546. <RELATION_START ID="46423" />
  3547. </RELATIONS_START>
  3548. <RELATIONS_END>
  3549. <RELATION_END ID="46418" />
  3550. <RELATION_END ID="46441" />
  3551. </RELATIONS_END>
  3552. <INDICES>
  3553. <INDEX ID="16040" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3554. <INDEXCOLUMNS>
  3555. <INDEXCOLUMN idColumn="16012" LengthParam="0" />
  3556. </INDEXCOLUMNS>
  3557. </INDEX>
  3558. <INDEX ID="16049" IndexName="FK_REQUISICAO_COMPRA_DETALHE" IndexKind="1" FKRefDef_Obj_id="16047">
  3559. <INDEXCOLUMNS>
  3560. <INDEXCOLUMN idColumn="78106" LengthParam="0" />
  3561. </INDEXCOLUMNS>
  3562. </INDEX>
  3563. <INDEX ID="46443" IndexName="FK_PRODUTO_REQ_COMPRA_DET" IndexKind="1" FKRefDef_Obj_id="46441">
  3564. <INDEXCOLUMNS>
  3565. <INDEXCOLUMN idColumn="46457" LengthParam="0" />
  3566. </INDEXCOLUMNS>
  3567. </INDEX>
  3568. </INDICES>
  3569. </TABLE>
  3570. <TABLE ID="46405" Tablename="COMPRA_COTACAO" PrevTableName="Table_08" XPos="4532" YPos="1542" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena as cota\231\245es de compra" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="16065" OrderPos="14" >
  3571. <COLUMNS>
  3572. <COLUMN ID="16066" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3573. <OPTIONSELECTED>
  3574. <OPTIONSELECT VALUE="1" />
  3575. <OPTIONSELECT VALUE="0" />
  3576. </OPTIONSELECTED>
  3577. </COLUMN>
  3578. <COLUMN ID="16091" ColName="DATA_COTACAO" PrevColName="" Pos="1" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3579. <OPTIONSELECTED>
  3580. </OPTIONSELECTED>
  3581. </COLUMN>
  3582. <COLUMN ID="22764" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3583. <OPTIONSELECTED>
  3584. <OPTIONSELECT VALUE="0" />
  3585. </OPTIONSELECTED>
  3586. </COLUMN>
  3587. <COLUMN ID="78155" ColName="SITUACAO" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="A=Aberta | C=Confirmada | F=Fechada">
  3588. <OPTIONSELECTED>
  3589. <OPTIONSELECT VALUE="0" />
  3590. </OPTIONSELECTED>
  3591. </COLUMN>
  3592. </COLUMNS>
  3593. <RELATIONS_START>
  3594. <RELATION_START ID="46420" />
  3595. <RELATION_START ID="78137" />
  3596. </RELATIONS_START>
  3597. <INDICES>
  3598. <INDEX ID="16067" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3599. <INDEXCOLUMNS>
  3600. <INDEXCOLUMN idColumn="16066" LengthParam="0" />
  3601. </INDEXCOLUMNS>
  3602. </INDEX>
  3603. </INDICES>
  3604. </TABLE>
  3605. <TABLE ID="46406" Tablename="COMPRA_FORNECEDOR_COTACAO" PrevTableName="FORNECEDOR_has_COTACAO_COMPRA" XPos="4830" YPos="1445" TableType="1" TablePrefix="0" nmTable="1" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Uma cota\231\227o pode ter v\225rios fornecedores e um fornecedor pode fazer parte de v\225rias cota\231\245es." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="16070" OrderPos="15" >
  3606. <COLUMNS>
  3607. <COLUMN ID="16080" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3608. <OPTIONSELECTED>
  3609. <OPTIONSELECT VALUE="1" />
  3610. <OPTIONSELECT VALUE="0" />
  3611. </OPTIONSELECTED>
  3612. </COLUMN>
  3613. <COLUMN ID="78118" ColName="ID_COMPRA_COTACAO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3614. <OPTIONSELECTED>
  3615. <OPTIONSELECT VALUE="1" />
  3616. <OPTIONSELECT VALUE="0" />
  3617. </OPTIONSELECTED>
  3618. </COLUMN>
  3619. <COLUMN ID="46460" ColName="ID_FORNECEDOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3620. <OPTIONSELECTED>
  3621. <OPTIONSELECT VALUE="1" />
  3622. <OPTIONSELECT VALUE="0" />
  3623. </OPTIONSELECTED>
  3624. </COLUMN>
  3625. <COLUMN ID="16093" ColName="PRAZO_ENTREGA" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3626. <OPTIONSELECTED>
  3627. <OPTIONSELECT VALUE="0" />
  3628. </OPTIONSELECTED>
  3629. </COLUMN>
  3630. <COLUMN ID="16094" ColName="VENDA_CONDICOES_PAGAMENTO" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3631. <OPTIONSELECTED>
  3632. <OPTIONSELECT VALUE="0" />
  3633. </OPTIONSELECTED>
  3634. </COLUMN>
  3635. <COLUMN ID="16095" ColName="VALOR_SUBTOTAL" PrevColName="SUBTOTAL" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3636. <OPTIONSELECTED>
  3637. <OPTIONSELECT VALUE="0" />
  3638. </OPTIONSELECTED>
  3639. </COLUMN>
  3640. <COLUMN ID="16096" ColName="TAXA_DESCONTO" PrevColName="" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3641. <OPTIONSELECTED>
  3642. <OPTIONSELECT VALUE="0" />
  3643. </OPTIONSELECTED>
  3644. </COLUMN>
  3645. <COLUMN ID="16097" ColName="VALOR_DESCONTO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3646. <OPTIONSELECTED>
  3647. <OPTIONSELECT VALUE="0" />
  3648. </OPTIONSELECTED>
  3649. </COLUMN>
  3650. <COLUMN ID="16098" ColName="TOTAL" PrevColName="" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3651. <OPTIONSELECTED>
  3652. <OPTIONSELECT VALUE="0" />
  3653. </OPTIONSELECTED>
  3654. </COLUMN>
  3655. </COLUMNS>
  3656. <RELATIONS_START>
  3657. <RELATION_START ID="46422" />
  3658. </RELATIONS_START>
  3659. <RELATIONS_END>
  3660. <RELATION_END ID="46420" />
  3661. <RELATION_END ID="46447" />
  3662. </RELATIONS_END>
  3663. <INDICES>
  3664. <INDEX ID="16081" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3665. <INDEXCOLUMNS>
  3666. <INDEXCOLUMN idColumn="16080" LengthParam="0" />
  3667. </INDEXCOLUMNS>
  3668. </INDEX>
  3669. <INDEX ID="16084" IndexName="FK_COTACAO_FORNECEDOR" IndexKind="1" FKRefDef_Obj_id="16082">
  3670. <INDEXCOLUMNS>
  3671. <INDEXCOLUMN idColumn="78118" LengthParam="0" />
  3672. </INDEXCOLUMNS>
  3673. </INDEX>
  3674. <INDEX ID="46449" IndexName="FK_FORNECEDOR_COTACAO" IndexKind="1" FKRefDef_Obj_id="46447">
  3675. <INDEXCOLUMNS>
  3676. <INDEXCOLUMN idColumn="46460" LengthParam="0" />
  3677. </INDEXCOLUMNS>
  3678. </INDEX>
  3679. </INDICES>
  3680. </TABLE>
  3681. <TABLE ID="46407" Tablename="COMPRA_COTACAO_DETALHE" PrevTableName="Table_08" XPos="4653" YPos="1278" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que armazena os itens da cota\231\227o. Uma cota\231\227o pode ser gerada a partir de v\225rias requisi\231\245es e uma requisi\231\227o pode gerar v\225rias cota\231\245es." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="16100" OrderPos="14" >
  3682. <COLUMNS>
  3683. <COLUMN ID="16101" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3684. <OPTIONSELECTED>
  3685. <OPTIONSELECT VALUE="1" />
  3686. <OPTIONSELECT VALUE="0" />
  3687. </OPTIONSELECTED>
  3688. </COLUMN>
  3689. <COLUMN ID="78119" ColName="ID_COMPRA_FORNECEDOR_COTACAO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3690. <OPTIONSELECTED>
  3691. <OPTIONSELECT VALUE="1" />
  3692. <OPTIONSELECT VALUE="0" />
  3693. </OPTIONSELECTED>
  3694. </COLUMN>
  3695. <COLUMN ID="54167" ColName="ID_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3696. <OPTIONSELECTED>
  3697. <OPTIONSELECT VALUE="1" />
  3698. <OPTIONSELECT VALUE="0" />
  3699. </OPTIONSELECTED>
  3700. </COLUMN>
  3701. <COLUMN ID="16142" ColName="QUANTIDADE" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3702. <OPTIONSELECTED>
  3703. <OPTIONSELECT VALUE="0" />
  3704. </OPTIONSELECTED>
  3705. </COLUMN>
  3706. <COLUMN ID="78057" ColName="QUANTIDADE_PEDIDA" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Vai incrementando a quantidade pedida at\233 atingir o valor do campo QUANTIDADE">
  3707. <OPTIONSELECTED>
  3708. <OPTIONSELECT VALUE="0" />
  3709. </OPTIONSELECTED>
  3710. </COLUMN>
  3711. <COLUMN ID="16143" ColName="VALOR_UNITARIO" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3712. <OPTIONSELECTED>
  3713. <OPTIONSELECT VALUE="0" />
  3714. </OPTIONSELECTED>
  3715. </COLUMN>
  3716. <COLUMN ID="16144" ColName="VALOR_SUBTOTAL" PrevColName="SUBTOTAL" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3717. <OPTIONSELECTED>
  3718. <OPTIONSELECT VALUE="0" />
  3719. </OPTIONSELECTED>
  3720. </COLUMN>
  3721. <COLUMN ID="16145" ColName="TAXA_DESCONTO" PrevColName="" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3722. <OPTIONSELECTED>
  3723. <OPTIONSELECT VALUE="0" />
  3724. </OPTIONSELECTED>
  3725. </COLUMN>
  3726. <COLUMN ID="16146" ColName="VALOR_DESCONTO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3727. <OPTIONSELECTED>
  3728. <OPTIONSELECT VALUE="0" />
  3729. </OPTIONSELECTED>
  3730. </COLUMN>
  3731. <COLUMN ID="16147" ColName="VALOR_TOTAL" PrevColName="" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3732. <OPTIONSELECTED>
  3733. <OPTIONSELECT VALUE="0" />
  3734. </OPTIONSELECTED>
  3735. </COLUMN>
  3736. </COLUMNS>
  3737. <RELATIONS_START>
  3738. <RELATION_START ID="46429" />
  3739. </RELATIONS_START>
  3740. <RELATIONS_END>
  3741. <RELATION_END ID="46422" />
  3742. <RELATION_END ID="54164" />
  3743. </RELATIONS_END>
  3744. <INDICES>
  3745. <INDEX ID="16104" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3746. <INDEXCOLUMNS>
  3747. <INDEXCOLUMN idColumn="16101" LengthParam="0" />
  3748. </INDEXCOLUMNS>
  3749. </INDEX>
  3750. <INDEX ID="16110" IndexName="FK_FORNECEDOR_COTACAO_DETALHE" IndexKind="1" FKRefDef_Obj_id="16108">
  3751. <INDEXCOLUMNS>
  3752. <INDEXCOLUMN idColumn="78119" LengthParam="0" />
  3753. </INDEXCOLUMNS>
  3754. </INDEX>
  3755. <INDEX ID="54166" IndexName="FK_PRODUTO_COTACAO_DETALHE" IndexKind="1" FKRefDef_Obj_id="54164">
  3756. <INDEXCOLUMNS>
  3757. <INDEXCOLUMN idColumn="54167" LengthParam="0" />
  3758. </INDEXCOLUMNS>
  3759. </INDEX>
  3760. </INDICES>
  3761. </TABLE>
  3762. <TABLE ID="46408" Tablename="COMPRA_REQ_COTACAO_DETALHE" PrevTableName="Table_22" XPos="4092" YPos="1407" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Faz o controle de quantidade de itens que saem da requisi\231\227o e entram na cota\231\227o" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="16114" OrderPos="17" >
  3763. <COLUMNS>
  3764. <COLUMN ID="16116" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3765. <OPTIONSELECTED>
  3766. <OPTIONSELECT VALUE="1" />
  3767. <OPTIONSELECT VALUE="0" />
  3768. </OPTIONSELECTED>
  3769. </COLUMN>
  3770. <COLUMN ID="78140" ColName="ID_COMPRA_COTACAO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3771. <OPTIONSELECTED>
  3772. <OPTIONSELECT VALUE="1" />
  3773. <OPTIONSELECT VALUE="0" />
  3774. </OPTIONSELECTED>
  3775. </COLUMN>
  3776. <COLUMN ID="78109" ColName="ID_COMPRA_REQUISICAO_DETALHE" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3777. <OPTIONSELECTED>
  3778. <OPTIONSELECT VALUE="1" />
  3779. <OPTIONSELECT VALUE="0" />
  3780. </OPTIONSELECTED>
  3781. </COLUMN>
  3782. <COLUMN ID="16127" ColName="QUANTIDADE_COTADA" PrevColName="" Pos="2" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3783. <OPTIONSELECTED>
  3784. <OPTIONSELECT VALUE="0" />
  3785. </OPTIONSELECTED>
  3786. </COLUMN>
  3787. </COLUMNS>
  3788. <RELATIONS_END>
  3789. <RELATION_END ID="46423" />
  3790. <RELATION_END ID="78137" />
  3791. </RELATIONS_END>
  3792. <INDICES>
  3793. <INDEX ID="16117" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3794. <INDEXCOLUMNS>
  3795. <INDEXCOLUMN idColumn="16116" LengthParam="0" />
  3796. </INDEXCOLUMNS>
  3797. </INDEX>
  3798. <INDEX ID="16120" IndexName="FK_REQUISICAO_COTACAO_DETALHE" IndexKind="1" FKRefDef_Obj_id="16118">
  3799. <INDEXCOLUMNS>
  3800. <INDEXCOLUMN idColumn="78109" LengthParam="0" />
  3801. </INDEXCOLUMNS>
  3802. </INDEX>
  3803. <INDEX ID="78139" IndexName="FK_COTACAO_REQ_DETALHE" IndexKind="1" FKRefDef_Obj_id="78137">
  3804. <INDEXCOLUMNS>
  3805. <INDEXCOLUMN idColumn="78140" LengthParam="0" />
  3806. </INDEXCOLUMNS>
  3807. </INDEX>
  3808. </INDICES>
  3809. </TABLE>
  3810. <TABLE ID="46409" Tablename="COMPRA_PEDIDO" PrevTableName="Table_08" XPos="4570" YPos="1023" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que armazena os pedidos de compra." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="16149" OrderPos="15" >
  3811. <COLUMNS>
  3812. <COLUMN ID="16150" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3813. <OPTIONSELECTED>
  3814. <OPTIONSELECT VALUE="1" />
  3815. <OPTIONSELECT VALUE="0" />
  3816. </OPTIONSELECTED>
  3817. </COLUMN>
  3818. <COLUMN ID="78117" ColName="ID_COMPRA_TIPO_PEDIDO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3819. <OPTIONSELECTED>
  3820. <OPTIONSELECT VALUE="1" />
  3821. <OPTIONSELECT VALUE="0" />
  3822. </OPTIONSELECTED>
  3823. </COLUMN>
  3824. <COLUMN ID="46459" ColName="ID_FORNECEDOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3825. <OPTIONSELECTED>
  3826. <OPTIONSELECT VALUE="1" />
  3827. <OPTIONSELECT VALUE="0" />
  3828. </OPTIONSELECTED>
  3829. </COLUMN>
  3830. <COLUMN ID="16151" ColName="DATA_PEDIDO" PrevColName="DATA_COTACAO" Pos="1" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3831. <OPTIONSELECTED>
  3832. </OPTIONSELECTED>
  3833. </COLUMN>
  3834. <COLUMN ID="22345" ColName="DATA_PREVISTA_ENTREGA" PrevColName="" Pos="3" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3835. <OPTIONSELECTED>
  3836. </OPTIONSELECTED>
  3837. </COLUMN>
  3838. <COLUMN ID="21581" ColName="DATA_PREVISAO_PAGAMENTO" PrevColName="PREVISAO_PAGAMENTO" Pos="10" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3839. <OPTIONSELECTED>
  3840. </OPTIONSELECTED>
  3841. </COLUMN>
  3842. <COLUMN ID="16162" ColName="LOCAL_ENTREGA" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3843. <OPTIONSELECTED>
  3844. <OPTIONSELECT VALUE="0" />
  3845. </OPTIONSELECTED>
  3846. </COLUMN>
  3847. <COLUMN ID="16163" ColName="LOCAL_COBRANCA" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3848. <OPTIONSELECTED>
  3849. <OPTIONSELECT VALUE="0" />
  3850. </OPTIONSELECTED>
  3851. </COLUMN>
  3852. <COLUMN ID="16164" ColName="CONTATO" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3853. <OPTIONSELECTED>
  3854. <OPTIONSELECT VALUE="0" />
  3855. </OPTIONSELECTED>
  3856. </COLUMN>
  3857. <COLUMN ID="16165" ColName="VALOR_SUBTOTAL" PrevColName="" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3858. <OPTIONSELECTED>
  3859. <OPTIONSELECT VALUE="0" />
  3860. </OPTIONSELECTED>
  3861. </COLUMN>
  3862. <COLUMN ID="16168" ColName="TAXA_DESCONTO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3863. <OPTIONSELECTED>
  3864. <OPTIONSELECT VALUE="0" />
  3865. </OPTIONSELECTED>
  3866. </COLUMN>
  3867. <COLUMN ID="16166" ColName="VALOR_DESCONTO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3868. <OPTIONSELECTED>
  3869. <OPTIONSELECT VALUE="0" />
  3870. </OPTIONSELECTED>
  3871. </COLUMN>
  3872. <COLUMN ID="16167" ColName="VALOR_TOTAL_PEDIDO" PrevColName="VALOR_TOTAL" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3873. <OPTIONSELECTED>
  3874. <OPTIONSELECT VALUE="0" />
  3875. </OPTIONSELECTED>
  3876. </COLUMN>
  3877. <COLUMN ID="21582" ColName="TIPO_FRETE" PrevColName="" Pos="11" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C=CIF | F=FOB">
  3878. <OPTIONSELECTED>
  3879. <OPTIONSELECT VALUE="0" />
  3880. </OPTIONSELECTED>
  3881. </COLUMN>
  3882. <COLUMN ID="21584" ColName="FORMA_PAGAMENTO" PrevColName="" Pos="12" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="0=pagamento \224 vista | 1=pagamento \224 prazo | 2=outros. (Campo indPag da NF-e)">
  3883. <OPTIONSELECTED>
  3884. <OPTIONSELECT VALUE="0" />
  3885. </OPTIONSELECTED>
  3886. </COLUMN>
  3887. <COLUMN ID="22346" ColName="BASE_CALCULO_ICMS" PrevColName="" Pos="14" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3888. <OPTIONSELECTED>
  3889. <OPTIONSELECT VALUE="0" />
  3890. </OPTIONSELECTED>
  3891. </COLUMN>
  3892. <COLUMN ID="22347" ColName="VALOR_ICMS" PrevColName="" Pos="15" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3893. <OPTIONSELECTED>
  3894. <OPTIONSELECT VALUE="0" />
  3895. </OPTIONSELECTED>
  3896. </COLUMN>
  3897. <COLUMN ID="22348" ColName="BASE_CALCULO_ICMS_ST" PrevColName="" Pos="16" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3898. <OPTIONSELECTED>
  3899. <OPTIONSELECT VALUE="0" />
  3900. </OPTIONSELECTED>
  3901. </COLUMN>
  3902. <COLUMN ID="22349" ColName="VALOR_ICMS_ST" PrevColName="" Pos="17" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3903. <OPTIONSELECTED>
  3904. <OPTIONSELECT VALUE="0" />
  3905. </OPTIONSELECTED>
  3906. </COLUMN>
  3907. <COLUMN ID="22350" ColName="VALOR_TOTAL_PRODUTOS" PrevColName="" Pos="18" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3908. <OPTIONSELECTED>
  3909. <OPTIONSELECT VALUE="0" />
  3910. </OPTIONSELECTED>
  3911. </COLUMN>
  3912. <COLUMN ID="22351" ColName="VALOR_FRETE" PrevColName="" Pos="19" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3913. <OPTIONSELECTED>
  3914. <OPTIONSELECT VALUE="0" />
  3915. </OPTIONSELECTED>
  3916. </COLUMN>
  3917. <COLUMN ID="22352" ColName="VALOR_SEGURO" PrevColName="" Pos="20" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3918. <OPTIONSELECTED>
  3919. <OPTIONSELECT VALUE="0" />
  3920. </OPTIONSELECTED>
  3921. </COLUMN>
  3922. <COLUMN ID="22354" ColName="VALOR_OUTRAS_DESPESAS" PrevColName="" Pos="21" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3923. <OPTIONSELECTED>
  3924. <OPTIONSELECT VALUE="0" />
  3925. </OPTIONSELECTED>
  3926. </COLUMN>
  3927. <COLUMN ID="22355" ColName="VALOR_IPI" PrevColName="" Pos="22" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3928. <OPTIONSELECTED>
  3929. <OPTIONSELECT VALUE="0" />
  3930. </OPTIONSELECTED>
  3931. </COLUMN>
  3932. <COLUMN ID="22358" ColName="VALOR_TOTAL_NF" PrevColName="" Pos="25" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3933. <OPTIONSELECTED>
  3934. <OPTIONSELECT VALUE="0" />
  3935. </OPTIONSELECTED>
  3936. </COLUMN>
  3937. <COLUMN ID="50268" ColName="QUANTIDADE_PARCELAS" PrevColName="QTD_PARCELAS" Pos="25" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3938. <OPTIONSELECTED>
  3939. <OPTIONSELECT VALUE="1" />
  3940. <OPTIONSELECT VALUE="0" />
  3941. </OPTIONSELECTED>
  3942. </COLUMN>
  3943. <COLUMN ID="50269" ColName="DIAS_PRIMEIRO_VENCIMENTO" PrevColName="DIAS_PRIMEIRO_VENC" Pos="26" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3944. <OPTIONSELECTED>
  3945. <OPTIONSELECT VALUE="1" />
  3946. <OPTIONSELECT VALUE="0" />
  3947. </OPTIONSELECTED>
  3948. </COLUMN>
  3949. <COLUMN ID="50270" ColName="DIAS_INTERVALO" PrevColName="" Pos="27" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  3950. <OPTIONSELECTED>
  3951. <OPTIONSELECT VALUE="1" />
  3952. <OPTIONSELECT VALUE="0" />
  3953. </OPTIONSELECTED>
  3954. </COLUMN>
  3955. </COLUMNS>
  3956. <RELATIONS_START>
  3957. <RELATION_START ID="46427" />
  3958. <RELATION_START ID="78150" />
  3959. </RELATIONS_START>
  3960. <RELATIONS_END>
  3961. <RELATION_END ID="46431" />
  3962. <RELATION_END ID="46433" />
  3963. </RELATIONS_END>
  3964. <INDICES>
  3965. <INDEX ID="16153" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  3966. <INDEXCOLUMNS>
  3967. <INDEXCOLUMN idColumn="16150" LengthParam="0" />
  3968. </INDEXCOLUMNS>
  3969. </INDEX>
  3970. <INDEX ID="22746" IndexName="FK_TIPO_PEDIDO_COMPRA" IndexKind="1" FKRefDef_Obj_id="22744">
  3971. <INDEXCOLUMNS>
  3972. <INDEXCOLUMN idColumn="78117" LengthParam="0" />
  3973. </INDEXCOLUMNS>
  3974. </INDEX>
  3975. <INDEX ID="46435" IndexName="FK_FORNECEDOR_PEDIDO_COMPRA" IndexKind="1" FKRefDef_Obj_id="46433">
  3976. <INDEXCOLUMNS>
  3977. <INDEXCOLUMN idColumn="46459" LengthParam="0" />
  3978. </INDEXCOLUMNS>
  3979. </INDEX>
  3980. </INDICES>
  3981. </TABLE>
  3982. <TABLE ID="46410" Tablename="COMPRA_PEDIDO_DETALHE" PrevTableName="Table_08" XPos="3827" YPos="997" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que armazena os itens do pedido. Uma cota\231\227o poder\225 gerar v\225rios pedidos e um pedido pode ser gerado a partir de v\225rias cota\231\245es." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="16169" OrderPos="15" >
  3983. <COLUMNS>
  3984. <COLUMN ID="16170" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  3985. <OPTIONSELECTED>
  3986. <OPTIONSELECT VALUE="1" />
  3987. <OPTIONSELECT VALUE="0" />
  3988. </OPTIONSELECTED>
  3989. </COLUMN>
  3990. <COLUMN ID="78112" ColName="ID_COMPRA_PEDIDO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3991. <OPTIONSELECTED>
  3992. <OPTIONSELECT VALUE="1" />
  3993. <OPTIONSELECT VALUE="0" />
  3994. </OPTIONSELECTED>
  3995. </COLUMN>
  3996. <COLUMN ID="54156" ColName="ID_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  3997. <OPTIONSELECTED>
  3998. <OPTIONSELECT VALUE="1" />
  3999. <OPTIONSELECT VALUE="0" />
  4000. </OPTIONSELECTED>
  4001. </COLUMN>
  4002. <COLUMN ID="16173" ColName="QUANTIDADE" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4003. <OPTIONSELECTED>
  4004. <OPTIONSELECT VALUE="0" />
  4005. </OPTIONSELECTED>
  4006. </COLUMN>
  4007. <COLUMN ID="16174" ColName="VALOR_UNITARIO" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4008. <OPTIONSELECTED>
  4009. <OPTIONSELECT VALUE="0" />
  4010. </OPTIONSELECTED>
  4011. </COLUMN>
  4012. <COLUMN ID="16175" ColName="VALOR_SUBTOTAL" PrevColName="SUBTOTAL" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4013. <OPTIONSELECTED>
  4014. <OPTIONSELECT VALUE="0" />
  4015. </OPTIONSELECTED>
  4016. </COLUMN>
  4017. <COLUMN ID="16176" ColName="TAXA_DESCONTO" PrevColName="" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4018. <OPTIONSELECTED>
  4019. <OPTIONSELECT VALUE="0" />
  4020. </OPTIONSELECTED>
  4021. </COLUMN>
  4022. <COLUMN ID="16177" ColName="VALOR_DESCONTO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4023. <OPTIONSELECTED>
  4024. <OPTIONSELECT VALUE="0" />
  4025. </OPTIONSELECTED>
  4026. </COLUMN>
  4027. <COLUMN ID="16178" ColName="VALOR_TOTAL" PrevColName="" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4028. <OPTIONSELECTED>
  4029. <OPTIONSELECT VALUE="0" />
  4030. </OPTIONSELECTED>
  4031. </COLUMN>
  4032. <COLUMN ID="22559" ColName="CST_CSOSN" PrevColName="CST" Pos="8" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4033. <OPTIONSELECTED>
  4034. <OPTIONSELECT VALUE="0" />
  4035. </OPTIONSELECTED>
  4036. </COLUMN>
  4037. <COLUMN ID="22562" ColName="CFOP" PrevColName="" Pos="9" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4038. <OPTIONSELECTED>
  4039. <OPTIONSELECT VALUE="0" />
  4040. <OPTIONSELECT VALUE="0" />
  4041. </OPTIONSELECTED>
  4042. </COLUMN>
  4043. <COLUMN ID="22564" ColName="BASE_CALCULO_ICMS" PrevColName="" Pos="10" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4044. <OPTIONSELECTED>
  4045. <OPTIONSELECT VALUE="0" />
  4046. </OPTIONSELECTED>
  4047. </COLUMN>
  4048. <COLUMN ID="22565" ColName="VALOR_ICMS" PrevColName="" Pos="11" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4049. <OPTIONSELECTED>
  4050. <OPTIONSELECT VALUE="0" />
  4051. </OPTIONSELECTED>
  4052. </COLUMN>
  4053. <COLUMN ID="22566" ColName="VALOR_IPI" PrevColName="" Pos="12" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4054. <OPTIONSELECTED>
  4055. <OPTIONSELECT VALUE="0" />
  4056. </OPTIONSELECTED>
  4057. </COLUMN>
  4058. <COLUMN ID="22567" ColName="ALIQUOTA_ICMS" PrevColName="" Pos="13" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4059. <OPTIONSELECTED>
  4060. <OPTIONSELECT VALUE="0" />
  4061. </OPTIONSELECTED>
  4062. </COLUMN>
  4063. <COLUMN ID="22568" ColName="ALIQUOTA_IPI" PrevColName="" Pos="14" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4064. <OPTIONSELECTED>
  4065. <OPTIONSELECT VALUE="0" />
  4066. </OPTIONSELECTED>
  4067. </COLUMN>
  4068. </COLUMNS>
  4069. <RELATIONS_END>
  4070. <RELATION_END ID="46427" />
  4071. <RELATION_END ID="54153" />
  4072. </RELATIONS_END>
  4073. <INDICES>
  4074. <INDEX ID="16182" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4075. <INDEXCOLUMNS>
  4076. <INDEXCOLUMN idColumn="16170" LengthParam="0" />
  4077. </INDEXCOLUMNS>
  4078. </INDEX>
  4079. <INDEX ID="16219" IndexName="FK_PEDIDO_COMPRA_DETALHE" IndexKind="1" FKRefDef_Obj_id="16217">
  4080. <INDEXCOLUMNS>
  4081. <INDEXCOLUMN idColumn="78112" LengthParam="0" />
  4082. </INDEXCOLUMNS>
  4083. </INDEX>
  4084. <INDEX ID="54155" IndexName="FK_PROD_PEDIDO_DETALHE" IndexKind="1" FKRefDef_Obj_id="54153">
  4085. <INDEXCOLUMNS>
  4086. <INDEXCOLUMN idColumn="54156" LengthParam="0" />
  4087. </INDEXCOLUMNS>
  4088. </INDEX>
  4089. </INDICES>
  4090. </TABLE>
  4091. <TABLE ID="46411" Tablename="COMPRA_COTACAO_PEDIDO_DETALHE" PrevTableName="Table_22" XPos="4150" YPos="1203" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Faz o controle de quantidade de itens que saem da cota\231\227o e entram no pedido" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="16188" OrderPos="15" >
  4092. <COLUMNS>
  4093. <COLUMN ID="16189" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4094. <OPTIONSELECTED>
  4095. <OPTIONSELECT VALUE="1" />
  4096. <OPTIONSELECT VALUE="0" />
  4097. </OPTIONSELECTED>
  4098. </COLUMN>
  4099. <COLUMN ID="78153" ColName="ID_COMPRA_PEDIDO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4100. <OPTIONSELECTED>
  4101. <OPTIONSELECT VALUE="1" />
  4102. <OPTIONSELECT VALUE="0" />
  4103. </OPTIONSELECTED>
  4104. </COLUMN>
  4105. <COLUMN ID="78115" ColName="ID_COMPRA_COTACAO_DETALHE" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4106. <OPTIONSELECTED>
  4107. <OPTIONSELECT VALUE="1" />
  4108. <OPTIONSELECT VALUE="0" />
  4109. </OPTIONSELECTED>
  4110. </COLUMN>
  4111. <COLUMN ID="16192" ColName="QUANTIDADE_PEDIDA" PrevColName="QUANTIDADE_COTADA" Pos="2" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4112. <OPTIONSELECTED>
  4113. <OPTIONSELECT VALUE="0" />
  4114. </OPTIONSELECTED>
  4115. </COLUMN>
  4116. </COLUMNS>
  4117. <RELATIONS_END>
  4118. <RELATION_END ID="46429" />
  4119. <RELATION_END ID="78150" />
  4120. </RELATIONS_END>
  4121. <INDICES>
  4122. <INDEX ID="16195" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4123. <INDEXCOLUMNS>
  4124. <INDEXCOLUMN idColumn="16189" LengthParam="0" />
  4125. </INDEXCOLUMNS>
  4126. </INDEX>
  4127. <INDEX ID="16231" IndexName="FK_COT_PEDIDO_DET" IndexKind="1" FKRefDef_Obj_id="16229">
  4128. <INDEXCOLUMNS>
  4129. <INDEXCOLUMN idColumn="78115" LengthParam="0" />
  4130. </INDEXCOLUMNS>
  4131. </INDEX>
  4132. <INDEX ID="78152" IndexName="FK_PEDIDO_COTACAO_DETALHE" IndexKind="1" FKRefDef_Obj_id="78150">
  4133. <INDEXCOLUMNS>
  4134. <INDEXCOLUMN idColumn="78153" LengthParam="0" />
  4135. </INDEXCOLUMNS>
  4136. </INDEX>
  4137. </INDICES>
  4138. </TABLE>
  4139. <TABLE ID="46413" Tablename="COMPRA_TIPO_PEDIDO" PrevTableName="Table_15" XPos="4970" YPos="975" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Pedido Normal: Quando nao existe nenhuma programacao de entrega ou seja, a entrega do material \233 feita de uma unica vez.\n\nPedido Planejado: O comprador negocia um determinado material mas n\227o quer armazenar o consumo do ano em seu estoque, neste caso o comprador poderia fazer o pedido para o ano todo por\233m as entregas seriam mensais j\225 que o comprador sabe o consumo mensal. \n\nPedido Aberto: O Comprador negocia um determinado material mas n\227o sabe o consumo mensal durante o ano, neste caso ele gera liberacoes conforme necessidade." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="22737" OrderPos="19" >
  4140. <COLUMNS>
  4141. <COLUMN ID="22739" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4142. <OPTIONSELECTED>
  4143. <OPTIONSELECT VALUE="1" />
  4144. <OPTIONSELECT VALUE="0" />
  4145. </OPTIONSELECTED>
  4146. </COLUMN>
  4147. <COLUMN ID="22741" ColName="CODIGO" PrevColName="" Pos="1" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="01-Normal | 02-Planejado | 03-Aberto">
  4148. <OPTIONSELECTED>
  4149. <OPTIONSELECT VALUE="0" />
  4150. </OPTIONSELECTED>
  4151. </COLUMN>
  4152. <COLUMN ID="22742" ColName="NOME" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4153. <OPTIONSELECTED>
  4154. <OPTIONSELECT VALUE="0" />
  4155. </OPTIONSELECTED>
  4156. </COLUMN>
  4157. <COLUMN ID="22743" ColName="DESCRICAO" PrevColName="" Pos="3" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4158. <OPTIONSELECTED>
  4159. </OPTIONSELECTED>
  4160. </COLUMN>
  4161. </COLUMNS>
  4162. <RELATIONS_START>
  4163. <RELATION_START ID="46431" />
  4164. </RELATIONS_START>
  4165. <INDICES>
  4166. <INDEX ID="22740" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4167. <INDEXCOLUMNS>
  4168. <INDEXCOLUMN idColumn="22739" LengthParam="0" />
  4169. </INDEXCOLUMNS>
  4170. </INDEX>
  4171. </INDICES>
  4172. </TABLE>
  4173. <TABLE ID="46500" Tablename="VENDA_ORCAMENTO_CABECALHO" PrevTableName="Table_13" XPos="2115" YPos="4095" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena o cabe\231alho do or\231amento/pedido de venda.\n\nO usu\225rio informa aqui as condi\231\245es de pagamentos, mas n\227o gera neste momento as parcelas. As mesmas s\243 ser\227o geradas no momento da confirma\231\227o da venda." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="10615" OrderPos="795" >
  4174. <COLUMNS>
  4175. <COLUMN ID="10629" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4176. <OPTIONSELECTED>
  4177. <OPTIONSELECT VALUE="1" />
  4178. <OPTIONSELECT VALUE="0" />
  4179. </OPTIONSELECTED>
  4180. </COLUMN>
  4181. <COLUMN ID="86621" ColName="ID_VENDA_CONDICOES_PAGAMENTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4182. <OPTIONSELECTED>
  4183. <OPTIONSELECT VALUE="1" />
  4184. <OPTIONSELECT VALUE="0" />
  4185. </OPTIONSELECTED>
  4186. </COLUMN>
  4187. <COLUMN ID="46593" ColName="ID_VENDEDOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4188. <OPTIONSELECTED>
  4189. <OPTIONSELECT VALUE="1" />
  4190. <OPTIONSELECT VALUE="0" />
  4191. </OPTIONSELECTED>
  4192. </COLUMN>
  4193. <COLUMN ID="46588" ColName="ID_TRANSPORTADORA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4194. <OPTIONSELECTED>
  4195. <OPTIONSELECT VALUE="1" />
  4196. <OPTIONSELECT VALUE="0" />
  4197. </OPTIONSELECTED>
  4198. </COLUMN>
  4199. <COLUMN ID="46587" ColName="ID_CLIENTE" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4200. <OPTIONSELECTED>
  4201. <OPTIONSELECT VALUE="1" />
  4202. <OPTIONSELECT VALUE="0" />
  4203. </OPTIONSELECTED>
  4204. </COLUMN>
  4205. <COLUMN ID="23485" ColName="TIPO" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="O=Or\231amento | P=Pedido">
  4206. <OPTIONSELECTED>
  4207. <OPTIONSELECT VALUE="0" />
  4208. </OPTIONSELECTED>
  4209. </COLUMN>
  4210. <COLUMN ID="24936" ColName="CODIGO" PrevColName="" Pos="6" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo atribu\237do pelo usu\225rio">
  4211. <OPTIONSELECTED>
  4212. <OPTIONSELECT VALUE="0" />
  4213. </OPTIONSELECTED>
  4214. </COLUMN>
  4215. <COLUMN ID="17084" ColName="DATA_CADASTRO" PrevColName="" Pos="3" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4216. <OPTIONSELECTED>
  4217. </OPTIONSELECTED>
  4218. </COLUMN>
  4219. <COLUMN ID="23502" ColName="DATA_ENTREGA" PrevColName="" Pos="6" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4220. <OPTIONSELECTED>
  4221. </OPTIONSELECTED>
  4222. </COLUMN>
  4223. <COLUMN ID="17085" ColName="VALIDADE" PrevColName="VENCIMENTO" Pos="4" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4224. <OPTIONSELECTED>
  4225. </OPTIONSELECTED>
  4226. </COLUMN>
  4227. <COLUMN ID="23504" ColName="TIPO_FRETE" PrevColName="" Pos="8" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C=CIF | F=FOB">
  4228. <OPTIONSELECTED>
  4229. <OPTIONSELECT VALUE="0" />
  4230. </OPTIONSELECTED>
  4231. </COLUMN>
  4232. <COLUMN ID="23667" ColName="VALOR_SUBTOTAL" PrevColName="" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4233. <OPTIONSELECTED>
  4234. <OPTIONSELECT VALUE="0" />
  4235. </OPTIONSELECTED>
  4236. </COLUMN>
  4237. <COLUMN ID="23506" ColName="VALOR_FRETE" PrevColName="" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4238. <OPTIONSELECTED>
  4239. <OPTIONSELECT VALUE="0" />
  4240. </OPTIONSELECTED>
  4241. </COLUMN>
  4242. <COLUMN ID="23507" ColName="TAXA_COMISSAO" PrevColName="" Pos="10" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4243. <OPTIONSELECTED>
  4244. <OPTIONSELECT VALUE="0" />
  4245. </OPTIONSELECTED>
  4246. </COLUMN>
  4247. <COLUMN ID="23508" ColName="VALOR_COMISSAO" PrevColName="" Pos="11" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4248. <OPTIONSELECTED>
  4249. <OPTIONSELECT VALUE="0" />
  4250. </OPTIONSELECTED>
  4251. </COLUMN>
  4252. <COLUMN ID="23509" ColName="TAXA_DESCONTO" PrevColName="" Pos="12" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4253. <OPTIONSELECTED>
  4254. <OPTIONSELECT VALUE="0" />
  4255. </OPTIONSELECTED>
  4256. </COLUMN>
  4257. <COLUMN ID="23510" ColName="VALOR_DESCONTO" PrevColName="" Pos="13" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4258. <OPTIONSELECTED>
  4259. <OPTIONSELECT VALUE="0" />
  4260. </OPTIONSELECTED>
  4261. </COLUMN>
  4262. <COLUMN ID="23668" ColName="VALOR_TOTAL" PrevColName="" Pos="15" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4263. <OPTIONSELECTED>
  4264. <OPTIONSELECT VALUE="0" />
  4265. </OPTIONSELECTED>
  4266. </COLUMN>
  4267. <COLUMN ID="23511" ColName="OBSERVACAO" PrevColName="" Pos="14" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4268. <OPTIONSELECTED>
  4269. </OPTIONSELECTED>
  4270. </COLUMN>
  4271. <COLUMN ID="50114" ColName="SITUACAO" PrevColName="STATUS_PEDIDO" Pos="19" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="D=Digitacao | P=Producao | X=Expedicao | F=Faturado | E=Entregue">
  4272. <OPTIONSELECTED>
  4273. <OPTIONSELECT VALUE="0" />
  4274. </OPTIONSELECTED>
  4275. </COLUMN>
  4276. </COLUMNS>
  4277. <RELATIONS_START>
  4278. <RELATION_START ID="46519" />
  4279. <RELATION_START ID="46522" />
  4280. </RELATIONS_START>
  4281. <RELATIONS_END>
  4282. <RELATION_END ID="46532" />
  4283. <RELATION_END ID="46537" />
  4284. <RELATION_END ID="46552" />
  4285. <RELATION_END ID="46589" />
  4286. </RELATIONS_END>
  4287. <INDICES>
  4288. <INDEX ID="10630" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4289. <INDEXCOLUMNS>
  4290. <INDEXCOLUMN idColumn="10629" LengthParam="0" />
  4291. </INDEXCOLUMNS>
  4292. </INDEX>
  4293. <INDEX ID="23497" IndexName="FK_COND_PGTO_ORC_PED_VENDA" IndexKind="1" FKRefDef_Obj_id="23495">
  4294. <INDEXCOLUMNS>
  4295. <INDEXCOLUMN idColumn="86621" LengthParam="0" />
  4296. </INDEXCOLUMNS>
  4297. </INDEX>
  4298. <INDEX ID="46539" IndexName="FK_TRANSP_ORC_PED_VENDA" IndexKind="1" FKRefDef_Obj_id="46537">
  4299. <INDEXCOLUMNS>
  4300. <INDEXCOLUMN idColumn="46588" LengthParam="0" />
  4301. </INDEXCOLUMNS>
  4302. </INDEX>
  4303. <INDEX ID="46554" IndexName="FK_CLIENTE_ORC_PED_VENDA" IndexKind="1" FKRefDef_Obj_id="46552">
  4304. <INDEXCOLUMNS>
  4305. <INDEXCOLUMN idColumn="46587" LengthParam="0" />
  4306. </INDEXCOLUMNS>
  4307. </INDEX>
  4308. <INDEX ID="46592" IndexName="FK_VENDEDOR_ORC_PED_VENDA" IndexKind="1" FKRefDef_Obj_id="46589">
  4309. <INDEXCOLUMNS>
  4310. <INDEXCOLUMN idColumn="46593" LengthParam="0" />
  4311. </INDEXCOLUMNS>
  4312. </INDEX>
  4313. </INDICES>
  4314. </TABLE>
  4315. <TABLE ID="46504" Tablename="TIPO_NOTA_FISCAL" PrevTableName="Table_15" XPos="1842" YPos="4328" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os tipos de NF. Define alguns par\226metros para emiss\227o de notas fiscais.\n\nModelos padr\245es j\225 cadastrados pelo sistema:\n\nNota Fiscal, modelos 1 e 1A;\nNota Fiscal de Venda a Consumidor, Modelo 2;\nNF-e (Nota Fiscal Eletr\244nica), modelo 55" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="17062" OrderPos="765" >
  4316. <COLUMNS>
  4317. <COLUMN ID="17064" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4318. <OPTIONSELECTED>
  4319. <OPTIONSELECT VALUE="1" />
  4320. <OPTIONSELECT VALUE="0" />
  4321. </OPTIONSELECTED>
  4322. </COLUMN>
  4323. <COLUMN ID="23469" ColName="MODELO" PrevColName="" Pos="2" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Modelo da nota fiscal">
  4324. <OPTIONSELECTED>
  4325. <OPTIONSELECT VALUE="0" />
  4326. </OPTIONSELECTED>
  4327. </COLUMN>
  4328. <COLUMN ID="23473" ColName="SERIE" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Serie da NF">
  4329. <OPTIONSELECTED>
  4330. <OPTIONSELECT VALUE="0" />
  4331. </OPTIONSELECTED>
  4332. </COLUMN>
  4333. <COLUMN ID="17067" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="O nome do tipo de nota fiscal">
  4334. <OPTIONSELECTED>
  4335. <OPTIONSELECT VALUE="0" />
  4336. </OPTIONSELECTED>
  4337. </COLUMN>
  4338. <COLUMN ID="17068" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Descri\231\227o do tipo da nota fiscal (texto descritivo)">
  4339. <OPTIONSELECTED>
  4340. </OPTIONSELECTED>
  4341. </COLUMN>
  4342. <COLUMN ID="17069" ColName="TEMPLATE" PrevColName="" Pos="3" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Caminho de um arquivo de template, caso exista">
  4343. <OPTIONSELECTED>
  4344. </OPTIONSELECTED>
  4345. </COLUMN>
  4346. <COLUMN ID="17070" ColName="NUMERO_ITENS" PrevColName="NUMERO_COPIAS" Pos="4" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Quantidade de itens da nota">
  4347. <OPTIONSELECTED>
  4348. <OPTIONSELECT VALUE="1" />
  4349. <OPTIONSELECT VALUE="0" />
  4350. </OPTIONSELECTED>
  4351. </COLUMN>
  4352. <COLUMN ID="23464" ColName="ULTIMO_IMPRESSO" PrevColName="" Pos="6" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Sistema controla o n\250mero do \250ltimo documento impresso.">
  4353. <OPTIONSELECTED>
  4354. <OPTIONSELECT VALUE="1" />
  4355. <OPTIONSELECT VALUE="0" />
  4356. </OPTIONSELECTED>
  4357. </COLUMN>
  4358. </COLUMNS>
  4359. <RELATIONS_START>
  4360. <RELATION_START ID="54924" />
  4361. </RELATIONS_START>
  4362. <INDICES>
  4363. <INDEX ID="17065" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4364. <INDEXCOLUMNS>
  4365. <INDEXCOLUMN idColumn="17064" LengthParam="0" />
  4366. </INDEXCOLUMNS>
  4367. </INDEX>
  4368. </INDICES>
  4369. </TABLE>
  4370. <TABLE ID="46505" Tablename="VENDA_ORCAMENTO_DETALHE" PrevTableName="Table_13" XPos="1892" YPos="4730" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os itens do or\231amento de venda" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="17087" OrderPos="796" >
  4371. <COLUMNS>
  4372. <COLUMN ID="17088" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4373. <OPTIONSELECTED>
  4374. <OPTIONSELECT VALUE="1" />
  4375. <OPTIONSELECT VALUE="0" />
  4376. </OPTIONSELECTED>
  4377. </COLUMN>
  4378. <COLUMN ID="84160" ColName="ID_VENDA_ORCAMENTO_CABECALHO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4379. <OPTIONSELECTED>
  4380. <OPTIONSELECT VALUE="1" />
  4381. <OPTIONSELECT VALUE="0" />
  4382. </OPTIONSELECTED>
  4383. </COLUMN>
  4384. <COLUMN ID="46586" ColName="ID_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4385. <OPTIONSELECTED>
  4386. <OPTIONSELECT VALUE="1" />
  4387. <OPTIONSELECT VALUE="0" />
  4388. </OPTIONSELECTED>
  4389. </COLUMN>
  4390. <COLUMN ID="17108" ColName="QUANTIDADE" PrevColName="" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4391. <OPTIONSELECTED>
  4392. <OPTIONSELECT VALUE="0" />
  4393. </OPTIONSELECTED>
  4394. </COLUMN>
  4395. <COLUMN ID="17111" ColName="VALOR_UNITARIO" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4396. <OPTIONSELECTED>
  4397. <OPTIONSELECT VALUE="0" />
  4398. </OPTIONSELECTED>
  4399. </COLUMN>
  4400. <COLUMN ID="23513" ColName="VALOR_SUBTOTAL" PrevColName="VALOR_IPI" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4401. <OPTIONSELECTED>
  4402. <OPTIONSELECT VALUE="0" />
  4403. </OPTIONSELECTED>
  4404. </COLUMN>
  4405. <COLUMN ID="23514" ColName="TAXA_DESCONTO" PrevColName="VALOR_ICMS_ST" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4406. <OPTIONSELECTED>
  4407. <OPTIONSELECT VALUE="0" />
  4408. </OPTIONSELECTED>
  4409. </COLUMN>
  4410. <COLUMN ID="23664" ColName="VALOR_DESCONTO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4411. <OPTIONSELECTED>
  4412. <OPTIONSELECT VALUE="0" />
  4413. </OPTIONSELECTED>
  4414. </COLUMN>
  4415. <COLUMN ID="23665" ColName="VALOR_TOTAL" PrevColName="" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4416. <OPTIONSELECTED>
  4417. <OPTIONSELECT VALUE="0" />
  4418. </OPTIONSELECTED>
  4419. </COLUMN>
  4420. </COLUMNS>
  4421. <RELATIONS_END>
  4422. <RELATION_END ID="46519" />
  4423. <RELATION_END ID="46567" />
  4424. </RELATIONS_END>
  4425. <INDICES>
  4426. <INDEX ID="17095" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4427. <INDEXCOLUMNS>
  4428. <INDEXCOLUMN idColumn="17088" LengthParam="0" />
  4429. </INDEXCOLUMNS>
  4430. </INDEX>
  4431. <INDEX ID="17103" IndexName="FK_VENDA_ORCAMENTO_CAB_DET" IndexKind="1" FKRefDef_Obj_id="17101">
  4432. <INDEXCOLUMNS>
  4433. <INDEXCOLUMN idColumn="84160" LengthParam="0" />
  4434. </INDEXCOLUMNS>
  4435. </INDEX>
  4436. <INDEX ID="46569" IndexName="FK_PRODUTO_ORC_VENDA_DET" IndexKind="1" FKRefDef_Obj_id="46567">
  4437. <INDEXCOLUMNS>
  4438. <INDEXCOLUMN idColumn="46586" LengthParam="0" />
  4439. </INDEXCOLUMNS>
  4440. </INDEX>
  4441. </INDICES>
  4442. </TABLE>
  4443. <TABLE ID="46506" Tablename="VENDA_CABECALHO" PrevTableName="Table_09" XPos="2640" YPos="4248" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que armazena o cabe\231alho das vendas do sistema." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="17112" OrderPos="769" >
  4444. <COLUMNS>
  4445. <COLUMN ID="17114" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4446. <OPTIONSELECTED>
  4447. <OPTIONSELECT VALUE="1" />
  4448. <OPTIONSELECT VALUE="0" />
  4449. </OPTIONSELECTED>
  4450. </COLUMN>
  4451. <COLUMN ID="86628" ColName="ID_VENDA_ORCAMENTO_CABECALHO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4452. <OPTIONSELECTED>
  4453. <OPTIONSELECT VALUE="1" />
  4454. <OPTIONSELECT VALUE="0" />
  4455. </OPTIONSELECTED>
  4456. </COLUMN>
  4457. <COLUMN ID="86627" ColName="ID_VENDA_CONDICOES_PAGAMENTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4458. <OPTIONSELECTED>
  4459. <OPTIONSELECT VALUE="1" />
  4460. <OPTIONSELECT VALUE="0" />
  4461. </OPTIONSELECTED>
  4462. </COLUMN>
  4463. <COLUMN ID="67796" ColName="ID_TRANSPORTADORA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4464. <OPTIONSELECTED>
  4465. <OPTIONSELECT VALUE="1" />
  4466. <OPTIONSELECT VALUE="0" />
  4467. </OPTIONSELECTED>
  4468. </COLUMN>
  4469. <COLUMN ID="54927" ColName="ID_TIPO_NOTA_FISCAL" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4470. <OPTIONSELECTED>
  4471. <OPTIONSELECT VALUE="1" />
  4472. <OPTIONSELECT VALUE="0" />
  4473. </OPTIONSELECTED>
  4474. </COLUMN>
  4475. <COLUMN ID="46582" ColName="ID_CLIENTE" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4476. <OPTIONSELECTED>
  4477. <OPTIONSELECT VALUE="1" />
  4478. <OPTIONSELECT VALUE="0" />
  4479. </OPTIONSELECTED>
  4480. </COLUMN>
  4481. <COLUMN ID="46581" ColName="ID_VENDEDOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4482. <OPTIONSELECTED>
  4483. <OPTIONSELECT VALUE="1" />
  4484. <OPTIONSELECT VALUE="0" />
  4485. </OPTIONSELECTED>
  4486. </COLUMN>
  4487. <COLUMN ID="17175" ColName="DATA_VENDA" PrevColName="" Pos="6" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4488. <OPTIONSELECTED>
  4489. </OPTIONSELECTED>
  4490. </COLUMN>
  4491. <COLUMN ID="17178" ColName="DATA_SAIDA" PrevColName="DATA_HORA_SAIDA" Pos="9" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Data e hora da sa\237da da mercadoria">
  4492. <OPTIONSELECTED>
  4493. </OPTIONSELECTED>
  4494. </COLUMN>
  4495. <COLUMN ID="23228" ColName="HORA_SAIDA" PrevColName="" Pos="12" idDatatype="20" DatatypeParams="(8)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4496. <OPTIONSELECTED>
  4497. <OPTIONSELECT VALUE="0" />
  4498. </OPTIONSELECTED>
  4499. </COLUMN>
  4500. <COLUMN ID="17234" ColName="NUMERO_FATURA" PrevColName="" Pos="10" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4501. <OPTIONSELECTED>
  4502. <OPTIONSELECT VALUE="1" />
  4503. <OPTIONSELECT VALUE="0" />
  4504. </OPTIONSELECTED>
  4505. </COLUMN>
  4506. <COLUMN ID="17172" ColName="LOCAL_ENTREGA" PrevColName="ID_ENDERECO_ENTREGA" Pos="4" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4507. <OPTIONSELECTED>
  4508. <OPTIONSELECT VALUE="0" />
  4509. </OPTIONSELECTED>
  4510. </COLUMN>
  4511. <COLUMN ID="17173" ColName="LOCAL_COBRANCA" PrevColName="ID_ENDERECO_COBRANCA" Pos="5" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4512. <OPTIONSELECTED>
  4513. <OPTIONSELECT VALUE="0" />
  4514. </OPTIONSELECTED>
  4515. </COLUMN>
  4516. <COLUMN ID="23605" ColName="VALOR_SUBTOTAL" PrevColName="VALOR_SUB_TOTAL" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4517. <OPTIONSELECTED>
  4518. <OPTIONSELECT VALUE="0" />
  4519. </OPTIONSELECTED>
  4520. </COLUMN>
  4521. <COLUMN ID="17176" ColName="TAXA_COMISSAO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4522. <OPTIONSELECTED>
  4523. <OPTIONSELECT VALUE="0" />
  4524. </OPTIONSELECTED>
  4525. </COLUMN>
  4526. <COLUMN ID="17177" ColName="VALOR_COMISSAO" PrevColName="" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4527. <OPTIONSELECTED>
  4528. <OPTIONSELECT VALUE="0" />
  4529. </OPTIONSELECTED>
  4530. </COLUMN>
  4531. <COLUMN ID="23518" ColName="TAXA_DESCONTO" PrevColName="" Pos="11" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4532. <OPTIONSELECTED>
  4533. <OPTIONSELECT VALUE="0" />
  4534. </OPTIONSELECTED>
  4535. </COLUMN>
  4536. <COLUMN ID="23519" ColName="VALOR_DESCONTO" PrevColName="" Pos="12" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4537. <OPTIONSELECTED>
  4538. <OPTIONSELECT VALUE="0" />
  4539. </OPTIONSELECTED>
  4540. </COLUMN>
  4541. <COLUMN ID="23606" ColName="VALOR_TOTAL" PrevColName="" Pos="16" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4542. <OPTIONSELECTED>
  4543. <OPTIONSELECT VALUE="0" />
  4544. </OPTIONSELECTED>
  4545. </COLUMN>
  4546. <COLUMN ID="23520" ColName="TIPO_FRETE" PrevColName="" Pos="17" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C=CIF | F=FOB">
  4547. <OPTIONSELECTED>
  4548. <OPTIONSELECT VALUE="0" />
  4549. </OPTIONSELECTED>
  4550. </COLUMN>
  4551. <COLUMN ID="23639" ColName="FORMA_PAGAMENTO" PrevColName="" Pos="20" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="0=pagamento \224 vista | 1=pagamento \224 prazo | 2=outros. (Campo indPag da NF-e)">
  4552. <OPTIONSELECTED>
  4553. <OPTIONSELECT VALUE="0" />
  4554. </OPTIONSELECTED>
  4555. </COLUMN>
  4556. <COLUMN ID="23647" ColName="VALOR_FRETE" PrevColName="" Pos="26" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4557. <OPTIONSELECTED>
  4558. <OPTIONSELECT VALUE="0" />
  4559. </OPTIONSELECTED>
  4560. </COLUMN>
  4561. <COLUMN ID="23648" ColName="VALOR_SEGURO" PrevColName="" Pos="27" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4562. <OPTIONSELECTED>
  4563. <OPTIONSELECT VALUE="0" />
  4564. </OPTIONSELECTED>
  4565. </COLUMN>
  4566. <COLUMN ID="23670" ColName="OBSERVACAO" PrevColName="" Pos="31" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4567. <OPTIONSELECTED>
  4568. </OPTIONSELECTED>
  4569. </COLUMN>
  4570. <COLUMN ID="86650" ColName="SITUACAO" PrevColName="" Pos="28" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="D=Digitacao | P=Producao | X=Expedicao | F=Faturado | E=Entregue">
  4571. <OPTIONSELECTED>
  4572. <OPTIONSELECT VALUE="0" />
  4573. </OPTIONSELECTED>
  4574. </COLUMN>
  4575. </COLUMNS>
  4576. <RELATIONS_START>
  4577. <RELATION_START ID="46521" />
  4578. <RELATION_START ID="49088" />
  4579. </RELATIONS_START>
  4580. <RELATIONS_END>
  4581. <RELATION_END ID="46522" />
  4582. <RELATION_END ID="46524" />
  4583. <RELATION_END ID="46549" />
  4584. <RELATION_END ID="46559" />
  4585. <RELATION_END ID="54924" />
  4586. <RELATION_END ID="67793" />
  4587. </RELATIONS_END>
  4588. <INDICES>
  4589. <INDEX ID="17115" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4590. <INDEXCOLUMNS>
  4591. <INDEXCOLUMN idColumn="17114" LengthParam="0" />
  4592. </INDEXCOLUMNS>
  4593. </INDEX>
  4594. <INDEX ID="17131" IndexName="FK_ORCAMENTO_VENDA" IndexKind="1" FKRefDef_Obj_id="17129">
  4595. <INDEXCOLUMNS>
  4596. <INDEXCOLUMN idColumn="86628" LengthParam="0" />
  4597. </INDEXCOLUMNS>
  4598. </INDEX>
  4599. <INDEX ID="17160" IndexName="FK_VENDA_CAB_CONDICOES" IndexKind="1" FKRefDef_Obj_id="17158">
  4600. <INDEXCOLUMNS>
  4601. <INDEXCOLUMN idColumn="86627" LengthParam="0" />
  4602. </INDEXCOLUMNS>
  4603. </INDEX>
  4604. <INDEX ID="46551" IndexName="FK_CLIENTE_VENDA_CAB" IndexKind="1" FKRefDef_Obj_id="46549">
  4605. <INDEXCOLUMNS>
  4606. <INDEXCOLUMN idColumn="46582" LengthParam="0" />
  4607. </INDEXCOLUMNS>
  4608. </INDEX>
  4609. <INDEX ID="46562" IndexName="FK_VENDEDOR_VENDA_CAB" IndexKind="1" FKRefDef_Obj_id="46559">
  4610. <INDEXCOLUMNS>
  4611. <INDEXCOLUMN idColumn="46581" LengthParam="0" />
  4612. </INDEXCOLUMNS>
  4613. </INDEX>
  4614. <INDEX ID="54926" IndexName="FK_TIPO_NF_VENDA_CAB" IndexKind="1" FKRefDef_Obj_id="54924">
  4615. <INDEXCOLUMNS>
  4616. <INDEXCOLUMN idColumn="54927" LengthParam="0" />
  4617. </INDEXCOLUMNS>
  4618. </INDEX>
  4619. <INDEX ID="67795" IndexName="FK_TRANSP_VENDA_CAB" IndexKind="1" FKRefDef_Obj_id="67793">
  4620. <INDEXCOLUMNS>
  4621. <INDEXCOLUMN idColumn="67796" LengthParam="0" />
  4622. </INDEXCOLUMNS>
  4623. </INDEX>
  4624. </INDICES>
  4625. </TABLE>
  4626. <TABLE ID="46507" Tablename="VENDA_DETALHE" PrevTableName="Table_10" XPos="3008" YPos="4935" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os itens da venda." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="17116" OrderPos="783" >
  4627. <COLUMNS>
  4628. <COLUMN ID="17121" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4629. <OPTIONSELECTED>
  4630. <OPTIONSELECT VALUE="1" />
  4631. <OPTIONSELECT VALUE="0" />
  4632. </OPTIONSELECTED>
  4633. </COLUMN>
  4634. <COLUMN ID="46585" ColName="ID_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4635. <OPTIONSELECTED>
  4636. <OPTIONSELECT VALUE="1" />
  4637. <OPTIONSELECT VALUE="0" />
  4638. </OPTIONSELECTED>
  4639. </COLUMN>
  4640. <COLUMN ID="28144" ColName="ID_VENDA_CABECALHO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4641. <OPTIONSELECTED>
  4642. <OPTIONSELECT VALUE="1" />
  4643. <OPTIONSELECT VALUE="0" />
  4644. </OPTIONSELECTED>
  4645. </COLUMN>
  4646. <COLUMN ID="17185" ColName="QUANTIDADE" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4647. <OPTIONSELECTED>
  4648. <OPTIONSELECT VALUE="0" />
  4649. </OPTIONSELECTED>
  4650. </COLUMN>
  4651. <COLUMN ID="17186" ColName="VALOR_UNITARIO" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4652. <OPTIONSELECTED>
  4653. <OPTIONSELECT VALUE="0" />
  4654. </OPTIONSELECTED>
  4655. </COLUMN>
  4656. <COLUMN ID="23654" ColName="VALOR_SUBTOTAL" PrevColName="" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4657. <OPTIONSELECTED>
  4658. <OPTIONSELECT VALUE="0" />
  4659. </OPTIONSELECTED>
  4660. </COLUMN>
  4661. <COLUMN ID="17187" ColName="TAXA_DESCONTO" PrevColName="" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4662. <OPTIONSELECTED>
  4663. <OPTIONSELECT VALUE="0" />
  4664. </OPTIONSELECTED>
  4665. </COLUMN>
  4666. <COLUMN ID="17188" ColName="VALOR_DESCONTO" PrevColName="" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4667. <OPTIONSELECTED>
  4668. <OPTIONSELECT VALUE="0" />
  4669. </OPTIONSELECTED>
  4670. </COLUMN>
  4671. <COLUMN ID="17189" ColName="VALOR_TOTAL" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4672. <OPTIONSELECTED>
  4673. <OPTIONSELECT VALUE="0" />
  4674. </OPTIONSELECTED>
  4675. </COLUMN>
  4676. <COLUMN ID="24942" ColName="TAXA_COMISSAO" PrevColName="" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4677. <OPTIONSELECTED>
  4678. <OPTIONSELECT VALUE="0" />
  4679. </OPTIONSELECTED>
  4680. </COLUMN>
  4681. <COLUMN ID="24943" ColName="VALOR_COMISSAO" PrevColName="" Pos="10" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4682. <OPTIONSELECTED>
  4683. <OPTIONSELECT VALUE="0" />
  4684. </OPTIONSELECTED>
  4685. </COLUMN>
  4686. </COLUMNS>
  4687. <RELATIONS_END>
  4688. <RELATION_END ID="46521" />
  4689. <RELATION_END ID="46564" />
  4690. </RELATIONS_END>
  4691. <INDICES>
  4692. <INDEX ID="17122" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4693. <INDEXCOLUMNS>
  4694. <INDEXCOLUMN idColumn="17121" LengthParam="0" />
  4695. </INDEXCOLUMNS>
  4696. </INDEX>
  4697. <INDEX ID="17128" IndexName="FK_VENDA_CAB_DET" IndexKind="1" FKRefDef_Obj_id="17126">
  4698. <INDEXCOLUMNS>
  4699. <INDEXCOLUMN idColumn="28144" LengthParam="0" />
  4700. </INDEXCOLUMNS>
  4701. </INDEX>
  4702. <INDEX ID="46566" IndexName="FK_PRODUTO_VENDA_DET" IndexKind="1" FKRefDef_Obj_id="46564">
  4703. <INDEXCOLUMNS>
  4704. <INDEXCOLUMN idColumn="46585" LengthParam="0" />
  4705. </INDEXCOLUMNS>
  4706. </INDEX>
  4707. </INDICES>
  4708. </TABLE>
  4709. <TABLE ID="46508" Tablename="VENDA_CONDICOES_PAGAMENTO" PrevTableName="Table_11" XPos="1572" YPos="4232" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena as condi\231\245es de pagamento." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="17133" OrderPos="782" >
  4710. <COLUMNS>
  4711. <COLUMN ID="17135" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4712. <OPTIONSELECTED>
  4713. <OPTIONSELECT VALUE="1" />
  4714. <OPTIONSELECT VALUE="0" />
  4715. </OPTIONSELECTED>
  4716. </COLUMN>
  4717. <COLUMN ID="17138" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Exemplo: BOLETO 20/40/60">
  4718. <OPTIONSELECTED>
  4719. <OPTIONSELECT VALUE="0" />
  4720. </OPTIONSELECTED>
  4721. </COLUMN>
  4722. <COLUMN ID="17139" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Texto descritivo da condi\231\227o de pagamento">
  4723. <OPTIONSELECTED>
  4724. </OPTIONSELECTED>
  4725. </COLUMN>
  4726. <COLUMN ID="17140" ColName="FATURAMENTO_MINIMO" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valor m\237nimo para determinado tipo de pagamento. Exemplo: boleto: delimitar o menor valor de uma venda.">
  4727. <OPTIONSELECTED>
  4728. <OPTIONSELECT VALUE="0" />
  4729. </OPTIONSELECTED>
  4730. </COLUMN>
  4731. <COLUMN ID="17141" ColName="FATURAMENTO_MAXIMO" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Valor m\225ximo para determinado tipo de pagamento. Exemplo: boleto: delimitar o maior valor de uma venda.">
  4732. <OPTIONSELECTED>
  4733. <OPTIONSELECT VALUE="0" />
  4734. </OPTIONSELECTED>
  4735. </COLUMN>
  4736. <COLUMN ID="17143" ColName="INDICE_CORRECAO" PrevColName="" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="\205ndice para acr\233scimo nas vendas a prazo sobre o pre\231o de tabela no formato 1 + %/ 100. Exemplo: acr\233scimo de 5% = 1,05. Padr\227o 1(=100%)">
  4737. <OPTIONSELECTED>
  4738. <OPTIONSELECT VALUE="0" />
  4739. </OPTIONSELECTED>
  4740. </COLUMN>
  4741. <COLUMN ID="17144" ColName="DIAS_TOLERANCIA" PrevColName="" Pos="6" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Quantidade de dias de flexibilidade das datas de vencimento dos boletos que podem ser ajustados pelo vendedor para antes ou depois da data definida. Exemplo: a 1\170 parcela vence em 20 dias; se houver uma toler\226ncia de 10 dias, o vendedor pode gerar um boleto para 10 at\233 30 dias. ">
  4742. <OPTIONSELECTED>
  4743. <OPTIONSELECT VALUE="1" />
  4744. <OPTIONSELECT VALUE="0" />
  4745. </OPTIONSELECTED>
  4746. </COLUMN>
  4747. <COLUMN ID="17146" ColName="VALOR_TOLERANCIA" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Permite o ajuste no valor das parcelas de acordo com a toler\226ncia.">
  4748. <OPTIONSELECTED>
  4749. <OPTIONSELECT VALUE="0" />
  4750. </OPTIONSELECTED>
  4751. </COLUMN>
  4752. <COLUMN ID="17147" ColName="PRAZO_MEDIO" PrevColName="" Pos="8" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Calculado pelo sistema de acordo com os prazos definidos para cada parcela.">
  4753. <OPTIONSELECTED>
  4754. <OPTIONSELECT VALUE="1" />
  4755. <OPTIONSELECT VALUE="0" />
  4756. </OPTIONSELECTED>
  4757. </COLUMN>
  4758. </COLUMNS>
  4759. <RELATIONS_START>
  4760. <RELATION_START ID="46523" />
  4761. <RELATION_START ID="46524" />
  4762. <RELATION_START ID="46532" />
  4763. </RELATIONS_START>
  4764. <INDICES>
  4765. <INDEX ID="17136" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4766. <INDEXCOLUMNS>
  4767. <INDEXCOLUMN idColumn="17135" LengthParam="0" />
  4768. </INDEXCOLUMNS>
  4769. </INDEX>
  4770. </INDICES>
  4771. </TABLE>
  4772. <TABLE ID="46509" Tablename="VENDA_CONDICOES_PARCELAS" PrevTableName="Table_12" XPos="1560" YPos="4535" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela matriz para gera\231\227o de parcelas." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="17148" OrderPos="783" >
  4773. <COLUMNS>
  4774. <COLUMN ID="17150" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4775. <OPTIONSELECTED>
  4776. <OPTIONSELECT VALUE="1" />
  4777. <OPTIONSELECT VALUE="0" />
  4778. </OPTIONSELECTED>
  4779. </COLUMN>
  4780. <COLUMN ID="86630" ColName="ID_VENDA_CONDICOES_PAGAMENTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4781. <OPTIONSELECTED>
  4782. <OPTIONSELECT VALUE="1" />
  4783. <OPTIONSELECT VALUE="0" />
  4784. </OPTIONSELECTED>
  4785. </COLUMN>
  4786. <COLUMN ID="17152" ColName="PARCELA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="N\250mero da parcela">
  4787. <OPTIONSELECTED>
  4788. <OPTIONSELECT VALUE="1" />
  4789. <OPTIONSELECT VALUE="0" />
  4790. </OPTIONSELECTED>
  4791. </COLUMN>
  4792. <COLUMN ID="17153" ColName="DIAS" PrevColName="" Pos="2" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Quantidade de dias a partir da data da venda">
  4793. <OPTIONSELECTED>
  4794. <OPTIONSELECT VALUE="1" />
  4795. <OPTIONSELECT VALUE="0" />
  4796. </OPTIONSELECTED>
  4797. </COLUMN>
  4798. <COLUMN ID="17154" ColName="TAXA" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Taxa percentual referente \224 parcela">
  4799. <OPTIONSELECTED>
  4800. <OPTIONSELECT VALUE="0" />
  4801. </OPTIONSELECTED>
  4802. </COLUMN>
  4803. </COLUMNS>
  4804. <RELATIONS_END>
  4805. <RELATION_END ID="46523" />
  4806. </RELATIONS_END>
  4807. <INDICES>
  4808. <INDEX ID="17151" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4809. <INDEXCOLUMNS>
  4810. <INDEXCOLUMN idColumn="17150" LengthParam="0" />
  4811. </INDEXCOLUMNS>
  4812. </INDEX>
  4813. <INDEX ID="17157" IndexName="FK_CONDICOES_PARCELAS" IndexKind="1" FKRefDef_Obj_id="17155">
  4814. <INDEXCOLUMNS>
  4815. <INDEXCOLUMN idColumn="86630" LengthParam="0" />
  4816. </INDEXCOLUMNS>
  4817. </INDEX>
  4818. </INDICES>
  4819. </TABLE>
  4820. <TABLE ID="46630" Tablename="FIN_FECHAMENTO_CAIXA_BANCO" PrevTableName="Table_11" XPos="6082" YPos="4222" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os dados de um fechamento mensal." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="10508" OrderPos="121" >
  4821. <COLUMNS>
  4822. <COLUMN ID="10510" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4823. <OPTIONSELECTED>
  4824. <OPTIONSELECT VALUE="1" />
  4825. <OPTIONSELECT VALUE="0" />
  4826. </OPTIONSELECTED>
  4827. </COLUMN>
  4828. <COLUMN ID="46644" ColName="ID_CONTA_CAIXA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4829. <OPTIONSELECTED>
  4830. <OPTIONSELECT VALUE="1" />
  4831. <OPTIONSELECT VALUE="0" />
  4832. </OPTIONSELECTED>
  4833. </COLUMN>
  4834. <COLUMN ID="10512" ColName="DATA_FECHAMENTO" PrevColName="DATA_EMISSAO" Pos="1" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4835. <OPTIONSELECTED>
  4836. </OPTIONSELECTED>
  4837. </COLUMN>
  4838. <COLUMN ID="83279" ColName="MES_ANO" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(7)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Formato MM/AAAA para facilitar algumas consultas">
  4839. <OPTIONSELECTED>
  4840. <OPTIONSELECT VALUE="0" />
  4841. </OPTIONSELECTED>
  4842. </COLUMN>
  4843. <COLUMN ID="10544" ColName="MES" PrevColName="DATA_COMPENSACAO" Pos="3" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4844. <OPTIONSELECTED>
  4845. <OPTIONSELECT VALUE="0" />
  4846. </OPTIONSELECTED>
  4847. </COLUMN>
  4848. <COLUMN ID="10513" ColName="ANO" PrevColName="VALOR" Pos="2" idDatatype="19" DatatypeParams="(4)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4849. <OPTIONSELECTED>
  4850. <OPTIONSELECT VALUE="0" />
  4851. </OPTIONSELECTED>
  4852. </COLUMN>
  4853. <COLUMN ID="10514" ColName="SALDO_ANTERIOR" PrevColName="NOMINAL_A" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4854. <OPTIONSELECTED>
  4855. <OPTIONSELECT VALUE="0" />
  4856. </OPTIONSELECTED>
  4857. </COLUMN>
  4858. <COLUMN ID="20362" ColName="RECEBIMENTOS" PrevColName="" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4859. <OPTIONSELECTED>
  4860. <OPTIONSELECT VALUE="0" />
  4861. </OPTIONSELECTED>
  4862. </COLUMN>
  4863. <COLUMN ID="20363" ColName="PAGAMENTOS" PrevColName="" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4864. <OPTIONSELECTED>
  4865. <OPTIONSELECT VALUE="0" />
  4866. </OPTIONSELECTED>
  4867. </COLUMN>
  4868. <COLUMN ID="20365" ColName="SALDO_CONTA" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4869. <OPTIONSELECTED>
  4870. <OPTIONSELECT VALUE="0" />
  4871. </OPTIONSELECTED>
  4872. </COLUMN>
  4873. <COLUMN ID="20364" ColName="CHEQUE_NAO_COMPENSADO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4874. <OPTIONSELECTED>
  4875. <OPTIONSELECT VALUE="0" />
  4876. </OPTIONSELECTED>
  4877. </COLUMN>
  4878. <COLUMN ID="20366" ColName="SALDO_DISPONIVEL" PrevColName="" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4879. <OPTIONSELECTED>
  4880. <OPTIONSELECT VALUE="0" />
  4881. </OPTIONSELECTED>
  4882. </COLUMN>
  4883. </COLUMNS>
  4884. <RELATIONS_END>
  4885. <RELATION_END ID="46638" />
  4886. </RELATIONS_END>
  4887. <INDICES>
  4888. <INDEX ID="10511" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4889. <INDEXCOLUMNS>
  4890. <INDEXCOLUMN idColumn="10510" LengthParam="0" />
  4891. </INDEXCOLUMNS>
  4892. </INDEX>
  4893. <INDEX ID="46640" IndexName="FK_CONTA_CX_FECHAMENTO" IndexKind="1" FKRefDef_Obj_id="46638">
  4894. <INDEXCOLUMNS>
  4895. <INDEXCOLUMN idColumn="46644" LengthParam="0" />
  4896. </INDEXCOLUMNS>
  4897. </INDEX>
  4898. </INDICES>
  4899. </TABLE>
  4900. <TABLE ID="46633" Tablename="FIN_EXTRATO_CONTA_BANCO" PrevTableName="Table_02" XPos="5802" YPos="4192" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os dados do extrato banc\225rio." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="44911" OrderPos="119" >
  4901. <COLUMNS>
  4902. <COLUMN ID="24486" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4903. <OPTIONSELECTED>
  4904. <OPTIONSELECT VALUE="1" />
  4905. <OPTIONSELECT VALUE="0" />
  4906. </OPTIONSELECTED>
  4907. </COLUMN>
  4908. <COLUMN ID="46645" ColName="ID_CONTA_CAIXA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4909. <OPTIONSELECTED>
  4910. <OPTIONSELECT VALUE="1" />
  4911. <OPTIONSELECT VALUE="0" />
  4912. </OPTIONSELECTED>
  4913. </COLUMN>
  4914. <COLUMN ID="83283" ColName="MES_ANO" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(7)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Formato MM/AAAA para facilitar algumas consultas">
  4915. <OPTIONSELECTED>
  4916. <OPTIONSELECT VALUE="0" />
  4917. </OPTIONSELECTED>
  4918. </COLUMN>
  4919. <COLUMN ID="24497" ColName="MES" PrevColName="" Pos="1" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4920. <OPTIONSELECTED>
  4921. <OPTIONSELECT VALUE="0" />
  4922. </OPTIONSELECTED>
  4923. </COLUMN>
  4924. <COLUMN ID="24498" ColName="ANO" PrevColName="" Pos="2" idDatatype="19" DatatypeParams="(4)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4925. <OPTIONSELECTED>
  4926. <OPTIONSELECT VALUE="0" />
  4927. </OPTIONSELECTED>
  4928. </COLUMN>
  4929. <COLUMN ID="24500" ColName="DATA_MOVIMENTO" PrevColName="" Pos="3" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4930. <OPTIONSELECTED>
  4931. </OPTIONSELECTED>
  4932. </COLUMN>
  4933. <COLUMN ID="24501" ColName="DATA_BALANCETE" PrevColName="" Pos="4" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4934. <OPTIONSELECTED>
  4935. </OPTIONSELECTED>
  4936. </COLUMN>
  4937. <COLUMN ID="24502" ColName="HISTORICO" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4938. <OPTIONSELECTED>
  4939. <OPTIONSELECT VALUE="0" />
  4940. </OPTIONSELECTED>
  4941. </COLUMN>
  4942. <COLUMN ID="24503" ColName="DOCUMENTO" PrevColName="GED_DOCUMENTO" Pos="6" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4943. <OPTIONSELECTED>
  4944. <OPTIONSELECT VALUE="0" />
  4945. </OPTIONSELECTED>
  4946. </COLUMN>
  4947. <COLUMN ID="24504" ColName="VALOR" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4948. <OPTIONSELECTED>
  4949. <OPTIONSELECT VALUE="0" />
  4950. </OPTIONSELECTED>
  4951. </COLUMN>
  4952. <COLUMN ID="24511" ColName="CONCILIADO" PrevColName="" Pos="9" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=SIM | N=N\195O">
  4953. <OPTIONSELECTED>
  4954. <OPTIONSELECT VALUE="0" />
  4955. </OPTIONSELECTED>
  4956. </COLUMN>
  4957. <COLUMN ID="24512" ColName="OBSERVACAO" PrevColName="OBSERVACOES" Pos="10" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  4958. <OPTIONSELECTED>
  4959. </OPTIONSELECTED>
  4960. </COLUMN>
  4961. </COLUMNS>
  4962. <RELATIONS_END>
  4963. <RELATION_END ID="46641" />
  4964. </RELATIONS_END>
  4965. <INDICES>
  4966. <INDEX ID="24487" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  4967. <INDEXCOLUMNS>
  4968. <INDEXCOLUMN idColumn="24486" LengthParam="0" />
  4969. </INDEXCOLUMNS>
  4970. </INDEX>
  4971. <INDEX ID="46643" IndexName="FK_CONTA_CX_EXTRATO" IndexKind="1" FKRefDef_Obj_id="46641">
  4972. <INDEXCOLUMNS>
  4973. <INDEXCOLUMN idColumn="46645" LengthParam="0" />
  4974. </INDEXCOLUMNS>
  4975. </INDEX>
  4976. </INDICES>
  4977. </TABLE>
  4978. <TABLE ID="46754" Tablename="FIN_LANCAMENTO_PAGAR" PrevTableName="Table_01" XPos="3455" YPos="4522" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela de lan\231amentos das contas a pagar." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="1112" OrderPos="128" >
  4979. <COLUMNS>
  4980. <COLUMN ID="1119" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  4981. <OPTIONSELECTED>
  4982. <OPTIONSELECT VALUE="1" />
  4983. <OPTIONSELECT VALUE="0" />
  4984. </OPTIONSELECTED>
  4985. </COLUMN>
  4986. <COLUMN ID="80190" ColName="ID_FIN_DOCUMENTO_ORIGEM" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4987. <OPTIONSELECTED>
  4988. <OPTIONSELECT VALUE="1" />
  4989. <OPTIONSELECT VALUE="0" />
  4990. </OPTIONSELECTED>
  4991. </COLUMN>
  4992. <COLUMN ID="79990" ColName="ID_FORNECEDOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  4993. <OPTIONSELECTED>
  4994. <OPTIONSELECT VALUE="1" />
  4995. <OPTIONSELECT VALUE="0" />
  4996. </OPTIONSELECTED>
  4997. </COLUMN>
  4998. <COLUMN ID="10379" ColName="PAGAMENTO_COMPARTILHADO" PrevColName="" Pos="4" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=SIM | N=N\195O">
  4999. <OPTIONSELECTED>
  5000. <OPTIONSELECT VALUE="0" />
  5001. </OPTIONSELECTED>
  5002. </COLUMN>
  5003. <COLUMN ID="23820" ColName="QUANTIDADE_PARCELA" PrevColName="" Pos="9" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5004. <OPTIONSELECTED>
  5005. <OPTIONSELECT VALUE="1" />
  5006. <OPTIONSELECT VALUE="0" />
  5007. </OPTIONSELECTED>
  5008. </COLUMN>
  5009. <COLUMN ID="1121" ColName="VALOR_TOTAL" PrevColName="VARLO" Pos="1" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5010. <OPTIONSELECTED>
  5011. <OPTIONSELECT VALUE="0" />
  5012. </OPTIONSELECTED>
  5013. </COLUMN>
  5014. <COLUMN ID="10380" ColName="VALOR_A_PAGAR" PrevColName="" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5015. <OPTIONSELECTED>
  5016. <OPTIONSELECT VALUE="0" />
  5017. </OPTIONSELECTED>
  5018. </COLUMN>
  5019. <COLUMN ID="10248" ColName="DATA_LANCAMENTO" PrevColName="" Pos="5" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5020. <OPTIONSELECTED>
  5021. </OPTIONSELECTED>
  5022. </COLUMN>
  5023. <COLUMN ID="80003" ColName="NUMERO_DOCUMENTO" PrevColName="" Pos="8" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="N\250mero do documento que deu origem ao lan\231amento">
  5024. <OPTIONSELECTED>
  5025. <OPTIONSELECT VALUE="0" />
  5026. </OPTIONSELECTED>
  5027. </COLUMN>
  5028. <COLUMN ID="10599" ColName="IMAGEM_DOCUMENTO" PrevColName="" Pos="7" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Armazena o caminho da imagem do documento, caso seja scaneado.">
  5029. <OPTIONSELECTED>
  5030. </OPTIONSELECTED>
  5031. </COLUMN>
  5032. <COLUMN ID="23868" ColName="PRIMEIRO_VENCIMENTO" PrevColName="" Pos="10" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5033. <OPTIONSELECTED>
  5034. </OPTIONSELECTED>
  5035. </COLUMN>
  5036. <COLUMN ID="80002" ColName="CODIGO_MODULO_LCTO" PrevColName="" Pos="11" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo do m\243dulo que realizou o lan\231amento">
  5037. <OPTIONSELECTED>
  5038. <OPTIONSELECT VALUE="0" />
  5039. </OPTIONSELECTED>
  5040. </COLUMN>
  5041. <COLUMN ID="80107" ColName="INTERVALO_ENTRE_PARCELAS" PrevColName="" Pos="12" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Para calcular o intervalo entre as parcelas">
  5042. <OPTIONSELECTED>
  5043. <OPTIONSELECT VALUE="1" />
  5044. <OPTIONSELECT VALUE="0" />
  5045. </OPTIONSELECTED>
  5046. </COLUMN>
  5047. </COLUMNS>
  5048. <RELATIONS_START>
  5049. <RELATION_START ID="46815" />
  5050. <RELATION_START ID="48807" />
  5051. </RELATIONS_START>
  5052. <RELATIONS_END>
  5053. <RELATION_END ID="46812" />
  5054. <RELATION_END ID="79987" />
  5055. </RELATIONS_END>
  5056. <INDICES>
  5057. <INDEX ID="1120" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5058. <INDEXCOLUMNS>
  5059. <INDEXCOLUMN idColumn="1119" LengthParam="0" />
  5060. </INDEXCOLUMNS>
  5061. </INDEX>
  5062. <INDEX ID="10233" IndexName="FK_DOC_ORIG_LCTO_PAGAR" IndexKind="1" FKRefDef_Obj_id="10231">
  5063. <INDEXCOLUMNS>
  5064. <INDEXCOLUMN idColumn="80190" LengthParam="0" />
  5065. </INDEXCOLUMNS>
  5066. </INDEX>
  5067. <INDEX ID="79989" IndexName="FK_FORNECEDOR_LCTO_PAGAR" IndexKind="1" FKRefDef_Obj_id="79987">
  5068. <INDEXCOLUMNS>
  5069. <INDEXCOLUMN idColumn="79990" LengthParam="0" />
  5070. </INDEXCOLUMNS>
  5071. </INDEX>
  5072. </INDICES>
  5073. </TABLE>
  5074. <TABLE ID="46755" Tablename="FIN_PARCELA_PAGAR" PrevTableName="Table_02" XPos="3815" YPos="4392" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que garda as parcelas para pagamento. Caso o pagamento seja efetuado de uma vez, a tabela LANCAMENTO_PAGAR gerar\225 uma parcela para ser paga e a mesma ser\225 armazenada nesta tabela." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="1113" OrderPos="167" >
  5075. <COLUMNS>
  5076. <COLUMN ID="1125" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5077. <OPTIONSELECTED>
  5078. <OPTIONSELECT VALUE="1" />
  5079. <OPTIONSELECT VALUE="0" />
  5080. </OPTIONSELECTED>
  5081. </COLUMN>
  5082. <COLUMN ID="81398" ColName="ID_CONTA_CAIXA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="Informa a conta/caixa prevista para o recebimento da parcela">
  5083. <OPTIONSELECTED>
  5084. <OPTIONSELECT VALUE="1" />
  5085. <OPTIONSELECT VALUE="0" />
  5086. </OPTIONSELECTED>
  5087. </COLUMN>
  5088. <COLUMN ID="80195" ColName="ID_FIN_LANCAMENTO_PAGAR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5089. <OPTIONSELECTED>
  5090. <OPTIONSELECT VALUE="1" />
  5091. <OPTIONSELECT VALUE="0" />
  5092. </OPTIONSELECTED>
  5093. </COLUMN>
  5094. <COLUMN ID="80194" ColName="ID_FIN_STATUS_PARCELA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5095. <OPTIONSELECTED>
  5096. <OPTIONSELECT VALUE="1" />
  5097. <OPTIONSELECT VALUE="0" />
  5098. </OPTIONSELECTED>
  5099. </COLUMN>
  5100. <COLUMN ID="23822" ColName="NUMERO_PARCELA" PrevColName="" Pos="3" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5101. <OPTIONSELECTED>
  5102. <OPTIONSELECT VALUE="1" />
  5103. <OPTIONSELECT VALUE="0" />
  5104. </OPTIONSELECTED>
  5105. </COLUMN>
  5106. <COLUMN ID="1128" ColName="DATA_EMISSAO" PrevColName="VENCIMENTO" Pos="2" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5107. <OPTIONSELECTED>
  5108. </OPTIONSELECTED>
  5109. </COLUMN>
  5110. <COLUMN ID="1129" ColName="DATA_VENCIMENTO" PrevColName="EMISSAO" Pos="3" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5111. <OPTIONSELECTED>
  5112. </OPTIONSELECTED>
  5113. </COLUMN>
  5114. <COLUMN ID="10659" ColName="DESCONTO_ATE" PrevColName="" Pos="13" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Conceder desconto at\233 a data especificada">
  5115. <OPTIONSELECTED>
  5116. </OPTIONSELECTED>
  5117. </COLUMN>
  5118. <COLUMN ID="10610" ColName="SOFRE_RETENCAO" PrevColName="" Pos="6" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Dado que \233 importado da tabela do fornecedor para controlar as parcelas com reten\231\227o de pagamento.">
  5119. <OPTIONSELECTED>
  5120. <OPTIONSELECT VALUE="0" />
  5121. </OPTIONSELECTED>
  5122. </COLUMN>
  5123. <COLUMN ID="1127" ColName="VALOR" PrevColName="VALOR_PARCELA" Pos="1" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5124. <OPTIONSELECTED>
  5125. <OPTIONSELECT VALUE="0" />
  5126. </OPTIONSELECTED>
  5127. </COLUMN>
  5128. <COLUMN ID="10653" ColName="TAXA_JURO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Previs\227o">
  5129. <OPTIONSELECTED>
  5130. <OPTIONSELECT VALUE="0" />
  5131. </OPTIONSELECTED>
  5132. </COLUMN>
  5133. <COLUMN ID="10654" ColName="TAXA_MULTA" PrevColName="" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Previs\227o">
  5134. <OPTIONSELECTED>
  5135. <OPTIONSELECT VALUE="0" />
  5136. </OPTIONSELECTED>
  5137. </COLUMN>
  5138. <COLUMN ID="10655" ColName="TAXA_DESCONTO" PrevColName="" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Previs\227o">
  5139. <OPTIONSELECTED>
  5140. <OPTIONSELECT VALUE="0" />
  5141. </OPTIONSELECTED>
  5142. </COLUMN>
  5143. <COLUMN ID="10656" ColName="VALOR_JURO" PrevColName="" Pos="10" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5144. <OPTIONSELECTED>
  5145. <OPTIONSELECT VALUE="0" />
  5146. </OPTIONSELECTED>
  5147. </COLUMN>
  5148. <COLUMN ID="10657" ColName="VALOR_MULTA" PrevColName="" Pos="11" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5149. <OPTIONSELECTED>
  5150. <OPTIONSELECT VALUE="0" />
  5151. </OPTIONSELECTED>
  5152. </COLUMN>
  5153. <COLUMN ID="10658" ColName="VALOR_DESCONTO" PrevColName="" Pos="12" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5154. <OPTIONSELECTED>
  5155. <OPTIONSELECT VALUE="0" />
  5156. </OPTIONSELECTED>
  5157. </COLUMN>
  5158. </COLUMNS>
  5159. <RELATIONS_START>
  5160. <RELATION_START ID="46814" />
  5161. </RELATIONS_START>
  5162. <RELATIONS_END>
  5163. <RELATION_END ID="46813" />
  5164. <RELATION_END ID="46815" />
  5165. <RELATION_END ID="81393" />
  5166. </RELATIONS_END>
  5167. <INDICES>
  5168. <INDEX ID="1126" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5169. <INDEXCOLUMNS>
  5170. <INDEXCOLUMN idColumn="1125" LengthParam="0" />
  5171. </INDEXCOLUMNS>
  5172. </INDEX>
  5173. <INDEX ID="10244" IndexName="FK_STATUS_PARCELA_PAGAR" IndexKind="1" FKRefDef_Obj_id="10242">
  5174. <INDEXCOLUMNS>
  5175. <INDEXCOLUMN idColumn="80194" LengthParam="0" />
  5176. </INDEXCOLUMNS>
  5177. </INDEX>
  5178. <INDEX ID="10375" IndexName="FK_LANCAMENTO_PARCELA" IndexKind="1" FKRefDef_Obj_id="10373">
  5179. <INDEXCOLUMNS>
  5180. <INDEXCOLUMN idColumn="80195" LengthParam="0" />
  5181. </INDEXCOLUMNS>
  5182. </INDEX>
  5183. <INDEX ID="81395" IndexName="FK_CTA_CX_PAR_PAG" IndexKind="1" FKRefDef_Obj_id="81393">
  5184. <INDEXCOLUMNS>
  5185. <INDEXCOLUMN idColumn="81398" LengthParam="0" />
  5186. </INDEXCOLUMNS>
  5187. </INDEX>
  5188. </INDICES>
  5189. </TABLE>
  5190. <TABLE ID="46756" Tablename="FIN_PARCELA_PAGAMENTO" PrevTableName="Table_03" XPos="3752" YPos="4662" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que controla o recebimento das parcelas. N\227o se aproveita a tabela PARCELA_PAGAR porque podem existir pagamentos parciais de parcela, neste caso o controle deve ser feito em tabelas separadas. No caso de uma parcela que \233 paga de forma integral, a mesma ser\225 replicada da tabela PARCELA_PAGAR para a tabela PARCELA_PAGAMENTO e os dados dos campos adicionais ser\227o informados." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="1114" OrderPos="162" >
  5191. <COLUMNS>
  5192. <COLUMN ID="1135" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5193. <OPTIONSELECTED>
  5194. <OPTIONSELECT VALUE="1" />
  5195. <OPTIONSELECT VALUE="0" />
  5196. </OPTIONSELECTED>
  5197. </COLUMN>
  5198. <COLUMN ID="80204" ColName="ID_FIN_PARCELA_PAGAR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5199. <OPTIONSELECTED>
  5200. <OPTIONSELECT VALUE="1" />
  5201. <OPTIONSELECT VALUE="0" />
  5202. </OPTIONSELECTED>
  5203. </COLUMN>
  5204. <COLUMN ID="80201" ColName="ID_FIN_CHEQUE_EMITIDO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5205. <OPTIONSELECTED>
  5206. <OPTIONSELECT VALUE="1" />
  5207. <OPTIONSELECT VALUE="0" />
  5208. </OPTIONSELECTED>
  5209. </COLUMN>
  5210. <COLUMN ID="80200" ColName="ID_FIN_TIPO_PAGAMENTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5211. <OPTIONSELECTED>
  5212. <OPTIONSELECT VALUE="1" />
  5213. <OPTIONSELECT VALUE="0" />
  5214. </OPTIONSELECTED>
  5215. </COLUMN>
  5216. <COLUMN ID="48789" ColName="ID_CONTA_CAIXA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5217. <OPTIONSELECTED>
  5218. <OPTIONSELECT VALUE="1" />
  5219. <OPTIONSELECT VALUE="0" />
  5220. </OPTIONSELECTED>
  5221. </COLUMN>
  5222. <COLUMN ID="1138" ColName="DATA_PAGAMENTO" PrevColName="" Pos="2" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5223. <OPTIONSELECTED>
  5224. </OPTIONSELECTED>
  5225. </COLUMN>
  5226. <COLUMN ID="10275" ColName="TAXA_JURO" PrevColName="" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5227. <OPTIONSELECTED>
  5228. <OPTIONSELECT VALUE="0" />
  5229. </OPTIONSELECTED>
  5230. </COLUMN>
  5231. <COLUMN ID="10276" ColName="TAXA_MULTA" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5232. <OPTIONSELECTED>
  5233. <OPTIONSELECT VALUE="0" />
  5234. </OPTIONSELECTED>
  5235. </COLUMN>
  5236. <COLUMN ID="10661" ColName="TAXA_DESCONTO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5237. <OPTIONSELECTED>
  5238. <OPTIONSELECT VALUE="0" />
  5239. </OPTIONSELECTED>
  5240. </COLUMN>
  5241. <COLUMN ID="10277" ColName="VALOR_JURO" PrevColName="" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5242. <OPTIONSELECTED>
  5243. <OPTIONSELECT VALUE="0" />
  5244. </OPTIONSELECTED>
  5245. </COLUMN>
  5246. <COLUMN ID="10278" ColName="VALOR_MULTA" PrevColName="" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5247. <OPTIONSELECTED>
  5248. <OPTIONSELECT VALUE="0" />
  5249. </OPTIONSELECTED>
  5250. </COLUMN>
  5251. <COLUMN ID="10662" ColName="VALOR_DESCONTO" PrevColName="" Pos="10" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5252. <OPTIONSELECTED>
  5253. <OPTIONSELECT VALUE="0" />
  5254. </OPTIONSELECTED>
  5255. </COLUMN>
  5256. <COLUMN ID="10279" ColName="VALOR_PAGO" PrevColName="" Pos="10" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5257. <OPTIONSELECTED>
  5258. <OPTIONSELECT VALUE="0" />
  5259. </OPTIONSELECTED>
  5260. </COLUMN>
  5261. <COLUMN ID="10604" ColName="HISTORICO" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Hist\243rico do pagamento">
  5262. <OPTIONSELECTED>
  5263. <OPTIONSELECT VALUE="0" />
  5264. </OPTIONSELECTED>
  5265. </COLUMN>
  5266. </COLUMNS>
  5267. <RELATIONS_END>
  5268. <RELATION_END ID="46814" />
  5269. <RELATION_END ID="46817" />
  5270. <RELATION_END ID="46818" />
  5271. <RELATION_END ID="48786" />
  5272. </RELATIONS_END>
  5273. <INDICES>
  5274. <INDEX ID="1136" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5275. <INDEXCOLUMNS>
  5276. <INDEXCOLUMN idColumn="1135" LengthParam="0" />
  5277. </INDEXCOLUMNS>
  5278. </INDEX>
  5279. <INDEX ID="10264" IndexName="FK_PARCELA_PAGAMENTO" IndexKind="1" FKRefDef_Obj_id="10262">
  5280. <INDEXCOLUMNS>
  5281. <INDEXCOLUMN idColumn="80204" LengthParam="0" />
  5282. </INDEXCOLUMNS>
  5283. </INDEX>
  5284. <INDEX ID="10521" IndexName="FK_CHEQUE_PARCELA" IndexKind="1" FKRefDef_Obj_id="10519">
  5285. <INDEXCOLUMNS>
  5286. <INDEXCOLUMN idColumn="80201" LengthParam="0" />
  5287. </INDEXCOLUMNS>
  5288. </INDEX>
  5289. <INDEX ID="10539" IndexName="FK_TIPO_PAGAMENTO_PARCELA" IndexKind="1" FKRefDef_Obj_id="10537">
  5290. <INDEXCOLUMNS>
  5291. <INDEXCOLUMN idColumn="80200" LengthParam="0" />
  5292. </INDEXCOLUMNS>
  5293. </INDEX>
  5294. <INDEX ID="48788" IndexName="FK_CONTA_CX_PARC_PGTO" IndexKind="1" FKRefDef_Obj_id="48786">
  5295. <INDEXCOLUMNS>
  5296. <INDEXCOLUMN idColumn="48789" LengthParam="0" />
  5297. </INDEXCOLUMNS>
  5298. </INDEX>
  5299. </INDICES>
  5300. </TABLE>
  5301. <TABLE ID="46759" Tablename="FIN_DOCUMENTO_ORIGEM" PrevTableName="Table_09" XPos="4482" YPos="4558" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela para cadastro dos tipo de documentos que podem gerar contas a pagar/receber: nota fiscal, boleto, recibo, etc." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="10226" OrderPos="117" >
  5302. <COLUMNS>
  5303. <COLUMN ID="10228" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5304. <OPTIONSELECTED>
  5305. <OPTIONSELECT VALUE="1" />
  5306. <OPTIONSELECT VALUE="0" />
  5307. </OPTIONSELECTED>
  5308. </COLUMN>
  5309. <COLUMN ID="50253" ColName="CODIGO" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5310. <OPTIONSELECTED>
  5311. <OPTIONSELECT VALUE="0" />
  5312. </OPTIONSELECTED>
  5313. </COLUMN>
  5314. <COLUMN ID="50284" ColName="SIGLA_DOCUMENTO" PrevColName="" Pos="4" idDatatype="19" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="NF, CHQ, NFe, DP, NP, CTe, CT, CF, CFe">
  5315. <OPTIONSELECTED>
  5316. <OPTIONSELECT VALUE="0" />
  5317. </OPTIONSELECTED>
  5318. </COLUMN>
  5319. <COLUMN ID="10230" ColName="DESCRICAO" PrevColName="" Pos="1" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="NOTA FISCAL | BOLETO | RECIBO | ETC.">
  5320. <OPTIONSELECTED>
  5321. </OPTIONSELECTED>
  5322. </COLUMN>
  5323. </COLUMNS>
  5324. <RELATIONS_START>
  5325. <RELATION_START ID="46812" />
  5326. <RELATION_START ID="50291" />
  5327. </RELATIONS_START>
  5328. <INDICES>
  5329. <INDEX ID="10229" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5330. <INDEXCOLUMNS>
  5331. <INDEXCOLUMN idColumn="10228" LengthParam="0" />
  5332. </INDEXCOLUMNS>
  5333. </INDEX>
  5334. </INDICES>
  5335. </TABLE>
  5336. <TABLE ID="46760" Tablename="FIN_STATUS_PARCELA" PrevTableName="Table_10" XPos="4572" YPos="4338" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que armazena as poss\237veis situa\231\245es de uma parcela: PAGO, BAIXA PARCIAL, EM ABERTO,  RETENCAO, etc.\nStatus padr\245es:\n01 = Aberto | 02 = Quitado | 03 = Quitado Parcial | 04 = Vencido" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="10236" OrderPos="172" >
  5337. <COLUMNS>
  5338. <COLUMN ID="10238" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5339. <OPTIONSELECTED>
  5340. <OPTIONSELECT VALUE="1" />
  5341. <OPTIONSELECT VALUE="0" />
  5342. </OPTIONSELECTED>
  5343. </COLUMN>
  5344. <COLUMN ID="22073" ColName="SITUACAO" PrevColName="" Pos="1" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="01 = Aberto | 02 = Quitado | 03 = Quitado Parcial | 04 = Vencido">
  5345. <OPTIONSELECTED>
  5346. <OPTIONSELECT VALUE="0" />
  5347. </OPTIONSELECTED>
  5348. </COLUMN>
  5349. <COLUMN ID="10240" ColName="DESCRICAO" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="PAGO | BAIXA PARCIAL | EM ABERTO | ETC">
  5350. <OPTIONSELECTED>
  5351. <OPTIONSELECT VALUE="0" />
  5352. </OPTIONSELECTED>
  5353. </COLUMN>
  5354. <COLUMN ID="10607" ColName="PROCEDIMENTO" PrevColName="" Pos="2" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Procedimento a ser adotado para o status em quest\227o">
  5355. <OPTIONSELECTED>
  5356. </OPTIONSELECTED>
  5357. </COLUMN>
  5358. </COLUMNS>
  5359. <RELATIONS_START>
  5360. <RELATION_START ID="46813" />
  5361. <RELATION_START ID="48955" />
  5362. </RELATIONS_START>
  5363. <INDICES>
  5364. <INDEX ID="10239" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5365. <INDEXCOLUMNS>
  5366. <INDEXCOLUMN idColumn="10238" LengthParam="0" />
  5367. </INDEXCOLUMNS>
  5368. </INDEX>
  5369. </INDICES>
  5370. </TABLE>
  5371. <TABLE ID="46761" Tablename="FIN_TIPO_PAGAMENTO" PrevTableName="Table_11" XPos="3748" YPos="4858" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que armazena os tipos de pagamento: DINHEIRO, CART\195O, CHEQUE, etc.\nTipos pad\245es j\225 cadastrados pelo sistema:\n01 = Dinheiro | 02 = Cheque | 03 = Cartao" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="10249" OrderPos="173" >
  5372. <COLUMNS>
  5373. <COLUMN ID="10251" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5374. <OPTIONSELECTED>
  5375. <OPTIONSELECT VALUE="1" />
  5376. <OPTIONSELECT VALUE="0" />
  5377. </OPTIONSELECTED>
  5378. </COLUMN>
  5379. <COLUMN ID="22085" ColName="TIPO" PrevColName="" Pos="1" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="01 = Dinheiro | 02 = Cheque | 03 = Cartao">
  5380. <OPTIONSELECTED>
  5381. <OPTIONSELECT VALUE="0" />
  5382. </OPTIONSELECTED>
  5383. </COLUMN>
  5384. <COLUMN ID="10253" ColName="DESCRICAO" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="DINHEIRO | CHEQUE | CARTAO | BANCO | ETC">
  5385. <OPTIONSELECTED>
  5386. <OPTIONSELECT VALUE="0" />
  5387. </OPTIONSELECTED>
  5388. </COLUMN>
  5389. </COLUMNS>
  5390. <RELATIONS_START>
  5391. <RELATION_START ID="46818" />
  5392. </RELATIONS_START>
  5393. <INDICES>
  5394. <INDEX ID="10252" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5395. <INDEXCOLUMNS>
  5396. <INDEXCOLUMN idColumn="10251" LengthParam="0" />
  5397. </INDEXCOLUMNS>
  5398. </INDEX>
  5399. </INDICES>
  5400. </TABLE>
  5401. <TABLE ID="46763" Tablename="FIN_CHEQUE_EMITIDO" PrevTableName="Table_11" XPos="4268" YPos="4462" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que faz o controle dos cheque emitidos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="10508" OrderPos="99" >
  5402. <COLUMNS>
  5403. <COLUMN ID="10510" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5404. <OPTIONSELECTED>
  5405. <OPTIONSELECT VALUE="1" />
  5406. <OPTIONSELECT VALUE="0" />
  5407. </OPTIONSELECTED>
  5408. </COLUMN>
  5409. <COLUMN ID="49072" ColName="ID_CHEQUE" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5410. <OPTIONSELECTED>
  5411. <OPTIONSELECT VALUE="1" />
  5412. <OPTIONSELECT VALUE="0" />
  5413. </OPTIONSELECTED>
  5414. </COLUMN>
  5415. <COLUMN ID="10512" ColName="DATA_EMISSAO" PrevColName="" Pos="1" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Dia em que o cheque foi emitido">
  5416. <OPTIONSELECTED>
  5417. </OPTIONSELECTED>
  5418. </COLUMN>
  5419. <COLUMN ID="82503" ColName="BOM_PARA" PrevColName="" Pos="3" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Dia previsto para a compensa\231\227o do cheque">
  5420. <OPTIONSELECTED>
  5421. </OPTIONSELECTED>
  5422. </COLUMN>
  5423. <COLUMN ID="10544" ColName="DATA_COMPENSACAO" PrevColName="" Pos="3" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Dia em que o cheque foi compensado">
  5424. <OPTIONSELECTED>
  5425. </OPTIONSELECTED>
  5426. </COLUMN>
  5427. <COLUMN ID="10513" ColName="VALOR" PrevColName="" Pos="2" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5428. <OPTIONSELECTED>
  5429. <OPTIONSELECT VALUE="0" />
  5430. </OPTIONSELECTED>
  5431. </COLUMN>
  5432. <COLUMN ID="10514" ColName="NOMINAL_A" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5433. <OPTIONSELECTED>
  5434. <OPTIONSELECT VALUE="0" />
  5435. </OPTIONSELECTED>
  5436. </COLUMN>
  5437. </COLUMNS>
  5438. <RELATIONS_START>
  5439. <RELATION_START ID="46817" />
  5440. </RELATIONS_START>
  5441. <RELATIONS_END>
  5442. <RELATION_END ID="49069" />
  5443. </RELATIONS_END>
  5444. <INDICES>
  5445. <INDEX ID="10511" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5446. <INDEXCOLUMNS>
  5447. <INDEXCOLUMN idColumn="10510" LengthParam="0" />
  5448. </INDEXCOLUMNS>
  5449. </INDEX>
  5450. <INDEX ID="49071" IndexName="FK_CHEQUE_EMITIDO" IndexKind="1" FKRefDef_Obj_id="49069">
  5451. <INDEXCOLUMNS>
  5452. <INDEXCOLUMN idColumn="49072" LengthParam="0" />
  5453. </INDEXCOLUMNS>
  5454. </INDEX>
  5455. </INDICES>
  5456. </TABLE>
  5457. <TABLE ID="47700" Tablename="NATUREZA_FINANCEIRA" PrevTableName="Table_24" XPos="4238" YPos="4832" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Rela\231\227o de contas de natureza financeira. \n \nA natureza financeira armazena as contas com uma descri\231\227o mais conhecida pelos usu\225rio, diferentemente das contas cont\225beis. " Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="38940" OrderPos="180" >
  5458. <COLUMNS>
  5459. <COLUMN ID="38942" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5460. <OPTIONSELECTED>
  5461. <OPTIONSELECT VALUE="1" />
  5462. <OPTIONSELECT VALUE="0" />
  5463. </OPTIONSELECTED>
  5464. </COLUMN>
  5465. <COLUMN ID="54220" ColName="ID_PLANO_NATUREZA_FINANCEIRA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5466. <OPTIONSELECTED>
  5467. <OPTIONSELECT VALUE="1" />
  5468. <OPTIONSELECT VALUE="0" />
  5469. </OPTIONSELECTED>
  5470. </COLUMN>
  5471. <COLUMN ID="38945" ColName="CLASSIFICACAO" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(30)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Ex: 1.0.001">
  5472. <OPTIONSELECTED>
  5473. <OPTIONSELECT VALUE="0" />
  5474. </OPTIONSELECTED>
  5475. </COLUMN>
  5476. <COLUMN ID="38944" ColName="DESCRICAO" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5477. <OPTIONSELECTED>
  5478. <OPTIONSELECT VALUE="0" />
  5479. </OPTIONSELECTED>
  5480. </COLUMN>
  5481. <COLUMN ID="38946" ColName="TIPO" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="R=Receita | D=Despesa">
  5482. <OPTIONSELECTED>
  5483. <OPTIONSELECT VALUE="0" />
  5484. </OPTIONSELECTED>
  5485. </COLUMN>
  5486. <COLUMN ID="38948" ColName="APLICACAO" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Explica a que se destina a natureza financeira">
  5487. <OPTIONSELECTED>
  5488. <OPTIONSELECT VALUE="0" />
  5489. </OPTIONSELECTED>
  5490. </COLUMN>
  5491. <COLUMN ID="38950" ColName="APARECE_A_PAGAR" PrevColName="" Pos="7" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  5492. <OPTIONSELECTED>
  5493. <OPTIONSELECT VALUE="0" />
  5494. </OPTIONSELECTED>
  5495. </COLUMN>
  5496. <COLUMN ID="38951" ColName="APARECE_A_RECEBER" PrevColName="" Pos="8" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  5497. <OPTIONSELECTED>
  5498. <OPTIONSELECT VALUE="0" />
  5499. </OPTIONSELECTED>
  5500. </COLUMN>
  5501. </COLUMNS>
  5502. <RELATIONS_START>
  5503. <RELATION_START ID="48811" />
  5504. <RELATION_START ID="48990" />
  5505. </RELATIONS_START>
  5506. <RELATIONS_END>
  5507. <RELATION_END ID="47747" />
  5508. </RELATIONS_END>
  5509. <INDICES>
  5510. <INDEX ID="38943" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5511. <INDEXCOLUMNS>
  5512. <INDEXCOLUMN idColumn="38942" LengthParam="0" />
  5513. </INDEXCOLUMNS>
  5514. </INDEX>
  5515. <INDEX ID="47648" IndexName="FK_PLANO_NATUREZA_FINAN" IndexKind="1" FKRefDef_Obj_id="47646">
  5516. <INDEXCOLUMNS>
  5517. <INDEXCOLUMN idColumn="54220" LengthParam="0" />
  5518. </INDEXCOLUMNS>
  5519. </INDEX>
  5520. </INDICES>
  5521. </TABLE>
  5522. <TABLE ID="47707" Tablename="PLANO_NATUREZA_FINANCEIRA" PrevTableName="Table_30" XPos="4248" YPos="4975" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Plano das contas de Natureza Financeira" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="47639" OrderPos="181" >
  5523. <COLUMNS>
  5524. <COLUMN ID="47641" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5525. <OPTIONSELECTED>
  5526. <OPTIONSELECT VALUE="1" />
  5527. <OPTIONSELECT VALUE="0" />
  5528. </OPTIONSELECTED>
  5529. </COLUMN>
  5530. <COLUMN ID="47643" ColName="NOME" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5531. <OPTIONSELECTED>
  5532. <OPTIONSELECT VALUE="0" />
  5533. </OPTIONSELECTED>
  5534. </COLUMN>
  5535. <COLUMN ID="47644" ColName="DATA_INCLUSAO" PrevColName="DATA_INC" Pos="2" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5536. <OPTIONSELECTED>
  5537. </OPTIONSELECTED>
  5538. </COLUMN>
  5539. <COLUMN ID="47666" ColName="MASCARA" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5540. <OPTIONSELECTED>
  5541. <OPTIONSELECT VALUE="0" />
  5542. </OPTIONSELECTED>
  5543. </COLUMN>
  5544. <COLUMN ID="47667" ColName="NIVEIS" PrevColName="" Pos="4" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5545. <OPTIONSELECTED>
  5546. <OPTIONSELECT VALUE="1" />
  5547. <OPTIONSELECT VALUE="0" />
  5548. </OPTIONSELECTED>
  5549. </COLUMN>
  5550. </COLUMNS>
  5551. <RELATIONS_START>
  5552. <RELATION_START ID="47747" />
  5553. </RELATIONS_START>
  5554. <INDICES>
  5555. <INDEX ID="47642" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5556. <INDEXCOLUMNS>
  5557. <INDEXCOLUMN idColumn="47641" LengthParam="0" />
  5558. </INDEXCOLUMNS>
  5559. </INDEX>
  5560. </INDICES>
  5561. </TABLE>
  5562. <TABLE ID="48802" Tablename="FIN_LCTO_PAGAR_NT_FINANCEIRA" PrevTableName="Table_235" XPos="3500" YPos="4955" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Esta tabela \233 para permitir que um lan\231amento a pagar possa ter varias naturezas financeiras." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="152" >
  5563. <COLUMNS>
  5564. <COLUMN ID="48804" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5565. <OPTIONSELECTED>
  5566. <OPTIONSELECT VALUE="1" />
  5567. <OPTIONSELECT VALUE="0" />
  5568. </OPTIONSELECTED>
  5569. </COLUMN>
  5570. <COLUMN ID="80424" ColName="ID_FIN_LANCAMENTO_PAGAR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5571. <OPTIONSELECTED>
  5572. <OPTIONSELECT VALUE="1" />
  5573. <OPTIONSELECT VALUE="0" />
  5574. </OPTIONSELECTED>
  5575. </COLUMN>
  5576. <COLUMN ID="48814" ColName="ID_NATUREZA_FINANCEIRA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5577. <OPTIONSELECTED>
  5578. <OPTIONSELECT VALUE="1" />
  5579. <OPTIONSELECT VALUE="0" />
  5580. </OPTIONSELECTED>
  5581. </COLUMN>
  5582. <COLUMN ID="48806" ColName="DATA_INCLUSAO" PrevColName="DATA_INC" Pos="1" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5583. <OPTIONSELECTED>
  5584. </OPTIONSELECTED>
  5585. </COLUMN>
  5586. <COLUMN ID="48816" ColName="VALOR" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5587. <OPTIONSELECTED>
  5588. <OPTIONSELECT VALUE="0" />
  5589. </OPTIONSELECTED>
  5590. </COLUMN>
  5591. </COLUMNS>
  5592. <RELATIONS_END>
  5593. <RELATION_END ID="48807" />
  5594. <RELATION_END ID="48811" />
  5595. </RELATIONS_END>
  5596. <INDICES>
  5597. <INDEX ID="48805" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5598. <INDEXCOLUMNS>
  5599. <INDEXCOLUMN idColumn="48804" LengthParam="0" />
  5600. </INDEXCOLUMNS>
  5601. </INDEX>
  5602. <INDEX ID="48809" IndexName="FK_LANC_PG_NAT_FIN" IndexKind="1" FKRefDef_Obj_id="48807">
  5603. <INDEXCOLUMNS>
  5604. <INDEXCOLUMN idColumn="80424" LengthParam="0" />
  5605. </INDEXCOLUMNS>
  5606. </INDEX>
  5607. <INDEX ID="48813" IndexName="FK_NAT_FIN_LANC_PAGAR" IndexKind="1" FKRefDef_Obj_id="48811">
  5608. <INDEXCOLUMNS>
  5609. <INDEXCOLUMN idColumn="48814" LengthParam="0" />
  5610. </INDEXCOLUMNS>
  5611. </INDEX>
  5612. </INDICES>
  5613. </TABLE>
  5614. <TABLE ID="48896" Tablename="FIN_TIPO_RECEBIMENTO" PrevTableName="Table_238" XPos="5798" YPos="4722" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que armazena os tipos de pagamento: DINHEIRO, CART\195O, CHEQUE, etc. \nTipos pad\245es j\225 cadastrados pelo sistema: \n01 = Dinheiro | 02 = Cheque | 03 = Cartao" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="175" >
  5615. <COLUMNS>
  5616. <COLUMN ID="48898" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5617. <OPTIONSELECTED>
  5618. <OPTIONSELECT VALUE="1" />
  5619. <OPTIONSELECT VALUE="0" />
  5620. </OPTIONSELECTED>
  5621. </COLUMN>
  5622. <COLUMN ID="48901" ColName="TIPO" PrevColName="" Pos="2" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="DINHEIRO | CHEQUE | CARTAO | BANCO | ETC">
  5623. <OPTIONSELECTED>
  5624. <OPTIONSELECT VALUE="0" />
  5625. </OPTIONSELECTED>
  5626. </COLUMN>
  5627. <COLUMN ID="48900" ColName="DESCRICAO" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="01 = Dinheiro | 02 = Cheque | 03 = Cartao">
  5628. <OPTIONSELECTED>
  5629. <OPTIONSELECT VALUE="0" />
  5630. </OPTIONSELECTED>
  5631. </COLUMN>
  5632. </COLUMNS>
  5633. <RELATIONS_START>
  5634. <RELATION_START ID="48934" />
  5635. </RELATIONS_START>
  5636. <INDICES>
  5637. <INDEX ID="48899" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5638. <INDEXCOLUMNS>
  5639. <INDEXCOLUMN idColumn="48898" LengthParam="0" />
  5640. </INDEXCOLUMNS>
  5641. </INDEX>
  5642. </INDICES>
  5643. </TABLE>
  5644. <TABLE ID="48924" Tablename="FIN_LANCAMENTO_RECEBER" PrevTableName="Table_01" XPos="5038" YPos="4515" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela de lan\231amentos das contas a receber.\n" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="1112" OrderPos="137" >
  5645. <COLUMNS>
  5646. <COLUMN ID="1119" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5647. <OPTIONSELECTED>
  5648. <OPTIONSELECT VALUE="1" />
  5649. <OPTIONSELECT VALUE="0" />
  5650. </OPTIONSELECTED>
  5651. </COLUMN>
  5652. <COLUMN ID="80191" ColName="ID_FIN_DOCUMENTO_ORIGEM" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5653. <OPTIONSELECTED>
  5654. <OPTIONSELECT VALUE="1" />
  5655. <OPTIONSELECT VALUE="0" />
  5656. </OPTIONSELECTED>
  5657. </COLUMN>
  5658. <COLUMN ID="80089" ColName="ID_CLIENTE" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5659. <OPTIONSELECTED>
  5660. <OPTIONSELECT VALUE="1" />
  5661. <OPTIONSELECT VALUE="0" />
  5662. </OPTIONSELECTED>
  5663. </COLUMN>
  5664. <COLUMN ID="24192" ColName="QUANTIDADE_PARCELA" PrevColName="" Pos="4" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5665. <OPTIONSELECTED>
  5666. <OPTIONSELECT VALUE="1" />
  5667. <OPTIONSELECT VALUE="0" />
  5668. </OPTIONSELECTED>
  5669. </COLUMN>
  5670. <COLUMN ID="1121" ColName="VALOR_TOTAL" PrevColName="VARLO" Pos="1" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5671. <OPTIONSELECTED>
  5672. <OPTIONSELECT VALUE="0" />
  5673. </OPTIONSELECTED>
  5674. </COLUMN>
  5675. <COLUMN ID="10380" ColName="VALOR_A_RECEBER" PrevColName="VALOR_A_PAGAR" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5676. <OPTIONSELECTED>
  5677. <OPTIONSELECT VALUE="0" />
  5678. </OPTIONSELECTED>
  5679. </COLUMN>
  5680. <COLUMN ID="10248" ColName="DATA_LANCAMENTO" PrevColName="" Pos="5" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5681. <OPTIONSELECTED>
  5682. </OPTIONSELECTED>
  5683. </COLUMN>
  5684. <COLUMN ID="50289" ColName="NUMERO_DOCUMENTO" PrevColName="NR_DOCUMENTO" Pos="13" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5685. <OPTIONSELECTED>
  5686. <OPTIONSELECT VALUE="0" />
  5687. </OPTIONSELECTED>
  5688. </COLUMN>
  5689. <COLUMN ID="24190" ColName="PRIMEIRO_VENCIMENTO" PrevColName="" Pos="7" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5690. <OPTIONSELECTED>
  5691. </OPTIONSELECTED>
  5692. </COLUMN>
  5693. <COLUMN ID="49116" ColName="TAXA_COMISSAO" PrevColName="PORCENTO_COMISSAO" Pos="11" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Informar a percentagem da comiss\227o">
  5694. <OPTIONSELECTED>
  5695. <OPTIONSELECT VALUE="0" />
  5696. </OPTIONSELECTED>
  5697. </COLUMN>
  5698. <COLUMN ID="49115" ColName="VALOR_COMISSAO" PrevColName="" Pos="10" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Informar o valor da comiss\227o">
  5699. <OPTIONSELECTED>
  5700. <OPTIONSELECT VALUE="0" />
  5701. </OPTIONSELECTED>
  5702. </COLUMN>
  5703. <COLUMN ID="50288" ColName="INTERVALO_ENTRE_PARCELAS" PrevColName="DIAS_INTERVALO" Pos="12" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5704. <OPTIONSELECTED>
  5705. <OPTIONSELECT VALUE="0" />
  5706. <OPTIONSELECT VALUE="0" />
  5707. </OPTIONSELECTED>
  5708. </COLUMN>
  5709. <COLUMN ID="80109" ColName="CODIGO_MODULO_LCTO" PrevColName="" Pos="12" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="C\243digo do m\243dulo que efetuou o lan\231amento">
  5710. <OPTIONSELECTED>
  5711. <OPTIONSELECT VALUE="0" />
  5712. </OPTIONSELECTED>
  5713. </COLUMN>
  5714. </COLUMNS>
  5715. <RELATIONS_START>
  5716. <RELATION_START ID="48931" />
  5717. <RELATION_START ID="48987" />
  5718. </RELATIONS_START>
  5719. <RELATIONS_END>
  5720. <RELATION_END ID="50291" />
  5721. <RELATION_END ID="80086" />
  5722. </RELATIONS_END>
  5723. <INDICES>
  5724. <INDEX ID="1120" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5725. <INDEXCOLUMNS>
  5726. <INDEXCOLUMN idColumn="1119" LengthParam="0" />
  5727. </INDEXCOLUMNS>
  5728. </INDEX>
  5729. <INDEX ID="50293" IndexName="FK_DOC_ORI_LANC_RECEBER" IndexKind="1" FKRefDef_Obj_id="50291">
  5730. <INDEXCOLUMNS>
  5731. <INDEXCOLUMN idColumn="80191" LengthParam="0" />
  5732. </INDEXCOLUMNS>
  5733. </INDEX>
  5734. <INDEX ID="80088" IndexName="FK_CLIENTE_LCTO_RECEBER" IndexKind="1" FKRefDef_Obj_id="80086">
  5735. <INDEXCOLUMNS>
  5736. <INDEXCOLUMN idColumn="80089" LengthParam="0" />
  5737. </INDEXCOLUMNS>
  5738. </INDEX>
  5739. </INDICES>
  5740. </TABLE>
  5741. <TABLE ID="48925" Tablename="FIN_PARCELA_RECEBER" PrevTableName="Table_02" XPos="5408" YPos="4330" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que garda as parcelas para recebimento. Caso o recebimento seja efetuado de uma vez, a tabela LANCAMENTO_RECEBER gerar\225 uma parcela para ser recebida e a mesma ser\225 armazenada nesta tabela." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="1113" OrderPos="167" >
  5742. <COLUMNS>
  5743. <COLUMN ID="1125" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5744. <OPTIONSELECTED>
  5745. <OPTIONSELECT VALUE="1" />
  5746. <OPTIONSELECT VALUE="0" />
  5747. </OPTIONSELECTED>
  5748. </COLUMN>
  5749. <COLUMN ID="81387" ColName="ID_CONTA_CAIXA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="Informa a conta/caixa prevista para o recebimento da parcela">
  5750. <OPTIONSELECTED>
  5751. <OPTIONSELECT VALUE="1" />
  5752. <OPTIONSELECT VALUE="0" />
  5753. </OPTIONSELECTED>
  5754. </COLUMN>
  5755. <COLUMN ID="80197" ColName="ID_FIN_LANCAMENTO_RECEBER" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5756. <OPTIONSELECTED>
  5757. <OPTIONSELECT VALUE="1" />
  5758. <OPTIONSELECT VALUE="0" />
  5759. </OPTIONSELECTED>
  5760. </COLUMN>
  5761. <COLUMN ID="80196" ColName="ID_FIN_STATUS_PARCELA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5762. <OPTIONSELECTED>
  5763. <OPTIONSELECT VALUE="1" />
  5764. <OPTIONSELECT VALUE="0" />
  5765. </OPTIONSELECTED>
  5766. </COLUMN>
  5767. <COLUMN ID="22605" ColName="NUMERO_PARCELA" PrevColName="" Pos="3" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5768. <OPTIONSELECTED>
  5769. <OPTIONSELECT VALUE="1" />
  5770. <OPTIONSELECT VALUE="0" />
  5771. </OPTIONSELECTED>
  5772. </COLUMN>
  5773. <COLUMN ID="1128" ColName="DATA_EMISSAO" PrevColName="VENCIMENTO" Pos="2" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5774. <OPTIONSELECTED>
  5775. </OPTIONSELECTED>
  5776. </COLUMN>
  5777. <COLUMN ID="1129" ColName="DATA_VENCIMENTO" PrevColName="EMISSAO" Pos="3" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5778. <OPTIONSELECTED>
  5779. </OPTIONSELECTED>
  5780. </COLUMN>
  5781. <COLUMN ID="10659" ColName="DESCONTO_ATE" PrevColName="" Pos="13" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Conceder desconto at\233 a data especificada">
  5782. <OPTIONSELECTED>
  5783. </OPTIONSELECTED>
  5784. </COLUMN>
  5785. <COLUMN ID="1127" ColName="VALOR" PrevColName="VALOR_PARCELA" Pos="1" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5786. <OPTIONSELECTED>
  5787. <OPTIONSELECT VALUE="0" />
  5788. </OPTIONSELECTED>
  5789. </COLUMN>
  5790. <COLUMN ID="10653" ColName="TAXA_JURO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Previs\227o">
  5791. <OPTIONSELECTED>
  5792. <OPTIONSELECT VALUE="0" />
  5793. </OPTIONSELECTED>
  5794. </COLUMN>
  5795. <COLUMN ID="10654" ColName="TAXA_MULTA" PrevColName="" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Previs\227o">
  5796. <OPTIONSELECTED>
  5797. <OPTIONSELECT VALUE="0" />
  5798. </OPTIONSELECTED>
  5799. </COLUMN>
  5800. <COLUMN ID="10655" ColName="TAXA_DESCONTO" PrevColName="" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Previs\227o">
  5801. <OPTIONSELECTED>
  5802. <OPTIONSELECT VALUE="0" />
  5803. </OPTIONSELECTED>
  5804. </COLUMN>
  5805. <COLUMN ID="10656" ColName="VALOR_JURO" PrevColName="" Pos="10" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5806. <OPTIONSELECTED>
  5807. <OPTIONSELECT VALUE="0" />
  5808. </OPTIONSELECTED>
  5809. </COLUMN>
  5810. <COLUMN ID="10657" ColName="VALOR_MULTA" PrevColName="" Pos="11" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5811. <OPTIONSELECTED>
  5812. <OPTIONSELECT VALUE="0" />
  5813. </OPTIONSELECTED>
  5814. </COLUMN>
  5815. <COLUMN ID="10658" ColName="VALOR_DESCONTO" PrevColName="" Pos="12" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5816. <OPTIONSELECTED>
  5817. <OPTIONSELECT VALUE="0" />
  5818. </OPTIONSELECTED>
  5819. </COLUMN>
  5820. <COLUMN ID="80518" ColName="EMITIU_BOLETO" PrevColName="" Pos="14" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  5821. <OPTIONSELECTED>
  5822. <OPTIONSELECT VALUE="0" />
  5823. </OPTIONSELECTED>
  5824. </COLUMN>
  5825. <COLUMN ID="81335" ColName="BOLETO_NOSSO_NUMERO" PrevColName="" Pos="16" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5826. <OPTIONSELECTED>
  5827. <OPTIONSELECT VALUE="0" />
  5828. </OPTIONSELECTED>
  5829. </COLUMN>
  5830. </COLUMNS>
  5831. <RELATIONS_START>
  5832. <RELATION_START ID="48930" />
  5833. </RELATIONS_START>
  5834. <RELATIONS_END>
  5835. <RELATION_END ID="48931" />
  5836. <RELATION_END ID="48955" />
  5837. <RELATION_END ID="81384" />
  5838. </RELATIONS_END>
  5839. <INDICES>
  5840. <INDEX ID="1126" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5841. <INDEXCOLUMNS>
  5842. <INDEXCOLUMN idColumn="1125" LengthParam="0" />
  5843. </INDEXCOLUMNS>
  5844. </INDEX>
  5845. <INDEX ID="10375" IndexName="FK_LANCAMENTO_PARCELA_RECEBER" IndexKind="1" FKRefDef_Obj_id="10373">
  5846. <INDEXCOLUMNS>
  5847. <INDEXCOLUMN idColumn="80197" LengthParam="0" />
  5848. </INDEXCOLUMNS>
  5849. </INDEX>
  5850. <INDEX ID="48957" IndexName="FK_STATUS_PARCELA_RECEBER" IndexKind="1" FKRefDef_Obj_id="48955">
  5851. <INDEXCOLUMNS>
  5852. <INDEXCOLUMN idColumn="80196" LengthParam="0" />
  5853. </INDEXCOLUMNS>
  5854. </INDEX>
  5855. <INDEX ID="81386" IndexName="FK_CTA_CX_PAR_REC" IndexKind="1" FKRefDef_Obj_id="81384">
  5856. <INDEXCOLUMNS>
  5857. <INDEXCOLUMN idColumn="81387" LengthParam="0" />
  5858. </INDEXCOLUMNS>
  5859. </INDEX>
  5860. </INDICES>
  5861. </TABLE>
  5862. <TABLE ID="48926" Tablename="FIN_PARCELA_RECEBIMENTO" PrevTableName="Table_03" XPos="5312" YPos="4755" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela que controla o recebimento das parcelas." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="1114" OrderPos="169" >
  5863. <COLUMNS>
  5864. <COLUMN ID="1135" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5865. <OPTIONSELECTED>
  5866. <OPTIONSELECT VALUE="1" />
  5867. <OPTIONSELECT VALUE="0" />
  5868. </OPTIONSELECTED>
  5869. </COLUMN>
  5870. <COLUMN ID="80205" ColName="ID_FIN_PARCELA_RECEBER" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5871. <OPTIONSELECTED>
  5872. <OPTIONSELECT VALUE="1" />
  5873. <OPTIONSELECT VALUE="0" />
  5874. </OPTIONSELECTED>
  5875. </COLUMN>
  5876. <COLUMN ID="80202" ColName="ID_FIN_TIPO_RECEBIMENTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5877. <OPTIONSELECTED>
  5878. <OPTIONSELECT VALUE="1" />
  5879. <OPTIONSELECT VALUE="0" />
  5880. </OPTIONSELECTED>
  5881. </COLUMN>
  5882. <COLUMN ID="80186" ColName="ID_FIN_CHEQUE_RECEBIDO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5883. <OPTIONSELECTED>
  5884. <OPTIONSELECT VALUE="1" />
  5885. <OPTIONSELECT VALUE="0" />
  5886. </OPTIONSELECTED>
  5887. </COLUMN>
  5888. <COLUMN ID="72724" ColName="ID_CONTA_CAIXA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="Informa a conta/caixa onde efetivamente a parcela foi recebida">
  5889. <OPTIONSELECTED>
  5890. <OPTIONSELECT VALUE="1" />
  5891. <OPTIONSELECT VALUE="0" />
  5892. </OPTIONSELECTED>
  5893. </COLUMN>
  5894. <COLUMN ID="1138" ColName="DATA_RECEBIMENTO" PrevColName="DATA_PAGAMENTO" Pos="2" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5895. <OPTIONSELECTED>
  5896. </OPTIONSELECTED>
  5897. </COLUMN>
  5898. <COLUMN ID="10275" ColName="TAXA_JURO" PrevColName="" Pos="6" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5899. <OPTIONSELECTED>
  5900. <OPTIONSELECT VALUE="0" />
  5901. </OPTIONSELECTED>
  5902. </COLUMN>
  5903. <COLUMN ID="10276" ColName="TAXA_MULTA" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5904. <OPTIONSELECTED>
  5905. <OPTIONSELECT VALUE="0" />
  5906. </OPTIONSELECTED>
  5907. </COLUMN>
  5908. <COLUMN ID="10661" ColName="TAXA_DESCONTO" PrevColName="" Pos="7" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5909. <OPTIONSELECTED>
  5910. <OPTIONSELECT VALUE="0" />
  5911. </OPTIONSELECTED>
  5912. </COLUMN>
  5913. <COLUMN ID="10277" ColName="VALOR_JURO" PrevColName="" Pos="8" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5914. <OPTIONSELECTED>
  5915. <OPTIONSELECT VALUE="0" />
  5916. </OPTIONSELECTED>
  5917. </COLUMN>
  5918. <COLUMN ID="10278" ColName="VALOR_MULTA" PrevColName="" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5919. <OPTIONSELECTED>
  5920. <OPTIONSELECT VALUE="0" />
  5921. </OPTIONSELECTED>
  5922. </COLUMN>
  5923. <COLUMN ID="10662" ColName="VALOR_DESCONTO" PrevColName="" Pos="10" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5924. <OPTIONSELECTED>
  5925. <OPTIONSELECT VALUE="0" />
  5926. </OPTIONSELECTED>
  5927. </COLUMN>
  5928. <COLUMN ID="10279" ColName="VALOR_RECEBIDO" PrevColName="VALOR_PAGO" Pos="10" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5929. <OPTIONSELECTED>
  5930. <OPTIONSELECT VALUE="0" />
  5931. </OPTIONSELECTED>
  5932. </COLUMN>
  5933. <COLUMN ID="10604" ColName="HISTORICO" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Hist\243rico do pagamento">
  5934. <OPTIONSELECTED>
  5935. <OPTIONSELECT VALUE="0" />
  5936. </OPTIONSELECTED>
  5937. </COLUMN>
  5938. </COLUMNS>
  5939. <RELATIONS_END>
  5940. <RELATION_END ID="48930" />
  5941. <RELATION_END ID="48934" />
  5942. <RELATION_END ID="72721" />
  5943. <RELATION_END ID="80183" />
  5944. </RELATIONS_END>
  5945. <INDICES>
  5946. <INDEX ID="1136" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  5947. <INDEXCOLUMNS>
  5948. <INDEXCOLUMN idColumn="1135" LengthParam="0" />
  5949. </INDEXCOLUMNS>
  5950. </INDEX>
  5951. <INDEX ID="10264" IndexName="FK_PARCELA_RECEB" IndexKind="1" FKRefDef_Obj_id="10262">
  5952. <INDEXCOLUMNS>
  5953. <INDEXCOLUMN idColumn="80205" LengthParam="0" />
  5954. </INDEXCOLUMNS>
  5955. </INDEX>
  5956. <INDEX ID="48936" IndexName="FK_TIPO_PARC_RECEBIMENTO" IndexKind="1" FKRefDef_Obj_id="48934">
  5957. <INDEXCOLUMNS>
  5958. <INDEXCOLUMN idColumn="80202" LengthParam="0" />
  5959. </INDEXCOLUMNS>
  5960. </INDEX>
  5961. <INDEX ID="72723" IndexName="FK_CONTA_CAIXA_PARC_REC" IndexKind="1" FKRefDef_Obj_id="72721">
  5962. <INDEXCOLUMNS>
  5963. <INDEXCOLUMN idColumn="72724" LengthParam="0" />
  5964. </INDEXCOLUMNS>
  5965. </INDEX>
  5966. <INDEX ID="80185" IndexName="FK_CHEQUE_RECEBIMENTO" IndexKind="1" FKRefDef_Obj_id="80183">
  5967. <INDEXCOLUMNS>
  5968. <INDEXCOLUMN idColumn="80186" LengthParam="0" />
  5969. </INDEXCOLUMNS>
  5970. </INDEX>
  5971. </INDICES>
  5972. </TABLE>
  5973. <TABLE ID="48982" Tablename="FIN_LCTO_RECEBER_NT_FINANCEIRA" PrevTableName="Table_242" XPos="4885" YPos="4835" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Esta tabela \233 para permitir que um lan\231amento a receber possa ter varias naturezas financeiras." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="162" >
  5974. <COLUMNS>
  5975. <COLUMN ID="48984" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  5976. <OPTIONSELECTED>
  5977. <OPTIONSELECT VALUE="1" />
  5978. <OPTIONSELECT VALUE="0" />
  5979. </OPTIONSELECTED>
  5980. </COLUMN>
  5981. <COLUMN ID="80425" ColName="ID_FIN_LANCAMENTO_RECEBER" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5982. <OPTIONSELECTED>
  5983. <OPTIONSELECT VALUE="1" />
  5984. <OPTIONSELECT VALUE="0" />
  5985. </OPTIONSELECTED>
  5986. </COLUMN>
  5987. <COLUMN ID="48994" ColName="ID_NATUREZA_FINANCEIRA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  5988. <OPTIONSELECTED>
  5989. <OPTIONSELECT VALUE="1" />
  5990. <OPTIONSELECT VALUE="0" />
  5991. </OPTIONSELECTED>
  5992. </COLUMN>
  5993. <COLUMN ID="48986" ColName="DATA_INCLUSAO" PrevColName="DATA_INC" Pos="1" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5994. <OPTIONSELECTED>
  5995. </OPTIONSELECTED>
  5996. </COLUMN>
  5997. <COLUMN ID="54279" ColName="VALOR" PrevColName="" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  5998. <OPTIONSELECTED>
  5999. <OPTIONSELECT VALUE="0" />
  6000. </OPTIONSELECTED>
  6001. </COLUMN>
  6002. </COLUMNS>
  6003. <RELATIONS_END>
  6004. <RELATION_END ID="48987" />
  6005. <RELATION_END ID="48990" />
  6006. </RELATIONS_END>
  6007. <INDICES>
  6008. <INDEX ID="48985" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6009. <INDEXCOLUMNS>
  6010. <INDEXCOLUMN idColumn="48984" LengthParam="0" />
  6011. </INDEXCOLUMNS>
  6012. </INDEX>
  6013. <INDEX ID="48989" IndexName="FK_LANC_REC_NAT_FIN" IndexKind="1" FKRefDef_Obj_id="48987">
  6014. <INDEXCOLUMNS>
  6015. <INDEXCOLUMN idColumn="80425" LengthParam="0" />
  6016. </INDEXCOLUMNS>
  6017. </INDEX>
  6018. <INDEX ID="48992" IndexName="FK_NAT_FIN_LANC_RECEBER" IndexKind="1" FKRefDef_Obj_id="48990">
  6019. <INDEXCOLUMNS>
  6020. <INDEXCOLUMN idColumn="48994" LengthParam="0" />
  6021. </INDEXCOLUMNS>
  6022. </INDEX>
  6023. </INDICES>
  6024. </TABLE>
  6025. <TABLE ID="49080" Tablename="VENDA_COMISSAO" PrevTableName="Table_243" XPos="2360" YPos="4898" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Esta tabela deve armazenar as comiss\245es calculadas em cada venda. Desta forma toda vez que houver uma venda com indica\231ao de comissao este valor ser\225 lan\231ado nesta tabela, com indica\231ao do VALOR_VENDA, VALOR_COMISSAO, TIPO (liquidez ou faturamento), e indicador se o lan\231amento \233 a debito ou a credito, pois se houver uma devolua\231ao desta venda deve haver o debito (estorno da comissao) mediante um lan\231amento de saldo DEVEDOR para aquele vendedor.\n" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="770" >
  6026. <COLUMNS>
  6027. <COLUMN ID="49082" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6028. <OPTIONSELECTED>
  6029. <OPTIONSELECT VALUE="1" />
  6030. <OPTIONSELECT VALUE="0" />
  6031. </OPTIONSELECTED>
  6032. </COLUMN>
  6033. <COLUMN ID="55852" ColName="ID_VENDEDOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6034. <OPTIONSELECTED>
  6035. <OPTIONSELECT VALUE="1" />
  6036. <OPTIONSELECT VALUE="0" />
  6037. </OPTIONSELECTED>
  6038. </COLUMN>
  6039. <COLUMN ID="49091" ColName="ID_VENDA_CABECALHO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6040. <OPTIONSELECTED>
  6041. <OPTIONSELECT VALUE="1" />
  6042. <OPTIONSELECT VALUE="0" />
  6043. </OPTIONSELECTED>
  6044. </COLUMN>
  6045. <COLUMN ID="49084" ColName="VALOR_VENDA" PrevColName="" Pos="1" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6046. <OPTIONSELECTED>
  6047. <OPTIONSELECT VALUE="0" />
  6048. </OPTIONSELECTED>
  6049. </COLUMN>
  6050. <COLUMN ID="49086" ColName="TIPO_CONTABIL" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Indicar se este lanl\231amento \233 a DEBITO ou a CREDITO. Ex. se houver uma devolucao de venda haver\225 um lan\231amento a DEBITO">
  6051. <OPTIONSELECTED>
  6052. <OPTIONSELECT VALUE="0" />
  6053. </OPTIONSELECTED>
  6054. </COLUMN>
  6055. <COLUMN ID="49087" ColName="VALOR_COMISSAO" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6056. <OPTIONSELECTED>
  6057. <OPTIONSELECT VALUE="1" />
  6058. </OPTIONSELECTED>
  6059. </COLUMN>
  6060. <COLUMN ID="49129" ColName="SITUACAO" PrevColName="LANCADO" Pos="8" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Q=QUITADA quando a comis\227o foi efetivamente paga ao vendedor | A= ABERTO, a comiss\227o ainda n\227o foi paga ao vendedor">
  6061. <OPTIONSELECTED>
  6062. <OPTIONSELECT VALUE="0" />
  6063. </OPTIONSELECTED>
  6064. </COLUMN>
  6065. <COLUMN ID="49130" ColName="DATA_LANCAMENTO" PrevColName="" Pos="9" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6066. <OPTIONSELECTED>
  6067. </OPTIONSELECTED>
  6068. </COLUMN>
  6069. </COLUMNS>
  6070. <RELATIONS_END>
  6071. <RELATION_END ID="49088" />
  6072. <RELATION_END ID="49092" />
  6073. </RELATIONS_END>
  6074. <INDICES>
  6075. <INDEX ID="49083" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6076. <INDEXCOLUMNS>
  6077. <INDEXCOLUMN idColumn="49082" LengthParam="0" />
  6078. </INDEXCOLUMNS>
  6079. </INDEX>
  6080. <INDEX ID="49090" IndexName="FK_VENDA_COMISSAO" IndexKind="1" FKRefDef_Obj_id="49088">
  6081. <INDEXCOLUMNS>
  6082. <INDEXCOLUMN idColumn="49091" LengthParam="0" />
  6083. </INDEXCOLUMNS>
  6084. </INDEX>
  6085. <INDEX ID="49095" IndexName="FK_VENDEDOR_COMISSAO" IndexKind="1" FKRefDef_Obj_id="49092">
  6086. <INDEXCOLUMNS>
  6087. <INDEXCOLUMN idColumn="55852" LengthParam="0" />
  6088. </INDEXCOLUMNS>
  6089. </INDEX>
  6090. </INDICES>
  6091. </TABLE>
  6092. <TABLE ID="50272" Tablename="FIN_CHEQUE_RECEBIDO" PrevTableName="Table_254" XPos="5625" YPos="4578" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazenar os dados dos cheques recebidos identicando a pessoa que emitiu o cheque, estando cadastrada no BD ou n\227o." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="100" >
  6093. <COLUMNS>
  6094. <COLUMN ID="50274" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6095. <OPTIONSELECTED>
  6096. <OPTIONSELECT VALUE="1" />
  6097. <OPTIONSELECT VALUE="0" />
  6098. </OPTIONSELECTED>
  6099. </COLUMN>
  6100. <COLUMN ID="67801" ColName="ID_PESSOA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6101. <OPTIONSELECTED>
  6102. <OPTIONSELECT VALUE="1" />
  6103. <OPTIONSELECT VALUE="0" />
  6104. </OPTIONSELECTED>
  6105. </COLUMN>
  6106. <COLUMN ID="50277" ColName="CPF_CNPJ" PrevColName="CPF" Pos="2" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6107. <OPTIONSELECTED>
  6108. <OPTIONSELECT VALUE="0" />
  6109. </OPTIONSELECTED>
  6110. </COLUMN>
  6111. <COLUMN ID="50278" ColName="NOME" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6112. <OPTIONSELECTED>
  6113. <OPTIONSELECT VALUE="0" />
  6114. </OPTIONSELECTED>
  6115. </COLUMN>
  6116. <COLUMN ID="50279" ColName="CODIGO_BANCO" PrevColName="" Pos="4" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6117. <OPTIONSELECTED>
  6118. <OPTIONSELECT VALUE="0" />
  6119. </OPTIONSELECTED>
  6120. </COLUMN>
  6121. <COLUMN ID="50280" ColName="CODIGO_AGENCIA" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6122. <OPTIONSELECTED>
  6123. <OPTIONSELECT VALUE="0" />
  6124. </OPTIONSELECTED>
  6125. </COLUMN>
  6126. <COLUMN ID="50281" ColName="CONTA" PrevColName="" Pos="6" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6127. <OPTIONSELECTED>
  6128. <OPTIONSELECT VALUE="0" />
  6129. </OPTIONSELECTED>
  6130. </COLUMN>
  6131. <COLUMN ID="80181" ColName="NUMERO" PrevColName="" Pos="7" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6132. <OPTIONSELECTED>
  6133. <OPTIONSELECT VALUE="1" />
  6134. <OPTIONSELECT VALUE="0" />
  6135. </OPTIONSELECTED>
  6136. </COLUMN>
  6137. <COLUMN ID="80176" ColName="DATA_EMISSAO" PrevColName="" Pos="7" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6138. <OPTIONSELECTED>
  6139. </OPTIONSELECTED>
  6140. </COLUMN>
  6141. <COLUMN ID="82505" ColName="BOM_PARA" PrevColName="" Pos="9" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6142. <OPTIONSELECTED>
  6143. </OPTIONSELECTED>
  6144. </COLUMN>
  6145. <COLUMN ID="80177" ColName="DATA_COMPENSACAO" PrevColName="" Pos="8" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6146. <OPTIONSELECTED>
  6147. </OPTIONSELECTED>
  6148. </COLUMN>
  6149. <COLUMN ID="80178" ColName="VALOR" PrevColName="" Pos="9" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6150. <OPTIONSELECTED>
  6151. <OPTIONSELECT VALUE="0" />
  6152. </OPTIONSELECTED>
  6153. </COLUMN>
  6154. </COLUMNS>
  6155. <RELATIONS_START>
  6156. <RELATION_START ID="80183" />
  6157. </RELATIONS_START>
  6158. <RELATIONS_END>
  6159. <RELATION_END ID="67798" />
  6160. </RELATIONS_END>
  6161. <INDICES>
  6162. <INDEX ID="50275" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6163. <INDEXCOLUMNS>
  6164. <INDEXCOLUMN idColumn="50274" LengthParam="0" />
  6165. </INDEXCOLUMNS>
  6166. </INDEX>
  6167. <INDEX ID="67800" IndexName="FK_PESSOA_EMIT_CHEQUE" IndexKind="1" FKRefDef_Obj_id="67798">
  6168. <INDEXCOLUMNS>
  6169. <INDEXCOLUMN idColumn="67801" LengthParam="0" />
  6170. </INDEXCOLUMNS>
  6171. </INDEX>
  6172. </INDICES>
  6173. </TABLE>
  6174. <TABLE ID="50913" Tablename="SITUACAO_DOCUMENTO" PrevTableName="Table_260" XPos="6470" YPos="3306" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="" Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="587" >
  6175. <COLUMNS>
  6176. <COLUMN ID="50915" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6177. <OPTIONSELECTED>
  6178. <OPTIONSELECT VALUE="1" />
  6179. <OPTIONSELECT VALUE="0" />
  6180. </OPTIONSELECTED>
  6181. </COLUMN>
  6182. <COLUMN ID="50917" ColName="CODIGO" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6183. <OPTIONSELECTED>
  6184. <OPTIONSELECT VALUE="0" />
  6185. </OPTIONSELECTED>
  6186. </COLUMN>
  6187. <COLUMN ID="50918" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6188. <OPTIONSELECTED>
  6189. <OPTIONSELECT VALUE="0" />
  6190. </OPTIONSELECTED>
  6191. </COLUMN>
  6192. </COLUMNS>
  6193. <INDICES>
  6194. <INDEX ID="50916" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6195. <INDEXCOLUMNS>
  6196. <INDEXCOLUMN idColumn="50915" LengthParam="0" />
  6197. </INDEXCOLUMNS>
  6198. </INDEX>
  6199. </INDICES>
  6200. </TABLE>
  6201. <TABLE ID="54098" Tablename="EMPRESA_CNAE" PrevTableName="Table_256" XPos="4618" YPos="3174" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="V\237nculo entre Empresa e Cnae informando ainda o Cnae principal da empresa." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="87" >
  6202. <COLUMNS>
  6203. <COLUMN ID="54100" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6204. <OPTIONSELECTED>
  6205. <OPTIONSELECT VALUE="1" />
  6206. <OPTIONSELECT VALUE="0" />
  6207. </OPTIONSELECTED>
  6208. </COLUMN>
  6209. <COLUMN ID="54115" ColName="ID_CNAE" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6210. <OPTIONSELECTED>
  6211. <OPTIONSELECT VALUE="1" />
  6212. <OPTIONSELECT VALUE="0" />
  6213. </OPTIONSELECTED>
  6214. </COLUMN>
  6215. <COLUMN ID="54109" ColName="ID_EMPRESA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6216. <OPTIONSELECTED>
  6217. <OPTIONSELECT VALUE="1" />
  6218. <OPTIONSELECT VALUE="0" />
  6219. </OPTIONSELECTED>
  6220. </COLUMN>
  6221. <COLUMN ID="54102" ColName="PRINCIPAL" PrevColName="" Pos="1" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o [apenas um registro para uma mesma empresa pode ser marcado como \aS\a]">
  6222. <OPTIONSELECTED>
  6223. <OPTIONSELECT VALUE="0" />
  6224. </OPTIONSELECTED>
  6225. </COLUMN>
  6226. <COLUMN ID="54103" ColName="RAMO_ATIVIDADE" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(50)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6227. <OPTIONSELECTED>
  6228. <OPTIONSELECT VALUE="0" />
  6229. </OPTIONSELECTED>
  6230. </COLUMN>
  6231. <COLUMN ID="54104" ColName="OBJETO_SOCIAL" PrevColName="" Pos="3" idDatatype="28" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6232. <OPTIONSELECTED>
  6233. </OPTIONSELECTED>
  6234. </COLUMN>
  6235. </COLUMNS>
  6236. <RELATIONS_END>
  6237. <RELATION_END ID="54106" />
  6238. <RELATION_END ID="54112" />
  6239. </RELATIONS_END>
  6240. <INDICES>
  6241. <INDEX ID="54101" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6242. <INDEXCOLUMNS>
  6243. <INDEXCOLUMN idColumn="54100" LengthParam="0" />
  6244. </INDEXCOLUMNS>
  6245. </INDEX>
  6246. <INDEX ID="54108" IndexName="FK_EMPRESA_CNAE" IndexKind="1" FKRefDef_Obj_id="54106">
  6247. <INDEXCOLUMNS>
  6248. <INDEXCOLUMN idColumn="54109" LengthParam="0" />
  6249. </INDEXCOLUMNS>
  6250. </INDEX>
  6251. <INDEX ID="54114" IndexName="FK_CNAE_EMPRESA" IndexKind="1" FKRefDef_Obj_id="54112">
  6252. <INDEXCOLUMNS>
  6253. <INDEXCOLUMN idColumn="54115" LengthParam="0" />
  6254. </INDEXCOLUMNS>
  6255. </INDEX>
  6256. </INDICES>
  6257. </TABLE>
  6258. <TABLE ID="56470" Tablename="REQUISICAO_INTERNA_CABECALHO" PrevTableName="Table_07" XPos="2888" YPos="1400" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela para armazenar os dados das requisi\231\245es internas de produto." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="84" >
  6259. <COLUMNS>
  6260. <COLUMN ID="56471" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6261. <OPTIONSELECTED>
  6262. <OPTIONSELECT VALUE="1" />
  6263. <OPTIONSELECT VALUE="0" />
  6264. </OPTIONSELECTED>
  6265. </COLUMN>
  6266. <COLUMN ID="56671" ColName="ID_COLABORADOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6267. <OPTIONSELECTED>
  6268. <OPTIONSELECT VALUE="1" />
  6269. <OPTIONSELECT VALUE="0" />
  6270. </OPTIONSELECTED>
  6271. </COLUMN>
  6272. <COLUMN ID="56473" ColName="DATA_REQUISICAO" PrevColName="DATA_2" Pos="2" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6273. <OPTIONSELECTED>
  6274. </OPTIONSELECTED>
  6275. </COLUMN>
  6276. <COLUMN ID="89057" ColName="SITUACAO" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="A=Aberta | D=Deferida | I=Indeferida">
  6277. <OPTIONSELECTED>
  6278. <OPTIONSELECT VALUE="0" />
  6279. </OPTIONSELECTED>
  6280. </COLUMN>
  6281. </COLUMNS>
  6282. <RELATIONS_START>
  6283. <RELATION_START ID="56663" />
  6284. </RELATIONS_START>
  6285. <RELATIONS_END>
  6286. <RELATION_END ID="56668" />
  6287. </RELATIONS_END>
  6288. <INDICES>
  6289. <INDEX ID="56476" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6290. <INDEXCOLUMNS>
  6291. <INDEXCOLUMN idColumn="56471" LengthParam="0" />
  6292. </INDEXCOLUMNS>
  6293. </INDEX>
  6294. <INDEX ID="56670" IndexName="FK_COLAB_REQ_INTERNA" IndexKind="1" FKRefDef_Obj_id="56668">
  6295. <INDEXCOLUMNS>
  6296. <INDEXCOLUMN idColumn="56671" LengthParam="0" />
  6297. </INDEXCOLUMNS>
  6298. </INDEX>
  6299. </INDICES>
  6300. </TABLE>
  6301. <TABLE ID="56478" Tablename="REQUISICAO_INTERNA_DETALHE" PrevTableName="Table_08" XPos="2660" YPos="1152" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela para armazenar os itens das requisi\231\245es internas de produtos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="84" >
  6302. <COLUMNS>
  6303. <COLUMN ID="56479" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6304. <OPTIONSELECTED>
  6305. <OPTIONSELECT VALUE="1" />
  6306. <OPTIONSELECT VALUE="0" />
  6307. </OPTIONSELECTED>
  6308. </COLUMN>
  6309. <COLUMN ID="72755" ColName="ID_REQ_INTERNA_CABECALHO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6310. <OPTIONSELECTED>
  6311. <OPTIONSELECT VALUE="1" />
  6312. <OPTIONSELECT VALUE="0" />
  6313. </OPTIONSELECTED>
  6314. </COLUMN>
  6315. <COLUMN ID="56676" ColName="ID_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6316. <OPTIONSELECTED>
  6317. <OPTIONSELECT VALUE="1" />
  6318. <OPTIONSELECT VALUE="0" />
  6319. </OPTIONSELECTED>
  6320. </COLUMN>
  6321. <COLUMN ID="56482" ColName="QUANTIDADE" PrevColName="QTDE" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6322. <OPTIONSELECTED>
  6323. <OPTIONSELECT VALUE="0" />
  6324. </OPTIONSELECTED>
  6325. </COLUMN>
  6326. </COLUMNS>
  6327. <RELATIONS_END>
  6328. <RELATION_END ID="56663" />
  6329. <RELATION_END ID="56673" />
  6330. </RELATIONS_END>
  6331. <INDICES>
  6332. <INDEX ID="56483" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6333. <INDEXCOLUMNS>
  6334. <INDEXCOLUMN idColumn="56479" LengthParam="0" />
  6335. </INDEXCOLUMNS>
  6336. </INDEX>
  6337. <INDEX ID="56665" IndexName="FK_REQ_INTERNA_CAB_DET" IndexKind="1" FKRefDef_Obj_id="56663">
  6338. <INDEXCOLUMNS>
  6339. <INDEXCOLUMN idColumn="72755" LengthParam="0" />
  6340. </INDEXCOLUMNS>
  6341. </INDEX>
  6342. <INDEX ID="56675" IndexName="FK_PRODUTO_REQ_INTERNA" IndexKind="1" FKRefDef_Obj_id="56673">
  6343. <INDEXCOLUMNS>
  6344. <INDEXCOLUMN idColumn="56676" LengthParam="0" />
  6345. </INDEXCOLUMNS>
  6346. </INDEX>
  6347. </INDICES>
  6348. </TABLE>
  6349. <TABLE ID="56490" Tablename="ESTOQUE_REAJUSTE_CABECALHO" PrevTableName="Table_10" XPos="1538" YPos="1488" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela para armazenar o hist\243rico de reajustes realizados." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="37" >
  6350. <COLUMNS>
  6351. <COLUMN ID="56491" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6352. <OPTIONSELECTED>
  6353. <OPTIONSELECT VALUE="1" />
  6354. <OPTIONSELECT VALUE="0" />
  6355. </OPTIONSELECTED>
  6356. </COLUMN>
  6357. <COLUMN ID="56650" ColName="ID_COLABORADOR" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6358. <OPTIONSELECTED>
  6359. <OPTIONSELECT VALUE="1" />
  6360. <OPTIONSELECT VALUE="0" />
  6361. </OPTIONSELECTED>
  6362. </COLUMN>
  6363. <COLUMN ID="56493" ColName="DATA_REAJUSTE" PrevColName="" Pos="1" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6364. <OPTIONSELECTED>
  6365. </OPTIONSELECTED>
  6366. </COLUMN>
  6367. <COLUMN ID="56494" ColName="PORCENTAGEM" PrevColName="" Pos="2" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6368. <OPTIONSELECTED>
  6369. <OPTIONSELECT VALUE="0" />
  6370. </OPTIONSELECTED>
  6371. </COLUMN>
  6372. <COLUMN ID="56495" ColName="TIPO_REAJUSTE" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="A = Aumentar, D = Diminuir">
  6373. <OPTIONSELECTED>
  6374. <OPTIONSELECT VALUE="0" />
  6375. </OPTIONSELECTED>
  6376. </COLUMN>
  6377. </COLUMNS>
  6378. <RELATIONS_START>
  6379. <RELATION_START ID="56652" />
  6380. </RELATIONS_START>
  6381. <RELATIONS_END>
  6382. <RELATION_END ID="56643" />
  6383. </RELATIONS_END>
  6384. <INDICES>
  6385. <INDEX ID="56497" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6386. <INDEXCOLUMNS>
  6387. <INDEXCOLUMN idColumn="56491" LengthParam="0" />
  6388. </INDEXCOLUMNS>
  6389. </INDEX>
  6390. <INDEX ID="56645" IndexName="FK_COLAB_HIST_REAJUSTE" IndexKind="1" FKRefDef_Obj_id="56643">
  6391. <INDEXCOLUMNS>
  6392. <INDEXCOLUMN idColumn="56650" LengthParam="0" />
  6393. </INDEXCOLUMNS>
  6394. </INDEX>
  6395. </INDICES>
  6396. </TABLE>
  6397. <TABLE ID="56499" Tablename="ESTOQUE_REAJUSTE_DETALHE" PrevTableName="Table_11" XPos="1908" YPos="1278" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Tabela para armazenar os produtos que sofreram reajuste." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="38" >
  6398. <COLUMNS>
  6399. <COLUMN ID="56500" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6400. <OPTIONSELECTED>
  6401. <OPTIONSELECT VALUE="1" />
  6402. <OPTIONSELECT VALUE="0" />
  6403. </OPTIONSELECTED>
  6404. </COLUMN>
  6405. <COLUMN ID="87493" ColName="ID_ESTOQUE_REAJUSTE_CABECALHO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6406. <OPTIONSELECTED>
  6407. <OPTIONSELECT VALUE="1" />
  6408. <OPTIONSELECT VALUE="0" />
  6409. </OPTIONSELECTED>
  6410. </COLUMN>
  6411. <COLUMN ID="56660" ColName="ID_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6412. <OPTIONSELECTED>
  6413. <OPTIONSELECT VALUE="1" />
  6414. <OPTIONSELECT VALUE="0" />
  6415. </OPTIONSELECTED>
  6416. </COLUMN>
  6417. <COLUMN ID="69418" ColName="VALOR_ORIGINAL" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6418. <OPTIONSELECTED>
  6419. <OPTIONSELECT VALUE="0" />
  6420. </OPTIONSELECTED>
  6421. </COLUMN>
  6422. <COLUMN ID="69419" ColName="VALOR_REAJUSTE" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6423. <OPTIONSELECTED>
  6424. <OPTIONSELECT VALUE="0" />
  6425. </OPTIONSELECTED>
  6426. </COLUMN>
  6427. </COLUMNS>
  6428. <RELATIONS_END>
  6429. <RELATION_END ID="56652" />
  6430. <RELATION_END ID="56657" />
  6431. </RELATIONS_END>
  6432. <INDICES>
  6433. <INDEX ID="56503" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6434. <INDEXCOLUMNS>
  6435. <INDEXCOLUMN idColumn="56500" LengthParam="0" />
  6436. </INDEXCOLUMNS>
  6437. </INDEX>
  6438. <INDEX ID="56654" IndexName="FK_ESTOQUE_REAJUSTE_CAB_DET" IndexKind="1" FKRefDef_Obj_id="56652">
  6439. <INDEXCOLUMNS>
  6440. <INDEXCOLUMN idColumn="87493" LengthParam="0" />
  6441. </INDEXCOLUMNS>
  6442. </INDEX>
  6443. <INDEX ID="56659" IndexName="FK_PRODUTO_REAJUSTE" IndexKind="1" FKRefDef_Obj_id="56657">
  6444. <INDEXCOLUMNS>
  6445. <INDEXCOLUMN idColumn="56660" LengthParam="0" />
  6446. </INDEXCOLUMNS>
  6447. </INDEX>
  6448. </INDICES>
  6449. </TABLE>
  6450. <TABLE ID="56506" Tablename="ESTOQUE_CONTAGEM_CABECALHO" PrevTableName="Table_11" XPos="2535" YPos="1302" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena o cabe\231alho de uma contagem de produtos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="30" >
  6451. <COLUMNS>
  6452. <COLUMN ID="56507" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6453. <OPTIONSELECTED>
  6454. <OPTIONSELECT VALUE="1" />
  6455. <OPTIONSELECT VALUE="0" />
  6456. </OPTIONSELECTED>
  6457. </COLUMN>
  6458. <COLUMN ID="56508" ColName="DATA_CONTAGEM" PrevColName="" Pos="1" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Data da contagem dos itens no estoque">
  6459. <OPTIONSELECTED>
  6460. </OPTIONSELECTED>
  6461. </COLUMN>
  6462. <COLUMN ID="89063" ColName="ESTOQUE_ATUALIZADO" PrevColName="" Pos="3" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o (se o estoque for atualizado a partir da contagem, marca como S)">
  6463. <OPTIONSELECTED>
  6464. <OPTIONSELECT VALUE="0" />
  6465. </OPTIONSELECTED>
  6466. </COLUMN>
  6467. </COLUMNS>
  6468. <RELATIONS_START>
  6469. <RELATION_START ID="56684" />
  6470. </RELATIONS_START>
  6471. <INDICES>
  6472. <INDEX ID="56510" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6473. <INDEXCOLUMNS>
  6474. <INDEXCOLUMN idColumn="56507" LengthParam="0" />
  6475. </INDEXCOLUMNS>
  6476. </INDEX>
  6477. </INDICES>
  6478. </TABLE>
  6479. <TABLE ID="56511" Tablename="ESTOQUE_CONTAGEM_DETALHE" PrevTableName="Table_12" XPos="2142" YPos="1522" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena os detalhes de uma contagem de produtos e j\225 faz os calculos de acuracidade e diverg\234ncia." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="30" >
  6480. <COLUMNS>
  6481. <COLUMN ID="56681" ColName="ID" PrevColName="" Pos="4" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6482. <OPTIONSELECTED>
  6483. <OPTIONSELECT VALUE="1" />
  6484. <OPTIONSELECT VALUE="0" />
  6485. </OPTIONSELECTED>
  6486. </COLUMN>
  6487. <COLUMN ID="89064" ColName="ID_ESTOQUE_CONTAGEM_CABECALHO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6488. <OPTIONSELECTED>
  6489. <OPTIONSELECT VALUE="1" />
  6490. <OPTIONSELECT VALUE="0" />
  6491. </OPTIONSELECTED>
  6492. </COLUMN>
  6493. <COLUMN ID="56692" ColName="ID_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6494. <OPTIONSELECTED>
  6495. <OPTIONSELECT VALUE="1" />
  6496. <OPTIONSELECT VALUE="0" />
  6497. </OPTIONSELECTED>
  6498. </COLUMN>
  6499. <COLUMN ID="56514" ColName="QUANTIDADE_CONTADA" PrevColName="" Pos="2" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Quantidade contada">
  6500. <OPTIONSELECTED>
  6501. <OPTIONSELECT VALUE="0" />
  6502. </OPTIONSELECTED>
  6503. </COLUMN>
  6504. <COLUMN ID="56515" ColName="QUANTIDADE_SISTEMA" PrevColName="" Pos="3" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Quantidade do sistema - informa\231\227o autom\225tica">
  6505. <OPTIONSELECTED>
  6506. <OPTIONSELECT VALUE="0" />
  6507. </OPTIONSELECTED>
  6508. </COLUMN>
  6509. <COLUMN ID="56516" ColName="ACURACIDADE" PrevColName="" Pos="4" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="indicador da qualidade e confiabilidade da  informa\231\227o existente nos sistemas de controle">
  6510. <OPTIONSELECTED>
  6511. <OPTIONSELECT VALUE="0" />
  6512. </OPTIONSELECTED>
  6513. </COLUMN>
  6514. <COLUMN ID="56517" ColName="DIVERGENCIA" PrevColName="" Pos="5" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="identifica se os erros  de estoque t\234m grande relev\226ncia em rela\231\227o aos saldos controlados  pelo sistema ou se as diferen\231as s\227o residuais, tipicamente resultantes  de pequenos erros de contagem.">
  6515. <OPTIONSELECTED>
  6516. <OPTIONSELECT VALUE="0" />
  6517. </OPTIONSELECTED>
  6518. </COLUMN>
  6519. </COLUMNS>
  6520. <RELATIONS_END>
  6521. <RELATION_END ID="56684" />
  6522. <RELATION_END ID="56689" />
  6523. </RELATIONS_END>
  6524. <INDICES>
  6525. <INDEX ID="56682" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6526. <INDEXCOLUMNS>
  6527. <INDEXCOLUMN idColumn="56681" LengthParam="0" />
  6528. </INDEXCOLUMNS>
  6529. </INDEX>
  6530. <INDEX ID="56686" IndexName="FK_CONTAGEM_ESTOQUE_CAB_DET" IndexKind="1" FKRefDef_Obj_id="56684">
  6531. <INDEXCOLUMNS>
  6532. <INDEXCOLUMN idColumn="89064" LengthParam="0" />
  6533. </INDEXCOLUMNS>
  6534. </INDEX>
  6535. <INDEX ID="56691" IndexName="FK_PRODUTO_CONTAGEM_ESTOQUE" IndexKind="1" FKRefDef_Obj_id="56689">
  6536. <INDEXCOLUMNS>
  6537. <INDEXCOLUMN idColumn="56692" LengthParam="0" />
  6538. </INDEXCOLUMNS>
  6539. </INDEX>
  6540. </INDICES>
  6541. </TABLE>
  6542. <TABLE ID="81336" Tablename="FIN_CONFIGURACAO_BOLETO" PrevTableName="Table_343" XPos="5905" YPos="4470" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Armazena as configura\231\245es dos boletos." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="101" >
  6543. <COLUMNS>
  6544. <COLUMN ID="81338" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6545. <OPTIONSELECTED>
  6546. <OPTIONSELECT VALUE="1" />
  6547. <OPTIONSELECT VALUE="0" />
  6548. </OPTIONSELECTED>
  6549. </COLUMN>
  6550. <COLUMN ID="81426" ColName="ID_CONTA_CAIXA" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6551. <OPTIONSELECTED>
  6552. <OPTIONSELECT VALUE="1" />
  6553. <OPTIONSELECT VALUE="0" />
  6554. </OPTIONSELECTED>
  6555. </COLUMN>
  6556. <COLUMN ID="81346" ColName="INSTRUCAO01" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Instru\231\227o 01 do boleto">
  6557. <OPTIONSELECTED>
  6558. <OPTIONSELECT VALUE="0" />
  6559. </OPTIONSELECTED>
  6560. </COLUMN>
  6561. <COLUMN ID="81347" ColName="INSTRUCAO02" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Instru\231\227o 02 do boleto">
  6562. <OPTIONSELECTED>
  6563. <OPTIONSELECT VALUE="0" />
  6564. </OPTIONSELECTED>
  6565. </COLUMN>
  6566. <COLUMN ID="81349" ColName="CAMINHO_ARQUIVO_REMESSA" PrevColName="" Pos="5" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Caminho onde o arquivo de remessa deve ser gerado">
  6567. <OPTIONSELECTED>
  6568. <OPTIONSELECT VALUE="0" />
  6569. </OPTIONSELECTED>
  6570. </COLUMN>
  6571. <COLUMN ID="81350" ColName="CAMINHO_ARQUIVO_RETORNO" PrevColName="" Pos="6" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Caminho onde o arquivo de retorno deve ser lido">
  6572. <OPTIONSELECTED>
  6573. <OPTIONSELECT VALUE="0" />
  6574. </OPTIONSELECTED>
  6575. </COLUMN>
  6576. <COLUMN ID="81352" ColName="CAMINHO_ARQUIVO_LOGOTIPO" PrevColName="" Pos="7" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Caminho onde se encontra o logotipo do banco que \233 impresso no boleto">
  6577. <OPTIONSELECTED>
  6578. <OPTIONSELECT VALUE="0" />
  6579. </OPTIONSELECTED>
  6580. </COLUMN>
  6581. <COLUMN ID="81353" ColName="CAMINHO_ARQUIVO_PDF" PrevColName="" Pos="8" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Caminho onde o arquivo PDF do boleto deve ser gerado, se for o caso">
  6582. <OPTIONSELECTED>
  6583. <OPTIONSELECT VALUE="0" />
  6584. </OPTIONSELECTED>
  6585. </COLUMN>
  6586. <COLUMN ID="81355" ColName="MENSAGEM" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(250)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6587. <OPTIONSELECTED>
  6588. <OPTIONSELECT VALUE="0" />
  6589. </OPTIONSELECTED>
  6590. </COLUMN>
  6591. <COLUMN ID="81358" ColName="LOCAL_PAGAMENTO" PrevColName="" Pos="10" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6592. <OPTIONSELECTED>
  6593. <OPTIONSELECT VALUE="0" />
  6594. </OPTIONSELECTED>
  6595. </COLUMN>
  6596. <COLUMN ID="81351" ColName="LAYOUT_REMESSA" PrevColName="" Pos="7" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="Layout da remessa: 240 ou 400">
  6597. <OPTIONSELECTED>
  6598. <OPTIONSELECT VALUE="0" />
  6599. </OPTIONSELECTED>
  6600. </COLUMN>
  6601. <COLUMN ID="81356" ColName="ACEITE" PrevColName="" Pos="11" idDatatype="19" DatatypeParams="(1)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="S=Sim | N=N\227o">
  6602. <OPTIONSELECTED>
  6603. <OPTIONSELECT VALUE="0" />
  6604. </OPTIONSELECTED>
  6605. </COLUMN>
  6606. <COLUMN ID="81370" ColName="ESPECIE" PrevColName="" Pos="14" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="DM-Duplicata Mercantil | DS-Duplicata de Servi\231os | RC-Recibo | NP-Nota Promiss\243ria">
  6607. <OPTIONSELECTED>
  6608. <OPTIONSELECT VALUE="0" />
  6609. </OPTIONSELECTED>
  6610. </COLUMN>
  6611. <COLUMN ID="81419" ColName="CARTEIRA" PrevColName="" Pos="14" idDatatype="19" DatatypeParams="(3)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6612. <OPTIONSELECTED>
  6613. <OPTIONSELECT VALUE="0" />
  6614. </OPTIONSELECTED>
  6615. </COLUMN>
  6616. <COLUMN ID="81420" ColName="CODIGO_CONVENIO" PrevColName="" Pos="15" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6617. <OPTIONSELECTED>
  6618. <OPTIONSELECT VALUE="0" />
  6619. </OPTIONSELECTED>
  6620. </COLUMN>
  6621. <COLUMN ID="81421" ColName="CODIGO_CEDENTE" PrevColName="" Pos="16" idDatatype="20" DatatypeParams="(20)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6622. <OPTIONSELECTED>
  6623. <OPTIONSELECT VALUE="0" />
  6624. </OPTIONSELECTED>
  6625. </COLUMN>
  6626. <COLUMN ID="81368" ColName="TAXA_MULTA" PrevColName="" Pos="14" idDatatype="12" DatatypeParams="(18,6)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6627. <OPTIONSELECTED>
  6628. <OPTIONSELECT VALUE="0" />
  6629. </OPTIONSELECTED>
  6630. </COLUMN>
  6631. </COLUMNS>
  6632. <RELATIONS_END>
  6633. <RELATION_END ID="81423" />
  6634. </RELATIONS_END>
  6635. <INDICES>
  6636. <INDEX ID="81339" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6637. <INDEXCOLUMNS>
  6638. <INDEXCOLUMN idColumn="81338" LengthParam="0" />
  6639. </INDEXCOLUMNS>
  6640. </INDEX>
  6641. <INDEX ID="81425" IndexName="FK_CTA_CX_CONF_BOLETO" IndexKind="1" FKRefDef_Obj_id="81423">
  6642. <INDEXCOLUMNS>
  6643. <INDEXCOLUMN idColumn="81426" LengthParam="0" />
  6644. </INDEXCOLUMNS>
  6645. </INDEX>
  6646. </INDICES>
  6647. </TABLE>
  6648. <TABLE ID="88263" Tablename="MODELO_NOTA_FISCAL" PrevTableName="Table_345" XPos="6472" YPos="3210" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Cont\233m os modelos definidos no Ato Cotepe 46/10." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="536" >
  6649. <COLUMNS>
  6650. <COLUMN ID="88265" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6651. <OPTIONSELECTED>
  6652. <OPTIONSELECT VALUE="1" />
  6653. <OPTIONSELECT VALUE="0" />
  6654. </OPTIONSELECTED>
  6655. </COLUMN>
  6656. <COLUMN ID="88267" ColName="CODIGO" PrevColName="" Pos="1" idDatatype="19" DatatypeParams="(2)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6657. <OPTIONSELECTED>
  6658. <OPTIONSELECT VALUE="0" />
  6659. </OPTIONSELECTED>
  6660. </COLUMN>
  6661. <COLUMN ID="88268" ColName="DESCRICAO" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6662. <OPTIONSELECTED>
  6663. <OPTIONSELECT VALUE="0" />
  6664. </OPTIONSELECTED>
  6665. </COLUMN>
  6666. <COLUMN ID="88269" ColName="MODELO" PrevColName="" Pos="3" idDatatype="20" DatatypeParams="(10)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="">
  6667. <OPTIONSELECTED>
  6668. <OPTIONSELECT VALUE="0" />
  6669. </OPTIONSELECTED>
  6670. </COLUMN>
  6671. </COLUMNS>
  6672. <INDICES>
  6673. <INDEX ID="88266" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6674. <INDEXCOLUMNS>
  6675. <INDEXCOLUMN idColumn="88265" LengthParam="0" />
  6676. </INDEXCOLUMNS>
  6677. </INDEX>
  6678. </INDICES>
  6679. </TABLE>
  6680. <TABLE ID="94723" Tablename="PRODUTO_ALTERACAO_ITEM" PrevTableName="Table_355" XPos="2748" YPos="1862" TableType="1" TablePrefix="0" nmTable="0" TEMPORARY="0" UseStandardInserts="0" StandardInserts="\n" TableOptions="DelayKeyTblUpdates=0\nPackKeys=0\nRowChecksum=0\nRowFormat=0\nUseRaid=0\nRaidType=0\n" Comments="Registro 0205 do Sped Fiscal. Este registro tem por objetivo informar altera\231\245es ocorridas na descri\231\227o do produto, desde que n\227o o descaracterize ou haja modifica\231\227o que o identifique como sendo novo produto. Caso n\227o tenha ocorrido movimenta\231\227o no per\237odo da altera\231\227o do item, dever\225 ser informada no primeiro per\237odo em que houver movimenta\231\227o do item ou no invent\225rio. Dever\225 ser ainda informado quando ocorrer altera\231\227o na codifica\231\227o do produto." Collapsed="1" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="10" >
  6681. <COLUMNS>
  6682. <COLUMN ID="94725" ColName="ID" PrevColName="" Pos="0" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="1" NotNull="1" AutoInc="1" IsForeignKey="0" DefaultValue="" Comments="">
  6683. <OPTIONSELECTED>
  6684. <OPTIONSELECT VALUE="1" />
  6685. <OPTIONSELECT VALUE="0" />
  6686. </OPTIONSELECTED>
  6687. </COLUMN>
  6688. <COLUMN ID="94734" ColName="ID_PRODUTO" PrevColName="" Pos="1" idDatatype="5" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="1" AutoInc="0" IsForeignKey="1" DefaultValue="" Comments="">
  6689. <OPTIONSELECTED>
  6690. <OPTIONSELECT VALUE="1" />
  6691. <OPTIONSELECT VALUE="0" />
  6692. </OPTIONSELECTED>
  6693. </COLUMN>
  6694. <COLUMN ID="94727" ColName="CODIGO" PrevColName="" Pos="1" idDatatype="20" DatatypeParams="(14)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="COD_ANT_ITEM [C\243digo anterior do item com rela\231\227o \224 \250ltima informa\231\227o apresentada.]">
  6695. <OPTIONSELECTED>
  6696. <OPTIONSELECT VALUE="0" />
  6697. </OPTIONSELECTED>
  6698. </COLUMN>
  6699. <COLUMN ID="94728" ColName="NOME" PrevColName="" Pos="2" idDatatype="20" DatatypeParams="(100)" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="DESCR_ANT_ITEM [Descri\231\227o anterior do item]">
  6700. <OPTIONSELECTED>
  6701. <OPTIONSELECT VALUE="0" />
  6702. </OPTIONSELECTED>
  6703. </COLUMN>
  6704. <COLUMN ID="94729" ColName="DATA_INICIAL" PrevColName="" Pos="3" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="DT_INI [Data inicial de utiliza\231\227o da descri\231\227o do item]">
  6705. <OPTIONSELECTED>
  6706. </OPTIONSELECTED>
  6707. </COLUMN>
  6708. <COLUMN ID="94730" ColName="DATA_FINAL" PrevColName="" Pos="4" idDatatype="14" DatatypeParams="" Width="-1" Prec="-1" PrimaryKey="0" NotNull="0" AutoInc="0" IsForeignKey="0" DefaultValue="" Comments="DT_FIM [Data final de utiliza\231\227o da descri\231\227o do item]">
  6709. <OPTIONSELECTED>
  6710. </OPTIONSELECTED>
  6711. </COLUMN>
  6712. </COLUMNS>
  6713. <RELATIONS_END>
  6714. <RELATION_END ID="94731" />
  6715. </RELATIONS_END>
  6716. <INDICES>
  6717. <INDEX ID="94726" IndexName="PRIMARY" IndexKind="0" FKRefDef_Obj_id="-1">
  6718. <INDEXCOLUMNS>
  6719. <INDEXCOLUMN idColumn="94725" LengthParam="0" />
  6720. </INDEXCOLUMNS>
  6721. </INDEX>
  6722. <INDEX ID="94733" IndexName="FK_PRODUTO_ALTERACAO_ITEM" IndexKind="1" FKRefDef_Obj_id="94731">
  6723. <INDEXCOLUMNS>
  6724. <INDEXCOLUMN idColumn="94734" LengthParam="0" />
  6725. </INDEXCOLUMNS>
  6726. </INDEX>
  6727. </INDICES>
  6728. </TABLE>
  6729. </TABLES>
  6730. <RELATIONS>
  6731. <RELATION ID="1138" RelationName="FK_UNIDADE_PRODUTO" Kind="2" SrcTable="1134" DestTable="1127" FKFields="ID=ID_UNIDADE_PRODUTO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="15" CaptionOffsetY="-29" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="1140" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="20" />
  6732. <RELATION ID="1270" RelationName="FK_SETOR_COLABORADOR" Kind="2" SrcTable="1264" DestTable="1097" FKFields="ID=ID_SETOR\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-7" CaptionOffsetY="-6" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="1272" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="26" />
  6733. <RELATION ID="1504" RelationName="FK_GRUPO_SUB_GRUPO" Kind="2" SrcTable="1141" DestTable="1498" FKFields="ID=ID_GRUPO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="1506" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="59" />
  6734. <RELATION ID="1508" RelationName="FK_SUB_GRUPO_PRODUTO" Kind="2" SrcTable="1498" DestTable="1127" FKFields="ID=ID_SUB_GRUPO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="1510" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="60" />
  6735. <RELATION ID="5336" RelationName="FK_CARGO_COLABORADOR" Kind="2" SrcTable="1249" DestTable="1097" FKFields="ID=ID_CARGO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-10" CaptionOffsetY="-4" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5338" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="85" />
  6736. <RELATION ID="5339" RelationName="FK_TIPO_COLABORADOR" Kind="2" SrcTable="5316" DestTable="1097" FKFields="ID=ID_TIPO_COLABORADOR\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-3" CaptionOffsetY="12" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5341" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="86" />
  6737. <RELATION ID="5342" RelationName="FK_NIVEL_FORMACAO_COLABORADOR" Kind="2" SrcTable="1279" DestTable="1097" FKFields="ID=ID_NIVEL_FORMACAO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="12" CaptionOffsetY="-38" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5344" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="87" />
  6738. <RELATION ID="5443" RelationName="FK_COLABORADOR_RELACIONAMENTO" Kind="2" SrcTable="1097" DestTable="1460" FKFields="ID=ID_COLABORADOR\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-4" CaptionOffsetY="-3" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5445" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="89" />
  6739. <RELATION ID="5447" RelationName="FK_TIPO_REL_COLABORADOR" Kind="2" SrcTable="1470" DestTable="1460" FKFields="ID=ID_TIPO_RELACIONAMENTO\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-12" CaptionOffsetY="-14" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5449" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="89" />
  6740. <RELATION ID="5475" RelationName="FK_PAIS_UF" Kind="2" SrcTable="1352" DestTable="1358" FKFields="ID=ID_PAIS\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5477" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="89" />
  6741. <RELATION ID="5482" RelationName="FK_UF_MUNICIPIO" Kind="2" SrcTable="1358" DestTable="1365" FKFields="ID=ID_UF\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5484" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="89" />
  6742. <RELATION ID="5489" RelationName="FK_BANCO_AGENCIA" Kind="2" SrcTable="1379" DestTable="1388" FKFields="ID=ID_BANCO\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="-8" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5491" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="88" />
  6743. <RELATION ID="5525" RelationName="FK_SITUACAO_FORNECEDOR" Kind="2" SrcTable="1833" DestTable="1085" FKFields="ID=ID_SITUACAO_FOR_CLI\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-31" CaptionOffsetY="8" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5527" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="77" />
  6744. <RELATION ID="5528" RelationName="FK_SITUACAO_CLIENTE" Kind="2" SrcTable="1833" DestTable="1089" FKFields="ID=ID_SITUACAO_FOR_CLI\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-1" CaptionOffsetY="-4" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5530" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="78" />
  6745. <RELATION ID="5541" RelationName="FK_COLABORADOR_USUARIO" Kind="5" SrcTable="1097" DestTable="5533" FKFields="ID=ID_COLABORADOR\n" FKFieldsComments="\n" relDirection="4" MidOffset="23" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5543" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="80" />
  6746. <RELATION ID="5602" RelationName="FK_PAPEL_USUARIO" Kind="2" SrcTable="5569" DestTable="5533" FKFields="ID=ID_PAPEL\n" FKFieldsComments="\n" relDirection="1" MidOffset="-12" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-6" CaptionOffsetY="-10" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5604" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="86" />
  6747. <RELATION ID="5851" RelationName="FK_EMPRESA_CONTATO" Kind="2" SrcTable="1074" DestTable="1645" FKFields="ID=ID_EMPRESA\n" FKFieldsComments="\n" relDirection="4" MidOffset="56" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5853" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="90" />
  6748. <RELATION ID="5866" RelationName="FK_PAPEL_FUNCAO" Kind="2" SrcTable="5569" DestTable="5586" FKFields="ID=ID_PAPEL\n" FKFieldsComments="\n" relDirection="3" MidOffset="-5" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5868" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="89" />
  6749. <RELATION ID="5869" RelationName="FK_FUNCAO_PAPEL" Kind="2" SrcTable="5579" DestTable="5586" FKFields="ID=ID_FUNCAO\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="5871" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="90" />
  6750. <RELATION ID="15404" RelationName="FK_PRODUTO_FICHA_TECNICA" Kind="2" SrcTable="1127" DestTable="15394" FKFields="ID=ID_PRODUTO\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="15406" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="200" />
  6751. <RELATION ID="15505" RelationName="FK_TALONARIO_CHEQUE" Kind="2" SrcTable="15468" DestTable="15496" FKFields="ID=ID_TALONARIO_CHEQUE\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="15507" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="205" />
  6752. <RELATION ID="17859" RelationName="FK_PESSOA_ENDERECO" Kind="2" SrcTable="17504" DestTable="1673" FKFields="ID=ID_PESSOA\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="17861" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="206" />
  6753. <RELATION ID="17871" RelationName="FK_EMPRESA_ENDERECO" Kind="2" SrcTable="1074" DestTable="1673" FKFields="ID=ID_EMPRESA\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="17873" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="206" />
  6754. <RELATION ID="17880" RelationName="FK_PESSOA_CONTATO" Kind="2" SrcTable="17504" DestTable="1645" FKFields="ID=ID_PESSOA\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="15" CaptionOffsetY="5" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="17882" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="203" />
  6755. <RELATION ID="18068" RelationName="FK_ATIVIDADE_FORNECEDOR" Kind="2" SrcTable="18062" DestTable="1085" FKFields="ID=ID_ATIVIDADE_FOR_CLI\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="18070" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="211" />
  6756. <RELATION ID="18072" RelationName="FK_ATIVIDADE_CLIENTE" Kind="2" SrcTable="18062" DestTable="1089" FKFields="ID=ID_ATIVIDADE_FOR_CLI\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="18074" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="212" />
  6757. <RELATION ID="18125" RelationName="FK_ESTADO_CIVIL_PF" Kind="2" SrcTable="18119" DestTable="17741" FKFields="ID=ID_ESTADO_CIVIL\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="18127" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="218" />
  6758. <RELATION ID="18576" RelationName="FK_MARCA_PRODUTO" Kind="2" SrcTable="18570" DestTable="1127" FKFields="ID=ID_MARCA_PRODUTO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="18578" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="188" />
  6759. <RELATION ID="19653" RelationName="FK_AGENCIA_CONTA" Kind="2" SrcTable="1388" DestTable="19644" FKFields="ID=ID_AGENCIA_BANCO\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="19655" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="182" />
  6760. <RELATION ID="19659" RelationName="FK_CONTA_TALONARIO" Kind="2" SrcTable="19644" DestTable="15468" FKFields="ID=ID_CONTA_CAIXA\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="19661" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="182" />
  6761. <RELATION ID="20657" RelationName="FK_PESSOA_JURIDICA" Kind="5" SrcTable="17504" DestTable="17745" FKFields="ID=ID_PESSOA\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="3" CaptionOffsetY="-6" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="20659" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="163" />
  6762. <RELATION ID="20662" RelationName="FK_PESSOA_FISICA" Kind="5" SrcTable="17504" DestTable="17741" FKFields="ID=ID_PESSOA\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="20664" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="163" />
  6763. <RELATION ID="20829" RelationName="FK_PESSOA_CLIENTE" Kind="5" SrcTable="17504" DestTable="1089" FKFields="ID=ID_PESSOA\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="20831" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="163" />
  6764. <RELATION ID="20834" RelationName="FK_PESSOA_TRANSPORTADORA" Kind="5" SrcTable="17504" DestTable="15032" FKFields="ID=ID_PESSOA\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="20836" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="163" />
  6765. <RELATION ID="20840" RelationName="FK_PESSOA_FORNECEDOR" Kind="5" SrcTable="17504" DestTable="1085" FKFields="ID=ID_PESSOA\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="20842" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="163" />
  6766. <RELATION ID="20844" RelationName="FK_PESSOA_COLABORADOR" Kind="5" SrcTable="17504" DestTable="1097" FKFields="ID=ID_PESSOA\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="20846" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="163" />
  6767. <RELATION ID="22926" RelationName="FK_CONTADOR_EMPRESA" Kind="2" SrcTable="15352" DestTable="1074" FKFields="ID=ID_CONTADOR\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="22928" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="164" />
  6768. <RELATION ID="42236" RelationName="FK_SITUACAO_COLABORADOR" Kind="2" SrcTable="42229" DestTable="1097" FKFields="ID=ID_SITUACAO_COLABORADOR\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="42238" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="168" />
  6769. <RELATION ID="42414" RelationName="FK_TIPO_ADMISSAO_COLAB" Kind="2" SrcTable="42407" DestTable="1097" FKFields="ID=ID_TIPO_ADMISSAO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="42416" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="170" />
  6770. <RELATION ID="46315" RelationName="FK_CONTA_OP_CARTAO" Kind="2" SrcTable="19644" DestTable="1420" FKFields="ID=ID_CONTA_CAIXA\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46317" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="339" />
  6771. <RELATION ID="46417" RelationName="FK_TIPO_REQ_COMPRA" Kind="2" SrcTable="46400" DestTable="46402" FKFields="ID=ID_COMPRA_TIPO_REQUISICAO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="15879" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="363" />
  6772. <RELATION ID="46418" RelationName="FK_REQUISICAO_COMPRA_DETALHE" Kind="2" SrcTable="46402" DestTable="46403" FKFields="ID=ID_COMPRA_REQUISICAO\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="3" CaptionOffsetY="-15" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="16049" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="364" />
  6773. <RELATION ID="46420" RelationName="FK_COTACAO_FORNECEDOR" Kind="2" SrcTable="46405" DestTable="46406" FKFields="ID=ID_COMPRA_COTACAO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="16084" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="366" />
  6774. <RELATION ID="46422" RelationName="FK_FORNECEDOR_COTACAO_DETALHE" Kind="2" SrcTable="46406" DestTable="46407" FKFields="ID=ID_COMPRA_FORNECEDOR_COTACAO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-5" CaptionOffsetY="-11" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="16110" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="368" />
  6775. <RELATION ID="46423" RelationName="FK_REQUISICAO_COTACAO_DETALHE" Kind="2" SrcTable="46403" DestTable="46408" FKFields="ID=ID_COMPRA_REQUISICAO_DETALHE\n" FKFieldsComments="\n" relDirection="2" MidOffset="-15" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="16120" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="369" />
  6776. <RELATION ID="46427" RelationName="FK_PEDIDO_COMPRA_DETALHE" Kind="2" SrcTable="46409" DestTable="46410" FKFields="ID=ID_COMPRA_PEDIDO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="16219" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="373" />
  6777. <RELATION ID="46429" RelationName="FK_COT_PEDIDO_DET" Kind="2" SrcTable="46407" DestTable="46411" FKFields="ID=ID_COMPRA_COTACAO_DETALHE\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="31" CaptionOffsetY="68" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="16231" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="375" />
  6778. <RELATION ID="46431" RelationName="FK_TIPO_PEDIDO_COMPRA" Kind="2" SrcTable="46413" DestTable="46409" FKFields="ID=ID_COMPRA_TIPO_PEDIDO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="22746" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="377" />
  6779. <RELATION ID="46433" RelationName="FK_FORNECEDOR_PEDIDO_COMPRA" Kind="2" SrcTable="1085" DestTable="46409" FKFields="ID=ID_FORNECEDOR\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46435" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="379" />
  6780. <RELATION ID="46441" RelationName="FK_PRODUTO_REQ_COMPRA_DET" Kind="2" SrcTable="1127" DestTable="46403" FKFields="ID=ID_PRODUTO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46443" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="379" />
  6781. <RELATION ID="46447" RelationName="FK_FORNECEDOR_COTACAO" Kind="2" SrcTable="1085" DestTable="46406" FKFields="ID=ID_FORNECEDOR\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46449" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="377" />
  6782. <RELATION ID="46450" RelationName="FK_COL_REQ_COMPRA" Kind="2" SrcTable="1097" DestTable="46402" FKFields="ID=ID_COLABORADOR\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46452" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="378" />
  6783. <RELATION ID="46519" RelationName="FK_VENDA_ORCAMENTO_CAB_DET" Kind="2" SrcTable="46500" DestTable="46505" FKFields="ID=ID_VENDA_ORCAMENTO_CABECALHO\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="14" CaptionOffsetY="-11" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="17103" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="394" />
  6784. <RELATION ID="46521" RelationName="FK_VENDA_CAB_DET" Kind="2" SrcTable="46506" DestTable="46507" FKFields="ID=ID_VENDA_CABECALHO\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="2" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="17128" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="396" />
  6785. <RELATION ID="46522" RelationName="FK_ORCAMENTO_VENDA" Kind="2" SrcTable="46500" DestTable="46506" FKFields="ID=ID_VENDA_ORCAMENTO_CABECALHO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-42" CaptionOffsetY="105" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="17131" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="397" />
  6786. <RELATION ID="46523" RelationName="FK_CONDICOES_PARCELAS" Kind="2" SrcTable="46508" DestTable="46509" FKFields="ID=ID_VENDA_CONDICOES_PAGAMENTO\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="17157" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="398" />
  6787. <RELATION ID="46524" RelationName="FK_VENDA_CAB_CONDICOES" Kind="2" SrcTable="46508" DestTable="46506" FKFields="ID=ID_VENDA_CONDICOES_PAGAMENTO\n" FKFieldsComments="\n" relDirection="2" MidOffset="-8" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-349" CaptionOffsetY="-473" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="17160" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="399" />
  6788. <RELATION ID="46532" RelationName="FK_COND_PGTO_ORC_PED_VENDA" Kind="2" SrcTable="46508" DestTable="46500" FKFields="ID=ID_VENDA_CONDICOES_PAGAMENTO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="10" CaptionOffsetY="75" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="23497" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="407" />
  6789. <RELATION ID="46537" RelationName="FK_TRANSP_ORC_PED_VENDA" Kind="2" SrcTable="15032" DestTable="46500" FKFields="ID=ID_TRANSPORTADORA\n" FKFieldsComments="\n" relDirection="4" MidOffset="-30" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46539" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="412" />
  6790. <RELATION ID="46549" RelationName="FK_CLIENTE_VENDA_CAB" Kind="2" SrcTable="1089" DestTable="46506" FKFields="ID=ID_CLIENTE\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46551" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="410" />
  6791. <RELATION ID="46552" RelationName="FK_CLIENTE_ORC_PED_VENDA" Kind="2" SrcTable="1089" DestTable="46500" FKFields="ID=ID_CLIENTE\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46554" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="411" />
  6792. <RELATION ID="46559" RelationName="FK_VENDEDOR_VENDA_CAB" Kind="2" SrcTable="23408" DestTable="46506" FKFields="ID=ID_VENDEDOR\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46562" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="413" />
  6793. <RELATION ID="46564" RelationName="FK_PRODUTO_VENDA_DET" Kind="2" SrcTable="1127" DestTable="46507" FKFields="ID=ID_PRODUTO\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46566" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="407" />
  6794. <RELATION ID="46567" RelationName="FK_PRODUTO_ORC_VENDA_DET" Kind="2" SrcTable="1127" DestTable="46505" FKFields="ID=ID_PRODUTO\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46569" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="408" />
  6795. <RELATION ID="46589" RelationName="FK_VENDEDOR_ORC_PED_VENDA" Kind="2" SrcTable="23408" DestTable="46500" FKFields="ID=ID_VENDEDOR\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46592" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="405" />
  6796. <RELATION ID="46638" RelationName="FK_CONTA_CX_FECHAMENTO" Kind="2" SrcTable="19644" DestTable="46630" FKFields="ID=ID_CONTA_CAIXA\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46640" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="416" />
  6797. <RELATION ID="46641" RelationName="FK_CONTA_CX_EXTRATO" Kind="2" SrcTable="19644" DestTable="46633" FKFields="ID=ID_CONTA_CAIXA\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="46643" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="417" />
  6798. <RELATION ID="46812" RelationName="FK_DOC_ORIG_LCTO_PAGAR" Kind="2" SrcTable="46759" DestTable="46754" FKFields="ID=ID_FIN_DOCUMENTO_ORIGEM\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="6" CaptionOffsetY="-11" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="10233" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="472" />
  6799. <RELATION ID="46813" RelationName="FK_STATUS_PARCELA_PAGAR" Kind="2" SrcTable="46760" DestTable="46755" FKFields="ID=ID_FIN_STATUS_PARCELA\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="10244" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="473" />
  6800. <RELATION ID="46814" RelationName="FK_PARCELA_PAGAMENTO" Kind="2" SrcTable="46755" DestTable="46756" FKFields="ID=ID_FIN_PARCELA_PAGAR\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="10264" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="474" />
  6801. <RELATION ID="46815" RelationName="FK_LANCAMENTO_PARCELA" Kind="2" SrcTable="46754" DestTable="46755" FKFields="ID=ID_FIN_LANCAMENTO_PAGAR\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="10375" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="475" />
  6802. <RELATION ID="46817" RelationName="FK_CHEQUE_PARCELA" Kind="2" SrcTable="46763" DestTable="46756" FKFields="ID=ID_FIN_CHEQUE_EMITIDO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="15" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="10521" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="477" />
  6803. <RELATION ID="46818" RelationName="FK_TIPO_PAGAMENTO_PARCELA" Kind="2" SrcTable="46761" DestTable="46756" FKFields="ID=ID_FIN_TIPO_PAGAMENTO\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="2" CaptionOffsetY="-8" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="10539" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="478" />
  6804. <RELATION ID="47747" RelationName="FK_PLANO_NATUREZA_FINAN" Kind="2" SrcTable="47707" DestTable="47700" FKFields="ID=ID_PLANO_NATUREZA_FINANCEIRA\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="47648" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="515" />
  6805. <RELATION ID="48786" RelationName="FK_CONTA_CX_PARC_PGTO" Kind="2" SrcTable="19644" DestTable="46756" FKFields="ID=ID_CONTA_CAIXA\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="48788" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="514" />
  6806. <RELATION ID="48807" RelationName="FK_LANC_PAG_NAT_FIN" Kind="2" SrcTable="46754" DestTable="48802" FKFields="ID=ID_FIN_LANCAMENTO_PAGAR\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="48809" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="517" />
  6807. <RELATION ID="48811" RelationName="FK_NAT_FIN_LANC_PAGAR" Kind="2" SrcTable="47700" DestTable="48802" FKFields="ID=ID_NATUREZA_FINANCEIRA\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="48813" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="518" />
  6808. <RELATION ID="48930" RelationName="FK_PARCELA_RECEBIMENTO" Kind="2" SrcTable="48925" DestTable="48926" FKFields="ID=ID_FIN_PARCELA_RECEBER\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="10264" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="546" />
  6809. <RELATION ID="48931" RelationName="FK_LANCAMENTO_PARCELA_RECEBER" Kind="2" SrcTable="48924" DestTable="48925" FKFields="ID=ID_FIN_LANCAMENTO_RECEBER\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="-21" CaptionOffsetY="-11" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="10375" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="547" />
  6810. <RELATION ID="48934" RelationName="FK_TIPO_PARC_RECEBIMENTO" Kind="2" SrcTable="48896" DestTable="48926" FKFields="ID=ID_FIN_TIPO_RECEBIMENTO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="48936" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="550" />
  6811. <RELATION ID="48955" RelationName="FK_STATUS_PARCELA_RECEBER" Kind="2" SrcTable="46760" DestTable="48925" FKFields="ID=ID_FIN_STATUS_PARCELA\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="48957" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="552" />
  6812. <RELATION ID="48987" RelationName="FK_LANC_REC_NAT_FIN" Kind="2" SrcTable="48924" DestTable="48982" FKFields="ID=ID_FIN_LANCAMENTO_RECEBER\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="48989" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="550" />
  6813. <RELATION ID="48990" RelationName="FK_NAT_FIN_LANC_RECEBER" Kind="2" SrcTable="47700" DestTable="48982" FKFields="ID=ID_NATUREZA_FINANCEIRA\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="48992" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="551" />
  6814. <RELATION ID="49069" RelationName="FK_CHEQUE_CH_EMITIDO" Kind="2" SrcTable="15496" DestTable="46763" FKFields="ID=ID_CHEQUE\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="49071" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="558" />
  6815. <RELATION ID="49088" RelationName="FK_VENDA_COMISSAO" Kind="2" SrcTable="46506" DestTable="49080" FKFields="ID=ID_VENDA_CABECALHO\n" FKFieldsComments="\n" relDirection="3" MidOffset="20" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="49090" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="560" />
  6816. <RELATION ID="49092" RelationName="FK_VENDEDOR_COMISSAO" Kind="2" SrcTable="23408" DestTable="49080" FKFields="ID=ID_VENDEDOR\n" FKFieldsComments="\n" relDirection="3" MidOffset="224" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="49095" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="561" />
  6817. <RELATION ID="49250" RelationName="FK_COLABORADOR_VENDEDOR" Kind="5" SrcTable="1097" DestTable="23408" FKFields="ID=ID_COLABORADOR\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="49252" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="572" />
  6818. <RELATION ID="50291" RelationName="FK_DOC_ORI_LANC_RECEBER" Kind="2" SrcTable="46759" DestTable="48924" FKFields="ID=ID_FIN_DOCUMENTO_ORIGEM\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="50293" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="604" />
  6819. <RELATION ID="54106" RelationName="FK_EMPRESA_CNAE" Kind="2" SrcTable="1074" DestTable="54098" FKFields="ID=ID_EMPRESA\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="54108" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="592" />
  6820. <RELATION ID="54112" RelationName="FK_CNAE_EMPRESA" Kind="2" SrcTable="12368" DestTable="54098" FKFields="ID=ID_CNAE\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="54114" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="593" />
  6821. <RELATION ID="54153" RelationName="FK_PROD_PEDIDO_DETALHE" Kind="2" SrcTable="1127" DestTable="46410" FKFields="ID=ID_PRODUTO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="54155" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="586" />
  6822. <RELATION ID="54164" RelationName="FK_PRODUTO_COTACAO_DETALHE" Kind="2" SrcTable="1127" DestTable="46407" FKFields="ID=ID_PRODUTO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="54166" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="586" />
  6823. <RELATION ID="54924" RelationName="FK_TIPO_NF_VENDA_CAB" Kind="2" SrcTable="46504" DestTable="46506" FKFields="ID=ID_TIPO_NOTA_FISCAL\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="54926" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="584" />
  6824. <RELATION ID="56643" RelationName="FK_COLAB_HIST_REAJUSTE" Kind="2" SrcTable="1097" DestTable="56490" FKFields="ID=ID_COLABORADOR\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="56645" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="609" />
  6825. <RELATION ID="56652" RelationName="FK_ESTOQUE_REAJUSTE_CAB_DET" Kind="2" SrcTable="56490" DestTable="56499" FKFields="ID=ID_ESTOQUE_REAJUSTE_CABECALHO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="56654" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="608" />
  6826. <RELATION ID="56657" RelationName="FK_PRODUTO_REAJUSTE" Kind="2" SrcTable="1127" DestTable="56499" FKFields="ID=ID_PRODUTO\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="56659" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="609" />
  6827. <RELATION ID="56663" RelationName="FK_REQ_INTERNA_CAB_DET" Kind="2" SrcTable="56470" DestTable="56478" FKFields="ID=ID_REQ_INTERNA_CABECALHO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="56665" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="607" />
  6828. <RELATION ID="56668" RelationName="FK_COLAB_REQ_INTERNA" Kind="2" SrcTable="1097" DestTable="56470" FKFields="ID=ID_COLABORADOR\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="56670" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="608" />
  6829. <RELATION ID="56673" RelationName="FK_PRODUTO_REQ_INTERNA" Kind="2" SrcTable="1127" DestTable="56478" FKFields="ID=ID_PRODUTO\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="56675" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="609" />
  6830. <RELATION ID="56684" RelationName="FK_CONTAGEM_ESTOQUE_CAB_DET" Kind="2" SrcTable="56506" DestTable="56511" FKFields="ID=ID_ESTOQUE_CONTAGEM_CABECALHO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="56686" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="608" />
  6831. <RELATION ID="56689" RelationName="FK_PRODUTO_CONTAGEM_ESTOQUE" Kind="2" SrcTable="1127" DestTable="56511" FKFields="ID=ID_PRODUTO\n" FKFieldsComments="\n" relDirection="1" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="56691" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="609" />
  6832. <RELATION ID="67793" RelationName="FK_TRANSP_VENDA_CAB" Kind="2" SrcTable="15032" DestTable="46506" FKFields="ID=ID_TRANSPORTADORA\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="67795" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="797" />
  6833. <RELATION ID="67798" RelationName="FK_PESSOA_EMIT_CHEQUE" Kind="2" SrcTable="17504" DestTable="50272" FKFields="ID=ID_PESSOA\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="67800" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="785" />
  6834. <RELATION ID="72721" RelationName="FK_CONTA_CAIXA_PARC_REC" Kind="2" SrcTable="19644" DestTable="48926" FKFields="ID=ID_CONTA_CAIXA\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="72723" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="786" />
  6835. <RELATION ID="78137" RelationName="FK_COTACAO_REQ_DETALHE" Kind="2" SrcTable="46405" DestTable="46408" FKFields="ID=ID_COMPRA_COTACAO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="78139" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="794" />
  6836. <RELATION ID="78150" RelationName="FK_PEDIDO_COTACAO_DETALHE" Kind="2" SrcTable="46409" DestTable="46411" FKFields="ID=ID_COMPRA_PEDIDO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="78152" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="794" />
  6837. <RELATION ID="79987" RelationName="FK_FORNECEDOR_LCTO_PAGAR" Kind="2" SrcTable="1085" DestTable="46754" FKFields="ID=ID_FORNECEDOR\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="79989" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="801" />
  6838. <RELATION ID="80086" RelationName="FK_CLIENTE_LCTO_RECEBER" Kind="2" SrcTable="1089" DestTable="48924" FKFields="ID=ID_CLIENTE\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="80088" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="803" />
  6839. <RELATION ID="80113" RelationName="FK_AUTO_REL_EMPRESA" Kind="2" SrcTable="1074" DestTable="1074" FKFields="ID=ID_EMPRESA\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="80115" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="795" />
  6840. <RELATION ID="80183" RelationName="FK_CHEQUE_RECEBIMENTO" Kind="2" SrcTable="50272" DestTable="48926" FKFields="ID=ID_FIN_CHEQUE_RECEBIDO\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="80185" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="767" />
  6841. <RELATION ID="81384" RelationName="FK_CTA_CX_PAR_REC" Kind="2" SrcTable="19644" DestTable="48925" FKFields="ID=ID_CONTA_CAIXA\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="81386" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="768" />
  6842. <RELATION ID="81393" RelationName="FK_CTA_CX_PAR_PAG" Kind="2" SrcTable="19644" DestTable="46755" FKFields="ID=ID_CONTA_CAIXA\n" FKFieldsComments="\n" relDirection="4" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="81395" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="769" />
  6843. <RELATION ID="81423" RelationName="FK_CTA_CX_CONF_BOLETO" Kind="5" SrcTable="19644" DestTable="81336" FKFields="ID=ID_CONTA_CAIXA\n" FKFieldsComments="\n" relDirection="3" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="81425" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="769" />
  6844. <RELATION ID="94731" RelationName="FK_PRODUTO_ALTERACAO_ITEM" Kind="2" SrcTable="1127" DestTable="94723" FKFields="ID=ID_PRODUTO\n" FKFieldsComments="\n" relDirection="2" MidOffset="0" OptionalStart="0" OptionalEnd="0" CaptionOffsetX="0" CaptionOffsetY="0" StartIntervalOffsetX="0" StartIntervalOffsetY="0" EndIntervalOffsetX="0" EndIntervalOffsetY="0" CreateRefDef="1" Invisible="0" RefDef="Matching=0\nOnDelete=3\nOnUpdate=3\n" Comments="" FKRefDefIndex_Obj_id="94733" Splitted="0" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="786" />
  6845. </RELATIONS>
  6846. <NOTES>
  6847. </NOTES>
  6848. <IMAGES>
  6849. <IMAGE ID="5279" ImageName="Image_01" XPos="3540" YPos="2280" Width="1" Height="1" StrechImg="1" ImgWidth="0" ImgHeight="0" ImgFormat="BMP" ImgData="" IsLinkedObject="0" IDLinkedModel="-1" Obj_id_Linked="-1" OrderPos="85" />
  6850. </IMAGES>
  6851. </METADATA>
  6852. <PLUGINDATA>
  6853. <PLUGINDATARECORDS>
  6854. </PLUGINDATARECORDS>
  6855. </PLUGINDATA>
  6856. <QUERYDATA>
  6857. <QUERYRECORDS>
  6858. </QUERYRECORDS>
  6859. </QUERYDATA>
  6860. <LINKEDMODELS>
  6861. </LINKEDMODELS>
  6862. </DBMODEL>
  6863.  

Editor

You can edit this paste and save as new:


File Description
  • Teste
  • Paste Code
  • 28 Sep-2022
  • 430.92 Kb
You can Share it: