Tabela GIH - Tp.de Doc. X Comis.Agencia
Chave Unica: GIH_FILIAL + GIH_CODG5D + GIH_CODGYA
Sumario:
Campos
Campo
| Titulo
| Descricao
| Tipo
| Contexto
| Tamanho
|
GIH_FILIAL |
Filial |
Filial |
C |
Real |
2 |
GIH_CODG5D |
Cod.Comissao |
Codigo Comissao |
C |
Real |
6 |
GIH_CODGYA |
Cd.Documento |
Codigo do documento |
C |
Real |
6 |
GIH_DESGYA |
Desc.Doc. |
Descricao Documento |
C |
Virtual |
30 |
GIH_COMISS |
%Comissao |
%Comissao |
N |
Real |
6, 2 |
GIH_IMPOST |
%Imposto |
%Imposto |
N |
Real |
6, 2 |
GIH_NUMTRA |
Num. Transf. |
Numero da Transferencia |
C |
Real |
9 |
GIH_DATA |
Data Transf. |
Data da Transferencia |
D |
Real |
8 |
GIH_TPMOV |
Tipo Transf. |
Tipo de Transferencia |
C |
Real |
1 |
GIH_NAGENC |
Des. Agencia |
Descricao Agencia |
C |
Virtual |
30 |
GIH_CODTER |
Cod.Terceiro |
Codigo do Terceiro |
C |
Real |
6 |
GIH_NOME |
Nome Terc. |
Nome do Terceiro |
C |
Virtual |
30 |
GIH_TPDOC |
Tipo Doc. |
Tipo do Documento |
C |
Real |
3 |
GIH_DESTIP |
Desc. Tipo |
Descricao Tipo Bilhete |
C |
Virtual |
20 |
GIH_SERIE |
Serie |
Serie |
C |
Real |
1 |
GIH_NUMINI |
Num. Inicial |
Numeracao Inicial |
C |
Real |
6 |
GIH_NUMFIM |
Num. Final |
Numeracao Final |
C |
Real |
6 |
GIH_TOTAL |
Total Bilh. |
Total de Bilhetes |
N |
Real |
6 |
GIH_AGENCI |
Cod. Agencia |
Codigo da Agencia |
C |
Real |
2 |
Indices
Ordem
| Chave
| Descricao
| Nickname
|
1 |
GIH_FILIAL + GIH_CODG5D + GIH_CODGYA |
Cod.Comissao + Cd.Documento |
|
2 |
GIH_FILIAL + GIH_CODTER |
Cod.Terceiro |
|
Relacionamentos
Tabela Origem
| Tabela Destino
| Expressao Origem
| Expressao Destino
| Relacionamento
|
G5D (Comissao Agencias) |
GIH (Tp.de Doc. X Comis.Agencia) |
G5D_CODIGO |
GIH_CODG5D |
1 para N |
GI5 (Tipo de Agencia) |
GIH (Tp.de Doc. X Comis.Agencia) |
GI5_CODIGO |
GIH_CODTER |
1 para 1 |
GI6 (Cadastro de Agencia) |
GIH (Tp.de Doc. X Comis.Agencia) |
GI6_CODIGO |
GIH_AGENCI |
1 para 1 |
GI7 (Eventos CTE) |
GIH (Tp.de Doc. X Comis.Agencia) |
GI7_TIPO |
GIH_TPDOC |
1 para 1 |
Tabelas do Protheus v4.3 (baseado no P12.1.2210) - 16/10/2022 - 10.278 tabelas e 10.531 parametros