Tabela C7O - Registro de Inf. de ST por UF


Rotina (SysObj): TAFA202

Chave Unica: C7O_FILIAL + C7O_ID + C7O_CSTICM + C7O_CFOP + STR(C7O_ALQICM, 5, 2) + C7O_UF

Modo: E

Modo Unid.: E

Modo Empr.: E


Sumario:


Campos

Campo Titulo Descricao Tipo Contexto Tamanho
C7O_FILIAL Filial Filial C Real 2
C7O_ID ID Identificador Registro C Real 6
C7O_CSTICM Id. CST ICMS Id. CST ICMS C Real 6
C7O_CFOP Id. CFOP Identificador CFOP C Real 6
C7O_ALQICM Aliq. ICMS Aliquota do ICMS N Real 6, 2
C7O_UF Cod. UF Codigo UF Origem C Real 6
C7O_DUF Des. UF Descricao UF Origem C Virtual 220
C7O_VLBCIC Vlr.BC.ICMS Valor BC ICMS N Real 16, 2
C7O_VLSTIC Vlr. ICMS ST Valor ICMS ST N Real 16, 2

Indices

Ordem Chave Descricao Nickname
1 C7O_FILIAL + C7O_ID + C7O_CSTICM + C7O_CFOP + STR(C7O_ALQICM, 5, 2) + C7O_UF ID + Id. CST ICMS + Id. CFOP + Aliq. ICMS + Cod. UF

Relacionamentos

Tabela Origem Tabela Destino Expressao Origem Expressao Destino Relacionamento
C09 (Unidades Federativas) C7O (Registro de Inf. de ST por UF) C09_ID C7O_UF 1 para N
C7N (Reg. Analitico Docum.) C7O (Registro de Inf. de ST por UF) C7N_ID + C7N_CSTICM + C7N_CFOP + C7N_ALQICM C7O_ID + C7O_CSTICM + C7O_CFOP + C7O_ALQICM 1 para N
Tabelas do Protheus v4.4 (baseado no P12.1.2310) - 17/10/2023 - 10.565 tabelas e 11.511 parametros
Terminal de Informação