Tabela SNN - Planejamento de Aquisicoes
Chave Unica: NN_FILIAL + NN_CODIGO + NN_ITEM
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| NN_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| NN_CODIGO | Codigo | Codigo Sequencial do Bem | C | Real | 10 |
| NN_ITEM | Item | Numero do Item | C | Real | 4 |
| NN_AQUISIC | Dt.Aquisicao | Data de Aquisicao | D | Real | 8 |
| NN_DESCRIC | Descr.Bem | Descricao do Bem | C | Real | 40 |
| NN_QUANTD | Quantidade | Quantidade do Bem | N | Real | 11, 3 |
| NN_GRUPO | Grupo | Grupo de Bens | C | Real | 4 |
| NN_DTPREVI | Dt. Aq Previ | Data Prevista | D | Real | 8 |
| NN_CODEFTV | Codigo Efet. | Codigo Efetivacao do bem | C | Real | 10 |
| NN_ITMEFTV | Item efet. | Codigo do Item Efetivado | C | Real | 4 |
| NN_VORIG1 | Val Orig M1 | Valor Original Moeda 1 | N | Real | 14, 2 |
| NN_TXDEPR1 | Tx.An.Depr.1 | Taxa Anual Depreciacao 1 | N | Real | 9, 4 |
| NN_VORIG2 | Val Orig M2 | Valor Original Moeda 2 | N | Real | 14, 2 |
| NN_TXDEPR2 | Tx.An.Depr.2 | Taxa Anual Depreciacao 2 | N | Real | 9, 4 |
| NN_VORIG3 | Val Orig M3 | Valor Original Moeda 3 | N | Real | 14, 2 |
| NN_TXDEPR3 | Tx.An.Depr.3 | Taxa Anual Depreciacao 3 | N | Real | 9, 4 |
| NN_VORIG4 | Val Orig M4 | Valor Original Moeda 4 | N | Real | 14, 2 |
| NN_TXDEPR4 | Tx.An.Depr.4 | Taxa Anual Depreciacao 4 | N | Real | 9, 4 |
| NN_VORIG5 | Val Orig M5 | Valor Original Moeda 5 | N | Real | 14, 2 |
| NN_TXDEPR5 | Tx.An.Depr.5 | Taxa Anual Depreciacao 5 | N | Real | 9, 4 |
| NN_CCONTAB | Conta | Conta Contabil | C | Real | 20 |
| NN_CUSTBEM | C Custo Bem | C Custo da Conta do Bem | C | Real | 9 |
| NN_SUBCCON | Item do Bem | Item Conta do Bem | C | Real | 9 |
| NN_CLVLCON | Cl Vlr Bem | Classe de Valor do Bem | C | Real | 9 |
| NN_CDEPREC | Cta Desp Dep | Conta Despesa Depreciacao | C | Real | 20 |
| NN_CCDESP | Cc Des Depr | Centro Custo Desp Depr. | C | Real | 9 |
| NN_SUBCDEP | Item Ds.Dep. | Item Despesa Depreciacao | C | Real | 9 |
| NN_CLVLDEP | Clvl Des.Dep | Classe Vlr Despesa Dep. | C | Real | 9 |
| NN_CCDEPR | Cta Dep Acum | Conta Deprec. Acumulada | C | Real | 20 |
| NN_CCCDEP | Cc Depr Ac | Centro Custo Dep. Acumul. | C | Real | 9 |
| NN_SUBCCDE | Item Dep.Ac. | Item Correcao Depreciacao | C | Real | 9 |
| NN_CLVLCDE | Clvl Dep.Acu | Classe de Vlr Dep. Acum | C | Real | 9 |
| NN_OK | Flag Marca | Flag Marcacao | C | Real | 2 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | NN_FILIAL + NN_CODIGO + NN_ITEM | Codigo + Item | |
| 2 | NN_FILIAL + NN_CODEFTV + NN_ITMEFTV + NN_CODIGO + NN_ITEM | Codigo Efet. + Item efet. + Codigo + Item | |
| 3 | NN_FILIAL + NN_CCONTAB | Conta | |
| 4 | NN_FILIAL + NN_CDEPREC | Cta Desp Dep | |
| 5 | NN_FILIAL + NN_CCDEPR | Cta Dep Acum | |
| 6 | NN_FILIAL + NN_CUSTBEM | C Custo Bem | |
| 7 | NN_FILIAL + NN_CCCDEP | Cc Depr Ac | |
| 8 | NN_FILIAL + NN_CCDESP | Cc Des Depr |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| CT1 (Plano de Contas) | SNN (Planejamento de Aquisicoes) | CT1_CONTA | NN_CCONTAB | 1 para N |
| CT1 (Plano de Contas) | SNN (Planejamento de Aquisicoes) | CT1_CONTA | NN_CDEPREC | 1 para N |
| CT1 (Plano de Contas) | SNN (Planejamento de Aquisicoes) | CT1_CONTA | NN_CCDEPR | 1 para N |
| CTD (Item Contabil) | SNN (Planejamento de Aquisicoes) | CTD_ITEM | NN_SUBCCDE | 1 para N |
| CTD (Item Contabil) | SNN (Planejamento de Aquisicoes) | CTD_ITEM | NN_SUBCDEP | 1 para N |
| CTD (Item Contabil) | SNN (Planejamento de Aquisicoes) | CTD_ITEM | NN_SUBCCON | 1 para N |
| CTH (Classes de Valores) | SNN (Planejamento de Aquisicoes) | CTH_CLVL | NN_CLVLCON | 1 para N |
| CTH (Classes de Valores) | SNN (Planejamento de Aquisicoes) | CTH_CLVL | NN_CLVLDEP | 1 para N |
| CTH (Classes de Valores) | SNN (Planejamento de Aquisicoes) | CTH_CLVL | NN_CLVLCDE | 1 para N |
| CTT (Centro de Custo) | SNN (Planejamento de Aquisicoes) | CTT_CUSTO | NN_CUSTBEM | 1 para N |
| CTT (Centro de Custo) | SNN (Planejamento de Aquisicoes) | CTT_CUSTO | NN_CCCDEP | 1 para N |
| CTT (Centro de Custo) | SNN (Planejamento de Aquisicoes) | CTT_CUSTO | NN_CCDESP | 1 para N |
| SNG (Grupos de Bens) | SNN (Planejamento de Aquisicoes) | NG_GRUPO | NN_GRUPO | 1 para N |