Tabela MAC - Dependentes
Chave Unica: MAC_FILIAL + MAC_CODDEP + MAC_CODCLI + MAC_LOJA
Sumario:
Campos
Campo
| Titulo
| Descricao
| Tipo
| Contexto
| Tamanho
|
MAC_FILIAL |
Filial |
Filial do Sistema |
C |
Real |
2 |
MAC_CODCLI |
Cod. Cliente |
Codigo do Cliente |
C |
Real |
6 |
MAC_LOJA |
Loja |
Loja do Cliente |
C |
Real |
2 |
MAC_CARTAO |
Cartao |
Dependente do cartao |
C |
Real |
1 |
MAC_DEPNOM |
Nome |
Nome |
C |
Real |
50 |
MAC_DEPDTN |
Dt. Nasc. |
Data de Nascimento |
D |
Real |
8 |
MAC_DEPGRA |
Grau Parent. |
Grau de Parentesco |
C |
Real |
6 |
MAC_DEPDES |
Desc. Parent |
Descricao Grau Parentesco |
C |
Virtual |
20 |
MAC_CART |
Cart. PV |
Cartao Private Label |
C |
Real |
16 |
MAC_CODDEP |
Cod.Dependen |
Cod.Dependente |
C |
Real |
15 |
Indices
Ordem
| Chave
| Descricao
| Nickname
|
1 |
MAC_FILIAL + MAC_CODDEP + MAC_CODCLI + MAC_LOJA |
Cod.Dependen + Cod. Cliente + Loja |
|
2 |
MAC_FILIAL + MAC_CODCLI + MAC_LOJA |
Cod. Cliente + Loja |
|
Relacionamentos
Tabela Origem
| Tabela Destino
| Expressao Origem
| Expressao Destino
| Relacionamento
|
MAO (Grau de Parentesco) |
MAC (Dependentes) |
MAO_CODIGO |
MAC_DEPGRA |
1 para N |
SA1 (Clientes) |
MAC (Dependentes) |
A1_COD + A1_LOJA |
MAC_CODCLI + MAC_LOJA |
1 para N |
Tabelas do Protheus v4.3 (baseado no P12.1.2210) - 16/10/2022 - 10.278 tabelas e 10.531 parametros