Tabela CBG - Log ACD
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| CBG_FILIAL | Filial | Filial | C | Real | 2 |
| CBG_DATA | Data | Data | D | Real | 8 |
| CBG_HORA | Hora | Hora | C | Real | 8 |
| CBG_EVENTO | Evento | Evento | C | Real | 2 |
| CBG_DESCEV | Descricao | Descricao | C | Virtual | 30 |
| CBG_USUARI | Usuario | Usuario | C | Real | 6 |
| CBG_NOMEUS | Descricao | Descricao | C | Virtual | 30 |
| CBG_CODOPE | Operador | Operador | C | Real | 6 |
| CBG_NOMEOP | Descricao | Descricao | C | Virtual | 30 |
| CBG_CODPRO | Produto | Produto | C | Real | 15 |
| CBG_DESPRO | Descricao | Descricao | C | Virtual | 50 |
| CBG_QTDE | Quantidade | Quantidade | N | Real | 12, 2 |
| CBG_LOTE | Lote | Lote | C | Real | 10 |
| CBG_SLOTE | SubLote | SubLote | C | Real | 6 |
| CBG_ARM | Armazem Orig | Armazem Orig | C | Real | 2 |
| CBG_END | End Origem | End Origem | C | Real | 15 |
| CBG_ARMDES | Armazem Dest | Armazem Dest | C | Real | 2 |
| CBG_ENDDES | End. Destino | Endereco destiono | C | Real | 15 |
| CBG_NUMSEQ | Num Sequenci | Num Sequenci | C | Real | 6 |
| CBG_DOC | Nota | Nota | C | Real | 9 |
| CBG_CODETI | Cod Etiqueta | Cod Etiqueta | C | Real | 10 |
| CBG_CODINV | Cod Invent | Cod Invent | C | Real | 9 |
| CBG_CODCON | Cod Contagem | Cod Contagem | C | Real | 6 |
| CBG_OBS | Observacao | Observacao | C | Real | 100 |
| CBG_NOTAE | Nota Entrada | Nota Entrada | C | Real | 9 |
| CBG_SERIEE | Serie | Serie | C | Real | 3 |
| CBG_FORN | Fornecedor | Fornecedor | C | Real | 6 |
| CBG_LOJFOR | Loja | Loja | C | Real | 2 |
| CBG_OP | OP | OP | C | Real | 14 |
| CBG_TM | TM | TM | C | Real | 3 |
| CBG_NOTAS | Nota Saida | Nota Saida | C | Real | 9 |
| CBG_SERIES | Serie | Serie | C | Real | 3 |
| CBG_CLI | Cliente | Cliente | C | Real | 6 |
| CBG_LOJCLI | Loja | Loja | C | Real | 2 |
| CBG_ORDSEP | Ordem de Sep | Ordem de Sep | C | Real | 6 |
| CBG_ETIAUX | Etiqueta Aux | Etiqueta Aux | C | Real | 10 |
| CBG_VOLUME | Volume | Volume | C | Real | 10 |
| CBG_SUBVOL | SubVolume | SubVolume | C | Real | 10 |
| CBG_SDOCE | Serie NF Ent | Serie NF Entrada | C | Real | 3 |
| CBG_SDOCS | Serie NF Sai | Serie NF Saida | C | Real | 3 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | CBG_FILIAL + CBG_CODOPE + DTOS(CBG_DATA) + CBG_HORA + CBG_EVENTO | Operador + Data + Hora + Evento | |
| 2 | CBG_FILIAL + DTOS(CBG_DATA) + CBG_HORA | Data + Hora | |
| 3 | CBG_FILIAL + CBG_CODETI + DTOS(CBG_DATA) + CBG_HORA | Cod Etiqueta + Data + Hora | |
| 4 | CBG_FILIAL + CBG_OP + DTOS(CBG_DATA) + CBG_HORA | OP + Data + Hora | |
| 5 | CBG_FILIAL + CBG_NOTAE + CBG_SERIEE + CBG_FORN + CBG_LOJFOR + DTOS(CBG_DATA) + CBG_HORA | Nota Entrada + Serie + Fornecedor + Loja + Data + Hora | |
| 6 | CBG_FILIAL + CBG_NOTAS + CBG_SERIES + DTOS(CBG_DATA) + CBG_HORA | Nota Saida + Serie + Data + Hora | |
| 7 | CBG_FILIAL + CBG_NOTAE + CBG_SDOCE + CBG_FORN + CBG_LOJFOR + DTOS(CBG_DATA) + CBG_HORA | Nota Entrada + Serie NF Ent + Fornecedor + Loja + Data + Hora | |
| 8 | CBG_FILIAL + CBG_NOTAS + CBG_SDOCS + DTOS(CBG_DATA) + CBG_HORA | Nota Saida + Serie NF Sai + Data + Hora |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| NNR (Locais de Estoque) | CBG (Log ACD) | NNR_CODIGO | CBG_ARMDES | 1 para N |
| NNR (Locais de Estoque) | CBG (Log ACD) | NNR_CODIGO | CBG_ARM | 1 para N |