Tabela CDV - INFORMACOES ADICIONAIS DA APUR
Chave Unica: CDV_FILIAL + CDV_PERIOD + CDV_CODAJU + CDV_LIVRO + CDV_DOC + CDV_SERIE + CDV_CLIFOR + CDV_LOJA + CDV_CFOP + CDV_DESCR + CDV_ID
Sumario:
Campos
Campo
| Titulo
| Descricao
| Tipo
| Contexto
| Tamanho
|
CDV_FILIAL |
Filial |
Filial do Sistema |
C |
Real |
2 |
CDV_PERIOD |
Per(AAAAMM) |
Periodo de apuracao (AAAA |
C |
Real |
6 |
CDV_CODAJU |
Cod.Ajuste |
Cod.Ajuste |
C |
Real |
8 |
CDV_DESCR |
Descricao |
Descricao do Ajuste |
C |
Real |
254 |
CDV_VALOR |
Valor |
Valor de referencia |
N |
Real |
14, 2 |
CDV_LIVRO |
Nr. Livro |
Numero do Livro |
C |
Real |
1 |
CDV_DOC |
Numero NF |
Numero NF |
C |
Real |
9 |
CDV_SERIE |
Serie |
Serie |
C |
Real |
3 |
CDV_CLIFOR |
Cli/For |
Cli/For |
C |
Real |
6 |
CDV_LOJA |
Loja |
Loja |
C |
Real |
2 |
CDV_AUTO |
Apur.Auto |
Apur.Auto |
C |
Real |
1 |
CDV_CFOP |
CFOP |
CFOP |
C |
Real |
5 |
CDV_NUMITE |
Num. Item |
Numero Item |
C |
Real |
4 |
CDV_SEQ |
Seq. Manut |
Sequencia Manutencao |
C |
Real |
3 |
CDV_SDOC |
Serie Doc. |
Serie do Documento Fiscal |
C |
Real |
3 |
CDV_TPMOVI |
Tp movimento |
Tipo de Movimento |
C |
Real |
1 |
CDV_ESPECI |
Espec. Doc. |
Especie Documento |
C |
Real |
5 |
CDV_FORMUL |
Formul. Prop |
Formulatio Proprio |
C |
Real |
1 |
CDV_ID |
Chave |
Chave |
C |
Real |
36 |
CDV_NFE |
Gera NFE |
Considera codigo para NFE |
C |
Real |
1 |
CDV_ZERAVL |
Zera Valor ? |
Zera valor do campo 3 |
C |
Real |
1 |
CDV_REGCAL |
Reg. Calculo |
Regra de Calculo |
C |
Real |
6 |
CDV_VLOUTR |
Vlr ICMS Out |
Considera Valor ICMS Outr |
N |
Real |
16, 2 |
CDV_CODMSG |
Cod Msg Lanc |
Cod Msg Lancamento |
C |
Real |
6 |
CDV_CODCPL |
Cod Msg Comp |
Cod Msg Complementar |
C |
Real |
6 |
CDV_TXTDSC |
Cod Msg Desc |
Cod Msg Descri Reg 0460 |
C |
Real |
6 |
CDV_OPBASE |
Op. Base |
Opcao de Base |
C |
Real |
2 |
CDV_OPALIQ |
Op. Aliquota |
Opcao de Aliquota |
C |
Real |
2 |
CDV_IDMSG |
Id Msg CJL |
Amarracao Id Msg CDVxCJL |
C |
Real |
36 |
CDV_AGRLAN |
Agrup CodLan |
Agrupa Cod Lancto |
C |
Real |
2 |
Indices
Ordem
| Chave
| Descricao
| Nickname
|
1 |
CDV_FILIAL + CDV_PERIOD + CDV_CODAJU + CDV_LIVRO + CDV_DOC + CDV_SERIE + CDV_CLIFOR + CDV_LOJA + CDV_CFOP |
Per(AAAAMM) + Cod.Ajuste + Nr. Livro + Numero NF + Serie + Cli/For + L |
|
2 |
CDV_FILIAL + CDV_PERIOD + CDV_LIVRO |
Per(AAAAMM) + Nr. Livro |
|
3 |
CDV_FILIAL + CDV_PERIOD + CDV_CODAJU + CDV_CFOP |
Per(AAAAMM) + Cod.Ajuste + CFOP |
|
4 |
CDV_FILIAL + CDV_TPMOVI + CDV_ESPECI + CDV_FORMUL + CDV_DOC + CDV_SERIE + CDV_CLIFOR + CDV_LOJA + CDV_NUMITE + CDV_SEQ + CDV_CODAJU |
Tp movimento + Espec. Doc. + Formul. Prop + Numero NF + Serie + Cli/Fo |
|
Relacionamentos
Tabela Origem
| Tabela Destino
| Expressao Origem
| Expressao Destino
| Relacionamento
|
CDY (COD.INF.ADICIONAIS DA APURACAO) |
CDV (INFORMACOES ADICIONAIS DA APUR) |
CDY_CODAJU |
CDV_CODAJU |
1 para N |
CJ8 (Cadastro de Mensagem) |
CDV (INFORMACOES ADICIONAIS DA APUR) |
CJ8_CODREF |
CDV_TXTDSC |
1 para N |
CJ8 (Cadastro de Mensagem) |
CDV (INFORMACOES ADICIONAIS DA APUR) |
CJ8_CODREF |
CDV_CODMSG |
1 para N |
CJ8 (Cadastro de Mensagem) |
CDV (INFORMACOES ADICIONAIS DA APUR) |
CJ8_CODREF |
CDV_CODCPL |
1 para N |
CJL (Controle Msg Decodificadas) |
CDV (INFORMACOES ADICIONAIS DA APUR) |
CJL_ID |
CDV_IDMSG |
1 para N |
F2B (Regra Tributaria) |
CDV (INFORMACOES ADICIONAIS DA APUR) |
F2B_REGRA |
CDV_REGCAL |
1 para N |
SX5 (Tabelas) |
CDV (INFORMACOES ADICIONAIS DA APUR) |
X5_TABELA + X5_CHAVE |
'42' + CDV_ESPECI |
1 para N |
SX5 (Tabelas) |
CDV (INFORMACOES ADICIONAIS DA APUR) |
X5_TABELA + X5_CHAVE |
'13' + CDV_CFOP |
1 para N |
Tabelas do Protheus v4.3 (baseado no P12.1.2210) - 16/10/2022 - 10.278 tabelas e 10.531 parametros