Tabela SGG - Pre-Estrutura
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| GG_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| GG_COD | Codigo | Codigo do Produto | C | Real | 15 |
| GG_COMP | Componente | Codigo do componente | C | Real | 15 |
| GG_DESC | Descricao | Descricao do Componente | C | Virtual | 50 |
| GG_TRT | Sequencia | Sequencia | C | Real | 3 |
| GG_QUANT | Quantidade | Quantidade | N | Real | 12, 6 |
| GG_PERDA | Indice Perda | Indice de perda | N | Real | 5, 2 |
| GG_INI | DT Inicial | Data Inicial da Validade | D | Real | 8 |
| GG_FIM | DT Final | Data Final da Validade | D | Real | 8 |
| GG_OBSERV | Observacao | Observacao do Produto | C | Real | 45 |
| GG_FIXVAR | Qtd. Fix/Var | Qtde. Estr. Fixa/Variavel | C | Real | 1 |
| GG_GROPC | Grupo Opcio. | Grupo de Opcionais | C | Real | 3 |
| GG_OPC | Item Opcion. | Item do Gr. de Opcionais | C | Real | 4 |
| GG_NIV | Nivel | Nivel do produto | C | Real | 2 |
| GG_NIVINV | Nivel Invert | Nivel Invertido | C | Real | 2 |
| GG_POTENCI | Potencia | Potencia de Lote | N | Real | 6, 2 |
| GG_OK | Ok | Substituir Componentes | C | Real | 4 |
| GG_STATUS | Status | Status do Item | C | Real | 1 |
| GG_USUARIO | Codigo Usua | Codigo do Usuario | C | Real | 6 |
| GG_REVINI | Rev. Inicial | Revis. Inicial Componente | C | Real | 3 |
| GG_REVFIM | Rev. Final | Revis. Final Componente | C | Real | 3 |
| GG_TIPVEC | Tipo Vetor | Tipo Vetor | C | Real | 6 |
| GG_VECTOR | Chave Vetor | Chave Vetor | C | Real | 6 |
| GG_LOCCONS | Armazem | Armazem Consumo | C | Real | 2 |
| GG_FANTASM | Fantasma? | Componente Fantasma? | C | Real | 1 |
| GG_LISTA | Lista | Lista de Componentes | C | Real | 10 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | GG_FILIAL + GG_COD + GG_COMP + GG_TRT | Codigo + Componente + Sequencia | |
| 2 | GG_FILIAL + GG_COMP + GG_COD | Componente + Codigo |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| NNR (Locais de Estoque) | SGG (Pre-Estrutura) | NNR_CODIGO | GG_LOCCONS | 1 para N |
| SB1 (Descricao Generica do Produto) | SGG (Pre-Estrutura) | B1_COD | GG_COD | 1 para N |
| SB1 (Descricao Generica do Produto) | SGG (Pre-Estrutura) | B1_COD | GG_COMP | 1 para N |
| SGA (Grupo Opcionais) | SGG (Pre-Estrutura) | GA_GROPC + GA_OPC | GG_GROPC + GG_OPC | 1 para N |
| SHV (Vetores) | SGG (Pre-Estrutura) | HV_TIPO + HV_VECTOR | GG_TIPVEC + GG_VECTOR | 1 para N |
| SX5 (Tabelas) | SGG (Pre-Estrutura) | X5_TABELA + X5_CHAVE | 'VC' + GG_TIPVEC | 1 para N |