Tabela VBT - Antecipos
Chave Unica: VBT_FILIAL + VBT_CODIGO
Modo: C
Modo Unid.: C
Modo Empr.: C
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| VBT_FILIAL | Filial | Filial | C | Real | 2 |
| VBT_CODIGO | Codigo | Codigo | C | Real | 8 |
| VBT_ATIVO | Ativo | Ativo | C | Real | 1 |
| VBT_TIPORI | Tipo Origem | Tipo Origem | C | Real | 1 |
| VBT_FILORI | Filial Orig | Filial Origem | C | Real | 2 |
| VBT_NUMATE | Nro.Atend. | Nro.Atendimento | C | Real | 10 |
| VBT_NUMORC | Nro.Orcto. | Nro.Orcamento | C | Real | 8 |
| VBT_NUMOSV | Nro.OS | Nro. Ordem de Servico | C | Real | 8 |
| VBT_FILANT | Filial Antec | Filial Fatura Antecipo | C | Real | 2 |
| VBT_NRFANT | Nro.Fat.Ant. | Nro.Fatura Antecipo | C | Real | 9 |
| VBT_SRFANT | Ser.Fat.Ant. | Serie Fatura Antecipo | C | Real | 3 |
| VBT_CODCLI | Cod. Cliente | Codigo do Cliente | C | Real | 6 |
| VBT_LOJCLI | Loja Cliente | Loja do Cliente | C | Real | 2 |
| VBT_DATREL | Dt.Relac. | Data Relacionamento | C | Real | 14 |
| VBT_USRREL | Usr.Relac. | Cod.Usuario Relacionament | C | Real | 6 |
| VBT_DATDEL | Dt.Exclusao | Dt Exclusao Relacionament | C | Real | 14 |
| VBT_USRDEL | Usr.Exclusao | Usuario Exclusao Relac | C | Real | 6 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | VBT_FILIAL + VBT_CODIGO | Codigo | |
| 2 | VBT_FILIAL + VBT_TIPORI + VBT_FILORI + VBT_NUMATE | Tipo Origem + Filial Orig + Nro.Atend. | |
| 3 | VBT_FILIAL + VBT_TIPORI + VBT_FILORI + VBT_NUMORC | Tipo Origem + Filial Orig + Nro.Orcto. | |
| 4 | VBT_FILIAL + VBT_TIPORI + VBT_FILORI + VBT_NUMOSV | Tipo Origem + Filial Orig + Nro.OS | |
| 5 | VBT_FILIAL + VBT_FILANT + VBT_NRFANT + VBT_SRFANT + VBT_CODCLI + VBT_LOJCLI + VBT_TIPORI | Filial Antec + Nro.Fat.Ant. + Ser.Fat.Ant. + Cod. Cliente + Loja Clien |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| SA1 (Clientes) | VBT (Antecipos) | A1_COD + A1_LOJA | VBT_CODCLI + VBT_LOJCLI | 1 para N |
| VO1 (Ordem de Servico) | VBT (Antecipos) | VO1_FILIAL + VO1_NUMOSV | VBT_FILORI + VBT_NUMOSV | 1 para N |
| VS1 (Orcamento) | VBT (Antecipos) | VS1_FILIAL + VS1_NUMORC | VBT_FILORI + VBT_NUMORC | 1 para N |
| VV9 (Recepcao Clientes/Visitantes) | VBT (Antecipos) | VV9_FILIAL + VV9_NUMATE | VBT_FILORI + VBT_NUMATE | 1 para N |