Tabela CDC - Guias recolhimento referenc.
Chave Unica: CDC_FILIAL + CDC_TPMOV + CDC_DOC + CDC_SERIE + CDC_CLIFOR + CDC_LOJA + CDC_GUIA + CDC_UF
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| CDC_FILIAL | Filial | Filial do sistema | C | Real | 2 |
| CDC_TPMOV | Tp. movto. | Tipo de movimento | C | Real | 1 |
| CDC_DOC | NF | Numero da NF | C | Real | 9 |
| CDC_SERIE | Serie | Serie NF | C | Real | 3 |
| CDC_CLIFOR | Cli/for | Cliente/fornecedor | C | Real | 6 |
| CDC_LOJA | Serie | Serie NF | C | Real | 2 |
| CDC_GUIA | Numero guia | Numero guia recolhimento | C | Real | 12 |
| CDC_UF | UF guia | Unidade de Federacao | C | Real | 2 |
| CDC_IFCOMP | Inf. comp. | Codigo da informacao | C | Real | 6 |
| CDC_DCCOMP | Desc. Compl. | Descricao complementar | C | Real | 100 |
| CDC_SDOC | Serie Doc. | Serie do Documento Fiscal | C | Real | 3 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | CDC_FILIAL + CDC_TPMOV + CDC_DOC + CDC_SERIE + CDC_CLIFOR + CDC_LOJA + CDC_GUIA + CDC_UF | Tp. movto. + NF + Serie + Cli/for + Serie + Numero guia + UF guia | |
| 2 | CDC_FILIAL + CDC_GUIA + CDC_UF | Numero guia + UF guia | |
| 3 | CDC_FILIAL + CDC_TPMOV + CDC_DOC + CDC_SDOC + CDC_CLIFOR + CDC_LOJA + CDC_GUIA + CDC_UF | Tp. movto. + NF + Serie Doc. + Cli/for + Serie + Numero guia + UF guia |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| CCE (Informacoes complementares) | CDC (Guias recolhimento referenc.) | CCE_COD | CDC_IFCOMP | 1 para N |
| SF6 (Guias de Recolhimento) | CDC (Guias recolhimento referenc.) | F6_NUMERO + F6_EST | CDC_GUIA + CDC_UF | 1 para N |
| SX5 (Tabelas) | CDC (Guias recolhimento referenc.) | X5_TABELA + X5_CHAVE | '12' + CDC_UF | 1 para N |