Mudanças entre as edições de "Layout´s de Importação de dados vindos do ERP"
(6 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 15: | Linha 15: | ||
<td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> | ||
</tr> | </tr> | ||
− | + | <tr><td>1 </td><td>EMPRESA </td><td> PK_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | |
− | <tr><td>1 </td><td>EMPRESA </td><td> PK_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>2 </td><td>PESSOA </td><td> PK_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>2 </td><td>PESSOA </td><td> PK_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>3 </td><td>CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>3 </td><td>CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>4 </td><td>GRUPO_PESSOA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>4 </td><td>GRUPO_PESSOA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>5 </td><td>CONCEITO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>5 </td><td>CONCEITO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>6 </td><td>VENDEDOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>6 </td><td>VENDEDOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>7 </td><td>ENDERECO_COBRANCA </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> |
− | <tr><td>7 </td><td>ENDERECO_COBRANCA </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | + | <tr><td>8 </td><td>BAIRRO_COBRANCA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>8 </td><td>BAIRRO_COBRANCA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>9 </td><td>CIDADE_COBRANCA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>9 </td><td>CIDADE_COBRANCA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>10 </td><td>CEP_COBRANCA </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> |
− | <tr><td>10 </td><td>CEP_COBRANCA </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | + | <tr><td>11 </td><td>CAIXA_POSTAL_COBRANCA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>11 </td><td>CAIXA_POSTAL_COBRANCA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>12 </td><td>TELEFONE_COBRANCA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>12 </td><td>TELEFONE_COBRANCA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>13 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> |
− | <tr><td>13 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | + | <tr><td>14 </td><td>OBSERVACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>14 </td><td>OBSERVACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>15 </td><td>OBSERVACAO_ENTREGA </td><td> </td><td> </td><td>VARCHAR</td><td> 512 </td> |
− | <tr><td>15 </td><td>OBSERVACAO_ENTREGA </td><td> </td><td> </td><td>VARCHAR</td><td> 512 </td> | + | <tr><td>16 </td><td>CPF_CNPJ_ENTREGA </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> |
− | <tr><td>16 </td><td>CPF_CNPJ_ENTREGA </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | + | <tr><td>17 </td><td>LIMITE_CREDITO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,2 </td> |
− | <tr><td>17 </td><td>LIMITE_CREDITO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,2 </td> | + | <tr><td>18 </td><td>DATA_VALIDADE_SINTEGRA </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> |
− | <tr><td>18 </td><td>DATA_VALIDADE_SINTEGRA </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | + | <tr><td>19 </td><td>SUFRAMA </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> |
− | <tr><td>19 </td><td>SUFRAMA </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | + | <tr><td>20 </td><td>DATA_SUFRAMA </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> |
− | <tr><td>20 </td><td>DATA_SUFRAMA </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | + | <tr><td>21 </td><td>DATA_FUNDACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> |
− | <tr><td>21 </td><td>DATA_FUNDACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | + | <tr><td>22 </td><td>TRANSPORTADOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>22 </td><td>TRANSPORTADOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>23 </td><td>REDESPACHO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>23 </td><td>REDESPACHO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>24 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> |
− | <tr><td>24 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | + | <tr><td>25 </td><td>COMISSAO_NEGOCIADA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> |
− | <tr><td>25 </td><td>COMISSAO_NEGOCIADA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | + | <tr><td>26 </td><td>PRAZO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>26 </td><td>PRAZO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>27 </td><td>MOEDA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>27 </td><td>MOEDA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>28 </td><td>TABELA_PRECO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>28 </td><td>TABELA_PRECO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>29 </td><td>ZIP_CODE </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> |
− | <tr><td>29 </td><td>ZIP_CODE </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | + | <tr><td>30 </td><td>SEQUENCIA_VISITA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>30 </td><td>SEQUENCIA_VISITA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>31 </td><td>SEQUENCIA_ENTREGA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>31 </td><td>SEQUENCIA_ENTREGA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>32 </td><td>REGIAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>32 </td><td>REGIAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>33 </td><td>FORMA_PAGAMENTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>33 </td><td>FORMA_PAGAMENTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>34 </td><td>TIPO_EMBALAGEM </td><td> </td><td> </td><td>VARCHAR</td><td> 5 </td> |
− | <tr><td>34 </td><td>TIPO_EMBALAGEM </td><td> </td><td> </td><td>VARCHAR</td><td> 5 </td> | + | <tr><td>35 </td><td>REGRA_VOLUME </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>35 </td><td>REGRA_VOLUME </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>36 </td><td>CODIGO_ANTERIOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>36 </td><td>CODIGO_ANTERIOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>37 </td><td>NOME_FANTASIA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>37 </td><td>NOME_FANTASIA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>38 </td><td>RAZAO_SOCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>38 </td><td>RAZAO_SOCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>39 </td><td>ENDERECO </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> |
− | <tr><td>39 </td><td>ENDERECO </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | + | <tr><td>40 </td><td>BAIRRO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>40 </td><td>BAIRRO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>41 </td><td>CIDADE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>41 </td><td>CIDADE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>42 </td><td>CEP </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> |
− | <tr><td>42 </td><td>CEP </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | + | <tr><td>43 </td><td>CAIXA_POSTAL </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>43 </td><td>CAIXA_POSTAL </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>44 </td><td>TELEFONE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>44 </td><td>TELEFONE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>45 </td><td>FAX </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>45 </td><td>FAX </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>46 </td><td>CELULAR </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>46 </td><td>CELULAR </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>47 </td><td>CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> |
− | <tr><td>47 </td><td>CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | + | <tr><td>48 </td><td>RG_IE </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> |
− | <tr><td>48 </td><td>RG_IE </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | + | <tr><td>49 </td><td>E_MAIL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>49 </td><td>E_MAIL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>50 </td><td>HOME_PAGE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>50 </td><td>HOME_PAGE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>51 </td><td>DATA_CADASTRO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> |
− | <tr><td>51 </td><td>DATA_CADASTRO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | + | <tr><td>52 </td><td>CPF_CNPJ_NUMERICO </td><td> </td><td> </td><td>VARCHAR</td><td> 18 </td> |
− | <tr><td>52 </td><td>CPF_CNPJ_NUMERICO </td><td> </td><td> </td><td>VARCHAR</td><td> 18 </td> | + | <tr><td>53 </td><td>ENDERECO_NUMERO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>53 </td><td>ENDERECO_NUMERO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>54 </td><td>ENDERECO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>54 </td><td>ENDERECO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>55 </td><td>ENDERECO_COBRANCA_NUMERO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>55 </td><td>ENDERECO_COBRANCA_NUMERO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>56 </td><td>ENDERECO_COBRANCA_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>56 </td><td>ENDERECO_COBRANCA_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>57 </td><td>DATA_NASCIMENTO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> |
− | <tr><td>57 </td><td>DATA_NASCIMENTO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | + | <tr><td>58 </td><td>DIA_NASCIMENTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>58 </td><td>DIA_NASCIMENTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>59 </td><td>MES_NASCIMENTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>59 </td><td>MES_NASCIMENTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>60 </td><td>DIA_FUNDACAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>60 </td><td>DIA_FUNDACAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>61 </td><td>MES_FUNDACAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>61 </td><td>MES_FUNDACAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>62 </td><td>SEGMENTO_NEGOCIO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>62 </td><td>SEGMENTO_NEGOCIO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>63 </td><td>TIPO_NEGOCIO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>63 </td><td>TIPO_NEGOCIO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>64 </td><td>LOCALIZACAO_NEGOCIO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>64 </td><td>LOCALIZACAO_NEGOCIO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>65 </td><td>DIAS_PRAZO_MAIS </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>65 </td><td>DIAS_PRAZO_MAIS </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>66 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>66 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>67 </td><td>TIPO_PESSOA </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> |
− | <tr><td>67 </td><td>TIPO_PESSOA </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | + | <tr><td>68 </td><td>NOME_CIDADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>68 </td><td>NOME_CIDADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>69 </td><td>NOME_ESTADO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>69 </td><td>NOME_ESTADO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>70 </td><td>NOME_PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>70 </td><td>NOME_PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>71 </td><td>VENDEDOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>71 </td><td>VENDEDOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>72 </td><td>TRANSPORTADOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>72 </td><td>TRANSPORTADOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>73 </td><td>REDESPACHO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>73 </td><td>REDESPACHO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>74 </td><td>REGIAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>74 </td><td>REGIAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>75 </td><td>MATRIZ_CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>75 </td><td>MATRIZ_CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>76 </td><td>MATRIZ_CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>76 </td><td>MATRIZ_CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>77 </td><td>MATRIZ_CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>77 </td><td>MATRIZ_CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>78 </td><td>USA_PERC_FATURAMENTO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> |
− | <tr><td>78 </td><td>USA_PERC_FATURAMENTO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | + | <tr><td>79 </td><td>CONTATO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>79 </td><td>CONTATO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>80 </td><td>E_MAIL_COMERCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>80 </td><td>E_MAIL_COMERCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>81 </td><td>E_MAIL_FINANCEIRO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>81 </td><td>E_MAIL_FINANCEIRO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>82 </td><td>E_MAIL_NFE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>82 </td><td>E_MAIL_NFE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>83 </td><td>EXCLUSIVO_PRACA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>83 </td><td>EXCLUSIVO_PRACA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>84 </td><td>UNICA_MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>84 </td><td>UNICA_MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>85 </td><td>EMBARQUE_PARCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>85 </td><td>EMBARQUE_PARCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>86 </td><td>BANCO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>86 </td><td>BANCO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>87 </td><td>AGENCIA </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> |
− | <tr><td>87 </td><td>AGENCIA </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | + | <tr><td>88 </td><td>DIGITO_AGENCIA </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> |
− | <tr><td>88 </td><td>DIGITO_AGENCIA </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | + | <tr><td>89 </td><td>CONTA </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> |
− | <tr><td>89 </td><td>CONTA </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | + | <tr><td>90 </td><td>DIGITO_CONTA </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> |
− | <tr><td>90 </td><td>DIGITO_CONTA </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | + | <tr><td>91 </td><td>REPRESENTANTE_CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>91 </td><td>REPRESENTANTE_CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>92 </td><td>REPRESENTANTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>92 </td><td>REPRESENTANTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>93 </td><td>NOME_SHOPPING </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> |
− | <tr><td>93 </td><td>NOME_SHOPPING </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | + | <tr><td>94 </td><td>PISO_SHOPPING </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>94 </td><td>PISO_SHOPPING </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>95 </td><td>PONTO_COMPRA_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>95 </td><td>PONTO_COMPRA_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>96 </td><td>CODIGO_CLIENTE_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>96 </td><td>CODIGO_CLIENTE_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>97 </td><td>INSCRICAO_MUNICIPAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>97 </td><td>INSCRICAO_MUNICIPAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>98 </td><td>CONTRIBUINTE_ICMS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>98 </td><td>CONTRIBUINTE_ICMS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>99 </td><td>PERMITE_VENDOR </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>99 </td><td>PERMITE_VENDOR </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>100 </td><td>PERMITE_PERC_FATURAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>100 </td><td>PERMITE_PERC_FATURAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>101 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> |
− | <tr><td>101 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | + | <tr><td>102 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> |
− | <tr><td>102 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | + | <tr><td>103 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> |
− | <tr><td>103 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | + | <tr><td>104 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> |
− | <tr><td>104 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | + | <tr><td>105 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> |
− | <tr><td>105 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | + | <tr><td>106 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> |
− | <tr><td>106 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | + | <tr><td>107 </td><td>ORIGEM_CONTATO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>107 </td><td>ORIGEM_CONTATO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>108 </td><td>ORIGEM_CONTATO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>108 </td><td>ORIGEM_CONTATO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>109 </td><td>ORIGEM_CONTATO_ESPECIFICACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>109 </td><td>ORIGEM_CONTATO_ESPECIFICACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>110 </td><td>COORDENADAS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>110 </td><td>COORDENADAS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>111 </td><td>COORDENADAS_GRAUS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>111 </td><td>COORDENADAS_GRAUS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>112 </td><td>COORDENADAS_GRAUS_LATITUDE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>112 </td><td>COORDENADAS_GRAUS_LATITUDE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>113 </td><td>COORDENADAS_GRAUS_LONGITUDE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>113 </td><td>COORDENADAS_GRAUS_LONGITUDE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>114 </td><td>COORDENADAS_DECIMAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>114 </td><td>COORDENADAS_DECIMAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>115 </td><td>COORDENADAS_DECIMAL_LATITUDE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>115 </td><td>COORDENADAS_DECIMAL_LATITUDE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>116 </td><td>COORDENADAS_DECIMAL_LONGITUDE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>116 </td><td>COORDENADAS_DECIMAL_LONGITUDE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>117 </td><td>PRAZO_MEDIO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>117 </td><td>PRAZO_MEDIO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>118 </td><td>PRAZO_MEDIO_MAXIMO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>118 </td><td>PRAZO_MEDIO_MAXIMO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>119 </td><td>PRAZO_LISTA_PARCELAS </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> |
− | <tr><td>119 </td><td>PRAZO_LISTA_PARCELAS </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | + | <tr><td>120 </td><td>TELEFONE_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>120 </td><td>TELEFONE_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>121 </td><td>TELEFONE_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>121 </td><td>TELEFONE_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>122 </td><td>CELULAR_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>122 </td><td>CELULAR_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>123 </td><td>CELULAR_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> |
− | <tr><td>123 </td><td>CELULAR_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | + | <tr><td>124 </td><td>CODIGO_VENDEDOR_EXPORTAR_ERP </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>124 </td><td>CODIGO_VENDEDOR_EXPORTAR_ERP </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>125 </td><td>CEP_NUMERICO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>125 </td><td>CEP_NUMERICO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>126 </td><td>TIPO_GRADE </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> |
− | <tr><td>126 </td><td>TIPO_GRADE </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | + | <tr><td>127 </td><td>PERC_DESCONTO_2 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> |
− | <tr><td>127 </td><td>PERC_DESCONTO_2 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | + | <tr><td>128 </td><td>PERC_DESCONTO_3 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> |
− | <tr><td>128 </td><td>PERC_DESCONTO_3 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | + | <tr><td>129 </td><td>PERC_DESCONTO_4 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> |
− | <tr><td>129 </td><td>PERC_DESCONTO_4 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | + | <tr><td>130 </td><td>PERMITE_SUBSTITUIR_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> |
− | <tr><td>130 </td><td>PERMITE_SUBSTITUIR_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | + | <tr><td>131 </td><td>ACEITA_ENTREGA_TOTAL_PARCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> |
− | <tr><td>131 </td><td>ACEITA_ENTREGA_TOTAL_PARCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | + | <tr><td>132 </td><td>TIPO_EMPRESARIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>132 </td><td>TIPO_EMPRESARIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>133 </td><td>CAPITAL_SOCIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 15,3 </td> |
− | <tr><td>133 </td><td>CAPITAL_SOCIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 15,3 </td> | + | <tr><td>134 </td><td>AGRUPA_FATURA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> |
− | <tr><td>134 </td><td>AGRUPA_FATURA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | + | <tr><td>135 </td><td>AGRUPA_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> |
− | <tr><td>135 </td><td>AGRUPA_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | + | <tr><td>136 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>136 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>137 </td><td>PRAZO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>137 </td><td>PRAZO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>138 </td><td>PERC_ABATIMENTO_COMISSAO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> |
− | <tr><td>138 </td><td>PERC_ABATIMENTO_COMISSAO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | + | <tr><td>139 </td><td>CIDADE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>139 </td><td>CIDADE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>140 </td><td>CIDADE_COBRACA_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> |
− | <tr><td>140 </td><td>CIDADE_COBRACA_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | + | <tr><td>141 </td><td>MARKUP </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> |
− | <tr><td>141 </td><td>MARKUP </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | + | <tr><td>142 </td><td>TRATAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> |
− | <tr><td>142 </td><td>TRATAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | + | <tr><td>143 </td><td>PREFERENCIA_DE_CONTATO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> |
− | <tr><td>143 </td><td>PREFERENCIA_DE_CONTATO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | + | <tr><td>144 </td><td>TIPO_CADASTRO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> |
− | <tr><td>144 </td><td>TIPO_CADASTRO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | + | <tr><td>145 </td><td>PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> |
− | <tr><td>145 </td><td>PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | + | |
− | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PESSOA)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 171: | Linha 169: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLIENTE_COMERCIAL</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
Linha 181: | Linha 179: | ||
<td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>CLIENTE_COMERCIAL </td><td> PK_CLIENTE_COMERCIAL </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> PK_CLIENTE_COMERCIAL </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>5 </td><td>NIVEL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>TIPO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>7 </td><td>TABELA_PRECO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>9 </td><td>PRAZO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>PRAZO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>11 </td><td>PRAZO_MEDIO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>12 </td><td>FORMA_PAGAMENTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>13 </td><td>LISTA_TIPO_FRETE_DESPACHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>14 </td><td>LISTA_TIPO_FRETE_REDESPACHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>15 </td><td>FAIXA_QUANTIDADE_VENDA </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>16 </td><td>FAIXA_VALOR_VENDA </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>17 </td><td>QUANTIDADE_MIN_FRETE_CIF_GRAT </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>18 </td><td>VALOR_MIN_FRETE_CIF_GRAT </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>19 </td><td>PERC_DESCONTO_101 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>20 </td><td>PERC_DESCONTO_102 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>21 </td><td>PERC_DESCONTO_103 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>22 </td><td>PERC_DESCONTO_104 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>23 </td><td>PERC_DESCONTO_105 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>24 </td><td>PERC_DESCONTO_106 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>25 </td><td>PERC_DESCONTO_107 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>26 </td><td>PERC_DESCONTO_108 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>27 </td><td>PERC_DESCONTO_109 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>28 </td><td>DATA_VALIDADE </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>29 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>30 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>31 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>32 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>33 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>34 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>35 </td><td>VALOR_VENDA_ANTERIOR </td><td> </td><td> </td><td>NUMERIC</td><td> 11,2 </td> | ||
+ | <tr><td>36 </td><td>PERC_CRESCIMENTO_FAIXA_VENDA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>37 </td><td>PERC_DESCONTO_FAIXA_VENDA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>38 </td><td>VALOR_MINIMO_FAIXA_VENDA </td><td> </td><td> </td><td>NUMERIC</td><td> 11,2 </td> | ||
+ | <tr><td>39 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>40 </td><td>VALOR_VENDA_PERIODO_ATUAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,2 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (CLIENTE_COMERCIAL, CLIENTE)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 420: | Linha 227: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLIENTE_PERC_FATURAMENTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CLIENTE_PERC_FATURAMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CLIENTE_PERC_FATURAMENTO </td><td> PK_CLIENTE_PERC_FATURAMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>PERC_FAT_CODIGO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, CLIENTE_PERC_FATURAMENTO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 471: | Linha 250: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLIENTE_TABELA_PRECO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CLIENTE_TABELA_PRECO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CLIENTE_TABELA_PRECO </td><td> PK_CLIENTE_TABELA_PRECO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>TABELA_PRECO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>6 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>7 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>8 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 10,5 </td> | ||
+ | <tr><td>9 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, CLIENTE_TABELA_PRECO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 550: | Linha 277: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLIENTE_TABELA_PRECO_PRAZO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CLIENTE_TABELA_PRECO_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CLIENTE_TABELA_PRECO_PRAZO </td><td> PK_CLIENTE_TABELA_PRECO_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>TABELA_PRECO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>PRAZO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>7 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>8 </td><td>PRAZO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>9 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>10 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 10,5 </td> | ||
+ | <tr><td>11 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, CLIENTE_TABELA_PRECO_PRAZO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 645: | Linha 308: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLIENTE_TIPO_VENDA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CLIENTE_TIPO_VENDA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CLIENTE </td><td> PK_CLIENTE_TIPO_VENDA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>TIPO_VENDA </td><td> PK_CLIENTE_TIPO_VENDA </td><td>NOT NULL </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>4 </td><td>SEQUENCIA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>PREFERENCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>6 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
+ | <tr><td>7 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>8 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>9 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (CLIENTE, TIPO_VENDA)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 752: | Linha 339: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">COTA_PERIODO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_COTA_PERIODO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>COTA_PERIODO </td><td> PK_COTA_PERIODO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DATA_INICIAL </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>DATA_FINAL </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, COTA_ALTERACAO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 803: | Linha 362: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">COTA_VENDA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>COTA_VENDA </td><td> PK_COTA_VENDA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> PK_COTA_VENDA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>TIPO_COTA </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>4 </td><td>DATA_INICIAL </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>DATA_FINAL </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>VENDEDOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>GRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>QUANTIDADE_PREVISTA </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>9 </td><td>QUANTIDADE_REALIZADA </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>10 </td><td>QUANTIDADE_SALDO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>11 </td><td>SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>12 </td><td>VENDEDOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>13 </td><td>REPRESENTANTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>14 </td><td>REPRESENTANTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>15 </td><td>MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>16 </td><td>QUANTIDADE_REALIZADA_AUX </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>17 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>18 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>19 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>20 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>21 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>22 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>23 </td><td>VALOR_PREVISTO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,3 </td> | ||
+ | <tr><td>24 </td><td>VALOR_REALIZADO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,3 </td> | ||
+ | <tr><td>25 </td><td>VALOR_SALDO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,3 </td> | ||
+ | <tr><td>26 </td><td>VALOR_REALIZADO_AUX </td><td> </td><td> </td><td>NUMERIC</td><td> 15,3 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (COTA_VENDA, EMPRESA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 973: | Linha 406: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">ESTADO_TRANSPORTADOR</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_ESTADO_TRANSPORTADOR </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PAIS </td><td> PK_ESTADO_TRANSPORTADOR </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>3 </td><td>ESTADO </td><td> PK_ESTADO_TRANSPORTADOR </td><td>NOT NULL </td><td>VARCHAR</td><td> 2 </td> | ||
+ | <tr><td>4 </td><td>TRANSPORTADOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>REDESPACHO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>DIAS_MINIMO_DT_INC_DT_ENT_VEND </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PAIS, ESTADO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 1 038: | Linha 431: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">FERIADO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_FERIADO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>FERIADO </td><td> PK_FERIADO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_FERIADO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>4 </td><td>ANO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>MES </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>DIA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, FERIADO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 1 103: | Linha 456: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">PRODUTO_CLIENTE</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>PRODUTO_CLIENTE </td><td> PK_PRODUTO_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> PK_PRODUTO_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CLIENTE </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>PRODUTO </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>5 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>6 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>7 </td><td>PRODUTO_NO_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>8 </td><td>DESCRICAO_PRODUTO_NO_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>9 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PRODUTO_OPCIONAL)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 1 182: | Linha 483: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">SITUACAO_CLIENTE</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>SITUACAO </td><td> PK_SITUACAO_CLIENTE </td><td>NOT NULL </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>2 </td><td>DESCRICAO_SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_DETALHADA_SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 128 </td> | ||
+ | <tr><td>4 </td><td>SEQUENCIA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>PERMITE_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>7 </td><td>APROVA_CREDITO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>8 </td><td>PERMITE_ORCAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>9 </td><td>APROVA_CREDITO_ORCAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>10 </td><td>LIMITE_DIAS_ATRASO_VENDA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>11 </td><td>COR_SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (SITUACAO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 1 415: | Linha 512: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">SITUACAO_VENDA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>SITUACAO </td><td> PK_SITUACAO_VENDA </td><td>NOT NULL </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>2 </td><td>DESCRICAO_SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_DETALHADA_SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 128 </td> | ||
+ | <tr><td>4 </td><td>SEQUENCIA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (SITUACAO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 1 553: | Linha 536: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TABELA_PRECO_ESTADO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>TABELA_PRECO_ESTADO </td><td> PK_TABELA_PRECO_ESTADO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> PK_TABELA_PRECO_ESTADO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>TABELA_PRECO </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>PAIS </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>5 </td><td>ESTADO </td><td> </td><td> </td><td>VARCHAR</td><td> 2 </td> | ||
+ | <tr><td>6 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>7 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 10,5 </td> | ||
+ | <tr><td>8 </td><td>INDICE_DESPACHO_CIF </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
+ | <tr><td>9 </td><td>INDICE_DESPACHO_FOB </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
+ | <tr><td>10 </td><td>INDICE_REDESPACHO_CIF </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
+ | <tr><td>11 </td><td>INDICE_REDESPACHO_FOB </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
+ | <tr><td>12 </td><td>COMISSAO_NEGOCIADA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (TABELA_PRECO_ESTADO, EMPRESA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 1 653: | Linha 566: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TABELA_PRECO_VENDEDOR_PRAZO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TABELA_PRECO_VENDEDOR_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TABELA_PRECO </td><td> PK_TABELA_PRECO_VENDEDOR_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>VENDEDOR </td><td> PK_TABELA_PRECO_VENDEDOR_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>PRAZO </td><td> PK_TABELA_PRECO_VENDEDOR_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>6 </td><td>VENDEDOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>7 </td><td>PRAZO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>8 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>9 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 10,5 </td> | ||
+ | <tr><td>10 </td><td>PERC_DESCONTO_AUX </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TABELA_PRECO, VENDEDOR, PRAZO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 1 739: | Linha 594: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TIPO_COMPLEMENTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TIPO_COMPLEMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TIPO_COMPLEMENTO </td><td> PK_TIPO_COMPLEMENTO </td><td>NOT NULL </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_TIPO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TIPO_COMPLEMENTO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 1 776: | Linha 615: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TIPO_VENDA_COMPLEMENTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TIPO_VENDA_COMPLEMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TIPO_VENDA </td><td> PK_TIPO_VENDA_COMPLEMENTO </td><td>NOT NULL </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>3 </td><td>CALCULA_IPI_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>4 </td><td>EXPORTA_PRECO_UNITARIO_LIQUIDO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>5 </td><td>APLICA_REGRA_QTDE_MULTIPLA_VEN </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>6 </td><td>APLICA_REGRA_VALOR_MINIMO_VEN </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>7 </td><td>APLICA_REGRA_QTDE_MINIMA_VEN </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>8 </td><td>VENDA_PRONTA_ENTREGA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>9 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>GERA_APURACAO_COTA_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>11 </td><td>DIAS_MINIMO_DT_INC_DT_ENT_VEND </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>12 </td><td>LIMITE_UNIDADES_VENDA_PR_C1_C2 </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>13 </td><td>LIMITE_UNIDADES_VENDA_PRODUTO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>14 </td><td>DIAS_LIMITE_UNIDADES_VENDA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>15 </td><td>GERA_APURACAO_AMOSTRA_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>16 </td><td>DATA_ENTREGA_MINIMA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>17 </td><td>DATA_ENTREGA_MAXIMA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>18 </td><td>RESTRICAO_ITEM_VENDA_IGUAL </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>19 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>20 </td><td>PERC_COMISSAO_FIXO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>21 </td><td>COMISSAO_NEGOCIADA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>22 </td><td>APLICA_REGRA_ESTOQUE_NEGATIVO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>23 </td><td>PERMITE_VENDA_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>24 </td><td>PERMITE_VENDA_CLIENTE_INC_ALT </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>25 </td><td>VALOR_MINIMO_VENDA </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>26 </td><td>QUANTIDADE_MINIMA_VENDA </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>27 </td><td>TIPO_VENDA_VENDOR </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>28 </td><td>APLICA_REGRA_VALOR_MINIMO_PAR </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>29 </td><td>APLICA_REGRA_VALOR_MIN_PAR_CRE </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>30 </td><td>PERC_DESCONTO_PARCERIA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>31 </td><td>PERC_DESCONTO_GERENCIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>32 </td><td>PERC_DESCONTO_PROMOCIONAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>33 </td><td>APLICA_FRETE_CIF_FOB </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>34 </td><td>TIPO_VALIDACAO_QTDE_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>35 </td><td>OBSERVACAO_COPIA_PEDIDO </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TIPO_VENDA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 1 995: | Linha 668: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TIPO_VENDA_PERC_FATURAMENTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TIPO_VENDA_PERC_FATURAMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TIPO_VENDA </td><td> PK_TIPO_VENDA_PERC_FATURAMENTO </td><td>NOT NULL </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>3 </td><td>PERC_FAT_CODIGO </td><td> PK_TIPO_VENDA_PERC_FATURAMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TIPO_VENDA, PERC_FAT_CODIGO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 2 039: | Linha 690: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TIPO_VENDA_PRAZO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TIPO_VENDA_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TIPO_VENDA </td><td> PK_TIPO_VENDA_PRAZO </td><td>NOT NULL </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>3 </td><td>PRAZO </td><td> PK_TIPO_VENDA_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TIPO_VENDA, PRAZO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 2 083: | Linha 712: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TIPO_VENDA_PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TIPO_VENDA_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TIPO_VENDA </td><td> PK_TIPO_VENDA_PRODUTO </td><td>NOT NULL </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>3 </td><td>PRODUTO </td><td> PK_TIPO_VENDA_PRODUTO </td><td>NOT NULL </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>4 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TIPO_VENDA, PRODUTO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 2 127: | Linha 734: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TIPO_VENDA_PRODUTO_COMP</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>TIPO_VENDA_PRODUTO_COMP </td><td> PK_TIPO_VENDA_PRODUTO_COMP </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>TIPO_VENDA </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>4 </td><td>PRODUTO </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>5 </td><td>COMPLEMENTO_1 </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>6 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>7 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>8 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>9 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (TIPO_VENDA_PRODUTO_COMP, EMPRESA)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 2 241: | Linha 766: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TIPO_VENDA_TABELA_PRECO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TIPO_VENDA_TABELA_PRECO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TIPO_VENDA </td><td> PK_TIPO_VENDA_TABELA_PRECO </td><td>NOT NULL </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>3 </td><td>TABELA_PRECO </td><td> PK_TIPO_VENDA_TABELA_PRECO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TIPO_VENDA, TABELA_PRECO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 2 284: | Linha 787: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CONTATO_PESSOA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CONTATO_PESSOA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PESSOA </td><td> PK_CONTATO_PESSOA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>TIPO_CONTATO </td><td> PK_CONTATO_PESSOA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>CONTATO </td><td> PK_CONTATO_PESSOA </td><td>NOT NULL </td><td>VARCHAR</td><td> 60 </td> | ||
+ | <tr><td>5 </td><td>TELEFONE </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>6 </td><td>CELULAR </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>7 </td><td>DATA_NASCIMENTO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>DDD </td><td> </td><td> </td><td>VARCHAR</td><td> 7 </td> | ||
+ | <tr><td>9 </td><td>ESTADO_CIVIL </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>SEXO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>11 </td><td>E_MAIL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>12 </td><td>ENDERECO </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
+ | <tr><td>13 </td><td>BAIRRO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>14 </td><td>CIDADE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>15 </td><td>CEP </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>16 </td><td>CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>17 </td><td>RG_IE </td><td> </td><td> </td><td>VARCHAR</td><td> 18 </td> | ||
+ | <tr><td>18 </td><td>TIME_FUTEBOL </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>19 </td><td>HOBBY </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>20 </td><td>POSSUI_FILHOS </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>21 </td><td>QUANTOS_FILHOS </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>22 </td><td>PROFISSAO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>23 </td><td>DIA_NASCIMENTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>24 </td><td>MES_NASCIMENTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>25 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>26 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>27 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>28 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>29 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>30 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>31 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>32 </td><td>TRATAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>33 </td><td>PREFERENCIA_DE_CONTATO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PESSOA, TIPO_CONTATO, | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
CONTATO)</th> | CONTATO)</th> | ||
</tr> | </tr> | ||
Linha 2 519: | Linha 840: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TRANSPORTADOR</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TRANSPORTADOR </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PESSOA </td><td> PK_TRANSPORTADOR </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>TRANSPORTADOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>5 </td><td>CONCEITO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>6 </td><td>NOME_FANTASIA </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>7 </td><td>RAZAO_SOCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>8 </td><td>ENDERECO </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
+ | <tr><td>9 </td><td>BAIRRO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>10 </td><td>CIDADE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>11 </td><td>CEP </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>12 </td><td>CAIXA_POSTAL </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>13 </td><td>TELEFONE </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>14 </td><td>FAX </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>15 </td><td>CELULAR </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>16 </td><td>CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>17 </td><td>RG_IE </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>18 </td><td>E_MAIL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>19 </td><td>HOME_PAGE </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>20 </td><td>DATA_CADASTRO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>21 </td><td>ENDERECO_NUMERO </td><td> </td><td> </td><td>VARCHAR</td><td> 11 </td> | ||
+ | <tr><td>22 </td><td>ENDERECO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>23 </td><td>TRANSPORTADOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>24 </td><td>TIPO_PESSOA </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>25 </td><td>NOME_CIDADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>26 </td><td>NOME_ESTADO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>27 </td><td>NOME_PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>28 </td><td>CODIGO_TRANSPORTADOR_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>29 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>30 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>31 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>32 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>33 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>34 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>35 </td><td>CIDADE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PESSOA)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 2 774: | Linha 894: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">VENDEDOR</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_VENDEDOR </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PESSOA </td><td> PK_VENDEDOR </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>VENDEDOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>REPRESENTANTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>6 </td><td>PERC_COMISSAO_VISTA_1 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>7 </td><td>PERC_COMISSAO_PRAZO_1 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>8 </td><td>PERC_COMISSAO_VISTA_2 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>9 </td><td>PERC_COMISSAO_PRAZO_2 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>10 </td><td>PERC_COMISSAO_FATURAMENTO_1 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>11 </td><td>PERC_COMISSAO_LIQUIDACAO_1 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>12 </td><td>PERC_COMISSAO_FATURAMENTO_2 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>13 </td><td>PERC_COMISSAO_LIQUIDACAO_2 </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>14 </td><td>DIA_PAGAMENTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>15 </td><td>OBSERVACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>16 </td><td>VENDAS_WEB </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>17 </td><td>CONCEITO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>18 </td><td>MENSAGEM </td><td> </td><td> </td><td>VARCHAR</td><td> 256 </td> | ||
+ | <tr><td>19 </td><td>NOME_FANTASIA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>20 </td><td>RAZAO_SOCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>21 </td><td>ENDERECO </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
+ | <tr><td>22 </td><td>BAIRRO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>23 </td><td>CIDADE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>24 </td><td>CEP </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>25 </td><td>CAIXA_POSTAL </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>26 </td><td>TELEFONE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>27 </td><td>FAX </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>28 </td><td>CELULAR </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>29 </td><td>CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>30 </td><td>RG_IE </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>31 </td><td>E_MAIL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>32 </td><td>HOME_PAGE </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>33 </td><td>DATA_CADASTRO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>34 </td><td>ENDERECO_NUMERO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>35 </td><td>ENDERECO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>36 </td><td>VENDEDOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>37 </td><td>TIPO_PESSOA </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>38 </td><td>NOME_CIDADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>39 </td><td>NOME_ESTADO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>40 </td><td>NOME_PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>41 </td><td>CONTATO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>42 </td><td>REPRESENTANTE_CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>43 </td><td>CODIGO_VENDEDOR_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>44 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>45 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>46 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>47 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>48 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>49 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>50 </td><td>PRAZO_MEDIO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>51 </td><td>PRAZO_MEDIO_MAXIMO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>52 </td><td>TIPO_COMISSAO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>53 </td><td>GERENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>54 </td><td>GERENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>55 </td><td>PERC_COMISSAO_GERENTE </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>56 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>57 </td><td>PERC_DESCONTO_PARCERIA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>58 </td><td>PERC_DESCONTO_GERENCIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>59 </td><td>PERC_DESCONTO_PROMOCIONAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>60 </td><td>CIDADE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>61 </td><td>CIDADE_COBRACA_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PESSOA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 3 175: | Linha 973: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLIENTE_PRAZO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CLIENTE_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CLIENTE </td><td> PK_CLIENTE_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>PRAZO </td><td> PK_CLIENTE_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>5 </td><td>PRAZO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>6 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>7 </td><td>PERC_DESCONTO_AUX </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>8 </td><td>SEQUENCIA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>9 </td><td>PREFERENCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>10 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>16 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>17 </td><td>TIPO_USUARIO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, CLIENTE, PRAZO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 3 310: | Linha 1 008: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLIENTE_FORMA_PAGAMENTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CLIENTE_FORMA_PAGAMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CLIENTE </td><td> PK_CLIENTE_FORMA_PAGAMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>FORMA_PAGAMENTO </td><td> PK_CLIENTE_FORMA_PAGAMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>SEQUENCIA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>PREFERENCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>6 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
+ | <tr><td>7 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>8 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>9 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, CLIENTE, FORMA_PAGAMENTO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 3 411: | Linha 1 039: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CONCEITO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CONCEITO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CONCEITO </td><td> PK_CONCEITO </td><td>NOT NULL </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_CONCEITO </td><td> </td><td> </td><td>VARCHAR</td><td> 60 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, CONCEITO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 3 449: | Linha 1 061: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">ESTADO_CIVIL</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_ESTADO_CIVIL </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>ESTADO_CIVIL </td><td> PK_ESTADO_CIVIL </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_ESTADO_CIVIL </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, ESTADO_CIVIL)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 3 487: | Linha 1 083: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">GRUPO_PESSOA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_GRUPO_PESSOA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>GRUPO_PESSOA </td><td> PK_GRUPO_PESSOA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_GRUPO_PESSOA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>4 </td><td>LIMITE_CREDITO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,2 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, GRUPO_PESSOA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 3 532: | Linha 1 107: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TIPO_CONTATO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TIPO_CONTATO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TIPO_CONTATO </td><td> PK_TIPO_CONTATO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_TIPO_CONTATO </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>4 </td><td>PARENTESCO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TIPO_CONTATO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 3 577: | Linha 1 131: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">VENDEDOR_CLIENTE</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_VENDEDOR_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>VENDEDOR </td><td> PK_VENDEDOR_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CLIENTE </td><td> PK_VENDEDOR_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>FREQ_VISITAS_MES </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>VENDEDOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>6 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>7 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>8 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>9 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, VENDEDOR, CLIENTE)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 3 677: | Linha 1 162: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">VENDEDOR_PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>VENDEDOR_PRODUTO </td><td> PK_VENDEDOR_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> PK_VENDEDOR_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>VENDEDOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>VENDEDOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>5 </td><td>NIVEL </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>6 </td><td>TIPO_VINCULO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>7 </td><td>COLECAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>COLECAO_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>9 </td><td>MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>10 </td><td>TIPO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>11 </td><td>ESTILO_USO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>12 </td><td>ESPECIE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>13 </td><td>DIMENSAO_TAMANHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>14 </td><td>NICHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>15 </td><td>LINHA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>16 </td><td>GENERO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>17 </td><td>CATEGORIA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>18 </td><td>FAMILIA_COMERCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>19 </td><td>GRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>20 </td><td>GRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>21 </td><td>SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>22 </td><td>SUBGRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>23 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>24 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>25 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>26 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>27 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>28 </td><td>DATA_VALIDADE_DESCONTO </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>29 </td><td>LISTA_MULTIPLO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 256 </td> | ||
+ | <tr><td>30 </td><td>DATA_ENTREGA_MINIMA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>31 </td><td>DATA_ENTREGA_MAXIMA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>32 </td><td>VENDA_LIBERADA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>33 </td><td>QUANTIDADE_MIN_FRETE_CIF_GRAT </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>34 </td><td>VALOR_MIN_FRETE_CIF_GRAT </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>35 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>36 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>37 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>38 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>39 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>40 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>41 </td><td>COLECAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (VENDEDOR_PRODUTO, EMPRESA)</th></tr> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</table> | </table> | ||
<br> | <br> | ||
Linha 3 979: | Linha 1 221: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">LOCALIZACAO_NEGOCIO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_LOCALIZACAO_NEGOCIO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>LOCALIZACAO_NEGOCIO </td><td> PK_LOCALIZACAO_NEGOCIO </td><td>NOT NULL </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_LOCALIZACAO_NEGOCIO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>4 </td><td>OBRIGATORIO_NOME_SHOPPING </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, LOCALIZACAO_NEGOCIO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 4 024: | Linha 1 245: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">SEGMENTO_NEGOCIO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
− | <tr> | + | <tr><td>1 </td><td>EMPRESA </td><td> PK_SEGMENTO_NEGOCIO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> |
− | + | <tr><td>2 </td><td>SEGMENTO_NEGOCIO </td><td> PK_SEGMENTO_NEGOCIO </td><td>NOT NULL </td><td>VARCHAR</td><td> 10 </td> | |
− | + | <tr><td>3 </td><td>DESCRICAO_SEGMENTO_NEGOCIO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <tr> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <tr> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | </td> | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TIPO_NEGOCIO)</th> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
</table> | </table> | ||
Linha 4 103: | Linha 1 271: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">GRUPO_PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_GRUPO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>GRUPO_PRODUTO </td><td> PK_GRUPO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_GRUPO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>4 </td><td>TIPO_COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>5 </td><td>TIPO_COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>6 </td><td>QUANTIDADE_MIN_FRETE_CIF_GRAT </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>7 </td><td>VALOR_MIN_FRETE_CIF_GRAT </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>8 </td><td>PERC_DESCONTO_PROMOCIONAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>9 </td><td>PERC_DESCONTO_GERENCIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>10 </td><td>PERC_DESCONTO_PARCERIA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>11 </td><td>DIAS_PRAZO_MAIS </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>12 </td><td>TIPO_COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>13 </td><td>UNIDADE_FABRICACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>16 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>17 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>18 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>19 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>20 </td><td>MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>21 </td><td>DESCRICAO_GRUPO_PRODUTO_FAT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>22 </td><td>DESCRICAO_TIPO_COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>23 </td><td>DESCRICAO_TIPO_COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>24 </td><td>DESCRICAO_TIPO_COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>25 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>26 </td><td>GRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>27 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, GRUPO_PRODUTO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 4 308: | Linha 1 324: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">SUBGRUPO_PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_SUBGRUPO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>GRUPO_PRODUTO </td><td> PK_SUBGRUPO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>SUBGRUPO_PRODUTO </td><td> PK_SUBGRUPO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>DESCRICAO_SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>5 </td><td>GRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>SUBGRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, GRUPO_PRODUTO, SUBGRUPO_PRODUTO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 4 369: | Linha 1 352: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PRODUTO </td><td> PK_PRODUTO </td><td>NOT NULL </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>4 </td><td>APELIDO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>ABREVIATURA_UNIDADE </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>6 </td><td>GRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>9 </td><td>PESO_LIQUIDO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>10 </td><td>CLASSIFICACAO_FISCAL </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>11 </td><td>CATEGORIA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>12 </td><td>PONTO_CRITICO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>13 </td><td>GRADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>14 </td><td>CODIGO_BARRAS </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>15 </td><td>ESPECIFICACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 256 </td> | ||
+ | <tr><td>16 </td><td>PRECO_BASE </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>17 </td><td>FAMILIA_COMERCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>18 </td><td>UNIDADE_FABRICACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>19 </td><td>GRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>20 </td><td>SUBGRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>21 </td><td>ESPECIE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>22 </td><td>SEGMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>23 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>24 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>25 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>26 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>27 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>28 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>29 </td><td>TIPO_EMBALAGEM </td><td> </td><td> </td><td>VARCHAR</td><td> 5 </td> | ||
+ | <tr><td>30 </td><td>USO_PRODUTO_OPCIONAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>31 </td><td>DESCRICAO_PRODUTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>32 </td><td>DESCRICAO_PRODUTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>33 </td><td>MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>35 </td><td>TIPO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>36 </td><td>ESTILO_USO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>37 </td><td>DIMENSAO_TAMANHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>38 </td><td>NICHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>39 </td><td>LINHA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>40 </td><td>GENERO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>41 </td><td>PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>42 </td><td>NCM </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>43 </td><td>PRECO_CUSTO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>44 </td><td>PRECO_FINAL </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>45 </td><td>LISTA_MULTIPLO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>46 </td><td>DESCRICAO_GRUPO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>47 </td><td>DESCRICAO_SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>48 </td><td>DESCRICAO_TIPO_COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>49 </td><td>DESCRICAO_TIPO_COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>50 </td><td>DESCRICAO_TIPO_COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>51 </td><td>GRADE_POR </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>52 </td><td>SUBSTITUICAO_TRIBUTARIA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>53 </td><td>COLECAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>54 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>55 </td><td>PERC_DESCONTO_PARCERIA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>56 </td><td>PERC_DESCONTO_GERENCIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>57 </td><td>PERC_DESCONTO_PROMOCIONAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>59 </td><td>COLECAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>60 </td><td>VALIDA_ESTOQUE </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PRODUTO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 4 766: | Linha 1 439: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">PRODUTO_COMPLEMENTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PRODUTO </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>3 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>4 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>5 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>6 </td><td>FAMILIA_COMERCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>7 </td><td>APELIDO_PRODUTO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>8 </td><td>CODIGO_BARRAS </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>9 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>10 </td><td>PONTO_CRITICO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>11 </td><td>PRODUTO_COMPLEMENTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>12 </td><td>NCM </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>13 </td><td>PRECO_BASE </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>14 </td><td>PRECO_CUSTO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>15 </td><td>PRECO_FINAL </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>16 </td><td>LISTA_MULTIPLO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>17 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>18 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>19 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>20 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>21 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>22 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>23 </td><td>DESCRICAO_TIPO_COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>24 </td><td>DESCRICAO_COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
+ | <tr><td>25 </td><td>DESCRICAO_TIPO_COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>26 </td><td>DESCRICAO_COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
+ | <tr><td>27 </td><td>DESCRICAO_TIPO_COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>28 </td><td>DESCRICAO_COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
+ | <tr><td>29 </td><td>PESO_LIQUIDO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>30 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>31 </td><td>PERC_DESCONTO_PARCERIA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>32 </td><td>PERC_DESCONTO_GERENCIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>33 </td><td>PERC_DESCONTO_PROMOCIONAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>34 </td><td>VALIDA_ESTOQUE </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PRODUTO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 5 008: | Linha 1 515: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">COMPLEMENTO_1</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_COMPLEMENTO_1 </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>COMPLEMENTO_1 </td><td> PK_COMPLEMENTO_1 </td><td>NOT NULL </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 60 </td> | ||
+ | <tr><td>4 </td><td>TIPO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>5 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>6 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>7 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>8 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>9 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>COMPLEMENTO_1_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, COMPLEMENTO_1)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 5 111: | Linha 1 555: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">COMPLEMENTO_2</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_COMPLEMENTO_2 </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>COMPLEMENTO_2 </td><td> PK_COMPLEMENTO_2 </td><td>NOT NULL </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 60 </td> | ||
+ | <tr><td>4 </td><td>TIPO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>5 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>6 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>7 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>8 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>9 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>COMPLEMENTO_2_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, COMPLEMENTO_2)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 5 206: | Linha 1 587: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">COMPLEMENTO_3</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_COMPLEMENTO_3 </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>COMPLEMENTO_3 </td><td> PK_COMPLEMENTO_3 </td><td>NOT NULL </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 60 </td> | ||
+ | <tr><td>4 </td><td>TIPO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>5 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>6 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>7 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>8 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>9 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>COMPLEMENTO_3_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, COMPLEMENTO_3)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 5 300: | Linha 1 618: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">GRADE_PADRAO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_GRADE_PADRAO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>SEQUENCIA </td><td> PK_GRADE_PADRAO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, SEQUENCIA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 5 338: | Linha 1 641: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">GRADE_GRUPO_PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>GRADE_GRUPO_PRODUTO </td><td> PK_GRADE_GRUPO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> PK_GRADE_GRUPO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>GRUPO_PRODUTO </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>GRADE </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>PESO_LIQUIDO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>7 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (GRADE_GRUPO_PRODUTO, EMPRESA)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 5 404: | Linha 1 668: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">ITEM_GRADE_GRUPO_PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>ITEM_GRADE_GRUPO_PRODUTO </td><td> PK_ITEM_GRADE_GRUPO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> PK_ITEM_GRADE_GRUPO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>GRUPO_PRODUTO </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>GRADE </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>COMPLEMENTO_2 </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>7 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (ITEM_GRADE_GRUPO_PRODUTO, EMPRESA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 5 470: | Linha 1 695: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">GRADE_PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_GRADE_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>GRADE_PRODUTO </td><td> PK_GRADE_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_GRADE_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
+ | <tr><td>4 </td><td>GRADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>GRADE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
+ | <tr><td>6 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>7 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>8 </td><td>TIPO_GRADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>9 </td><td>QUANTIDADE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, GRADE_PRODUTO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 5 593: | Linha 1 731: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">ITEM_GRADE_PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_ITEM_GRADE_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>ITEM_GRADE_PRODUTO </td><td> PK_ITEM_GRADE_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_GRADE_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>4 </td><td>GRADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>CODIGO_COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>6 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>7 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>8 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>9 </td><td>TIPO_GRADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>10 </td><td>QUANTIDADE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>16 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>17 </td><td>GRADE_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>18 </td><td>GRADE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, ITEM_GRADE_PRODUTO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 5 751: | Linha 1 784: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CATEGORIA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CATEGORIA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CATEGORIA </td><td> PK_CATEGORIA </td><td>NOT NULL </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_CATEGORIA </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
+ | <tr><td>4 </td><td>PARCELA_MINIMA </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>5 </td><td>PRIORIDADE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, CATEGORIA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 5 802: | Linha 1 808: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">COLECAO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_COLECAO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>COLECAO </td><td> PK_COLECAO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_COLECAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>4 </td><td>PERC_DESCONTO_COLECAO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>5 </td><td>PERC_DESCONTO_PARCERIA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>6 </td><td>DIAS_PRAZO_MAIS </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>TIPO_FLAG </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>8 </td><td>TABELA_PRECO_LIBERADA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>9 </td><td>BLOQUEIA_PRAZO_MAIS_DESCONTO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>16 </td><td>DATA_INICIAL </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>17 </td><td>DATA_FINAL </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>18 </td><td>PERC_DESCONTO_GERENCIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>19 </td><td>COLECAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>20 </td><td>PERC_DESCONTO_PROMOCIONAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | |||
<tr> | <tr> | ||
− | < | + | <th colspan="6">* PRIMARY KEY (EMPRESA, COLECAO)</th> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</table> | </table> | ||
<br> | <br> | ||
Linha 5 950: | Linha 1 847: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">COLECAO_PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>COLECAO_PRODUTO </td><td> PK_COLECAO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>COLECAO </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>GRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>7 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>8 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>9 </td><td>APELIDO_PRODUTO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>10 </td><td>NIVEL </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>11 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>12 </td><td>COLECAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>13 </td><td>GRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>14 </td><td>SUBGRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (COLECAO_PRODUTO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 6 050: | Linha 1 880: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">MARCA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_MARCA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>MARCA </td><td> PK_MARCA </td><td>NOT NULL </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 200 </td> | ||
+ | <tr><td>4 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>5 </td><td>PERC_DESCONTO_MARCA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>6 </td><td>UNIDADE_FABRICACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>7 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>8 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>9 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, MARCA)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 6 150: | Linha 1 911: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">UNIDADE_FABRICACAO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_UNIDADE_FABRICACAO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>UNIDADE_FABRICACAO </td><td> PK_UNIDADE_FABRICACAO </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_UNIDADE_FABRICACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>4 </td><td>DATA_ENTREGA_MINIMA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>DATA_ENTREGA_MAXIMA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>QUANTIDADE_MIN_FRETE_CIF_GRAT </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>7 </td><td>VALOR_MIN_FRETE_CIF_GRAT </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>8 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, UNIDADE_FABRICACAO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 6 222: | Linha 1 938: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">PRODUTO_COMERCIAL</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>PRODUTO_COMERCIAL </td><td> PK_PRODUTO_COMERCIAL </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> PK_PRODUTO_COMERCIAL </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>4 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>5 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>6 </td><td>GRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>CATEGORIA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>9 </td><td>FAMILIA_COMERCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>10 </td><td>MULTIPLO_VENDA </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>11 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>12 </td><td>DATA_VALIDADE_DESCONTO </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>13 </td><td>NIVEL </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>14 </td><td>DATA_ENTREGA_MINIMA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>15 </td><td>VENDA_LIBERADA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>16 </td><td>LISTA_MULTIPLO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 256 </td> | ||
+ | <tr><td>17 </td><td>DATA_ENTREGA_MAXIMA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>18 </td><td>QUANTIDADE_MIN_FRETE_CIF_GRAT </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>19 </td><td>VALOR_MIN_FRETE_CIF_GRAT </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>20 </td><td>COLECAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>21 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>22 </td><td>MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>23 </td><td>TIPO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>24 </td><td>ESTILO_USO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>25 </td><td>ESPECIE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>26 </td><td>DIMENSAO_TAMANHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>27 </td><td>NICHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>28 </td><td>LINHA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>29 </td><td>GENERO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>30 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>31 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>32 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>33 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>34 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>35 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>36 </td><td>GRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>37 </td><td>SUBGRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>38 </td><td>COLECAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>39 </td><td>TABELA_PRECO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>40 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (PRODUTO_COMERCIAL, EMPRESA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 6 521: | Linha 2 000: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">FORMA_PAGAMENTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_FORMA_PAGAMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>FORMA_PAGAMENTO </td><td> PK_FORMA_PAGAMENTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_FORMA_PAGAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>4 </td><td>FORMA_PAGAMENTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>5 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, FORMA_PAGAMENTO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 6 573: | Linha 2 025: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">MOEDA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_MOEDA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>MOEDA </td><td> PK_MOEDA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_MOEDA </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>4 </td><td>ABREVIATURA_MOEDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>5 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, MOEDA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 6 624: | Linha 2 049: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">MOEDA_COTACAO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_MOEDA_COTACAO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>MOEDA </td><td> PK_MOEDA_COTACAO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DATA_COTACAO </td><td> PK_MOEDA_COTACAO </td><td>NOT NULL </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>VALOR </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, MOEDA, DATA_COTACAO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 6 669: | Linha 2 072: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">PERIODO_ENTREGA_VENDA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_PERIODO_ENTREGA_VENDA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PERIODO_ENTREGA_VENDA </td><td> PK_PERIODO_ENTREGA_VENDA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DATA_INICIAL </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>DATA_FINAL </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>ANO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>PERIODO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>DESCRICAO_PERIODO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>9 </td><td>DATA_REFERENCIA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PERIODO_ENTREGA_VENDA)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 6 791: | Linha 2 102: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">PRAZO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PRAZO </td><td> PK_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_PRAZO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>4 </td><td>PARCELAS </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>TIPO_PRAZO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>6 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>7 </td><td>PRAZO_MEDIO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>8 </td><td>DIAS_PARCELA_1 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>9 </td><td>DIAS_PARCELA_2 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>DIAS_PARCELA_3 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>11 </td><td>DIAS_PARCELA_4 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>12 </td><td>DIAS_PARCELA_5 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>13 </td><td>DIAS_PARCELA_6 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>14 </td><td>DIAS_PARCELA_7 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>15 </td><td>DIAS_PARCELA_8 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>16 </td><td>DIAS_PARCELA_9 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>17 </td><td>DIAS_PARCELA_10 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>18 </td><td>DIAS_PARCELA_11 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>19 </td><td>DIAS_PARCELA_12 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>20 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>21 </td><td>PERC_DESCONTO_LIBERADO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>22 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 10,5 </td> | ||
+ | <tr><td>23 </td><td>PRAZO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>24 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>25 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>26 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>27 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>28 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>29 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TIPO_EMBALAGEM)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 7 049: | Linha 2 151: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TIPO_VENDA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TIPO_VENDA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TIPO_VENDA </td><td> PK_TIPO_VENDA </td><td>NOT NULL </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_TIPO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 40 </td> | ||
+ | <tr><td>4 </td><td>CONSIDERA_PRODUTO_INATIVO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>5 </td><td>GERA_COMISSAO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>6 </td><td>GERA_CONTAS_RECEBER </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>7 </td><td>PARCELA_MINIMA </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>8 </td><td>HAB_PERC_FATURAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>9 </td><td>LOCAL_ESTOQUE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>BAIXA_ESTOQUE </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>11 </td><td>TIPO_LOTE_PRODUCAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>12 </td><td>PORTADOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>13 </td><td>CARTERIA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>14 </td><td>PRAZO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>15 </td><td>EXPORTACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>16 </td><td>TIPO_VENDA_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>17 </td><td>TIPO_VENDA_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>18 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>19 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>20 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>21 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>22 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>23 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>24 </td><td>FILIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>25 </td><td>MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>26 </td><td>ORCAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>27 </td><td>ORIGEM_PEDIDO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>28 </td><td>PRAZO_MEDIO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>29 </td><td>PRAZO_MEDIO_MAXIMO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>30 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>31 </td><td>PERC_DESCONTO_PARCERIA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>32 </td><td>PERC_DESCONTO_GERENCIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>33 </td><td>PERC_DESCONTO_PROMOCIONAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TIPO_VENDA)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 7 268: | Linha 2 202: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TIPO_VENDA_FORMA_PAGAMENTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TIPO_VENDA_FORMA_PAGAMEN </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TIPO_VENDA </td><td> PK_TIPO_VENDA_FORMA_PAGAMEN </td><td>NOT NULL </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>3 </td><td>FORMA_PAGAMENTO </td><td> PK_TIPO_VENDA_FORMA_PAGAMEN </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>5 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (NOTA_FISCAL_VENDA)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 7 319: | Linha 2 226: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">PRAZO_MEDIO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_PRAZO_MEDIO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PRAZO_MEDIO </td><td> PK_PRAZO_MEDIO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>4 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PRAZO_MEDIO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 7 366: | Linha 2 251: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">OCORRENCIA_VENDA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>ANO </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>VENDA </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>SEQUENCIA </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>DATA_OCORRENCIA_VENDA </td><td> </td><td>NOT NULL </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>HORA </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 8 </td> | ||
+ | <tr><td>7 </td><td>HISTORICO </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>OBSERVACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 256 </td> | ||
+ | <tr><td>9 </td><td>PEDIDO_VENDEDOR </td><td> </td><td> </td><td>VARCHAR</td><td> 35 </td> | ||
+ | <tr><td>10 </td><td>SITUACAO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>11 </td><td>VENDEDOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>12 </td><td>OCORRENCIA_VENDA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>16 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>17 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>18 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY ()</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 7 510: | Linha 2 289: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">HISTORICO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_HISTORICO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>HISTORICO </td><td> PK_HISTORICO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_HISTORICO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>4 </td><td>OCORRENCIA_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>5 </td><td>OCORRENCIA_PESSOA </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, HISTORICO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 7 561: | Linha 2 312: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">VENDA_ERP</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>VENDA_ERP </td><td> PK_VENDA_ERP </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>SISTEMA_ORIGEM_PEDIDO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>4 </td><td>USUARIO_ORIGEM_PEDIDO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>NUMERO_PEDIDO_ORIGEM </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>NUMERO_PEDIDO_ERP </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>7 </td><td>NUMERO_PEDIDO_VENDEDOR </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>8 </td><td>NUMERO_PEDIDO_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>9 </td><td>VENDEDOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>VENDEDOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>11 </td><td>VENDEDOR_CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>12 </td><td>VENDEDOR_RAZAO_SOCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>13 </td><td>VENDEDOR_NOME_FANTASIA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>14 </td><td>VENDEDOR_OBSERVACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>15 </td><td>CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>16 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>17 </td><td>CLIENTE_CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>18 </td><td>CLIENTE_RAZAO_SOCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>19 </td><td>CLIENTE_NOME_FANTASIA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>20 </td><td>CLIENTE_OBSERVACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>21 </td><td>CLIENTE_NOME_CONTATO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>22 </td><td>CLIENTE_TIPO_CONTATO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>23 </td><td>TRANSPORTADOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>24 </td><td>TRANSPORTADOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>25 </td><td>TRANSPORTADOR_CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>26 </td><td>TRANSPORTADOR_RAZAO_SOCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>27 </td><td>TRANSPORTADOR_NOME_FANTASIA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>28 </td><td>TRANSPORTADOR_OBSERVACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>29 </td><td>TRANSPORTADOR_FRETE </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>30 </td><td>REDESPACHO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>31 </td><td>REDESPACHO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>32 </td><td>REDESPACHO_CPF_CNPJ </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>33 </td><td>REDESPACHO_RAZAO_SOCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>34 </td><td>REDESPACHO_NOME_FANTASIA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>35 </td><td>REDESPACHO_OBSERVACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>36 </td><td>REDESPACHO_FRETE </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>37 </td><td>TIPO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>38 </td><td>TIPO_VENDA_DESCRICAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>39 </td><td>TIPO_PRECO_DESCRICAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>40 </td><td>MOEDA_DESCRICAO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>41 </td><td>TABELA_PRECO_DESCRICAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>42 </td><td>FORMA_PAGAMENTO_DESCRICAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>43 </td><td>PRAZO_DESCRICAO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>44 </td><td>DATA_EMISSAO </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>45 </td><td>DATA_INCLUSAO </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>46 </td><td>DATA_ENTREGA_SOLICITADA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>47 </td><td>DATA_ENTREGA_INICIAL </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>48 </td><td>DATA_ENTREGA_FINAL </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>49 </td><td>ITENS </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>50 </td><td>QUANTIDADE_TOTAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>51 </td><td>QUANTIDADE_CANCELADA </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>52 </td><td>QUANTIDADE_ENTREGUE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>53 </td><td>QUANTIDADE_PENDENTE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>54 </td><td>LISTA_PERC_DESCONTOS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>55 </td><td>VALOR_ICMS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>56 </td><td>VALOR_IPI </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>57 </td><td>VALOR_ISS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>58 </td><td>VALOR_FRETE </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>59 </td><td>VALOR_PRODUTOS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>60 </td><td>VALOR_SERVICOS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>61 </td><td>VALOR_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>62 </td><td>VALOR_SEGURO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>63 </td><td>VALOR_OUTROS_ACRESCIMOS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>64 </td><td>VALOR_OUTROS_DESCONTOS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>65 </td><td>VALOR_OUTROS_IMPOSTOS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>66 </td><td>VALOR_TOTAL_BRUTO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>67 </td><td>VALOR_TOTAL_LIQUIDO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>68 </td><td>VALOR_TOTAL_CANCELADO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>69 </td><td>VALOR_TOTAL_ENTREGUE </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>70 </td><td>VALOR_TOTAL_PENDENTE </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>71 </td><td>DESCRICAO_VERBAS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>72 </td><td>PERC_COMISSAO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
+ | <tr><td>73 </td><td>VALOR_COMISSAO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>74 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>75 </td><td>DESCRICAO_SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>76 </td><td>OBSERVACAO_VENDA </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>77 </td><td>OBSERVACAO_NF </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>78 </td><td>OBSERVACAO_ORDEM_FAB </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>79 </td><td>OBSERVACAO_INTERNA </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>80 </td><td>OBSERVACAO_LOJA </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>81 </td><td>TIPO_EMBALAGEM_DESCRICAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>82 </td><td>ENVIOU_COPIA_PEDIDO_E_MAIL </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>83 </td><td>E_MAIL_EMISSOR_COPIA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>84 </td><td>E_MAIL_DESTINO_COPIA </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>85 </td><td>E_MAIL_DESTINO_COPIA_CC </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>86 </td><td>E_MAIL_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>87 </td><td>E_MAIL_CLIENTE_NFE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>88 </td><td>E_MAIL_CLIENTE_COMPRADOR </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>89 </td><td>TELEFONE_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>90 </td><td>CHAVE </td><td> </td><td> </td><td>VARCHAR</td><td> 256 </td> | ||
+ | <tr><td>91 </td><td>COLECAO_DESCRICAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>92 </td><td>GRUPO_PRODUTO_DESCRICAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>93 </td><td>PERMITE_SUBSTITUIR_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>94 </td><td>ACEITA_ENTREGA_TOTAL_PARCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>95 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>96 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>97 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>98 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>99 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>100 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (VENDA_ERP)</th></tr> |
</table> | </table> | ||
<br> | <br> | ||
Linha 8 276: | Linha 2 430: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">VENDA_ERP_ITEM </th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>VENDA_ERP_ITEM </td><td> PK_VENDA_ERP_ITEM </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>VENDA_ERP </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>NUMERO_PEDIDO_ORIGEM </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>NUMERO_PEDIDO_ERP </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>NUMERO_PEDIDO_VENDEDOR </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>7 </td><td>SEQUENCIA_ITEM </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>8 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>9 </td><td>APELIDO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>10 </td><td>APELIDO_PRODUTO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>11 </td><td>DESCRICAO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>12 </td><td>DESCRICAO_PRODUTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>13 </td><td>REFERENCIA_PRODUTO_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>14 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>15 </td><td>DESCRICAO_COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>16 </td><td>GRADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>17 </td><td>AGRUPAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>18 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>19 </td><td>DESCRICAO_COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>20 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>21 </td><td>DESCRICAO_COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>22 </td><td>UNIDADE_MEDIDA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>23 </td><td>DATA_ENTREGA_SOLICITADA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>24 </td><td>DATA_ENTREGA_INICIAL </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>25 </td><td>DATA_ENTREGA_FINAL </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>26 </td><td>QUANTIDADE_TOTAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>27 </td><td>QUANTIDADE_CANCELADA </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>28 </td><td>QUANTIDADE_ENTREGUE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>29 </td><td>QUANTIDADE_PENDENTE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>30 </td><td>LISTA_PERC_DESCONTOS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>31 </td><td>CAIXAS </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>32 </td><td>PRECO_UNITARIO_TABELA_PRECO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>33 </td><td>VALOR_UNITARIO_BRUTO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>34 </td><td>VALOR_UNITARIO_LIQUIDO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>35 </td><td>VALOR_TOTAL_BRUTO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>36 </td><td>VALOR_TOTAL_LIQUIDO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>37 </td><td>VALOR_TOTAL_CANCELADO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>38 </td><td>VALOR_TOTAL_ENTREGUE </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>39 </td><td>VALOR_TOTAL_PENDENTE </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>40 </td><td>ALIQ_IPI </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>41 </td><td>VALOR_IPI </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>42 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>43 </td><td>DESCRICAO_SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>44 </td><td>OBSERVACAO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>45 </td><td>OBSERVACAO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>46 </td><td>OBSERVACAO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>47 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>48 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>49 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>50 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>51 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>52 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (VENDA_ERP_ITEM)</th></tr> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</table> | </table> | ||
<br> | <br> | ||
Linha 8 655: | Linha 2 499: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLIENTE_ULTIMO_PRODUTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>CLIENTE_ULTIMO_PRODUTO </td><td> PK_CLIENTE_ULTIMO_PRODUTO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>6 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>7 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>8 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>9 </td><td>APELIDO_PRODUTO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>10 </td><td>QUANTIDADE_TOTAL_PEDIDO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>11 </td><td>QUANTIDADE_TOTAL_ENTREGUE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>12 </td><td>DATA_PEDIDO </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>13 </td><td>PRECO_UNITARIO_PEDIDO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>14 </td><td>PRECO_UNITARIO_FATURADO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>15 </td><td>NUMERO_PEDIDO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>16 </td><td>NUMERO_NF </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>17 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>18 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>19 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>20 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>21 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>22 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (CLIENTE_ULTIMO_PRODUTO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 8 825: | Linha 2 540: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLIENTE_RESUMO_VENDAS</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>CLIENTE_RESUMO_VENDAS </td><td> PK_CLIENTE_RESUMO_VENDAS </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CLIENTE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>NIVEL </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>6 </td><td>ANO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>MES </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>DIA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>9 </td><td>DATA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>QUANTIDADE_TOTAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>11 </td><td>VALOR_TOTAL </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>12 </td><td>QUANTIDADE_TOTAL_CANCELADA </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>13 </td><td>VALOR_TOTAL_CANCELADO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>14 </td><td>QUANTIDADE_TOTAL_ENTREGUE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>15 </td><td>VALOR_TOTAL_ENTREGUE </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>16 </td><td>QUANTIDADE_TOTAL_PENDENTE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>17 </td><td>VALOR_TOTAL_PENDENTE </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>18 </td><td>COLECAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>19 </td><td>COLECAO_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>20 </td><td>MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>21 </td><td>TIPO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>22 </td><td>ESTILO_USO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>23 </td><td>ESPECIE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>24 </td><td>DIMENSAO_TAMANHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>25 </td><td>NICHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>26 </td><td>LINHA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>27 </td><td>GENERO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>28 </td><td>CATEGORIA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>29 </td><td>FAMILIA_COMERCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>30 </td><td>GRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>31 </td><td>GRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>32 </td><td>SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>33 </td><td>SUBGRUPO_PRODUTO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>34 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>35 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>36 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>37 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>38 </td><td>APELIDO_PRODUTO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>39 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>40 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>41 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>42 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>43 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>44 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>45 </td><td>COLECAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>46 </td><td>QTDE_TOTAL_VENDAS_PERIODO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,3 </td> | ||
+ | <tr><td>47 </td><td>QTDE_VENDAS_CANCELADAS_PERIODO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,3 </td> | ||
+ | <tr><td>48 </td><td>QTDE_VENDAS_PENDENTE_PERIODO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,3 </td> | ||
+ | <tr><td>49 </td><td>QTDE_VENDAS_ENTREGUE_PERIODO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,3 </td> | ||
+ | <tr><td>50 </td><td>DATA_ENTREGA </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (CLIENTE_RESUMO_VENDAS)</th></tr> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</table> | </table> | ||
<br> | <br> | ||
Linha 9 158: | Linha 2 611: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">LOCAL_ESTOQUE</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_LOCAL_ESTOQUE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>LOCAL_ESTOQUE </td><td> PK_LOCAL_ESTOQUE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_LOCAL_ESTOQUE </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>4 </td><td>DESTINATARIO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>TIPO_LOCAL </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, LOCAL_ESTOQUE)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 9 210: | Linha 2 636: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">SALDO_ESTOQUE</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>SALDO_ESTOQUE </td><td> PK_SALDO_ESTOQUE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> PK_SALDO_ESTOQUE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>PRODUTO </td><td> PK_SALDO_ESTOQUE </td><td>NOT NULL </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>4 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>5 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>6 </td><td>LOCAL_ESTOQUE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>TIPO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>8 </td><td>ANO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>9 </td><td>MES </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>SALDO_INICIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>11 </td><td>ENTRADAS </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>12 </td><td>SAIDAS </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>13 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>14 </td><td>SALDO_FINAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>15 </td><td>SALDO_DISPONIVEL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>16 </td><td>SALDO_AUXILIAR </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>17 </td><td>RESERVA_ERP </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>18 </td><td>RESERVA_ONLINE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>19 </td><td>RESERVA_LOCAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>20 </td><td>PONTO_CRITICO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>21 </td><td>DATA_DISPONIVEL_INICIAL </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>22 </td><td>DATA_DISPONIVEL_FINAL </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>23 </td><td>PERIODO_ENTREGA_INICIAL </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>24 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>25 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>26 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>27 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>28 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>29 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>30 </td><td>PERIODO_ENTREGA_FINAL </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>31 </td><td>DIA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>32 </td><td>DATA_BASE_SALDO_ESTOQUE </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | |||
<tr> | <tr> | ||
− | < | + | <th colspan="6">* PRIMARY KEY (EMPRESA)</th> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</table> | </table> | ||
<br> | <br> | ||
<br> | <br> | ||
+ | |||
== Estoque de caixas coletivas, Pronta entrega, Online == | == Estoque de caixas coletivas, Pronta entrega, Online == | ||
<br> | <br> | ||
Linha 9 454: | Linha 2 691: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">PRONTA_ENTREGA_AGRUPAMENTO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
− | <tr> | + | <tr><td>1 </td><td>EMPRESA </td><td> PK_PRONTA_ENTREGA_AGRUPAMEN </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> |
− | + | <tr><td>2 </td><td>AGRUPAMENTO </td><td> PK_PRONTA_ENTREGA_AGRUPAMEN </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | |
− | + | <tr><td>3 </td><td>COMPLEMENTO_2 </td><td> PK_PRONTA_ENTREGA_AGRUPAMEN </td><td>NOT NULL </td><td>VARCHAR</td><td> 20 </td> | |
− | + | <tr><td>4 </td><td>QUANTIDADE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | |
− | + | ||
− | </td> | + | |
</tr> | </tr> | ||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, AGRUPAMENTO, | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
COMPLEMENTO_2)</th> | COMPLEMENTO_2)</th> | ||
</tr> | </tr> | ||
Linha 9 501: | Linha 2 718: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">PRONTA_ENTREGA_ESTOQUE</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PRODUTO </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>3 </td><td>COMPLEMENTO_1 </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>4 </td><td>AGRUPAMENTO </td><td> </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>5 </td><td>SALDO_ESTOQUE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>6 </td><td>QTDE_PRODUCAO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>7 </td><td>QTDE_PRODUZIDO </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>8 </td><td>QTDE_RESERVA_I </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>9 </td><td>QTDE_RESERVA_E </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>10 </td><td>SALDO_FINAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>11 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>12 </td><td>DATA_FATURAMENTO </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>16 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>17 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>18 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>19 </td><td>PRONTA_ENTREGA_ESTOQUE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>20 </td><td>ENTRADAS </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>21 </td><td>SALDO_INICIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>22 </td><td>RESERVA_ONLINE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>23 </td><td>RESERVA_LOCAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PRODUTO, COMPLEMENTO_1, |
AGRUPAMENTO)</th> | AGRUPAMENTO)</th> | ||
</tr> | </tr> | ||
Linha 9 682: | Linha 2 764: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TABELA_PRECO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TABELA_PRECO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TABELA_PRECO </td><td> PK_TABELA_PRECO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_TABELA_PRECO </td><td> </td><td> </td><td>VARCHAR</td><td> 80 </td> | ||
+ | <tr><td>4 </td><td>DATA_VALIDADE </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>6 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 10,5 </td> | ||
+ | <tr><td>7 </td><td>MOEDA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>PERC_DESCONTO_LIBERADO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>9 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>10 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>11 </td><td>PERC_COMISSAO_FIXO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>12 </td><td>COMISSAO_NEGOCIADA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>13 </td><td>CODIGO_TABELA_PRECO_AUX </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>14 </td><td>COLECAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>15 </td><td>MARCA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>16 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>17 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>18 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>19 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>20 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>21 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>22 </td><td>TIPO_CALCULO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>23 </td><td>INDICE_PARA_PRECO_INTEGRAL </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
+ | <tr><td>24 </td><td>PERC_FATURAMENTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>25 </td><td>COLECAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TABELA_PRECO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 9 874: | Linha 2 809: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">ITEM_TABELA_PRECO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>ITEM_TABELA_PRECO </td><td> PK_ITEM_TABELA_PRECO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> PK_ITEM_TABELA_PRECO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>TABELA_PRECO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>GRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>SUBGRUPO_PRODUTO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>GRADE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>7 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 15 </td> | ||
+ | <tr><td>8 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>9 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>10 </td><td>PRECO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>11 </td><td>QUANTIDADE </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>12 </td><td>FAMILIA_COMERCIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>13 </td><td>AGRUPAMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>14 </td><td>PRECO_MINIMO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>15 </td><td>COMPLEMENTO_2_INICIAL </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>16 </td><td>COMPLEMENTO_2_FINAL </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>17 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>18 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 20 </td> | ||
+ | <tr><td>19 </td><td>PRECO_CUSTO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>20 </td><td>PRECO_FINAL </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>21 </td><td>PRECO_ATACADO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>22 </td><td>PRECO_VAREJO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>23 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>24 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>25 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>26 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>27 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>28 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>29 </td><td>FATOR_SEQUENCIA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>30 </td><td>PRAZO_MEDIO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>31 </td><td>DESCRICAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>32 </td><td>PERC_COMISSAO_FIXO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>33 </td><td>COMISSAO_NEGOCIADA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>34 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 15,6 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (ITEM_TABELA_PRECO, EMPRESA)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 10 129: | Linha 2 862: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TABELA_PRECO_PRAZO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TABELA_PRECO_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TABELA_PRECO </td><td> PK_TABELA_PRECO_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>PRAZO </td><td> PK_TABELA_PRECO_PRAZO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>5 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 10,5 </td> | ||
+ | <tr><td>6 </td><td>PERC_DESCONTO_AUX </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>7 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>8 </td><td>PRAZO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TABELA_PRECO, PRAZO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 10 202: | Linha 2 890: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TABELA_PRECO_VENDEDOR</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TABELA_PRECO_VENDEDOR </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TABELA_PRECO </td><td> PK_TABELA_PRECO_VENDEDOR </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>VENDEDOR </td><td> PK_TABELA_PRECO_VENDEDOR </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>5 </td><td>VENDEDOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>6 </td><td>TABELA_PADRAO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TABELA_PRECO, VENDEDOR)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 10 260: | Linha 2 915: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TABELA_PRECO_CLIENTE </th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TABELA_PRECO_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>TABELA_PRECO </td><td> PK_TABELA_PRECO_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CLIENTE </td><td> PK_TABELA_PRECO_CLIENTE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>4 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>5 </td><td>INDICE </td><td> </td><td> </td><td>NUMERIC</td><td> 10,5 </td> | ||
+ | <tr><td>6 </td><td>DATA_ALTERACAO </td><td> </td><td> </td><td>TIMESTAMP</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>TIPO_USUARIO </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>8 </td><td>TABELA_PRECO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>9 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, TABELA_PRECO, CLIENTE)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 10 341: | Linha 2 945: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">NOTA_FISCAL</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>NOTA_FISCAL </td><td> PK_NOTA_FISCAL </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>NUMERO_NOTA_FISCAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>4 </td><td>SERIE_NOTA_FISCAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>PEDIDO_VENDEDOR </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>PEDIDO_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>7 </td><td>DATA_EMISSAO </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>DATA_SAIDA </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>9 </td><td>CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>10 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>11 </td><td>CNPJ_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>12 </td><td>RAZAO_SOCIAL_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>13 </td><td>TRANSPORTADOR </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>14 </td><td>TRANSPORTADOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>15 </td><td>CNPJ_TRANSPORTADOR </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>16 </td><td>RAZAO_SOCIAL_TRANSPORTADOR </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>17 </td><td>REDESPACHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>18 </td><td>REDESPACHO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>19 </td><td>CNPJ_REDESPACHO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>20 </td><td>RAZAO_SOCIAL_REDESPACHO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>21 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>22 </td><td>OBSERVACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 5000 </td> | ||
+ | <tr><td>23 </td><td>PRAZO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>24 </td><td>DESCRICAO_PRAZO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>25 </td><td>VOLUMES </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>26 </td><td>VALOR_ICMS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>27 </td><td>VALOR_IPI </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>28 </td><td>VALOR_ISS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>29 </td><td>VALOR_FRETE </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>30 </td><td>VALOR_PRODUTOS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>31 </td><td>VALOR_SERVICOS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>32 </td><td>VALOR_TOTAL_BRUTO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>33 </td><td>VALOR_TOTAL_LIQUIDO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>34 </td><td>VALOR_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>35 </td><td>VALOR_SEGURO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>36 </td><td>VALOR_OUTROS_ACRESCIMOS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>37 </td><td>VALOR_OUTROS_DESCONTOS </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>38 </td><td>CHAVE_NFE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>39 </td><td>URL_NFE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>40 </td><td>E_MAIL_NFE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>41 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>42 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>43 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>44 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>45 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>46 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>47 </td><td>NUMERO_PEDIDO_ERP </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (NOTA_FISCAL)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 10 686: | Linha 3 011: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">NOTA_FISCAL_ITEM</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>NOTA_FISCAL_ITEM </td><td> PK_NOTA_FISCAL_ITEM </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>NUMERO_NOTA_FISCAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>4 </td><td>SERIE_NOTA_FISCAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>SEQUENCIA_ITEM </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>7 </td><td>APELIDO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>8 </td><td>APELIDO_PRODUTO_COMPLEMENTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>9 </td><td>DESCRICAO_PRODUTO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>10 </td><td>DESCRICAO_PRODUTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>11 </td><td>COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>12 </td><td>DESCRICAO_COMPLEMENTO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>13 </td><td>COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>14 </td><td>DESCRICAO_COMPLEMENTO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>15 </td><td>COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>16 </td><td>DESCRICAO_COMPLEMENTO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>17 </td><td>UNIDADE_MEDIDA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>18 </td><td>QUANTIDADE_TOTAL </td><td> </td><td> </td><td>NUMERIC</td><td> 11,3 </td> | ||
+ | <tr><td>19 </td><td>VALOR_UNITARIO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>20 </td><td>VALOR_TOTAL </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>21 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>22 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>23 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>24 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>25 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>26 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (NOTA_FISCAL_ITEM)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 10 884: | Linha 3 056: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">NOTA_FISCAL_VENDA</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>NOTA_FISCAL_VENDA </td><td> PK_NOTA_FISCAL_VENDA </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>EMPRESA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>NUMERO_NOTA_FISCAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>4 </td><td>SERIE_NOTA_FISCAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>PEDIDO_VENDEDOR </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>PEDIDO_CLIENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>7 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>8 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>9 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>13 </td><td>NUMERO_PEDIDO_ERP </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (NOTA_FISCAL_VENDA)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 10 991: | Linha 3 088: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLASSIFICACAO_FISCAL</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CLASSIFICACAO_FISCAL </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CLASSIFICACAO_FISCAL </td><td> PK_CLASSIFICACAO_FISCAL </td><td>NOT NULL </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>3 </td><td>ALIQ_IPI </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>4 </td><td>SUBSTITUICAO_TRIBUTARIA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>NCM </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>7 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>8 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>9 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, CLASSIFICACAO_FISCAL)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 11 084: | Linha 3 118: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLASSIFICACAO_FISCAL_ESTADO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | </tr> | + | <tr><td>1 </td><td>CLASSIFICACAO_FISCAL_ESTADO </td><td> PK_CLASSIFICACAO_FIS_EST </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> |
+ | <tr><td>2 </td><td>EMPRESA </td><td> </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CLASSIFICACAO_FISCAL </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>4 </td><td>PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>5 </td><td>ESTADO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>6 </td><td>NOME_ESTADO </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>7 </td><td>NOME_PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>8 </td><td>SUBSTITUICAO_TRIBUTARIA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>9 </td><td>ALIQUOTA_INTERNA </td><td> </td><td> </td><td>NUMERIC</td><td> 10,5 </td> | ||
+ | <tr><td>10 </td><td>ALIQUOTA_INTERESTADUAL </td><td> </td><td> </td><td>NUMERIC</td><td> 10,5 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>16 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (CLASSIFICACAO_FISCAL_ESTADO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 11 213: | Linha 3 153: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">TITULO_FINANCEIRO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_TITULO_FINANCEIRO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PESSOA </td><td> PK_TITULO_FINANCEIRO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>TIPO </td><td> PK_TITULO_FINANCEIRO </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>4 </td><td>ORIGEM </td><td> PK_TITULO_FINANCEIRO </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>5 </td><td>DOCUMENTO </td><td> PK_TITULO_FINANCEIRO </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>6 </td><td>DESDOBRO </td><td> PK_TITULO_FINANCEIRO </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>7 </td><td>MOEDA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>SITUACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>9 </td><td>DATA_VENCIMENTO </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>VALOR </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>11 </td><td>SALDO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>12 </td><td>DATA_EMISSAO </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>13 </td><td>VENDEDOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>16 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>17 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>18 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>19 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>20 </td><td>CLIENTE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>21 </td><td>VENDEDOR_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>22 </td><td>NOSSO_NUMERO </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>23 </td><td>DATA_PROCESSAMENTO </td><td> </td><td> </td><td>DATE</td><td> 0 </td> | ||
+ | <tr><td>24 </td><td>SACADO </td><td> </td><td> </td><td>VARCHAR</td><td> 2000 </td> | ||
+ | <tr><td>25 </td><td>ENDERECO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 2000 </td> | ||
+ | <tr><td>26 </td><td>DEMONSTRATIVO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 2000 </td> | ||
+ | <tr><td>27 </td><td>DEMONSTRATIVO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 2000 </td> | ||
+ | <tr><td>28 </td><td>DEMONSTRATIVO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 2000 </td> | ||
+ | <tr><td>29 </td><td>INSTRUCOES_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 2000 </td> | ||
+ | <tr><td>30 </td><td>INSTRUCOES_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 2000 </td> | ||
+ | <tr><td>31 </td><td>INSTRUCOES_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 2000 </td> | ||
+ | <tr><td>32 </td><td>INSTRUCOES_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 2000 </td> | ||
+ | <tr><td>33 </td><td>QUANTIDADE </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>34 </td><td>ACEITE </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>35 </td><td>ESPECIE_DOC </td><td> </td><td> </td><td>VARCHAR</td><td> 250 </td> | ||
+ | <tr><td>36 </td><td>AGENCIA </td><td> </td><td> </td><td>VARCHAR</td><td> 150 </td> | ||
+ | <tr><td>37 </td><td>CONVENIO </td><td> </td><td> </td><td>VARCHAR</td><td> 150 </td> | ||
+ | <tr><td>38 </td><td>CONTRATO </td><td> </td><td> </td><td>VARCHAR</td><td> 150 </td> | ||
+ | <tr><td>39 </td><td>CONTA </td><td> </td><td> </td><td>VARCHAR</td><td> 150 </td> | ||
+ | <tr><td>40 </td><td>CONTA_DV </td><td> </td><td> </td><td>VARCHAR</td><td> 5 </td> | ||
+ | <tr><td>41 </td><td>CARTEIRA </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>42 </td><td>VARIACAO_CARTEIRA </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>43 </td><td>IDENTIFICACAO </td><td> </td><td> </td><td>VARCHAR</td><td> 150 </td> | ||
+ | <tr><td>44 </td><td>CEDENTE </td><td> </td><td> </td><td>VARCHAR</td><td> 2000 </td> | ||
+ | <tr><td>45 </td><td>FORMATO_CONVENIO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>46 </td><td>FORMATACAO_NOSSO_NUMERO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>47 </td><td>BANCO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>48 </td><td>TAXA_BOLETO </td><td> </td><td> </td><td>NUMERIC</td><td> 9,2 </td> | ||
+ | <tr><td>49 </td><td>AGENCIA_DV </td><td> </td><td> </td><td>VARCHAR</td><td> 5 </td> | ||
+ | <tr><td>50 </td><td>BOLETO </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PESSOA, TIPO, ORIGEM, |
DOCUMENTO, DESDOBRO)</th> | DOCUMENTO, DESDOBRO)</th> | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | |||
+ | Para possibilitar a emissão da 2ª via de boletos junto ao sistema é necessário o preenchimento de campos específicos conforme o banco trabalhado. | ||
+ | |||
+ | * Veja aqui os [[dados necessários para geração de 2ª via de boletos]] e a lista de bancos atualmente implementados. | ||
+ | |||
<br> | <br> | ||
<br> | <br> | ||
Linha 11 378: | Linha 3 229: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CLIENTE_CREDITO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CLIENTE_CREDITO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CLIENTE </td><td> PK_CLIENTE_CREDITO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>CREDITO_USADO </td><td> </td><td> </td><td>NUMERIC</td><td> 15,2 </td> | ||
+ | <tr><td>4 </td><td>SITUACAO_FINANCEIRA </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | |||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, CLIENTE)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 11 425: | Linha 3 256: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">REGIAO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_REGIAO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>REGIAO </td><td> PK_REGIAO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>NOME_REGIAO </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>4 </td><td>REGIAO_SUPERIOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>5 </td><td>SEQUENCIA_VISITA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>6 </td><td>SEQUENCIA_ENTREGA </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>DIA_SEMANA_VISITA </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>8 </td><td>DIA_SEMANA_ENTREGA </td><td> </td><td> </td><td>VARCHAR</td><td> 1 </td> | ||
+ | <tr><td>9 </td><td>REGIAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>10 </td><td>PERC_DESCONTO_LIBERADO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | |||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, REGIAO)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 11 512: | Linha 3 287: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">CIDADE</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_CIDADE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>CIDADE </td><td> PK_CIDADE </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>3 </td><td>DESCRICAO_CIDADE </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>4 </td><td>PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>5 </td><td>UF </td><td> </td><td> </td><td>VARCHAR</td><td> 2 </td> | ||
+ | <tr><td>6 </td><td>TRANSPORTADOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>7 </td><td>CEP_BASICO </td><td> </td><td> </td><td>VARCHAR</td><td> 10 </td> | ||
+ | <tr><td>8 </td><td>DDD </td><td> </td><td> </td><td>VARCHAR</td><td> 7 </td> | ||
+ | <tr><td>9 </td><td>DIA_FERIADO_1 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>10 </td><td>MES_FERIADO_1 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>11 </td><td>DIA_FERIADO_2 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>12 </td><td>MES_FERIADO_2 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>13 </td><td>DIA_FERIADO_3 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>14 </td><td>MES_FERIADO_3 </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>15 </td><td>ISENTO_ICMS </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>16 </td><td>ISENTO_IPI </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>17 </td><td>ISENTO_PIS </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>18 </td><td>ISENTO_COFINS </td><td> </td><td> </td><td>VARCHAR</td><td> 3 </td> | ||
+ | <tr><td>19 </td><td>REGIAO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>20 </td><td>REGIAO_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>21 </td><td>CODIGO_IBGE </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>22 </td><td>CIDADE_EXT </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | |||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, CIDADE)</th> |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 11 669: | Linha 3 329: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">ESTADO</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_ESTADO </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PAIS </td><td> PK_ESTADO </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>3 </td><td>ESTADO </td><td> PK_ESTADO </td><td>NOT NULL </td><td>VARCHAR</td><td> 2 </td> | ||
+ | <tr><td>4 </td><td>NOME_ESTADO </td><td> </td><td> </td><td>VARCHAR</td><td> 30 </td> | ||
+ | <tr><td>5 </td><td>PERC_ICMS </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>6 </td><td>NOME_PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>7 </td><td>TRANSPORTADOR </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>8 </td><td>REDESPACHO </td><td> </td><td> </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>9 </td><td>SUBSTITUICAO_TRIBUTARIA </td><td> </td><td> </td><td>VARCHAR</td><td> 100 </td> | ||
+ | <tr><td>10 </td><td>ATRIBUTO_GENERICO_1 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>11 </td><td>ATRIBUTO_GENERICO_2 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>12 </td><td>ATRIBUTO_GENERICO_3 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>13 </td><td>ATRIBUTO_GENERICO_4 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>14 </td><td>ATRIBUTO_GENERICO_5 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>15 </td><td>ATRIBUTO_GENERICO_6 </td><td> </td><td> </td><td>VARCHAR</td><td> 500 </td> | ||
+ | <tr><td>16 </td><td>PERC_DESCONTO </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>17 </td><td>PERC_DESCONTO_PARCERIA </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | <tr><td>18 </td><td>PERC_DESCONTO_GERENCIAL </td><td> </td><td> </td><td>NUMERIC</td><td> 5,2 </td> | ||
+ | |||
<tr> | <tr> | ||
− | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PAIS, ESTADO)</th> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <th colspan=" | + | |
</tr> | </tr> | ||
</table> | </table> | ||
Linha 11 812: | Linha 3 367: | ||
<table border="1" cellspacing="0"> | <table border="1" cellspacing="0"> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6" bgcolor="#a6d8f5">PAIS</th> |
</tr> | </tr> | ||
<tr> | <tr> | ||
<td bgcolor="#e6e6e6">SEQUÊNCIA</td> | <td bgcolor="#e6e6e6">SEQUÊNCIA</td> | ||
<td bgcolor="#e6e6e6">COLUNA</td> | <td bgcolor="#e6e6e6">COLUNA</td> | ||
+ | <td bgcolor="#e6e6e6">PRIMARY KEY</td> | ||
+ | <td bgcolor="#e6e6e6">RESTRIÇÃO</td> | ||
<td bgcolor="#e6e6e6">TIPO</td> | <td bgcolor="#e6e6e6">TIPO</td> | ||
− | <td bgcolor="#e6e6e6"> | + | <td bgcolor="#e6e6e6">TAMANHO DO CAMPO</td> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</tr> | </tr> | ||
+ | <tr><td>1 </td><td>EMPRESA </td><td> PK_PAIS </td><td>NOT NULL </td><td>INTEGER</td><td> 0 </td> | ||
+ | <tr><td>2 </td><td>PAIS </td><td> PK_PAIS </td><td>NOT NULL </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>3 </td><td>NOME_PAIS </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>4 </td><td>CODIGO_SISBACEN </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
+ | <tr><td>5 </td><td>CODIGO_SISCOMEX </td><td> </td><td> </td><td>VARCHAR</td><td> 50 </td> | ||
<tr> | <tr> | ||
− | <th colspan=" | + | <th colspan="6">* PRIMARY KEY (EMPRESA, PAIS)</th> |
</tr> | </tr> | ||
</table> | </table> |
Edição atual tal como às 10h56min de 8 de junho de 2018
Índice
- 1 Pessoa, Cliente, Vendedor, Transportador e relacionados
- 2 Produto e relacionados
- 3 Atributos de pedido de venda
- 4 Retorno do ERP para o SFA sobre a posição e situação do pedido de venda na empresa
- 5 Estoque Individual/Comum
- 6 Estoque de caixas coletivas, Pronta entrega, Online
- 7 Tabela de Preço
- 8 Nota Fiscal
- 9 Dados financeiros dos clientes
- 10 Localização, cidades, estados, países, etc
Pessoa, Cliente, Vendedor, Transportador e relacionados
CL.TXT CLIENTES
CLIENTE | ||||||
---|---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO | |
1 | EMPRESA | PK_CLIENTE | NOT NULL | INTEGER | 0 | |
2 | PESSOA | PK_CLIENTE | NOT NULL | INTEGER | 0 | |
3 | CLIENTE | INTEGER | 0 | |||
4 | GRUPO_PESSOA | INTEGER | 0 | |||
5 | CONCEITO | VARCHAR | 250 | |||
6 | VENDEDOR | INTEGER | 0 | |||
7 | ENDERECO_COBRANCA | VARCHAR | 200 | |||
8 | BAIRRO_COBRANCA | VARCHAR | 250 | |||
9 | CIDADE_COBRANCA | INTEGER | 0 | |||
10 | CEP_COBRANCA | VARCHAR | 10 | |||
11 | CAIXA_POSTAL_COBRANCA | INTEGER | 0 | |||
12 | TELEFONE_COBRANCA | VARCHAR | 250 | |||
13 | SITUACAO | VARCHAR | 1 | |||
14 | OBSERVACAO | VARCHAR | 250 | |||
15 | OBSERVACAO_ENTREGA | VARCHAR | 512 | |||
16 | CPF_CNPJ_ENTREGA | VARCHAR | 20 | |||
17 | LIMITE_CREDITO | NUMERIC | 15,2 | |||
18 | DATA_VALIDADE_SINTEGRA | TIMESTAMP | 0 | |||
19 | SUFRAMA | VARCHAR | 15 | |||
20 | DATA_SUFRAMA | TIMESTAMP | 0 | |||
21 | DATA_FUNDACAO | TIMESTAMP | 0 | |||
22 | TRANSPORTADOR | INTEGER | 0 | |||
23 | REDESPACHO | INTEGER | 0 | |||
24 | PERC_DESCONTO | NUMERIC | 5,2 | |||
25 | COMISSAO_NEGOCIADA | NUMERIC | 5,2 | |||
26 | PRAZO | INTEGER | 0 | |||
27 | MOEDA | INTEGER | 0 | |||
28 | TABELA_PRECO | INTEGER | 0 | |||
29 | ZIP_CODE | VARCHAR | 15 | |||
30 | SEQUENCIA_VISITA | INTEGER | 0 | |||
31 | SEQUENCIA_ENTREGA | INTEGER | 0 | |||
32 | REGIAO | INTEGER | 0 | |||
33 | FORMA_PAGAMENTO | INTEGER | 0 | |||
34 | TIPO_EMBALAGEM | VARCHAR | 5 | |||
35 | REGRA_VOLUME | INTEGER | 0 | |||
36 | CODIGO_ANTERIOR | INTEGER | 0 | |||
37 | NOME_FANTASIA | VARCHAR | 250 | |||
38 | RAZAO_SOCIAL | VARCHAR | 250 | |||
39 | ENDERECO | VARCHAR | 200 | |||
40 | BAIRRO | VARCHAR | 250 | |||
41 | CIDADE | INTEGER | 0 | |||
42 | CEP | VARCHAR | 10 | |||
43 | CAIXA_POSTAL | INTEGER | 0 | |||
44 | TELEFONE | VARCHAR | 250 | |||
45 | FAX | VARCHAR | 250 | |||
46 | CELULAR | VARCHAR | 250 | |||
47 | CPF_CNPJ | VARCHAR | 20 | |||
48 | RG_IE | VARCHAR | 20 | |||
49 | E_MAIL | VARCHAR | 250 | |||
50 | HOME_PAGE | VARCHAR | 250 | |||
51 | DATA_CADASTRO | TIMESTAMP | 0 | |||
52 | CPF_CNPJ_NUMERICO | VARCHAR | 18 | |||
53 | ENDERECO_NUMERO | VARCHAR | 250 | |||
54 | ENDERECO_COMPLEMENTO | VARCHAR | 250 | |||
55 | ENDERECO_COBRANCA_NUMERO | VARCHAR | 250 | |||
56 | ENDERECO_COBRANCA_COMPLEMENTO | VARCHAR | 250 | |||
57 | DATA_NASCIMENTO | TIMESTAMP | 0 | |||
58 | DIA_NASCIMENTO | INTEGER | 0 | |||
59 | MES_NASCIMENTO | INTEGER | 0 | |||
60 | DIA_FUNDACAO | INTEGER | 0 | |||
61 | MES_FUNDACAO | INTEGER | 0 | |||
62 | SEGMENTO_NEGOCIO | VARCHAR | 100 | |||
63 | TIPO_NEGOCIO | VARCHAR | 100 | |||
64 | LOCALIZACAO_NEGOCIO | VARCHAR | 100 | |||
65 | DIAS_PRAZO_MAIS | INTEGER | 0 | |||
66 | CLIENTE_EXT | VARCHAR | 30 | |||
67 | TIPO_PESSOA | VARCHAR | 10 | |||
68 | NOME_CIDADE | VARCHAR | 100 | |||
69 | NOME_ESTADO | VARCHAR | 100 | |||
70 | NOME_PAIS | VARCHAR | 100 | |||
71 | VENDEDOR_EXT | VARCHAR | 30 | |||
72 | TRANSPORTADOR_EXT | VARCHAR | 30 | |||
73 | REDESPACHO_EXT | VARCHAR | 30 | |||
74 | REGIAO_EXT | VARCHAR | 30 | |||
75 | MATRIZ_CLIENTE_EXT | VARCHAR | 30 | |||
76 | MATRIZ_CPF_CNPJ | VARCHAR | 30 | |||
77 | MATRIZ_CLIENTE | INTEGER | 0 | |||
78 | USA_PERC_FATURAMENTO_VENDA | VARCHAR | 3 | |||
79 | CONTATO | VARCHAR | 100 | |||
80 | E_MAIL_COMERCIAL | VARCHAR | 250 | |||
81 | E_MAIL_FINANCEIRO | VARCHAR | 250 | |||
82 | E_MAIL_NFE | VARCHAR | 250 | |||
83 | EXCLUSIVO_PRACA | VARCHAR | 100 | |||
84 | UNICA_MARCA | VARCHAR | 100 | |||
85 | EMBARQUE_PARCIAL | VARCHAR | 100 | |||
86 | BANCO | VARCHAR | 100 | |||
87 | AGENCIA | VARCHAR | 50 | |||
88 | DIGITO_AGENCIA | VARCHAR | 10 | |||
89 | CONTA | VARCHAR | 50 | |||
90 | DIGITO_CONTA | VARCHAR | 10 | |||
91 | REPRESENTANTE_CPF_CNPJ | VARCHAR | 30 | |||
92 | REPRESENTANTE | INTEGER | 0 | |||
93 | NOME_SHOPPING | VARCHAR | 200 | |||
94 | PISO_SHOPPING | VARCHAR | 100 | |||
95 | PONTO_COMPRA_VENDA | VARCHAR | 100 | |||
96 | CODIGO_CLIENTE_AUX | VARCHAR | 100 | |||
97 | INSCRICAO_MUNICIPAL | VARCHAR | 100 | |||
98 | CONTRIBUINTE_ICMS | VARCHAR | 100 | |||
99 | PERMITE_VENDOR | VARCHAR | 100 | |||
100 | PERMITE_PERC_FATURAMENTO | VARCHAR | 100 | |||
101 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | |||
102 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | |||
103 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | |||
104 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | |||
105 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | |||
106 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | |||
107 | ORIGEM_CONTATO | INTEGER | 0 | |||
108 | ORIGEM_CONTATO_EXT | VARCHAR | 250 | |||
109 | ORIGEM_CONTATO_ESPECIFICACAO | VARCHAR | 250 | |||
110 | COORDENADAS | VARCHAR | 100 | |||
111 | COORDENADAS_GRAUS | VARCHAR | 100 | |||
112 | COORDENADAS_GRAUS_LATITUDE | VARCHAR | 100 | |||
113 | COORDENADAS_GRAUS_LONGITUDE | VARCHAR | 100 | |||
114 | COORDENADAS_DECIMAL | VARCHAR | 100 | |||
115 | COORDENADAS_DECIMAL_LATITUDE | VARCHAR | 100 | |||
116 | COORDENADAS_DECIMAL_LONGITUDE | VARCHAR | 100 | |||
117 | PRAZO_MEDIO | INTEGER | 0 | |||
118 | PRAZO_MEDIO_MAXIMO | INTEGER | 0 | |||
119 | PRAZO_LISTA_PARCELAS | VARCHAR | 200 | |||
120 | TELEFONE_2 | VARCHAR | 250 | |||
121 | TELEFONE_3 | VARCHAR | 250 | |||
122 | CELULAR_2 | VARCHAR | 250 | |||
123 | CELULAR_3 | VARCHAR | 250 | |||
124 | CODIGO_VENDEDOR_EXPORTAR_ERP | VARCHAR | 100 | |||
125 | CEP_NUMERICO | INTEGER | 0 | |||
126 | TIPO_GRADE | VARCHAR | 50 | |||
127 | PERC_DESCONTO_2 | NUMERIC | 5,2 | |||
128 | PERC_DESCONTO_3 | NUMERIC | 5,2 | |||
129 | PERC_DESCONTO_4 | NUMERIC | 5,2 | |||
130 | PERMITE_SUBSTITUIR_PRODUTO | VARCHAR | 10 | |||
131 | ACEITA_ENTREGA_TOTAL_PARCIAL | VARCHAR | 10 | |||
132 | TIPO_EMPRESARIAL | VARCHAR | 100 | |||
133 | CAPITAL_SOCIAL | NUMERIC | 15,3 | |||
134 | AGRUPA_FATURA | VARCHAR | 3 | |||
135 | AGRUPA_VENDA | VARCHAR | 3 | |||
136 | TABELA_PRECO_EXT | VARCHAR | 30 | |||
137 | PRAZO_EXT | VARCHAR | 30 | |||
138 | PERC_ABATIMENTO_COMISSAO | NUMERIC | 5,2 | |||
139 | CIDADE_EXT | VARCHAR | 100 | |||
140 | CIDADE_COBRACA_EXT | VARCHAR | 30 | |||
141 | MARKUP | NUMERIC | 5,2 | |||
142 | TRATAMENTO | VARCHAR | 50 | |||
143 | PREFERENCIA_DE_CONTATO | VARCHAR | 100 | |||
144 | TIPO_CADASTRO | INTEGER | 0 | |||
145 | PAIS | VARCHAR | 50 | |||
* PRIMARY KEY (EMPRESA, PESSOA) |
CLIENTE_COMERCIAL | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | CLIENTE_COMERCIAL | PK_CLIENTE_COMERCIAL | NOT NULL | INTEGER | 0 |
2 | EMPRESA | PK_CLIENTE_COMERCIAL | NOT NULL | INTEGER | 0 |
3 | CLIENTE | INTEGER | 0 | ||
4 | CLIENTE_EXT | VARCHAR | 30 | ||
5 | NIVEL | VARCHAR | 100 | ||
6 | TIPO_VENDA | VARCHAR | 3 | ||
7 | TABELA_PRECO | INTEGER | 0 | ||
8 | TABELA_PRECO_EXT | VARCHAR | 30 | ||
9 | PRAZO | INTEGER | 0 | ||
10 | PRAZO_EXT | VARCHAR | 30 | ||
11 | PRAZO_MEDIO | INTEGER | 0 | ||
12 | FORMA_PAGAMENTO | INTEGER | 0 | ||
13 | LISTA_TIPO_FRETE_DESPACHO | VARCHAR | 100 | ||
14 | LISTA_TIPO_FRETE_REDESPACHO | VARCHAR | 100 | ||
15 | FAIXA_QUANTIDADE_VENDA | NUMERIC | 11,3 | ||
16 | FAIXA_VALOR_VENDA | NUMERIC | 9,2 | ||
17 | QUANTIDADE_MIN_FRETE_CIF_GRAT | NUMERIC | 11,3 | ||
18 | VALOR_MIN_FRETE_CIF_GRAT | NUMERIC | 9,2 | ||
19 | PERC_DESCONTO_101 | NUMERIC | 5,2 | ||
20 | PERC_DESCONTO_102 | NUMERIC | 5,2 | ||
21 | PERC_DESCONTO_103 | NUMERIC | 5,2 | ||
22 | PERC_DESCONTO_104 | NUMERIC | 5,2 | ||
23 | PERC_DESCONTO_105 | NUMERIC | 5,2 | ||
24 | PERC_DESCONTO_106 | NUMERIC | 5,2 | ||
25 | PERC_DESCONTO_107 | NUMERIC | 5,2 | ||
26 | PERC_DESCONTO_108 | NUMERIC | 5,2 | ||
27 | PERC_DESCONTO_109 | NUMERIC | 5,2 | ||
28 | DATA_VALIDADE | TIMESTAMP | 0 | ||
29 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
30 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
31 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
32 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
33 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
34 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
35 | VALOR_VENDA_ANTERIOR | NUMERIC | 11,2 | ||
36 | PERC_CRESCIMENTO_FAIXA_VENDA | NUMERIC | 5,2 | ||
37 | PERC_DESCONTO_FAIXA_VENDA | NUMERIC | 5,2 | ||
38 | VALOR_MINIMO_FAIXA_VENDA | NUMERIC | 11,2 | ||
39 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
40 | VALOR_VENDA_PERIODO_ATUAL | NUMERIC | 11,2 | ||
* PRIMARY KEY (CLIENTE_COMERCIAL, CLIENTE) |
CLIENTE_PERC_FATURAMENTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CLIENTE_PERC_FATURAMENTO | NOT NULL | INTEGER | 0 |
2 | CLIENTE_PERC_FATURAMENTO | PK_CLIENTE_PERC_FATURAMENTO | NOT NULL | INTEGER | 0 |
3 | CLIENTE | INTEGER | 0 | ||
4 | PERC_FAT_CODIGO | INTEGER | 0 | ||
5 | PERC_DESCONTO | NUMERIC | 5,2 | ||
* PRIMARY KEY (EMPRESA, CLIENTE_PERC_FATURAMENTO) |
CLIENTE_TABELA_PRECO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CLIENTE_TABELA_PRECO | NOT NULL | INTEGER | 0 |
2 | CLIENTE_TABELA_PRECO | PK_CLIENTE_TABELA_PRECO | NOT NULL | INTEGER | 0 |
3 | CLIENTE | INTEGER | 0 | ||
4 | TABELA_PRECO | INTEGER | 0 | ||
5 | CLIENTE_EXT | VARCHAR | 30 | ||
6 | TABELA_PRECO_EXT | VARCHAR | 30 | ||
7 | PERC_DESCONTO | NUMERIC | 5,2 | ||
8 | INDICE | NUMERIC | 10,5 | ||
9 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (EMPRESA, CLIENTE_TABELA_PRECO) |
CLIENTE_TABELA_PRECO_PRAZO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CLIENTE_TABELA_PRECO_PRAZO | NOT NULL | INTEGER | 0 |
2 | CLIENTE_TABELA_PRECO_PRAZO | PK_CLIENTE_TABELA_PRECO_PRAZO | NOT NULL | INTEGER | 0 |
3 | CLIENTE | INTEGER | 0 | ||
4 | TABELA_PRECO | INTEGER | 0 | ||
5 | PRAZO | INTEGER | 0 | ||
6 | CLIENTE_EXT | VARCHAR | 30 | ||
7 | TABELA_PRECO_EXT | VARCHAR | 30 | ||
8 | PRAZO_EXT | VARCHAR | 30 | ||
9 | PERC_DESCONTO | NUMERIC | 5,2 | ||
10 | INDICE | NUMERIC | 10,5 | ||
11 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (EMPRESA, CLIENTE_TABELA_PRECO_PRAZO) |
CLIENTE_TIPO_VENDA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CLIENTE_TIPO_VENDA | NOT NULL | INTEGER | 0 |
2 | CLIENTE | PK_CLIENTE_TIPO_VENDA | NOT NULL | INTEGER | 0 |
3 | TIPO_VENDA | PK_CLIENTE_TIPO_VENDA | NOT NULL | VARCHAR | 3 |
4 | SEQUENCIA | INTEGER | 0 | ||
5 | PREFERENCIAL | VARCHAR | 10 | ||
6 | INDICE | NUMERIC | 15,6 | ||
7 | PERC_DESCONTO | NUMERIC | 5,2 | ||
8 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
9 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
10 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
13 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (CLIENTE, TIPO_VENDA) |
COTA_PERIODO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_COTA_PERIODO | NOT NULL | INTEGER | 0 |
2 | COTA_PERIODO | PK_COTA_PERIODO | NOT NULL | INTEGER | 0 |
3 | DATA_INICIAL | TIMESTAMP | 0 | ||
4 | DATA_FINAL | TIMESTAMP | 0 | ||
5 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (EMPRESA, COTA_ALTERACAO) |
COTA_VENDA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | COTA_VENDA | PK_COTA_VENDA | NOT NULL | INTEGER | 0 |
2 | EMPRESA | PK_COTA_VENDA | NOT NULL | INTEGER | 0 |
3 | TIPO_COTA | VARCHAR | 1 | ||
4 | DATA_INICIAL | TIMESTAMP | 0 | ||
5 | DATA_FINAL | TIMESTAMP | 0 | ||
6 | VENDEDOR | INTEGER | 0 | ||
7 | GRUPO_PRODUTO | INTEGER | 0 | ||
8 | QUANTIDADE_PREVISTA | NUMERIC | 11,3 | ||
9 | QUANTIDADE_REALIZADA | NUMERIC | 11,3 | ||
10 | QUANTIDADE_SALDO | NUMERIC | 11,3 | ||
11 | SUBGRUPO_PRODUTO | INTEGER | 0 | ||
12 | VENDEDOR_EXT | VARCHAR | 30 | ||
13 | REPRESENTANTE | INTEGER | 0 | ||
14 | REPRESENTANTE_EXT | VARCHAR | 30 | ||
15 | MARCA | VARCHAR | 100 | ||
16 | QUANTIDADE_REALIZADA_AUX | NUMERIC | 11,3 | ||
17 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
18 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
19 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
20 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
21 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
22 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
23 | VALOR_PREVISTO | NUMERIC | 15,3 | ||
24 | VALOR_REALIZADO | NUMERIC | 15,3 | ||
25 | VALOR_SALDO | NUMERIC | 15,3 | ||
26 | VALOR_REALIZADO_AUX | NUMERIC | 15,3 | ||
* PRIMARY KEY (COTA_VENDA, EMPRESA) |
ESTADO_TRANSPORTADOR | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_ESTADO_TRANSPORTADOR | NOT NULL | INTEGER | 0 |
2 | PAIS | PK_ESTADO_TRANSPORTADOR | NOT NULL | VARCHAR | 50 |
3 | ESTADO | PK_ESTADO_TRANSPORTADOR | NOT NULL | VARCHAR | 2 |
4 | TRANSPORTADOR | INTEGER | 0 | ||
5 | REDESPACHO | INTEGER | 0 | ||
6 | DIAS_MINIMO_DT_INC_DT_ENT_VEND | INTEGER | 0 | ||
7 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (EMPRESA, PAIS, ESTADO) |
FERIADO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_FERIADO | NOT NULL | INTEGER | 0 |
2 | FERIADO | PK_FERIADO | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_FERIADO | VARCHAR | 30 | ||
4 | ANO | INTEGER | 0 | ||
5 | MES | INTEGER | 0 | ||
6 | DIA | INTEGER | 0 | ||
7 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (EMPRESA, FERIADO) |
PRODUTO_CLIENTE | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | PRODUTO_CLIENTE | PK_PRODUTO_CLIENTE | NOT NULL | INTEGER | 0 |
2 | EMPRESA | PK_PRODUTO_CLIENTE | NOT NULL | INTEGER | 0 |
3 | CLIENTE | NOT NULL | INTEGER | 0 | |
4 | PRODUTO | NOT NULL | VARCHAR | 15 | |
5 | COMPLEMENTO_1 | VARCHAR | 20 | ||
6 | COMPLEMENTO_2 | VARCHAR | 20 | ||
7 | PRODUTO_NO_CLIENTE | VARCHAR | 20 | ||
8 | DESCRICAO_PRODUTO_NO_CLIENTE | VARCHAR | 50 | ||
9 | COMPLEMENTO_3 | VARCHAR | 20 | ||
* PRIMARY KEY (EMPRESA, PRODUTO_OPCIONAL) |
SITUACAO_CLIENTE | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | SITUACAO | PK_SITUACAO_CLIENTE | NOT NULL | VARCHAR | 20 |
2 | DESCRICAO_SITUACAO | VARCHAR | 30 | ||
3 | DESCRICAO_DETALHADA_SITUACAO | VARCHAR | 128 | ||
4 | SEQUENCIA | INTEGER | 0 | ||
5 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
6 | PERMITE_VENDA | VARCHAR | 3 | ||
7 | APROVA_CREDITO_VENDA | VARCHAR | 3 | ||
8 | PERMITE_ORCAMENTO | VARCHAR | 3 | ||
9 | APROVA_CREDITO_ORCAMENTO | VARCHAR | 3 | ||
10 | LIMITE_DIAS_ATRASO_VENDA | INTEGER | 0 | ||
11 | COR_SITUACAO | VARCHAR | 10 | ||
* PRIMARY KEY (SITUACAO) |
SITUACAO_VENDA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | SITUACAO | PK_SITUACAO_VENDA | NOT NULL | VARCHAR | 20 |
2 | DESCRICAO_SITUACAO | VARCHAR | 30 | ||
3 | DESCRICAO_DETALHADA_SITUACAO | VARCHAR | 128 | ||
4 | SEQUENCIA | INTEGER | 0 | ||
5 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (SITUACAO) |
TABELA_PRECO_ESTADO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | TABELA_PRECO_ESTADO | PK_TABELA_PRECO_ESTADO | NOT NULL | INTEGER | 0 |
2 | EMPRESA | PK_TABELA_PRECO_ESTADO | NOT NULL | INTEGER | 0 |
3 | TABELA_PRECO | NOT NULL | INTEGER | 0 | |
4 | PAIS | NOT NULL | VARCHAR | 50 | |
5 | ESTADO | VARCHAR | 2 | ||
6 | PERC_DESCONTO | NUMERIC | 5,2 | ||
7 | INDICE | NUMERIC | 10,5 | ||
8 | INDICE_DESPACHO_CIF | NUMERIC | 15,6 | ||
9 | INDICE_DESPACHO_FOB | NUMERIC | 15,6 | ||
10 | INDICE_REDESPACHO_CIF | NUMERIC | 15,6 | ||
11 | INDICE_REDESPACHO_FOB | NUMERIC | 15,6 | ||
12 | COMISSAO_NEGOCIADA | NUMERIC | 5,2 | ||
* PRIMARY KEY (TABELA_PRECO_ESTADO, EMPRESA) |
TABELA_PRECO_VENDEDOR_PRAZO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TABELA_PRECO_VENDEDOR_PRAZO | NOT NULL | INTEGER | 0 |
2 | TABELA_PRECO | PK_TABELA_PRECO_VENDEDOR_PRAZO | NOT NULL | INTEGER | 0 |
3 | VENDEDOR | PK_TABELA_PRECO_VENDEDOR_PRAZO | NOT NULL | INTEGER | 0 |
4 | PRAZO | PK_TABELA_PRECO_VENDEDOR_PRAZO | NOT NULL | INTEGER | 0 |
5 | TABELA_PRECO_EXT | VARCHAR | 30 | ||
6 | VENDEDOR_EXT | VARCHAR | 30 | ||
7 | PRAZO_EXT | VARCHAR | 30 | ||
8 | PERC_DESCONTO | NUMERIC | 5,2 | ||
9 | INDICE | NUMERIC | 10,5 | ||
10 | PERC_DESCONTO_AUX | NUMERIC | 5,2 | ||
* PRIMARY KEY (EMPRESA, TABELA_PRECO, VENDEDOR, PRAZO) |
TIPO_COMPLEMENTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TIPO_COMPLEMENTO | NOT NULL | INTEGER | 0 |
2 | TIPO_COMPLEMENTO | PK_TIPO_COMPLEMENTO | NOT NULL | VARCHAR | 3 |
3 | DESCRICAO_TIPO_COMPLEMENTO | VARCHAR | 30 | ||
* PRIMARY KEY (EMPRESA, TIPO_COMPLEMENTO) |
TIPO_VENDA_COMPLEMENTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TIPO_VENDA_COMPLEMENTO | NOT NULL | INTEGER | 0 |
2 | TIPO_VENDA | PK_TIPO_VENDA_COMPLEMENTO | NOT NULL | VARCHAR | 3 |
3 | CALCULA_IPI_VENDA | VARCHAR | 3 | ||
4 | EXPORTA_PRECO_UNITARIO_LIQUIDO | VARCHAR | 3 | ||
5 | APLICA_REGRA_QTDE_MULTIPLA_VEN | VARCHAR | 3 | ||
6 | APLICA_REGRA_VALOR_MINIMO_VEN | VARCHAR | 3 | ||
7 | APLICA_REGRA_QTDE_MINIMA_VEN | VARCHAR | 3 | ||
8 | VENDA_PRONTA_ENTREGA | VARCHAR | 3 | ||
9 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
10 | GERA_APURACAO_COTA_VENDA | VARCHAR | 3 | ||
11 | DIAS_MINIMO_DT_INC_DT_ENT_VEND | INTEGER | 0 | ||
12 | LIMITE_UNIDADES_VENDA_PR_C1_C2 | NUMERIC | 11,3 | ||
13 | LIMITE_UNIDADES_VENDA_PRODUTO | NUMERIC | 11,3 | ||
14 | DIAS_LIMITE_UNIDADES_VENDA | INTEGER | 0 | ||
15 | GERA_APURACAO_AMOSTRA_VENDA | VARCHAR | 3 | ||
16 | DATA_ENTREGA_MINIMA | DATE | 0 | ||
17 | DATA_ENTREGA_MAXIMA | DATE | 0 | ||
18 | RESTRICAO_ITEM_VENDA_IGUAL | VARCHAR | 50 | ||
19 | PERC_DESCONTO | NUMERIC | 5,2 | ||
20 | PERC_COMISSAO_FIXO | NUMERIC | 5,2 | ||
21 | COMISSAO_NEGOCIADA | NUMERIC | 5,2 | ||
22 | APLICA_REGRA_ESTOQUE_NEGATIVO | VARCHAR | 3 | ||
23 | PERMITE_VENDA_CLIENTE | VARCHAR | 10 | ||
24 | PERMITE_VENDA_CLIENTE_INC_ALT | VARCHAR | 10 | ||
25 | VALOR_MINIMO_VENDA | NUMERIC | 9,2 | ||
26 | QUANTIDADE_MINIMA_VENDA | NUMERIC | 11,3 | ||
27 | TIPO_VENDA_VENDOR | VARCHAR | 3 | ||
28 | APLICA_REGRA_VALOR_MINIMO_PAR | VARCHAR | 3 | ||
29 | APLICA_REGRA_VALOR_MIN_PAR_CRE | VARCHAR | 3 | ||
30 | PERC_DESCONTO_PARCERIA | NUMERIC | 5,2 | ||
31 | PERC_DESCONTO_GERENCIAL | NUMERIC | 5,2 | ||
32 | PERC_DESCONTO_PROMOCIONAL | NUMERIC | 5,2 | ||
33 | APLICA_FRETE_CIF_FOB | VARCHAR | 50 | ||
34 | TIPO_VALIDACAO_QTDE_VENDA | VARCHAR | 50 | ||
35 | OBSERVACAO_COPIA_PEDIDO | VARCHAR | 200 | ||
* PRIMARY KEY (EMPRESA, TIPO_VENDA) |
TIPO_VENDA_PERC_FATURAMENTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TIPO_VENDA_PERC_FATURAMENTO | NOT NULL | INTEGER | 0 |
2 | TIPO_VENDA | PK_TIPO_VENDA_PERC_FATURAMENTO | NOT NULL | VARCHAR | 3 |
3 | PERC_FAT_CODIGO | PK_TIPO_VENDA_PERC_FATURAMENTO | NOT NULL | INTEGER | 0 |
4 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (EMPRESA, TIPO_VENDA, PERC_FAT_CODIGO) |
TIPO_VENDA_PRAZO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TIPO_VENDA_PRAZO | NOT NULL | INTEGER | 0 |
2 | TIPO_VENDA | PK_TIPO_VENDA_PRAZO | NOT NULL | VARCHAR | 3 |
3 | PRAZO | PK_TIPO_VENDA_PRAZO | NOT NULL | INTEGER | 0 |
4 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (EMPRESA, TIPO_VENDA, PRAZO) |
TIPO_VENDA_PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TIPO_VENDA_PRODUTO | NOT NULL | INTEGER | 0 |
2 | TIPO_VENDA | PK_TIPO_VENDA_PRODUTO | NOT NULL | VARCHAR | 3 |
3 | PRODUTO | PK_TIPO_VENDA_PRODUTO | NOT NULL | VARCHAR | 15 |
4 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (EMPRESA, TIPO_VENDA, PRODUTO) |
TIPO_VENDA_PRODUTO_COMP | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | TIPO_VENDA_PRODUTO_COMP | PK_TIPO_VENDA_PRODUTO_COMP | NOT NULL | INTEGER | 0 |
2 | EMPRESA | NOT NULL | INTEGER | 0 | |
3 | TIPO_VENDA | NOT NULL | VARCHAR | 3 | |
4 | PRODUTO | NOT NULL | VARCHAR | 15 | |
5 | COMPLEMENTO_1 | NOT NULL | VARCHAR | 20 | |
6 | COMPLEMENTO_2 | VARCHAR | 20 | ||
7 | COMPLEMENTO_3 | VARCHAR | 20 | ||
8 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
9 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
10 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
13 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
14 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (TIPO_VENDA_PRODUTO_COMP, EMPRESA) |
TIPO_VENDA_TABELA_PRECO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TIPO_VENDA_TABELA_PRECO | NOT NULL | INTEGER | 0 |
2 | TIPO_VENDA | PK_TIPO_VENDA_TABELA_PRECO | NOT NULL | VARCHAR | 3 |
3 | TABELA_PRECO | PK_TIPO_VENDA_TABELA_PRECO | NOT NULL | INTEGER | 0 |
4 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (EMPRESA, TIPO_VENDA, TABELA_PRECO) |
CP.TXT CONTATOS DE PESSOA/CLIENTE
CONTATO_PESSOA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CONTATO_PESSOA | NOT NULL | INTEGER | 0 |
2 | PESSOA | PK_CONTATO_PESSOA | NOT NULL | INTEGER | 0 |
3 | TIPO_CONTATO | PK_CONTATO_PESSOA | NOT NULL | INTEGER | 0 |
4 | CONTATO | PK_CONTATO_PESSOA | NOT NULL | VARCHAR | 60 |
5 | TELEFONE | VARCHAR | 30 | ||
6 | CELULAR | VARCHAR | 30 | ||
7 | DATA_NASCIMENTO | TIMESTAMP | 0 | ||
8 | DDD | VARCHAR | 7 | ||
9 | ESTADO_CIVIL | INTEGER | 0 | ||
10 | SEXO | VARCHAR | 3 | ||
11 | E_MAIL | VARCHAR | 250 | ||
12 | ENDERECO | VARCHAR | 200 | ||
13 | BAIRRO | VARCHAR | 30 | ||
14 | CIDADE | INTEGER | 0 | ||
15 | CEP | VARCHAR | 10 | ||
16 | CPF_CNPJ | VARCHAR | 20 | ||
17 | RG_IE | VARCHAR | 18 | ||
18 | TIME_FUTEBOL | VARCHAR | 30 | ||
19 | HOBBY | VARCHAR | 30 | ||
20 | POSSUI_FILHOS | VARCHAR | 3 | ||
21 | QUANTOS_FILHOS | INTEGER | 0 | ||
22 | PROFISSAO | VARCHAR | 50 | ||
23 | DIA_NASCIMENTO | INTEGER | 0 | ||
24 | MES_NASCIMENTO | INTEGER | 0 | ||
25 | CLIENTE_EXT | VARCHAR | 30 | ||
26 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
27 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
28 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
29 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
30 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
31 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
32 | TRATAMENTO | VARCHAR | 50 | ||
33 | PREFERENCIA_DE_CONTATO | VARCHAR | 100 | ||
* PRIMARY KEY (EMPRESA, PESSOA, TIPO_CONTATO, CONTATO) |
TR.TXT TRANSPORTADORES DE DESPACHO E REDESPACHO
TRANSPORTADOR | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TRANSPORTADOR | NOT NULL | INTEGER | 0 |
2 | PESSOA | PK_TRANSPORTADOR | NOT NULL | INTEGER | 0 |
3 | TRANSPORTADOR | INTEGER | 0 | ||
4 | SITUACAO | VARCHAR | 1 | ||
5 | CONCEITO | VARCHAR | 30 | ||
6 | NOME_FANTASIA | VARCHAR | 50 | ||
7 | RAZAO_SOCIAL | VARCHAR | 50 | ||
8 | ENDERECO | VARCHAR | 200 | ||
9 | BAIRRO | VARCHAR | 30 | ||
10 | CIDADE | INTEGER | 0 | ||
11 | CEP | VARCHAR | 10 | ||
12 | CAIXA_POSTAL | INTEGER | 0 | ||
13 | TELEFONE | VARCHAR | 30 | ||
14 | FAX | VARCHAR | 30 | ||
15 | CELULAR | VARCHAR | 30 | ||
16 | CPF_CNPJ | VARCHAR | 20 | ||
17 | RG_IE | VARCHAR | 20 | ||
18 | E_MAIL | VARCHAR | 250 | ||
19 | HOME_PAGE | VARCHAR | 50 | ||
20 | DATA_CADASTRO | TIMESTAMP | 0 | ||
21 | ENDERECO_NUMERO | VARCHAR | 11 | ||
22 | ENDERECO_COMPLEMENTO | VARCHAR | 30 | ||
23 | TRANSPORTADOR_EXT | VARCHAR | 30 | ||
24 | TIPO_PESSOA | VARCHAR | 10 | ||
25 | NOME_CIDADE | VARCHAR | 100 | ||
26 | NOME_ESTADO | VARCHAR | 100 | ||
27 | NOME_PAIS | VARCHAR | 100 | ||
28 | CODIGO_TRANSPORTADOR_AUX | VARCHAR | 100 | ||
29 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
30 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
31 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
32 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
33 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
34 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
35 | CIDADE_EXT | VARCHAR | 100 | ||
* PRIMARY KEY (EMPRESA, PESSOA) |
VD.TXT VENDEDORES
VENDEDOR | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_VENDEDOR | NOT NULL | INTEGER | 0 |
2 | PESSOA | PK_VENDEDOR | NOT NULL | INTEGER | 0 |
3 | VENDEDOR | INTEGER | 0 | ||
4 | REPRESENTANTE | INTEGER | 0 | ||
5 | SITUACAO | VARCHAR | 1 | ||
6 | PERC_COMISSAO_VISTA_1 | NUMERIC | 5,2 | ||
7 | PERC_COMISSAO_PRAZO_1 | NUMERIC | 5,2 | ||
8 | PERC_COMISSAO_VISTA_2 | NUMERIC | 5,2 | ||
9 | PERC_COMISSAO_PRAZO_2 | NUMERIC | 5,2 | ||
10 | PERC_COMISSAO_FATURAMENTO_1 | NUMERIC | 5,2 | ||
11 | PERC_COMISSAO_LIQUIDACAO_1 | NUMERIC | 5,2 | ||
12 | PERC_COMISSAO_FATURAMENTO_2 | NUMERIC | 5,2 | ||
13 | PERC_COMISSAO_LIQUIDACAO_2 | NUMERIC | 5,2 | ||
14 | DIA_PAGAMENTO | INTEGER | 0 | ||
15 | OBSERVACAO | VARCHAR | 250 | ||
16 | VENDAS_WEB | VARCHAR | 3 | ||
17 | CONCEITO | VARCHAR | 30 | ||
18 | MENSAGEM | VARCHAR | 256 | ||
19 | NOME_FANTASIA | VARCHAR | 250 | ||
20 | RAZAO_SOCIAL | VARCHAR | 250 | ||
21 | ENDERECO | VARCHAR | 200 | ||
22 | BAIRRO | VARCHAR | 250 | ||
23 | CIDADE | INTEGER | 0 | ||
24 | CEP | VARCHAR | 10 | ||
25 | CAIXA_POSTAL | INTEGER | 0 | ||
26 | TELEFONE | VARCHAR | 250 | ||
27 | FAX | VARCHAR | 250 | ||
28 | CELULAR | VARCHAR | 250 | ||
29 | CPF_CNPJ | VARCHAR | 20 | ||
30 | RG_IE | VARCHAR | 20 | ||
31 | E_MAIL | VARCHAR | 250 | ||
32 | HOME_PAGE | VARCHAR | 50 | ||
33 | DATA_CADASTRO | TIMESTAMP | 0 | ||
34 | ENDERECO_NUMERO | VARCHAR | 250 | ||
35 | ENDERECO_COMPLEMENTO | VARCHAR | 250 | ||
36 | VENDEDOR_EXT | VARCHAR | 30 | ||
37 | TIPO_PESSOA | VARCHAR | 10 | ||
38 | NOME_CIDADE | VARCHAR | 100 | ||
39 | NOME_ESTADO | VARCHAR | 100 | ||
40 | NOME_PAIS | VARCHAR | 100 | ||
41 | CONTATO | VARCHAR | 100 | ||
42 | REPRESENTANTE_CPF_CNPJ | VARCHAR | 30 | ||
43 | CODIGO_VENDEDOR_AUX | VARCHAR | 100 | ||
44 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
45 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
46 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
47 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
48 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
49 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
50 | PRAZO_MEDIO | INTEGER | 0 | ||
51 | PRAZO_MEDIO_MAXIMO | INTEGER | 0 | ||
52 | TIPO_COMISSAO | VARCHAR | 50 | ||
53 | GERENTE | INTEGER | 0 | ||
54 | GERENTE_EXT | VARCHAR | 50 | ||
55 | PERC_COMISSAO_GERENTE | NUMERIC | 5,2 | ||
56 | PERC_DESCONTO | NUMERIC | 5,2 | ||
57 | PERC_DESCONTO_PARCERIA | NUMERIC | 5,2 | ||
58 | PERC_DESCONTO_GERENCIAL | NUMERIC | 5,2 | ||
59 | PERC_DESCONTO_PROMOCIONAL | NUMERIC | 5,2 | ||
60 | CIDADE_EXT | VARCHAR | 100 | ||
61 | CIDADE_COBRACA_EXT | VARCHAR | 30 | ||
* PRIMARY KEY (EMPRESA, PESSOA) |
CLIENTE_PRAZO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CLIENTE_PRAZO | NOT NULL | INTEGER | 0 |
2 | CLIENTE | PK_CLIENTE_PRAZO | NOT NULL | INTEGER | 0 |
3 | PRAZO | PK_CLIENTE_PRAZO | NOT NULL | INTEGER | 0 |
4 | CLIENTE_EXT | VARCHAR | 30 | ||
5 | PRAZO_EXT | VARCHAR | 30 | ||
6 | PERC_DESCONTO | NUMERIC | 5,2 | ||
7 | PERC_DESCONTO_AUX | NUMERIC | 5,2 | ||
8 | SEQUENCIA | INTEGER | 0 | ||
9 | PREFERENCIAL | VARCHAR | 10 | ||
10 | INDICE | NUMERIC | 15,6 | ||
11 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
13 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
14 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
16 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
17 | TIPO_USUARIO | VARCHAR | 1 | ||
* PRIMARY KEY (EMPRESA, CLIENTE, PRAZO) |
CLIENTE_FORMA_PAGAMENTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CLIENTE_FORMA_PAGAMENTO | NOT NULL | INTEGER | 0 |
2 | CLIENTE | PK_CLIENTE_FORMA_PAGAMENTO | NOT NULL | INTEGER | 0 |
3 | FORMA_PAGAMENTO | PK_CLIENTE_FORMA_PAGAMENTO | NOT NULL | INTEGER | 0 |
4 | SEQUENCIA | INTEGER | 0 | ||
5 | PREFERENCIAL | VARCHAR | 10 | ||
6 | INDICE | NUMERIC | 15,6 | ||
7 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
8 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
9 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
10 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (EMPRESA, CLIENTE, FORMA_PAGAMENTO) |
CO.TXT CONCEITO DE PESSOAS:CLIENTE/TRANSPORTADOR/VENDEDOR
CONCEITO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CONCEITO | NOT NULL | INTEGER | 0 |
2 | CONCEITO | PK_CONCEITO | NOT NULL | VARCHAR | 30 |
3 | DESCRICAO_CONCEITO | VARCHAR | 60 | ||
* PRIMARY KEY (EMPRESA, CONCEITO) |
EC.TXT ESTADO CIVIL DE CONTATO DE PESSOA/CLIENTE
ESTADO_CIVIL | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_ESTADO_CIVIL | NOT NULL | INTEGER | 0 |
2 | ESTADO_CIVIL | PK_ESTADO_CIVIL | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_ESTADO_CIVIL | VARCHAR | 15 | ||
* PRIMARY KEY (EMPRESA, ESTADO_CIVIL) |
GE.TXT GRUPOS DE PESSOAS (REDES OU OUTRO TIPO DE AGRUPAMENTO)
GRUPO_PESSOA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_GRUPO_PESSOA | NOT NULL | INTEGER | 0 |
2 | GRUPO_PESSOA | PK_GRUPO_PESSOA | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_GRUPO_PESSOA | VARCHAR | 100 | ||
4 | LIMITE_CREDITO | NUMERIC | 15,2 | ||
* PRIMARY KEY (EMPRESA, GRUPO_PESSOA) |
TO.TXT TIPOS DE CONTATO DE CLIENTE (PROPRIETÁRIO, COMPRADOR, GERENTE, ETC)
TIPO_CONTATO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TIPO_CONTATO | NOT NULL | INTEGER | 0 |
2 | TIPO_CONTATO | PK_TIPO_CONTATO | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_TIPO_CONTATO | VARCHAR | 20 | ||
4 | PARENTESCO | VARCHAR | 1 | ||
* PRIMARY KEY (EMPRESA, TIPO_CONTATO) |
FR.TXT VENDEDORES QUE ATENDEM O CLIENTE, ALÉM DO VENDEDOR INDICADO EM CLIENTE
VENDEDOR_CLIENTE | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_VENDEDOR_CLIENTE | NOT NULL | INTEGER | 0 |
2 | VENDEDOR | PK_VENDEDOR_CLIENTE | NOT NULL | INTEGER | 0 |
3 | CLIENTE | PK_VENDEDOR_CLIENTE | NOT NULL | INTEGER | 0 |
4 | FREQ_VISITAS_MES | INTEGER | 0 | ||
5 | VENDEDOR_EXT | VARCHAR | 50 | ||
6 | CLIENTE_EXT | VARCHAR | 50 | ||
7 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
8 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
9 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
10 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (EMPRESA, VENDEDOR, CLIENTE) |
VENDEDOR_PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | VENDEDOR_PRODUTO | PK_VENDEDOR_PRODUTO | NOT NULL | INTEGER | 0 |
2 | EMPRESA | PK_VENDEDOR_PRODUTO | NOT NULL | INTEGER | 0 |
3 | VENDEDOR | INTEGER | 0 | ||
4 | VENDEDOR_EXT | VARCHAR | 30 | ||
5 | NIVEL | VARCHAR | 50 | ||
6 | TIPO_VINCULO | VARCHAR | 50 | ||
7 | COLECAO | INTEGER | 0 | ||
8 | COLECAO_AUX | VARCHAR | 100 | ||
9 | MARCA | VARCHAR | 100 | ||
10 | TIPO_PRODUTO | VARCHAR | 100 | ||
11 | ESTILO_USO | VARCHAR | 100 | ||
12 | ESPECIE | VARCHAR | 100 | ||
13 | DIMENSAO_TAMANHO | VARCHAR | 100 | ||
14 | NICHO | VARCHAR | 100 | ||
15 | LINHA | VARCHAR | 100 | ||
16 | GENERO | VARCHAR | 100 | ||
17 | CATEGORIA | VARCHAR | 100 | ||
18 | FAMILIA_COMERCIAL | VARCHAR | 100 | ||
19 | GRUPO_PRODUTO | INTEGER | 0 | ||
20 | GRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
21 | SUBGRUPO_PRODUTO | INTEGER | 0 | ||
22 | SUBGRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
23 | PRODUTO | VARCHAR | 15 | ||
24 | COMPLEMENTO_1 | VARCHAR | 20 | ||
25 | COMPLEMENTO_2 | VARCHAR | 20 | ||
26 | COMPLEMENTO_3 | VARCHAR | 20 | ||
27 | PERC_DESCONTO | NUMERIC | 5,2 | ||
28 | DATA_VALIDADE_DESCONTO | DATE | 0 | ||
29 | LISTA_MULTIPLO_VENDA | VARCHAR | 256 | ||
30 | DATA_ENTREGA_MINIMA | DATE | 0 | ||
31 | DATA_ENTREGA_MAXIMA | DATE | 0 | ||
32 | VENDA_LIBERADA | VARCHAR | 3 | ||
33 | QUANTIDADE_MIN_FRETE_CIF_GRAT | NUMERIC | 11,3 | ||
34 | VALOR_MIN_FRETE_CIF_GRAT | NUMERIC | 9,2 | ||
35 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
36 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
37 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
38 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
39 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
40 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
41 | COLECAO_EXT | VARCHAR | 100 | ||
* PRIMARY KEY (VENDEDOR_PRODUTO, EMPRESA) |
LOCALIZACAO_NEGOCIO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_LOCALIZACAO_NEGOCIO | NOT NULL | INTEGER | 0 |
2 | LOCALIZACAO_NEGOCIO | PK_LOCALIZACAO_NEGOCIO | NOT NULL | VARCHAR | 10 |
3 | DESCRICAO_LOCALIZACAO_NEGOCIO | VARCHAR | 100 | ||
4 | OBRIGATORIO_NOME_SHOPPING | VARCHAR | 10 | ||
* PRIMARY KEY (EMPRESA, LOCALIZACAO_NEGOCIO) |
SEGMENTO_NEGOCIO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_SEGMENTO_NEGOCIO | NOT NULL | INTEGER | 0 |
2 | SEGMENTO_NEGOCIO | PK_SEGMENTO_NEGOCIO | NOT NULL | VARCHAR | 10 |
3 | DESCRICAO_SEGMENTO_NEGOCIO | VARCHAR | 100 | ||
* PRIMARY KEY (EMPRESA, TIPO_NEGOCIO) |
Produto e relacionados
GR.TXT GRUPOS/LINHAS DE PRODUTOS
GRUPO_PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_GRUPO_PRODUTO | NOT NULL | INTEGER | 0 |
2 | GRUPO_PRODUTO | PK_GRUPO_PRODUTO | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_GRUPO_PRODUTO | VARCHAR | 50 | ||
4 | TIPO_COMPLEMENTO_1 | VARCHAR | 3 | ||
5 | TIPO_COMPLEMENTO_2 | VARCHAR | 3 | ||
6 | QUANTIDADE_MIN_FRETE_CIF_GRAT | NUMERIC | 11,3 | ||
7 | VALOR_MIN_FRETE_CIF_GRAT | NUMERIC | 9,2 | ||
8 | PERC_DESCONTO_PROMOCIONAL | NUMERIC | 5,2 | ||
9 | PERC_DESCONTO_GERENCIAL | NUMERIC | 5,2 | ||
10 | PERC_DESCONTO_PARCERIA | NUMERIC | 5,2 | ||
11 | DIAS_PRAZO_MAIS | INTEGER | 0 | ||
12 | TIPO_COMPLEMENTO_3 | VARCHAR | 3 | ||
13 | UNIDADE_FABRICACAO | VARCHAR | 50 | ||
14 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
16 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
17 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
18 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
19 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
20 | MARCA | VARCHAR | 100 | ||
21 | DESCRICAO_GRUPO_PRODUTO_FAT | VARCHAR | 100 | ||
22 | DESCRICAO_TIPO_COMPLEMENTO_1 | VARCHAR | 100 | ||
23 | DESCRICAO_TIPO_COMPLEMENTO_2 | VARCHAR | 100 | ||
24 | DESCRICAO_TIPO_COMPLEMENTO_3 | VARCHAR | 100 | ||
25 | SITUACAO | VARCHAR | 100 | ||
26 | GRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
27 | PERC_DESCONTO | NUMERIC | 5,2 | ||
* PRIMARY KEY (EMPRESA, GRUPO_PRODUTO) |
Exemplo de Dados delimitados por | pipe :
458|7233|SAPATILHAS COM APLIQUE|1|2||0|0|0||
458|7226|SAPATILHAS FEMININAS COM APLIQUE|1|2||0|0|0||
458|7300|CASUAL MASCULINA|1|2||0|0|0||
SUBGRUPO_PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_SUBGRUPO_PRODUTO | NOT NULL | INTEGER | 0 |
2 | GRUPO_PRODUTO | PK_SUBGRUPO_PRODUTO | NOT NULL | INTEGER | 0 |
3 | SUBGRUPO_PRODUTO | PK_SUBGRUPO_PRODUTO | NOT NULL | INTEGER | 0 |
4 | DESCRICAO_SUBGRUPO_PRODUTO | VARCHAR | 30 | ||
5 | GRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
6 | SUBGRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
* PRIMARY KEY (EMPRESA, GRUPO_PRODUTO, SUBGRUPO_PRODUTO) |
PR.TXT PRODUTOS ACABADOS
PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_PRODUTO | NOT NULL | INTEGER | 0 |
2 | PRODUTO | PK_PRODUTO | NOT NULL | VARCHAR | 15 |
3 | DESCRICAO_PRODUTO | VARCHAR | 250 | ||
4 | APELIDO_PRODUTO | VARCHAR | 100 | ||
5 | ABREVIATURA_UNIDADE | VARCHAR | 50 | ||
6 | GRUPO_PRODUTO | INTEGER | 0 | ||
7 | SUBGRUPO_PRODUTO | INTEGER | 0 | ||
8 | SITUACAO | VARCHAR | 1 | ||
9 | PESO_LIQUIDO | NUMERIC | 11,3 | ||
10 | CLASSIFICACAO_FISCAL | VARCHAR | 10 | ||
11 | CATEGORIA | VARCHAR | 100 | ||
12 | PONTO_CRITICO | NUMERIC | 11,3 | ||
13 | GRADE | VARCHAR | 100 | ||
14 | CODIGO_BARRAS | VARCHAR | 50 | ||
15 | ESPECIFICACAO | VARCHAR | 256 | ||
16 | PRECO_BASE | NUMERIC | 9,2 | ||
17 | FAMILIA_COMERCIAL | VARCHAR | 100 | ||
18 | UNIDADE_FABRICACAO | VARCHAR | 50 | ||
19 | GRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
20 | SUBGRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
21 | ESPECIE | VARCHAR | 100 | ||
22 | SEGMENTO | VARCHAR | 100 | ||
23 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
24 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
25 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
26 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
27 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
28 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
29 | TIPO_EMBALAGEM | VARCHAR | 5 | ||
30 | USO_PRODUTO_OPCIONAL | VARCHAR | 100 | ||
31 | DESCRICAO_PRODUTO_2 | VARCHAR | 250 | ||
32 | DESCRICAO_PRODUTO_3 | VARCHAR | 250 | ||
33 | MARCA | VARCHAR | 100 | ||
35 | TIPO_PRODUTO | VARCHAR | 100 | ||
36 | ESTILO_USO | VARCHAR | 100 | ||
37 | DIMENSAO_TAMANHO | VARCHAR | 100 | ||
38 | NICHO | VARCHAR | 100 | ||
39 | LINHA | VARCHAR | 100 | ||
40 | GENERO | VARCHAR | 100 | ||
41 | PRODUTO_EXT | VARCHAR | 250 | ||
42 | NCM | VARCHAR | 100 | ||
43 | PRECO_CUSTO | NUMERIC | 9,2 | ||
44 | PRECO_FINAL | NUMERIC | 9,2 | ||
45 | LISTA_MULTIPLO_VENDA | VARCHAR | 250 | ||
46 | DESCRICAO_GRUPO_PRODUTO | VARCHAR | 100 | ||
47 | DESCRICAO_SUBGRUPO_PRODUTO | VARCHAR | 100 | ||
48 | DESCRICAO_TIPO_COMPLEMENTO_1 | VARCHAR | 100 | ||
49 | DESCRICAO_TIPO_COMPLEMENTO_2 | VARCHAR | 100 | ||
50 | DESCRICAO_TIPO_COMPLEMENTO_3 | VARCHAR | 100 | ||
51 | GRADE_POR | VARCHAR | 30 | ||
52 | SUBSTITUICAO_TRIBUTARIA | VARCHAR | 100 | ||
53 | COLECAO_EXT | VARCHAR | 100 | ||
54 | PERC_DESCONTO | NUMERIC | 5,2 | ||
55 | PERC_DESCONTO_PARCERIA | NUMERIC | 5,2 | ||
56 | PERC_DESCONTO_GERENCIAL | NUMERIC | 5,2 | ||
57 | PERC_DESCONTO_PROMOCIONAL | NUMERIC | 5,2 | ||
59 | COLECAO | INTEGER | 0 | ||
60 | VALIDA_ESTOQUE | VARCHAR | 20 | ||
* PRIMARY KEY (EMPRESA, PRODUTO) |
Podemos usar a estrutura de PRODUTO para identificar a referência base do produto, e a PRODUTO_COMPLEMENTO para identificar as variável em COR e TAMANHO.
Exemplo de Dados delimitados por | pipe - gerar um registro para cada item da grade - supondo que fosse cada tamanho:
458|72.33|SAPATILHA COM APLIQUE|72.33|PAR|7233|0|A|0|764|0|2|7890000000000001|||
458|72.26|SAPATILHA FEMININA COM APLIQUE|72.26|PAR|7226|0|A|0|764|0|2|7890000000000684|||
458|73.00|CASUAL MASCULINA|73.00|PAR|7300|0|A|0|764|0|2|7890000000000256|||
PC.TXT COMBINAÇÃO/VARIAÇÃO DE CORES E TAMANHOS DE CADA PRODUTO
PRODUTO_COMPLEMENTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | NOT NULL | INTEGER | 0 | |
2 | PRODUTO | NOT NULL | VARCHAR | 15 | |
3 | COMPLEMENTO_1 | VARCHAR | 20 | ||
4 | COMPLEMENTO_2 | VARCHAR | 20 | ||
5 | SITUACAO | VARCHAR | 1 | ||
6 | FAMILIA_COMERCIAL | VARCHAR | 100 | ||
7 | APELIDO_PRODUTO_COMPLEMENTO | VARCHAR | 30 | ||
8 | CODIGO_BARRAS | VARCHAR | 50 | ||
9 | COMPLEMENTO_3 | VARCHAR | 20 | ||
10 | PONTO_CRITICO | NUMERIC | 11,3 | ||
11 | PRODUTO_COMPLEMENTO_EXT | VARCHAR | 250 | ||
12 | NCM | VARCHAR | 100 | ||
13 | PRECO_BASE | NUMERIC | 9,2 | ||
14 | PRECO_CUSTO | NUMERIC | 9,2 | ||
15 | PRECO_FINAL | NUMERIC | 9,2 | ||
16 | LISTA_MULTIPLO_VENDA | VARCHAR | 250 | ||
17 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
18 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
19 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
20 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
21 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
22 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
23 | DESCRICAO_TIPO_COMPLEMENTO_1 | VARCHAR | 100 | ||
24 | DESCRICAO_COMPLEMENTO_1 | VARCHAR | 200 | ||
25 | DESCRICAO_TIPO_COMPLEMENTO_2 | VARCHAR | 100 | ||
26 | DESCRICAO_COMPLEMENTO_2 | VARCHAR | 200 | ||
27 | DESCRICAO_TIPO_COMPLEMENTO_3 | VARCHAR | 100 | ||
28 | DESCRICAO_COMPLEMENTO_3 | VARCHAR | 200 | ||
29 | PESO_LIQUIDO | NUMERIC | 11,3 | ||
30 | PERC_DESCONTO | NUMERIC | 5,2 | ||
31 | PERC_DESCONTO_PARCERIA | NUMERIC | 5,2 | ||
32 | PERC_DESCONTO_GERENCIAL | NUMERIC | 5,2 | ||
33 | PERC_DESCONTO_PROMOCIONAL | NUMERIC | 5,2 | ||
34 | VALIDA_ESTOQUE | VARCHAR | 20 | ||
* PRIMARY KEY (EMPRESA, PRODUTO) |
Exemplo de Dados delimitados por | pipe - gerar um registro para cada item da grade - supondo que fosse cada tamanho:
458|72.33|460|34|A||010600243|7890000545414||
458|72.33|460|35|A||010600243|7890000545415||
458|72.33|460|36|A||010600243|7890000545416||
458|72.33|460|37|A||010600243|7890000545417||
458|72.33|460|38|A||010600243|7890000545418||
458|72.33|460|39|A||010600243|7890000545419||
458|72.33|390|34|A||010600228|7890000545414||
458|72.33|390|35|A||010600228|7890000545415||
458|72.33|390|36|A||010600228|7890000545416||
458|72.33|390|37|A||010600228|7890000545417||
458|72.33|390|38|A||010600228|7890000545418||
458|72.33|390|39|A||010600228|7890000545419||
458|72.26|199|34|A||010600219|7890000545414||
458|72.26|199|35|A||010600219|7890000545415||
458|72.26|199|36|A||010600219|7890000545416||
458|72.26|199|37|A||010600219|7890000545417||
458|72.26|199|38|A||010600219|7890000545418||
458|72.26|199|39|A||010600219|7890000545419||
C1.TXT PRIMEIRO COMPLEMENTO DE PRODUTOS (COR, ETC)
COMPLEMENTO_1 | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_COMPLEMENTO_1 | NOT NULL | INTEGER | 0 |
2 | COMPLEMENTO_1 | PK_COMPLEMENTO_1 | NOT NULL | VARCHAR | 20 |
3 | DESCRICAO_COMPLEMENTO_1 | VARCHAR | 60 | ||
4 | TIPO_COMPLEMENTO | VARCHAR | 3 | ||
5 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
6 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
7 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
8 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
9 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
10 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
11 | COMPLEMENTO_1_AUX | VARCHAR | 100 | ||
* PRIMARY KEY (EMPRESA, COMPLEMENTO_1) |
No caso da Puket o COMPLEMENTO_1 será usado para indicar o cadastro de Cores dos produtos Ex.:
199 : PRETO
460 : PINK
390 : AZUL MARINHO
108 : BRANCO
891 : BEGE
C2.TXT SEGUNDO COMPLEMENTO DE PRODUTOS (TAMANHO, ETC)
COMPLEMENTO_2 | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_COMPLEMENTO_2 | NOT NULL | INTEGER | 0 |
2 | COMPLEMENTO_2 | PK_COMPLEMENTO_2 | NOT NULL | VARCHAR | 20 |
3 | DESCRICAO_COMPLEMENTO_2 | VARCHAR | 60 | ||
4 | TIPO_COMPLEMENTO | VARCHAR | 3 | ||
5 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
6 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
7 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
8 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
9 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
10 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
11 | COMPLEMENTO_2_AUX | VARCHAR | 100 | ||
* PRIMARY KEY (EMPRESA, COMPLEMENTO_2) |
No caso da Puket o COMPLEMENTO_2 será usado para indicar o cadastro dos Tamanhos (item na grade) dos Produtos.
COMPLEMENTO_3 | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_COMPLEMENTO_3 | NOT NULL | INTEGER | 0 |
2 | COMPLEMENTO_3 | PK_COMPLEMENTO_3 | NOT NULL | VARCHAR | 20 |
3 | DESCRICAO_COMPLEMENTO_3 | VARCHAR | 60 | ||
4 | TIPO_COMPLEMENTO | VARCHAR | 3 | ||
5 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
6 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
7 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
8 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
9 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
10 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
11 | COMPLEMENTO_3_AUX | VARCHAR | 100 | ||
* PRIMARY KEY (EMPRESA, COMPLEMENTO_3) |
GRADE_PADRAO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_GRADE_PADRAO | NOT NULL | INTEGER | 0 |
2 | SEQUENCIA | PK_GRADE_PADRAO | NOT NULL | INTEGER | 0 |
3 | COMPLEMENTO_2 | VARCHAR | 20 | ||
* PRIMARY KEY (EMPRESA, SEQUENCIA) |
GRADE_GRUPO_PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | GRADE_GRUPO_PRODUTO | PK_GRADE_GRUPO_PRODUTO | NOT NULL | INTEGER | 0 |
2 | EMPRESA | PK_GRADE_GRUPO_PRODUTO | NOT NULL | INTEGER | 0 |
3 | GRUPO_PRODUTO | NOT NULL | INTEGER | 0 | |
4 | SUBGRUPO_PRODUTO | INTEGER | 0 | ||
5 | GRADE | NOT NULL | VARCHAR | 100 | |
6 | PESO_LIQUIDO | NUMERIC | 11,3 | ||
7 | PRODUTO | VARCHAR | 15 | ||
* PRIMARY KEY (GRADE_GRUPO_PRODUTO, EMPRESA) |
ITEM_GRADE_GRUPO_PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | ITEM_GRADE_GRUPO_PRODUTO | PK_ITEM_GRADE_GRUPO_PRODUTO | NOT NULL | INTEGER | 0 |
2 | EMPRESA | PK_ITEM_GRADE_GRUPO_PRODUTO | NOT NULL | INTEGER | 0 |
3 | GRUPO_PRODUTO | NOT NULL | INTEGER | 0 | |
4 | SUBGRUPO_PRODUTO | INTEGER | 0 | ||
5 | GRADE | NOT NULL | VARCHAR | 100 | |
6 | COMPLEMENTO_2 | NOT NULL | VARCHAR | 20 | |
7 | PRODUTO | VARCHAR | 15 | ||
* PRIMARY KEY (ITEM_GRADE_GRUPO_PRODUTO, EMPRESA) |
GRADE_PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_GRADE_PRODUTO | NOT NULL | INTEGER | 0 |
2 | GRADE_PRODUTO | PK_GRADE_PRODUTO | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_GRADE_PRODUTO | VARCHAR | 200 | ||
4 | GRADE | VARCHAR | 100 | ||
5 | GRADE_EXT | VARCHAR | 200 | ||
6 | SITUACAO | VARCHAR | 10 | ||
7 | PRODUTO | VARCHAR | 15 | ||
8 | TIPO_GRADE | VARCHAR | 100 | ||
9 | QUANTIDADE | NUMERIC | 11,3 | ||
10 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
13 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
14 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (EMPRESA, GRADE_PRODUTO) |
GRADES.TXT ITENS/TAMANHOS DAS GRADES POR PRODUTO
ITEM_GRADE_PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_ITEM_GRADE_PRODUTO | NOT NULL | INTEGER | 0 |
2 | ITEM_GRADE_PRODUTO | PK_ITEM_GRADE_PRODUTO | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_GRADE_PRODUTO | VARCHAR | 30 | ||
4 | GRADE | VARCHAR | 100 | ||
5 | CODIGO_COMPLEMENTO_2 | VARCHAR | 20 | ||
6 | COMPLEMENTO_2 | VARCHAR | 20 | ||
7 | SITUACAO | VARCHAR | 1 | ||
8 | PRODUTO | VARCHAR | 15 | ||
9 | TIPO_GRADE | VARCHAR | 100 | ||
10 | QUANTIDADE | NUMERIC | 11,3 | ||
11 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
13 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
14 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
16 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
17 | GRADE_PRODUTO | INTEGER | 0 | ||
18 | GRADE_EXT | VARCHAR | 100 | ||
* PRIMARY KEY (EMPRESA, ITEM_GRADE_PRODUTO) |
Exemplo de Dados delimitados por | pipe - gerar um registro para cada item da grade - supondo que fosse cada tamanho:
458|1001|39 AO 44|1|39
458|1002|39 AO 44|1|40
458|1003|39 AO 44|1|41
458|1004|39 AO 44|1|42
458|1005|39 AO 44|1|43
458|1006|39 AO 44|1|44
458|1007|34 AO 39|1|34
458|1008|34 AO 39|1|35
458|1009|34 AO 39|1|36
458|1010|34 AO 39|1|37
458|1011|34 AO 39|1|38
458|1012|34 AO 39|1|39
CATEGORIA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CATEGORIA | NOT NULL | INTEGER | 0 |
2 | CATEGORIA | PK_CATEGORIA | NOT NULL | VARCHAR | 100 |
3 | DESCRICAO_CATEGORIA | VARCHAR | 200 | ||
4 | PARCELA_MINIMA | NUMERIC | 9,2 | ||
5 | PRIORIDADE | INTEGER | 0 | ||
* PRIMARY KEY (EMPRESA, CATEGORIA) |
COLECAO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_COLECAO | NOT NULL | INTEGER | 0 |
2 | COLECAO | PK_COLECAO | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_COLECAO | VARCHAR | 100 | ||
4 | PERC_DESCONTO_COLECAO | NUMERIC | 5,2 | ||
5 | PERC_DESCONTO_PARCERIA | NUMERIC | 5,2 | ||
6 | DIAS_PRAZO_MAIS | INTEGER | 0 | ||
7 | TIPO_FLAG | VARCHAR | 10 | ||
8 | TABELA_PRECO_LIBERADA | VARCHAR | 100 | ||
9 | BLOQUEIA_PRAZO_MAIS_DESCONTO | VARCHAR | 10 | ||
10 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
13 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
14 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
16 | DATA_INICIAL | DATE | 0 | ||
17 | DATA_FINAL | DATE | 0 | ||
18 | PERC_DESCONTO_GERENCIAL | NUMERIC | 5,2 | ||
19 | COLECAO_EXT | VARCHAR | 100 | ||
20 | PERC_DESCONTO_PROMOCIONAL | NUMERIC | 5,2 | ||
* PRIMARY KEY (EMPRESA, COLECAO) |
COLECAO_PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | COLECAO_PRODUTO | PK_COLECAO_PRODUTO | NOT NULL | INTEGER | 0 |
2 | EMPRESA | NOT NULL | INTEGER | 0 | |
3 | COLECAO | NOT NULL | INTEGER | 0 | |
4 | GRUPO_PRODUTO | INTEGER | 0 | ||
5 | SUBGRUPO_PRODUTO | INTEGER | 0 | ||
6 | PRODUTO | VARCHAR | 15 | ||
7 | COMPLEMENTO_1 | VARCHAR | 20 | ||
8 | COMPLEMENTO_2 | VARCHAR | 20 | ||
9 | APELIDO_PRODUTO_COMPLEMENTO | VARCHAR | 30 | ||
10 | NIVEL | VARCHAR | 30 | ||
11 | COMPLEMENTO_3 | VARCHAR | 20 | ||
12 | COLECAO_EXT | VARCHAR | 100 | ||
13 | GRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
14 | SUBGRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
* PRIMARY KEY (COLECAO_PRODUTO) |
MARCA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_MARCA | NOT NULL | INTEGER | 0 |
2 | MARCA | PK_MARCA | NOT NULL | VARCHAR | 100 |
3 | DESCRICAO_MARCA | VARCHAR | 200 | ||
4 | SITUACAO | VARCHAR | 50 | ||
5 | PERC_DESCONTO_MARCA | NUMERIC | 5,2 | ||
6 | UNIDADE_FABRICACAO | VARCHAR | 50 | ||
7 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
8 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
9 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
10 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (EMPRESA, MARCA) |
UNIDADE_FABRICACAO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_UNIDADE_FABRICACAO | NOT NULL | INTEGER | 0 |
2 | UNIDADE_FABRICACAO | PK_UNIDADE_FABRICACAO | NOT NULL | VARCHAR | 50 |
3 | DESCRICAO_UNIDADE_FABRICACAO | VARCHAR | 100 | ||
4 | DATA_ENTREGA_MINIMA | DATE | 0 | ||
5 | DATA_ENTREGA_MAXIMA | DATE | 0 | ||
6 | QUANTIDADE_MIN_FRETE_CIF_GRAT | NUMERIC | 11,3 | ||
7 | VALOR_MIN_FRETE_CIF_GRAT | NUMERIC | 9,2 | ||
8 | PERC_DESCONTO | NUMERIC | 5,2 | ||
* PRIMARY KEY (EMPRESA, UNIDADE_FABRICACAO) |
PRODUTO_COMERCIAL | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | PRODUTO_COMERCIAL | PK_PRODUTO_COMERCIAL | NOT NULL | INTEGER | 0 |
2 | EMPRESA | PK_PRODUTO_COMERCIAL | NOT NULL | INTEGER | 0 |
3 | PRODUTO | VARCHAR | 15 | ||
4 | COMPLEMENTO_1 | VARCHAR | 20 | ||
5 | COMPLEMENTO_2 | VARCHAR | 20 | ||
6 | GRUPO_PRODUTO | INTEGER | 0 | ||
7 | SUBGRUPO_PRODUTO | INTEGER | 0 | ||
8 | CATEGORIA | VARCHAR | 100 | ||
9 | FAMILIA_COMERCIAL | VARCHAR | 100 | ||
10 | MULTIPLO_VENDA | NUMERIC | 11,3 | ||
11 | PERC_DESCONTO | NUMERIC | 5,2 | ||
12 | DATA_VALIDADE_DESCONTO | DATE | 0 | ||
13 | NIVEL | INTEGER | 0 | ||
14 | DATA_ENTREGA_MINIMA | DATE | 0 | ||
15 | VENDA_LIBERADA | VARCHAR | 3 | ||
16 | LISTA_MULTIPLO_VENDA | VARCHAR | 256 | ||
17 | DATA_ENTREGA_MAXIMA | DATE | 0 | ||
18 | QUANTIDADE_MIN_FRETE_CIF_GRAT | NUMERIC | 11,3 | ||
19 | VALOR_MIN_FRETE_CIF_GRAT | NUMERIC | 9,2 | ||
20 | COLECAO | INTEGER | 0 | ||
21 | COMPLEMENTO_3 | VARCHAR | 20 | ||
22 | MARCA | VARCHAR | 100 | ||
23 | TIPO_PRODUTO | VARCHAR | 100 | ||
24 | ESTILO_USO | VARCHAR | 100 | ||
25 | ESPECIE | VARCHAR | 100 | ||
26 | DIMENSAO_TAMANHO | VARCHAR | 100 | ||
27 | NICHO | VARCHAR | 100 | ||
28 | LINHA | VARCHAR | 100 | ||
29 | GENERO | VARCHAR | 100 | ||
30 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
31 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
32 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
33 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
34 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
35 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
36 | GRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
37 | SUBGRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
38 | COLECAO_EXT | VARCHAR | 100 | ||
39 | TABELA_PRECO | INTEGER | 0 | ||
40 | TABELA_PRECO_EXT | VARCHAR | 30 | ||
* PRIMARY KEY (PRODUTO_COMERCIAL, EMPRESA) |
Atributos de pedido de venda
FP.TXT FORMAS DE PAGAMENTO (BOLETO, CHEQUE, DINHEIRO, ETC)
FORMA_PAGAMENTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_FORMA_PAGAMENTO | NOT NULL | INTEGER | 0 |
2 | FORMA_PAGAMENTO | PK_FORMA_PAGAMENTO | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_FORMA_PAGAMENTO | VARCHAR | 50 | ||
4 | FORMA_PAGAMENTO_EXT | VARCHAR | 50 | ||
5 | SITUACAO | VARCHAR | 20 | ||
* PRIMARY KEY (EMPRESA, FORMA_PAGAMENTO) |
MO.TXT MOEDAS PARA O PEDIDO DE VENDA (REAL, DÓLAR, EURO, ETC)
MOEDA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_MOEDA | NOT NULL | INTEGER | 0 |
2 | MOEDA | PK_MOEDA | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_MOEDA | VARCHAR | 15 | ||
4 | ABREVIATURA_MOEDA | VARCHAR | 3 | ||
5 | SITUACAO | VARCHAR | 1 | ||
* PRIMARY KEY (EMPRESA, MOEDA) |
MOEDA_COTACAO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_MOEDA_COTACAO | NOT NULL | INTEGER | 0 |
2 | MOEDA | PK_MOEDA_COTACAO | NOT NULL | INTEGER | 0 |
3 | DATA_COTACAO | PK_MOEDA_COTACAO | NOT NULL | TIMESTAMP | 0 |
4 | VALOR | NUMERIC | 11,3 | ||
* PRIMARY KEY (EMPRESA, MOEDA, DATA_COTACAO) |
PV.TXT PERÍODOS DE ENTREGA PARA OS PEDIDOS DE VENDA
PERIODO_ENTREGA_VENDA | |||||
---|---|---|---|---|---|
1 | EMPRESA | PK_PERIODO_ENTREGA_VENDA | NOT NULL | INTEGER | 0 |
2 | PERIODO_ENTREGA_VENDA | PK_PERIODO_ENTREGA_VENDA | NOT NULL | INTEGER | 0 |
3 | DATA_INICIAL | DATE | 0 | ||
4 | DATA_FINAL | DATE | 0 | ||
5 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
6 | ANO | INTEGER | 0 | ||
7 | PERIODO | INTEGER | 0 | ||
8 | DESCRICAO_PERIODO | VARCHAR | 100 | ||
9 | DATA_REFERENCIA | DATE | 0 | ||
10 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
13 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
14 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (EMPRESA, PERIODO_ENTREGA_VENDA) |
PZ.TXT PRAZOS DE PAGAMENTO (A VISTA, 7 DIAS, 30/60/90 DIAS, ETC)
PRAZO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_PRAZO | NOT NULL | INTEGER | 0 |
2 | PRAZO | PK_PRAZO | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_PRAZO | VARCHAR | 50 | ||
4 | PARCELAS | INTEGER | 0 | ||
5 | TIPO_PRAZO | VARCHAR | 1 | ||
6 | PERC_DESCONTO | NUMERIC | 5,2 | ||
7 | PRAZO_MEDIO | NUMERIC | 9,2 | ||
8 | DIAS_PARCELA_1 | INTEGER | 0 | ||
9 | DIAS_PARCELA_2 | INTEGER | 0 | ||
10 | DIAS_PARCELA_3 | INTEGER | 0 | ||
11 | DIAS_PARCELA_4 | INTEGER | 0 | ||
12 | DIAS_PARCELA_5 | INTEGER | 0 | ||
13 | DIAS_PARCELA_6 | INTEGER | 0 | ||
14 | DIAS_PARCELA_7 | INTEGER | 0 | ||
15 | DIAS_PARCELA_8 | INTEGER | 0 | ||
16 | DIAS_PARCELA_9 | INTEGER | 0 | ||
17 | DIAS_PARCELA_10 | INTEGER | 0 | ||
18 | DIAS_PARCELA_11 | INTEGER | 0 | ||
19 | DIAS_PARCELA_12 | INTEGER | 0 | ||
20 | SITUACAO | VARCHAR | 10 | ||
21 | PERC_DESCONTO_LIBERADO | NUMERIC | 5,2 | ||
22 | INDICE | NUMERIC | 10,5 | ||
23 | PRAZO_EXT | VARCHAR | 30 | ||
24 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
25 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
26 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
27 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
28 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
29 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (EMPRESA, TIPO_EMBALAGEM) |
TV.TXT TIPOS DE VENDA (VENDA, BONIFICAÇÃO, PRONTA ENTREGA, VENDOR, DEVOLUÇÃO, ETC)
TIPO_VENDA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TIPO_VENDA | NOT NULL | INTEGER | 0 |
2 | TIPO_VENDA | PK_TIPO_VENDA | NOT NULL | VARCHAR | 3 |
3 | DESCRICAO_TIPO_VENDA | VARCHAR | 40 | ||
4 | CONSIDERA_PRODUTO_INATIVO | VARCHAR | 3 | ||
5 | GERA_COMISSAO | VARCHAR | 3 | ||
6 | GERA_CONTAS_RECEBER | VARCHAR | 3 | ||
7 | PARCELA_MINIMA | NUMERIC | 9,2 | ||
8 | HAB_PERC_FATURAMENTO | VARCHAR | 3 | ||
9 | LOCAL_ESTOQUE | INTEGER | 0 | ||
10 | BAIXA_ESTOQUE | VARCHAR | 3 | ||
11 | TIPO_LOTE_PRODUCAO | INTEGER | 0 | ||
12 | PORTADOR | INTEGER | 0 | ||
13 | CARTERIA | INTEGER | 0 | ||
14 | PRAZO | INTEGER | 0 | ||
15 | EXPORTACAO | VARCHAR | 3 | ||
16 | TIPO_VENDA_EXT | VARCHAR | 100 | ||
17 | TIPO_VENDA_AUX | VARCHAR | 100 | ||
18 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
19 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
20 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
21 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
22 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
23 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
24 | FILIAL | VARCHAR | 100 | ||
25 | MARCA | VARCHAR | 100 | ||
26 | ORCAMENTO | VARCHAR | 100 | ||
27 | ORIGEM_PEDIDO | VARCHAR | 100 | ||
28 | PRAZO_MEDIO | INTEGER | 0 | ||
29 | PRAZO_MEDIO_MAXIMO | INTEGER | 0 | ||
30 | PERC_DESCONTO | NUMERIC | 5,2 | ||
31 | PERC_DESCONTO_PARCERIA | NUMERIC | 5,2 | ||
32 | PERC_DESCONTO_GERENCIAL | NUMERIC | 5,2 | ||
33 | PERC_DESCONTO_PROMOCIONAL | NUMERIC | 5,2 | ||
* PRIMARY KEY (EMPRESA, TIPO_VENDA) |
TIPO_VENDA_FORMA_PAGAMENTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TIPO_VENDA_FORMA_PAGAMEN | NOT NULL | INTEGER | 0 |
2 | TIPO_VENDA | PK_TIPO_VENDA_FORMA_PAGAMEN | NOT NULL | VARCHAR | 3 |
3 | FORMA_PAGAMENTO | PK_TIPO_VENDA_FORMA_PAGAMEN | NOT NULL | INTEGER | 0 |
4 | PERC_DESCONTO | NUMERIC | 5,2 | ||
5 | INDICE | NUMERIC | 15,6 | ||
* PRIMARY KEY (NOTA_FISCAL_VENDA) |
PRAZO_MEDIO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_PRAZO_MEDIO | NOT NULL | INTEGER | 0 |
2 | PRAZO_MEDIO | PK_PRAZO_MEDIO | NOT NULL | INTEGER | 0 |
3 | PERC_DESCONTO | NUMERIC | 5,2 | ||
4 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
* PRIMARY KEY (EMPRESA, PRAZO_MEDIO) |
Retorno do ERP para o SFA sobre a posição e situação do pedido de venda na empresa
OP.TXT OCORRÊNCIAS DOS PEDIDOS IMPORTADOS NO ERP INDICANDO SITUAÇÃO E SE FOI PRODUZIDO
OCORRENCIA_VENDA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | NOT NULL | INTEGER | 0 | |
2 | ANO | NOT NULL | INTEGER | 0 | |
3 | VENDA | NOT NULL | INTEGER | 0 | |
4 | SEQUENCIA | NOT NULL | INTEGER | 0 | |
5 | DATA_OCORRENCIA_VENDA | NOT NULL | TIMESTAMP | 0 | |
6 | HORA | NOT NULL | VARCHAR | 8 | |
7 | HISTORICO | NOT NULL | INTEGER | 0 | |
8 | OBSERVACAO | VARCHAR | 256 | ||
9 | PEDIDO_VENDEDOR | VARCHAR | 35 | ||
10 | SITUACAO_VENDA | VARCHAR | 20 | ||
11 | VENDEDOR | INTEGER | 0 | ||
12 | OCORRENCIA_VENDA | INTEGER | 0 | ||
13 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
14 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
16 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
17 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
18 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY () |
HI.TXT HISTÔRICOS PARA INDICAR AS OCORRÊNCIAS DE VENDA E MOTIVOS DE NÃO VENDA GERADOS PELO SFA
HISTORICO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_HISTORICO | NOT NULL | INTEGER | 0 |
2 | HISTORICO | PK_HISTORICO | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_HISTORICO | VARCHAR | 50 | ||
4 | OCORRENCIA_VENDA | VARCHAR | 3 | ||
5 | OCORRENCIA_PESSOA | VARCHAR | 3 | ||
* PRIMARY KEY (EMPRESA, HISTORICO) |
VENDA_ERP | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | VENDA_ERP | PK_VENDA_ERP | NOT NULL | INTEGER | 0 |
2 | EMPRESA | NOT NULL | INTEGER | 0 | |
3 | SISTEMA_ORIGEM_PEDIDO | VARCHAR | 50 | ||
4 | USUARIO_ORIGEM_PEDIDO | VARCHAR | 100 | ||
5 | NUMERO_PEDIDO_ORIGEM | VARCHAR | 100 | ||
6 | NUMERO_PEDIDO_ERP | VARCHAR | 100 | ||
7 | NUMERO_PEDIDO_VENDEDOR | VARCHAR | 100 | ||
8 | NUMERO_PEDIDO_CLIENTE | VARCHAR | 100 | ||
9 | VENDEDOR | INTEGER | 0 | ||
10 | VENDEDOR_EXT | VARCHAR | 30 | ||
11 | VENDEDOR_CPF_CNPJ | VARCHAR | 30 | ||
12 | VENDEDOR_RAZAO_SOCIAL | VARCHAR | 250 | ||
13 | VENDEDOR_NOME_FANTASIA | VARCHAR | 250 | ||
14 | VENDEDOR_OBSERVACAO | VARCHAR | 250 | ||
15 | CLIENTE | INTEGER | 0 | ||
16 | CLIENTE_EXT | VARCHAR | 30 | ||
17 | CLIENTE_CPF_CNPJ | VARCHAR | 30 | ||
18 | CLIENTE_RAZAO_SOCIAL | VARCHAR | 250 | ||
19 | CLIENTE_NOME_FANTASIA | VARCHAR | 250 | ||
20 | CLIENTE_OBSERVACAO | VARCHAR | 250 | ||
21 | CLIENTE_NOME_CONTATO | VARCHAR | 100 | ||
22 | CLIENTE_TIPO_CONTATO | VARCHAR | 100 | ||
23 | TRANSPORTADOR | INTEGER | 0 | ||
24 | TRANSPORTADOR_EXT | VARCHAR | 30 | ||
25 | TRANSPORTADOR_CPF_CNPJ | VARCHAR | 30 | ||
26 | TRANSPORTADOR_RAZAO_SOCIAL | VARCHAR | 250 | ||
27 | TRANSPORTADOR_NOME_FANTASIA | VARCHAR | 250 | ||
28 | TRANSPORTADOR_OBSERVACAO | VARCHAR | 250 | ||
29 | TRANSPORTADOR_FRETE | VARCHAR | 30 | ||
30 | REDESPACHO | INTEGER | 0 | ||
31 | REDESPACHO_EXT | VARCHAR | 30 | ||
32 | REDESPACHO_CPF_CNPJ | VARCHAR | 30 | ||
33 | REDESPACHO_RAZAO_SOCIAL | VARCHAR | 250 | ||
34 | REDESPACHO_NOME_FANTASIA | VARCHAR | 250 | ||
35 | REDESPACHO_OBSERVACAO | VARCHAR | 250 | ||
36 | REDESPACHO_FRETE | VARCHAR | 30 | ||
37 | TIPO_VENDA | VARCHAR | 30 | ||
38 | TIPO_VENDA_DESCRICAO | VARCHAR | 100 | ||
39 | TIPO_PRECO_DESCRICAO | VARCHAR | 100 | ||
40 | MOEDA_DESCRICAO | VARCHAR | 30 | ||
41 | TABELA_PRECO_DESCRICAO | VARCHAR | 250 | ||
42 | FORMA_PAGAMENTO_DESCRICAO | VARCHAR | 100 | ||
43 | PRAZO_DESCRICAO | VARCHAR | 250 | ||
44 | DATA_EMISSAO | DATE | 0 | ||
45 | DATA_INCLUSAO | DATE | 0 | ||
46 | DATA_ENTREGA_SOLICITADA | DATE | 0 | ||
47 | DATA_ENTREGA_INICIAL | DATE | 0 | ||
48 | DATA_ENTREGA_FINAL | DATE | 0 | ||
49 | ITENS | INTEGER | 0 | ||
50 | QUANTIDADE_TOTAL | NUMERIC | 11,3 | ||
51 | QUANTIDADE_CANCELADA | NUMERIC | 11,3 | ||
52 | QUANTIDADE_ENTREGUE | NUMERIC | 11,3 | ||
53 | QUANTIDADE_PENDENTE | NUMERIC | 11,3 | ||
54 | LISTA_PERC_DESCONTOS | VARCHAR | 100 | ||
55 | VALOR_ICMS | NUMERIC | 9,2 | ||
56 | VALOR_IPI | NUMERIC | 9,2 | ||
57 | VALOR_ISS | NUMERIC | 9,2 | ||
58 | VALOR_FRETE | NUMERIC | 9,2 | ||
59 | VALOR_PRODUTOS | NUMERIC | 9,2 | ||
60 | VALOR_SERVICOS | NUMERIC | 9,2 | ||
61 | VALOR_DESCONTO | NUMERIC | 9,2 | ||
62 | VALOR_SEGURO | NUMERIC | 9,2 | ||
63 | VALOR_OUTROS_ACRESCIMOS | NUMERIC | 9,2 | ||
64 | VALOR_OUTROS_DESCONTOS | NUMERIC | 9,2 | ||
65 | VALOR_OUTROS_IMPOSTOS | NUMERIC | 9,2 | ||
66 | VALOR_TOTAL_BRUTO | NUMERIC | 9,2 | ||
67 | VALOR_TOTAL_LIQUIDO | NUMERIC | 9,2 | ||
68 | VALOR_TOTAL_CANCELADO | NUMERIC | 9,2 | ||
69 | VALOR_TOTAL_ENTREGUE | NUMERIC | 9,2 | ||
70 | VALOR_TOTAL_PENDENTE | NUMERIC | 9,2 | ||
71 | DESCRICAO_VERBAS | VARCHAR | 100 | ||
72 | PERC_COMISSAO | NUMERIC | 15,6 | ||
73 | VALOR_COMISSAO | NUMERIC | 9,2 | ||
74 | SITUACAO | VARCHAR | 50 | ||
75 | DESCRICAO_SITUACAO | VARCHAR | 100 | ||
76 | OBSERVACAO_VENDA | VARCHAR | 500 | ||
77 | OBSERVACAO_NF | VARCHAR | 500 | ||
78 | OBSERVACAO_ORDEM_FAB | VARCHAR | 500 | ||
79 | OBSERVACAO_INTERNA | VARCHAR | 500 | ||
80 | OBSERVACAO_LOJA | VARCHAR | 500 | ||
81 | TIPO_EMBALAGEM_DESCRICAO | VARCHAR | 100 | ||
82 | ENVIOU_COPIA_PEDIDO_E_MAIL | VARCHAR | 10 | ||
83 | E_MAIL_EMISSOR_COPIA | VARCHAR | 250 | ||
84 | E_MAIL_DESTINO_COPIA | VARCHAR | 250 | ||
85 | E_MAIL_DESTINO_COPIA_CC | VARCHAR | 250 | ||
86 | E_MAIL_CLIENTE | VARCHAR | 250 | ||
87 | E_MAIL_CLIENTE_NFE | VARCHAR | 250 | ||
88 | E_MAIL_CLIENTE_COMPRADOR | VARCHAR | 250 | ||
89 | TELEFONE_CLIENTE | VARCHAR | 30 | ||
90 | CHAVE | VARCHAR | 256 | ||
91 | COLECAO_DESCRICAO | VARCHAR | 100 | ||
92 | GRUPO_PRODUTO_DESCRICAO | VARCHAR | 100 | ||
93 | PERMITE_SUBSTITUIR_PRODUTO | VARCHAR | 10 | ||
94 | ACEITA_ENTREGA_TOTAL_PARCIAL | VARCHAR | 10 | ||
95 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
96 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
97 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
98 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
99 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
100 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (VENDA_ERP) |
VENDA_ERP_ITEM | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | VENDA_ERP_ITEM | PK_VENDA_ERP_ITEM | NOT NULL | INTEGER | 0 |
2 | EMPRESA | INTEGER | 0 | ||
3 | VENDA_ERP | INTEGER | 0 | ||
4 | NUMERO_PEDIDO_ORIGEM | VARCHAR | 100 | ||
5 | NUMERO_PEDIDO_ERP | VARCHAR | 100 | ||
6 | NUMERO_PEDIDO_VENDEDOR | VARCHAR | 100 | ||
7 | SEQUENCIA_ITEM | VARCHAR | 100 | ||
8 | PRODUTO | VARCHAR | 100 | ||
9 | APELIDO_PRODUTO | VARCHAR | 250 | ||
10 | APELIDO_PRODUTO_COMPLEMENTO | VARCHAR | 250 | ||
11 | DESCRICAO_PRODUTO | VARCHAR | 250 | ||
12 | DESCRICAO_PRODUTO_2 | VARCHAR | 250 | ||
13 | REFERENCIA_PRODUTO_CLIENTE | VARCHAR | 250 | ||
14 | COMPLEMENTO_1 | VARCHAR | 100 | ||
15 | DESCRICAO_COMPLEMENTO_1 | VARCHAR | 250 | ||
16 | GRADE | VARCHAR | 100 | ||
17 | AGRUPAMENTO | VARCHAR | 100 | ||
18 | COMPLEMENTO_2 | VARCHAR | 100 | ||
19 | DESCRICAO_COMPLEMENTO_2 | VARCHAR | 250 | ||
20 | COMPLEMENTO_3 | VARCHAR | 100 | ||
21 | DESCRICAO_COMPLEMENTO_3 | VARCHAR | 250 | ||
22 | UNIDADE_MEDIDA | VARCHAR | 100 | ||
23 | DATA_ENTREGA_SOLICITADA | DATE | 0 | ||
24 | DATA_ENTREGA_INICIAL | DATE | 0 | ||
25 | DATA_ENTREGA_FINAL | DATE | 0 | ||
26 | QUANTIDADE_TOTAL | NUMERIC | 11,3 | ||
27 | QUANTIDADE_CANCELADA | NUMERIC | 11,3 | ||
28 | QUANTIDADE_ENTREGUE | NUMERIC | 11,3 | ||
29 | QUANTIDADE_PENDENTE | NUMERIC | 11,3 | ||
30 | LISTA_PERC_DESCONTOS | VARCHAR | 100 | ||
31 | CAIXAS | INTEGER | 0 | ||
32 | PRECO_UNITARIO_TABELA_PRECO | NUMERIC | 9,2 | ||
33 | VALOR_UNITARIO_BRUTO | NUMERIC | 9,2 | ||
34 | VALOR_UNITARIO_LIQUIDO | NUMERIC | 9,2 | ||
35 | VALOR_TOTAL_BRUTO | NUMERIC | 9,2 | ||
36 | VALOR_TOTAL_LIQUIDO | NUMERIC | 9,2 | ||
37 | VALOR_TOTAL_CANCELADO | NUMERIC | 9,2 | ||
38 | VALOR_TOTAL_ENTREGUE | NUMERIC | 9,2 | ||
39 | VALOR_TOTAL_PENDENTE | NUMERIC | 9,2 | ||
40 | ALIQ_IPI | NUMERIC | 9,2 | ||
41 | VALOR_IPI | NUMERIC | 9,2 | ||
42 | SITUACAO | VARCHAR | 50 | ||
43 | DESCRICAO_SITUACAO | VARCHAR | 100 | ||
44 | OBSERVACAO_1 | VARCHAR | 500 | ||
45 | OBSERVACAO_2 | VARCHAR | 500 | ||
46 | OBSERVACAO_3 | VARCHAR | 500 | ||
47 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
48 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
49 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
50 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
51 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
52 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (VENDA_ERP_ITEM) |
CLIENTE_ULTIMO_PRODUTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | CLIENTE_ULTIMO_PRODUTO | PK_CLIENTE_ULTIMO_PRODUTO | NOT NULL | INTEGER | 0 |
2 | EMPRESA | INTEGER | 0 | ||
3 | CLIENTE | INTEGER | 0 | ||
4 | CLIENTE_EXT | VARCHAR | 100 | ||
5 | PRODUTO | VARCHAR | 250 | ||
6 | COMPLEMENTO_1 | VARCHAR | 250 | ||
7 | COMPLEMENTO_2 | VARCHAR | 250 | ||
8 | COMPLEMENTO_3 | VARCHAR | 250 | ||
9 | APELIDO_PRODUTO_COMPLEMENTO | VARCHAR | 250 | ||
10 | QUANTIDADE_TOTAL_PEDIDO | NUMERIC | 11,3 | ||
11 | QUANTIDADE_TOTAL_ENTREGUE | NUMERIC | 11,3 | ||
12 | DATA_PEDIDO | DATE | 0 | ||
13 | PRECO_UNITARIO_PEDIDO | NUMERIC | 9,2 | ||
14 | PRECO_UNITARIO_FATURADO | NUMERIC | 9,2 | ||
15 | NUMERO_PEDIDO | VARCHAR | 250 | ||
16 | NUMERO_NF | VARCHAR | 250 | ||
17 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
18 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
19 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
20 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
21 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
22 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (CLIENTE_ULTIMO_PRODUTO) |
CLIENTE_RESUMO_VENDAS | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | CLIENTE_RESUMO_VENDAS | PK_CLIENTE_RESUMO_VENDAS | NOT NULL | INTEGER | 0 |
2 | EMPRESA | INTEGER | 0 | ||
3 | CLIENTE | INTEGER | 0 | ||
4 | CLIENTE_EXT | VARCHAR | 100 | ||
5 | NIVEL | VARCHAR | 50 | ||
6 | ANO | INTEGER | 0 | ||
7 | MES | INTEGER | 0 | ||
8 | DIA | INTEGER | 0 | ||
9 | DATA | DATE | 0 | ||
10 | QUANTIDADE_TOTAL | NUMERIC | 11,3 | ||
11 | VALOR_TOTAL | NUMERIC | 9,2 | ||
12 | QUANTIDADE_TOTAL_CANCELADA | NUMERIC | 11,3 | ||
13 | VALOR_TOTAL_CANCELADO | NUMERIC | 9,2 | ||
14 | QUANTIDADE_TOTAL_ENTREGUE | NUMERIC | 11,3 | ||
15 | VALOR_TOTAL_ENTREGUE | NUMERIC | 9,2 | ||
16 | QUANTIDADE_TOTAL_PENDENTE | NUMERIC | 11,3 | ||
17 | VALOR_TOTAL_PENDENTE | NUMERIC | 9,2 | ||
18 | COLECAO | INTEGER | 0 | ||
19 | COLECAO_AUX | VARCHAR | 100 | ||
20 | MARCA | VARCHAR | 100 | ||
21 | TIPO_PRODUTO | VARCHAR | 100 | ||
22 | ESTILO_USO | VARCHAR | 100 | ||
23 | ESPECIE | VARCHAR | 100 | ||
24 | DIMENSAO_TAMANHO | VARCHAR | 100 | ||
25 | NICHO | VARCHAR | 100 | ||
26 | LINHA | VARCHAR | 100 | ||
27 | GENERO | VARCHAR | 100 | ||
28 | CATEGORIA | VARCHAR | 100 | ||
29 | FAMILIA_COMERCIAL | VARCHAR | 100 | ||
30 | GRUPO_PRODUTO | INTEGER | 0 | ||
31 | GRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
32 | SUBGRUPO_PRODUTO | INTEGER | 0 | ||
33 | SUBGRUPO_PRODUTO_EXT | VARCHAR | 100 | ||
34 | PRODUTO | VARCHAR | 250 | ||
35 | COMPLEMENTO_1 | VARCHAR | 250 | ||
36 | COMPLEMENTO_2 | VARCHAR | 250 | ||
37 | COMPLEMENTO_3 | VARCHAR | 250 | ||
38 | APELIDO_PRODUTO_COMPLEMENTO | VARCHAR | 250 | ||
39 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
40 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
41 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
42 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
43 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
44 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
45 | COLECAO_EXT | VARCHAR | 100 | ||
46 | QTDE_TOTAL_VENDAS_PERIODO | NUMERIC | 15,3 | ||
47 | QTDE_VENDAS_CANCELADAS_PERIODO | NUMERIC | 15,3 | ||
48 | QTDE_VENDAS_PENDENTE_PERIODO | NUMERIC | 15,3 | ||
49 | QTDE_VENDAS_ENTREGUE_PERIODO | NUMERIC | 15,3 | ||
50 | DATA_ENTREGA | TIMESTAMP | 0 | ||
* PRIMARY KEY (CLIENTE_RESUMO_VENDAS) |
Estoque Individual/Comum
LE.TXT LOCAIS DE ESTOQUE (DEPOSITO UM, DEPÓSITO DOIS, ETC)
LOCAL_ESTOQUE | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_LOCAL_ESTOQUE | NOT NULL | INTEGER | 0 |
2 | LOCAL_ESTOQUE | PK_LOCAL_ESTOQUE | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_LOCAL_ESTOQUE | VARCHAR | 30 | ||
4 | DESTINATARIO | INTEGER | 0 | ||
5 | TIPO_LOCAL | VARCHAR | 3 | ||
* PRIMARY KEY (EMPRESA, LOCAL_ESTOQUE) |
SE.TXT SALDO DE ESTOQUE
SALDO_ESTOQUE | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | SALDO_ESTOQUE | PK_SALDO_ESTOQUE | NOT NULL | INTEGER | 0 |
2 | EMPRESA | PK_SALDO_ESTOQUE | NOT NULL | INTEGER | 0 |
3 | PRODUTO | PK_SALDO_ESTOQUE | NOT NULL | VARCHAR | 15 |
4 | COMPLEMENTO_1 | VARCHAR | 20 | ||
5 | COMPLEMENTO_2 | VARCHAR | 20 | ||
6 | LOCAL_ESTOQUE | INTEGER | 0 | ||
7 | TIPO | VARCHAR | 1 | ||
8 | ANO | INTEGER | 0 | ||
9 | MES | INTEGER | 0 | ||
10 | SALDO_INICIAL | NUMERIC | 11,3 | ||
11 | ENTRADAS | NUMERIC | 11,3 | ||
12 | SAIDAS | NUMERIC | 11,3 | ||
13 | COMPLEMENTO_3 | VARCHAR | 20 | ||
14 | SALDO_FINAL | NUMERIC | 11,3 | ||
15 | SALDO_DISPONIVEL | NUMERIC | 11,3 | ||
16 | SALDO_AUXILIAR | NUMERIC | 11,3 | ||
17 | RESERVA_ERP | NUMERIC | 11,3 | ||
18 | RESERVA_ONLINE | NUMERIC | 11,3 | ||
19 | RESERVA_LOCAL | NUMERIC | 11,3 | ||
20 | PONTO_CRITICO | NUMERIC | 11,3 | ||
21 | DATA_DISPONIVEL_INICIAL | DATE | 0 | ||
22 | DATA_DISPONIVEL_FINAL | DATE | 0 | ||
23 | PERIODO_ENTREGA_INICIAL | INTEGER | 0 | ||
24 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
25 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
26 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
27 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
28 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
29 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
30 | PERIODO_ENTREGA_FINAL | INTEGER | 0 | ||
31 | DIA | INTEGER | 0 | ||
32 | DATA_BASE_SALDO_ESTOQUE | DATE | 0 | ||
* PRIMARY KEY (EMPRESA) |
Estoque de caixas coletivas, Pronta entrega, Online
//AG.TXT AGRUPAMENTOS/GRADES DAS CAIXAS COLETIVAS
PRONTA_ENTREGA_AGRUPAMENTO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_PRONTA_ENTREGA_AGRUPAMEN | NOT NULL | INTEGER | 0 |
2 | AGRUPAMENTO | PK_PRONTA_ENTREGA_AGRUPAMEN | NOT NULL | VARCHAR | 50 |
3 | COMPLEMENTO_2 | PK_PRONTA_ENTREGA_AGRUPAMEN | NOT NULL | VARCHAR | 20 |
4 | QUANTIDADE | NUMERIC | 11,3 | ||
* PRIMARY KEY (EMPRESA, AGRUPAMENTO, COMPLEMENTO_2) |
SC.TXT SALDO DE ESTOQUE DAS CAIXAS COLETIVAS
PRONTA_ENTREGA_ESTOQUE | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | NOT NULL | INTEGER | 0 | |
2 | PRODUTO | NOT NULL | VARCHAR | 15 | |
3 | COMPLEMENTO_1 | NOT NULL | VARCHAR | 20 | |
4 | AGRUPAMENTO | NOT NULL | VARCHAR | 50 | |
5 | SALDO_ESTOQUE | NUMERIC | 11,3 | ||
6 | QTDE_PRODUCAO | NUMERIC | 11,3 | ||
7 | QTDE_PRODUZIDO | NUMERIC | 11,3 | ||
8 | QTDE_RESERVA_I | NUMERIC | 11,3 | ||
9 | QTDE_RESERVA_E | NUMERIC | 11,3 | ||
10 | SALDO_FINAL | NUMERIC | 11,3 | ||
11 | COMPLEMENTO_3 | VARCHAR | 20 | ||
12 | DATA_FATURAMENTO | DATE | 0 | ||
13 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
14 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
16 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
17 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
18 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
19 | PRONTA_ENTREGA_ESTOQUE | INTEGER | 0 | ||
20 | ENTRADAS | NUMERIC | 11,3 | ||
21 | SALDO_INICIAL | NUMERIC | 11,3 | ||
22 | RESERVA_ONLINE | NUMERIC | 11,3 | ||
23 | RESERVA_LOCAL | NUMERIC | 11,3 | ||
* PRIMARY KEY (EMPRESA, PRODUTO, COMPLEMENTO_1, AGRUPAMENTO) |
Tabela de Preço
Table principal das tabelas de preço
TABELA_PRECO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TABELA_PRECO | NOT NULL | INTEGER | 0 |
2 | TABELA_PRECO | PK_TABELA_PRECO | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_TABELA_PRECO | VARCHAR | 80 | ||
4 | DATA_VALIDADE | TIMESTAMP | 0 | ||
5 | PERC_DESCONTO | NUMERIC | 5,2 | ||
6 | INDICE | NUMERIC | 10,5 | ||
7 | MOEDA | INTEGER | 0 | ||
8 | PERC_DESCONTO_LIBERADO | NUMERIC | 5,2 | ||
9 | SITUACAO | VARCHAR | 10 | ||
10 | TABELA_PRECO_EXT | VARCHAR | 30 | ||
11 | PERC_COMISSAO_FIXO | NUMERIC | 5,2 | ||
12 | COMISSAO_NEGOCIADA | NUMERIC | 5,2 | ||
13 | CODIGO_TABELA_PRECO_AUX | VARCHAR | 100 | ||
14 | COLECAO | VARCHAR | 100 | ||
15 | MARCA | VARCHAR | 100 | ||
16 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
17 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
18 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
19 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
20 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
21 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
22 | TIPO_CALCULO | VARCHAR | 50 | ||
23 | INDICE_PARA_PRECO_INTEGRAL | NUMERIC | 15,6 | ||
24 | PERC_FATURAMENTO | NUMERIC | 5,2 | ||
25 | COLECAO_EXT | VARCHAR | 100 | ||
* PRIMARY KEY (EMPRESA, TABELA_PRECO) |
Vínculo das tabelas de preço com cada referencia (Produto)
ITEM_TABELA_PRECO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | ITEM_TABELA_PRECO | PK_ITEM_TABELA_PRECO | NOT NULL | INTEGER | 0 |
2 | EMPRESA | PK_ITEM_TABELA_PRECO | NOT NULL | INTEGER | 0 |
3 | TABELA_PRECO | INTEGER | 0 | ||
4 | GRUPO_PRODUTO | INTEGER | 0 | ||
5 | SUBGRUPO_PRODUTO | INTEGER | 0 | ||
6 | GRADE | VARCHAR | 100 | ||
7 | PRODUTO | VARCHAR | 15 | ||
8 | COMPLEMENTO_1 | VARCHAR | 20 | ||
9 | COMPLEMENTO_2 | VARCHAR | 20 | ||
10 | PRECO | NUMERIC | 9,2 | ||
11 | QUANTIDADE | NUMERIC | 11,3 | ||
12 | FAMILIA_COMERCIAL | VARCHAR | 100 | ||
13 | AGRUPAMENTO | VARCHAR | 50 | ||
14 | PRECO_MINIMO | NUMERIC | 9,2 | ||
15 | COMPLEMENTO_2_INICIAL | VARCHAR | 20 | ||
16 | COMPLEMENTO_2_FINAL | VARCHAR | 20 | ||
17 | TABELA_PRECO_EXT | VARCHAR | 30 | ||
18 | COMPLEMENTO_3 | VARCHAR | 20 | ||
19 | PRECO_CUSTO | NUMERIC | 9,2 | ||
20 | PRECO_FINAL | NUMERIC | 9,2 | ||
21 | PRECO_ATACADO | NUMERIC | 9,2 | ||
22 | PRECO_VAREJO | NUMERIC | 9,2 | ||
23 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
24 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
25 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
26 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
27 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
28 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
29 | FATOR_SEQUENCIA | INTEGER | 0 | ||
30 | PRAZO_MEDIO | INTEGER | 0 | ||
31 | DESCRICAO | VARCHAR | 100 | ||
32 | PERC_COMISSAO_FIXO | NUMERIC | 5,2 | ||
33 | COMISSAO_NEGOCIADA | NUMERIC | 5,2 | ||
34 | INDICE | NUMERIC | 15,6 | ||
* PRIMARY KEY (ITEM_TABELA_PRECO, EMPRESA) |
Vínculo com prazos de pagamento que será exibidos ao selecionar a tabela
TABELA_PRECO_PRAZO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TABELA_PRECO_PRAZO | NOT NULL | INTEGER | 0 |
2 | TABELA_PRECO | PK_TABELA_PRECO_PRAZO | NOT NULL | INTEGER | 0 |
3 | PRAZO | PK_TABELA_PRECO_PRAZO | NOT NULL | INTEGER | 0 |
4 | PERC_DESCONTO | NUMERIC | 5,2 | ||
5 | INDICE | NUMERIC | 10,5 | ||
6 | PERC_DESCONTO_AUX | NUMERIC | 5,2 | ||
7 | TABELA_PRECO_EXT | VARCHAR | 30 | ||
8 | PRAZO_EXT | VARCHAR | 30 | ||
* PRIMARY KEY (EMPRESA, TABELA_PRECO, PRAZO) |
Vínculo com o cadastro de vendedores que têm acesso a tabela
TABELA_PRECO_VENDEDOR | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TABELA_PRECO_VENDEDOR | NOT NULL | INTEGER | 0 |
2 | TABELA_PRECO | PK_TABELA_PRECO_VENDEDOR | NOT NULL | INTEGER | 0 |
3 | VENDEDOR | PK_TABELA_PRECO_VENDEDOR | NOT NULL | INTEGER | 0 |
4 | TABELA_PRECO_EXT | VARCHAR | 30 | ||
5 | VENDEDOR_EXT | VARCHAR | 30 | ||
6 | TABELA_PADRAO | VARCHAR | 10 | ||
* PRIMARY KEY (EMPRESA, TABELA_PRECO, VENDEDOR) |
TABELA_PRECO_CLIENTE | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TABELA_PRECO_CLIENTE | NOT NULL | INTEGER | 0 |
2 | TABELA_PRECO | PK_TABELA_PRECO_CLIENTE | NOT NULL | INTEGER | 0 |
3 | CLIENTE | PK_TABELA_PRECO_CLIENTE | NOT NULL | INTEGER | 0 |
4 | PERC_DESCONTO | NUMERIC | 5,2 | ||
5 | INDICE | NUMERIC | 10,5 | ||
6 | DATA_ALTERACAO | TIMESTAMP | 0 | ||
7 | TIPO_USUARIO | VARCHAR | 1 | ||
8 | TABELA_PRECO_EXT | VARCHAR | 30 | ||
9 | CLIENTE_EXT | VARCHAR | 30 | ||
* PRIMARY KEY (EMPRESA, TABELA_PRECO, CLIENTE) |
Nota Fiscal
NOTA_FISCAL | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | NOTA_FISCAL | PK_NOTA_FISCAL | NOT NULL | INTEGER | 0 |
2 | EMPRESA | INTEGER | 0 | ||
3 | NUMERO_NOTA_FISCAL | VARCHAR | 100 | ||
4 | SERIE_NOTA_FISCAL | VARCHAR | 100 | ||
5 | PEDIDO_VENDEDOR | VARCHAR | 100 | ||
6 | PEDIDO_CLIENTE | VARCHAR | 100 | ||
7 | DATA_EMISSAO | DATE | 0 | ||
8 | DATA_SAIDA | DATE | 0 | ||
9 | CLIENTE | VARCHAR | 100 | ||
10 | CLIENTE_EXT | VARCHAR | 100 | ||
11 | CNPJ_CLIENTE | VARCHAR | 100 | ||
12 | RAZAO_SOCIAL_CLIENTE | VARCHAR | 250 | ||
13 | TRANSPORTADOR | VARCHAR | 100 | ||
14 | TRANSPORTADOR_EXT | VARCHAR | 100 | ||
15 | CNPJ_TRANSPORTADOR | VARCHAR | 100 | ||
16 | RAZAO_SOCIAL_TRANSPORTADOR | VARCHAR | 250 | ||
17 | REDESPACHO | VARCHAR | 100 | ||
18 | REDESPACHO_EXT | VARCHAR | 100 | ||
19 | CNPJ_REDESPACHO | VARCHAR | 100 | ||
20 | RAZAO_SOCIAL_REDESPACHO | VARCHAR | 250 | ||
21 | SITUACAO | VARCHAR | 100 | ||
22 | OBSERVACAO | VARCHAR | 5000 | ||
23 | PRAZO | VARCHAR | 100 | ||
24 | DESCRICAO_PRAZO | VARCHAR | 250 | ||
25 | VOLUMES | VARCHAR | 100 | ||
26 | VALOR_ICMS | NUMERIC | 9,2 | ||
27 | VALOR_IPI | NUMERIC | 9,2 | ||
28 | VALOR_ISS | NUMERIC | 9,2 | ||
29 | VALOR_FRETE | NUMERIC | 9,2 | ||
30 | VALOR_PRODUTOS | NUMERIC | 9,2 | ||
31 | VALOR_SERVICOS | NUMERIC | 9,2 | ||
32 | VALOR_TOTAL_BRUTO | NUMERIC | 9,2 | ||
33 | VALOR_TOTAL_LIQUIDO | NUMERIC | 9,2 | ||
34 | VALOR_DESCONTO | NUMERIC | 9,2 | ||
35 | VALOR_SEGURO | NUMERIC | 9,2 | ||
36 | VALOR_OUTROS_ACRESCIMOS | NUMERIC | 9,2 | ||
37 | VALOR_OUTROS_DESCONTOS | NUMERIC | 9,2 | ||
38 | CHAVE_NFE | VARCHAR | 250 | ||
39 | URL_NFE | VARCHAR | 250 | ||
40 | E_MAIL_NFE | VARCHAR | 250 | ||
41 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
42 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
43 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
44 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
45 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
46 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
47 | NUMERO_PEDIDO_ERP | VARCHAR | 100 | ||
* PRIMARY KEY (NOTA_FISCAL) |
NOTA_FISCAL_ITEM | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | NOTA_FISCAL_ITEM | PK_NOTA_FISCAL_ITEM | NOT NULL | INTEGER | 0 |
2 | EMPRESA | INTEGER | 0 | ||
3 | NUMERO_NOTA_FISCAL | VARCHAR | 100 | ||
4 | SERIE_NOTA_FISCAL | VARCHAR | 100 | ||
5 | SEQUENCIA_ITEM | VARCHAR | 100 | ||
6 | PRODUTO | VARCHAR | 100 | ||
7 | APELIDO_PRODUTO | VARCHAR | 250 | ||
8 | APELIDO_PRODUTO_COMPLEMENTO | VARCHAR | 250 | ||
9 | DESCRICAO_PRODUTO | VARCHAR | 250 | ||
10 | DESCRICAO_PRODUTO_2 | VARCHAR | 250 | ||
11 | COMPLEMENTO_1 | VARCHAR | 100 | ||
12 | DESCRICAO_COMPLEMENTO_1 | VARCHAR | 250 | ||
13 | COMPLEMENTO_2 | VARCHAR | 100 | ||
14 | DESCRICAO_COMPLEMENTO_2 | VARCHAR | 250 | ||
15 | COMPLEMENTO_3 | VARCHAR | 100 | ||
16 | DESCRICAO_COMPLEMENTO_3 | VARCHAR | 250 | ||
17 | UNIDADE_MEDIDA | VARCHAR | 100 | ||
18 | QUANTIDADE_TOTAL | NUMERIC | 11,3 | ||
19 | VALOR_UNITARIO | NUMERIC | 9,2 | ||
20 | VALOR_TOTAL | NUMERIC | 9,2 | ||
21 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
22 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
23 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
24 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
25 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
26 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (NOTA_FISCAL_ITEM) |
NOTA_FISCAL_VENDA | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | NOTA_FISCAL_VENDA | PK_NOTA_FISCAL_VENDA | NOT NULL | INTEGER | 0 |
2 | EMPRESA | INTEGER | 0 | ||
3 | NUMERO_NOTA_FISCAL | VARCHAR | 100 | ||
4 | SERIE_NOTA_FISCAL | VARCHAR | 100 | ||
5 | PEDIDO_VENDEDOR | VARCHAR | 100 | ||
6 | PEDIDO_CLIENTE | VARCHAR | 100 | ||
7 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
8 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
9 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
10 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
13 | NUMERO_PEDIDO_ERP | VARCHAR | 100 | ||
* PRIMARY KEY (NOTA_FISCAL_VENDA) |
CLASSIFICACAO_FISCAL | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CLASSIFICACAO_FISCAL | NOT NULL | INTEGER | 0 |
2 | CLASSIFICACAO_FISCAL | PK_CLASSIFICACAO_FISCAL | NOT NULL | VARCHAR | 10 |
3 | ALIQ_IPI | NUMERIC | 9,2 | ||
4 | SUBSTITUICAO_TRIBUTARIA | VARCHAR | 100 | ||
5 | NCM | VARCHAR | 100 | ||
6 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
7 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
8 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
9 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
10 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (EMPRESA, CLASSIFICACAO_FISCAL) |
CLASSIFICACAO_FISCAL_ESTADO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | CLASSIFICACAO_FISCAL_ESTADO | PK_CLASSIFICACAO_FIS_EST | NOT NULL | INTEGER | 0 |
2 | EMPRESA | NOT NULL | INTEGER | 0 | |
3 | CLASSIFICACAO_FISCAL | VARCHAR | 100 | ||
4 | PAIS | VARCHAR | 100 | ||
5 | ESTADO | VARCHAR | 100 | ||
6 | NOME_ESTADO | VARCHAR | 100 | ||
7 | NOME_PAIS | VARCHAR | 100 | ||
8 | SUBSTITUICAO_TRIBUTARIA | VARCHAR | 100 | ||
9 | ALIQUOTA_INTERNA | NUMERIC | 10,5 | ||
10 | ALIQUOTA_INTERESTADUAL | NUMERIC | 10,5 | ||
11 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
13 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
14 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
16 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
* PRIMARY KEY (CLASSIFICACAO_FISCAL_ESTADO) |
Dados financeiros dos clientes
FN.TXT TÍTULOS EM ABERTO DOS CLIENTES, VENCIDOS E A VENCER
TITULO_FINANCEIRO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_TITULO_FINANCEIRO | NOT NULL | INTEGER | 0 |
2 | PESSOA | PK_TITULO_FINANCEIRO | NOT NULL | INTEGER | 0 |
3 | TIPO | PK_TITULO_FINANCEIRO | NOT NULL | VARCHAR | 50 |
4 | ORIGEM | PK_TITULO_FINANCEIRO | NOT NULL | VARCHAR | 50 |
5 | DOCUMENTO | PK_TITULO_FINANCEIRO | NOT NULL | VARCHAR | 50 |
6 | DESDOBRO | PK_TITULO_FINANCEIRO | NOT NULL | VARCHAR | 50 |
7 | MOEDA | INTEGER | 0 | ||
8 | SITUACAO | VARCHAR | 50 | ||
9 | DATA_VENCIMENTO | DATE | 0 | ||
10 | VALOR | NUMERIC | 9,2 | ||
11 | SALDO | NUMERIC | 9,2 | ||
12 | DATA_EMISSAO | DATE | 0 | ||
13 | VENDEDOR | INTEGER | 0 | ||
14 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
16 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
17 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
18 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
19 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
20 | CLIENTE_EXT | VARCHAR | 30 | ||
21 | VENDEDOR_EXT | VARCHAR | 30 | ||
22 | NOSSO_NUMERO | VARCHAR | 250 | ||
23 | DATA_PROCESSAMENTO | DATE | 0 | ||
24 | SACADO | VARCHAR | 2000 | ||
25 | ENDERECO_1 | VARCHAR | 2000 | ||
26 | DEMONSTRATIVO_1 | VARCHAR | 2000 | ||
27 | DEMONSTRATIVO_2 | VARCHAR | 2000 | ||
28 | DEMONSTRATIVO_3 | VARCHAR | 2000 | ||
29 | INSTRUCOES_1 | VARCHAR | 2000 | ||
30 | INSTRUCOES_2 | VARCHAR | 2000 | ||
31 | INSTRUCOES_3 | VARCHAR | 2000 | ||
32 | INSTRUCOES_4 | VARCHAR | 2000 | ||
33 | QUANTIDADE | INTEGER | 0 | ||
34 | ACEITE | VARCHAR | 250 | ||
35 | ESPECIE_DOC | VARCHAR | 250 | ||
36 | AGENCIA | VARCHAR | 150 | ||
37 | CONVENIO | VARCHAR | 150 | ||
38 | CONTRATO | VARCHAR | 150 | ||
39 | CONTA | VARCHAR | 150 | ||
40 | CONTA_DV | VARCHAR | 5 | ||
41 | CARTEIRA | VARCHAR | 30 | ||
42 | VARIACAO_CARTEIRA | VARCHAR | 30 | ||
43 | IDENTIFICACAO | VARCHAR | 150 | ||
44 | CEDENTE | VARCHAR | 2000 | ||
45 | FORMATO_CONVENIO | VARCHAR | 30 | ||
46 | FORMATACAO_NOSSO_NUMERO | VARCHAR | 30 | ||
47 | BANCO | VARCHAR | 10 | ||
48 | TAXA_BOLETO | NUMERIC | 9,2 | ||
49 | AGENCIA_DV | VARCHAR | 5 | ||
50 | BOLETO | VARCHAR | 3 | ||
* PRIMARY KEY (EMPRESA, PESSOA, TIPO, ORIGEM, DOCUMENTO, DESDOBRO) |
Para possibilitar a emissão da 2ª via de boletos junto ao sistema é necessário o preenchimento de campos específicos conforme o banco trabalhado.
- Veja aqui os dados necessários para geração de 2ª via de boletos e a lista de bancos atualmente implementados.
IR.TXT INFORMAÇÕES DE CRÉDITO DO CLIENTE, SITUAÇÃO SERASA/SCI/EQUIFAX/
CLIENTE_CREDITO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CLIENTE_CREDITO | NOT NULL | INTEGER | 0 |
2 | CLIENTE | PK_CLIENTE_CREDITO | NOT NULL | INTEGER | 0 |
3 | CREDITO_USADO | NUMERIC | 15,2 | ||
4 | SITUACAO_FINANCEIRA | VARCHAR | 1 | ||
* PRIMARY KEY (EMPRESA, CLIENTE) |
Localização, cidades, estados, países, etc
RE.TXT REGIÃO COMERCIAL/VENDA
REGIAO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_REGIAO | NOT NULL | INTEGER | 0 |
2 | REGIAO | PK_REGIAO | NOT NULL | INTEGER | 0 |
3 | NOME_REGIAO | VARCHAR | 50 | ||
4 | REGIAO_SUPERIOR | INTEGER | 0 | ||
5 | SEQUENCIA_VISITA | INTEGER | 0 | ||
6 | SEQUENCIA_ENTREGA | INTEGER | 0 | ||
7 | DIA_SEMANA_VISITA | VARCHAR | 1 | ||
8 | DIA_SEMANA_ENTREGA | VARCHAR | 1 | ||
9 | REGIAO_EXT | VARCHAR | 30 | ||
10 | PERC_DESCONTO_LIBERADO | NUMERIC | 5,2 | ||
* PRIMARY KEY (EMPRESA, REGIAO) |
CD.TXT CADASTRO DE CIDADES DA EMPRESA
CIDADE | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_CIDADE | NOT NULL | INTEGER | 0 |
2 | CIDADE | PK_CIDADE | NOT NULL | INTEGER | 0 |
3 | DESCRICAO_CIDADE | VARCHAR | 50 | ||
4 | PAIS | VARCHAR | 50 | ||
5 | UF | VARCHAR | 2 | ||
6 | TRANSPORTADOR | INTEGER | 0 | ||
7 | CEP_BASICO | VARCHAR | 10 | ||
8 | DDD | VARCHAR | 7 | ||
9 | DIA_FERIADO_1 | INTEGER | 0 | ||
10 | MES_FERIADO_1 | INTEGER | 0 | ||
11 | DIA_FERIADO_2 | INTEGER | 0 | ||
12 | MES_FERIADO_2 | INTEGER | 0 | ||
13 | DIA_FERIADO_3 | INTEGER | 0 | ||
14 | MES_FERIADO_3 | INTEGER | 0 | ||
15 | ISENTO_ICMS | VARCHAR | 3 | ||
16 | ISENTO_IPI | VARCHAR | 3 | ||
17 | ISENTO_PIS | VARCHAR | 3 | ||
18 | ISENTO_COFINS | VARCHAR | 3 | ||
19 | REGIAO | INTEGER | 0 | ||
20 | REGIAO_EXT | VARCHAR | 30 | ||
21 | CODIGO_IBGE | VARCHAR | 50 | ||
22 | CIDADE_EXT | VARCHAR | 100 | ||
* PRIMARY KEY (EMPRESA, CIDADE) |
UF.TXT ESTADO/UF DOS PAÍSES
ESTADO | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_ESTADO | NOT NULL | INTEGER | 0 |
2 | PAIS | PK_ESTADO | NOT NULL | VARCHAR | 50 |
3 | ESTADO | PK_ESTADO | NOT NULL | VARCHAR | 2 |
4 | NOME_ESTADO | VARCHAR | 30 | ||
5 | PERC_ICMS | NUMERIC | 5,2 | ||
6 | NOME_PAIS | VARCHAR | 50 | ||
7 | TRANSPORTADOR | INTEGER | 0 | ||
8 | REDESPACHO | INTEGER | 0 | ||
9 | SUBSTITUICAO_TRIBUTARIA | VARCHAR | 100 | ||
10 | ATRIBUTO_GENERICO_1 | VARCHAR | 500 | ||
11 | ATRIBUTO_GENERICO_2 | VARCHAR | 500 | ||
12 | ATRIBUTO_GENERICO_3 | VARCHAR | 500 | ||
13 | ATRIBUTO_GENERICO_4 | VARCHAR | 500 | ||
14 | ATRIBUTO_GENERICO_5 | VARCHAR | 500 | ||
15 | ATRIBUTO_GENERICO_6 | VARCHAR | 500 | ||
16 | PERC_DESCONTO | NUMERIC | 5,2 | ||
17 | PERC_DESCONTO_PARCERIA | NUMERIC | 5,2 | ||
18 | PERC_DESCONTO_GERENCIAL | NUMERIC | 5,2 | ||
* PRIMARY KEY (EMPRESA, PAIS, ESTADO) |
PA.TXT PAÍSES
PAIS | |||||
---|---|---|---|---|---|
SEQUÊNCIA | COLUNA | PRIMARY KEY | RESTRIÇÃO | TIPO | TAMANHO DO CAMPO |
1 | EMPRESA | PK_PAIS | NOT NULL | INTEGER | 0 |
2 | PAIS | PK_PAIS | NOT NULL | VARCHAR | 50 |
3 | NOME_PAIS | VARCHAR | 50 | ||
4 | CODIGO_SISBACEN | VARCHAR | 50 | ||
5 | CODIGO_SISCOMEX | VARCHAR | 50 | ||
* PRIMARY KEY (EMPRESA, PAIS) |