Previsões Financeiras Negocios
A tabela N7B faz parte do sistema ERP Protheus da TOTVS e é utilizada para previsões financeiras negocios.
Ela pertence ao dicionário de dados do Protheus (SX2) e armazena informações essenciais utilizadas em processos como cadastros, movimentações e integrações do sistema.
A tabela N7B possui diversos campos (SX3), cada um com regras específicas como tipo, tamanho e validações, além de índices (SIX) que otimizam a performance das consultas.
Nesta página você pode consultar a estrutura completa da tabela N7B, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | N7B |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | N7B990 |
| X2_NOME | Previsões Financeiras Negocios |
| X2_NOMESPA | Previs. Financieras Negocios |
| X2_NOMEENG | Business financial forecast |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | N7B_FILIAL+N7B_CODNGC+N7B_VERSAO+N7B_CODCAD+N7B_CODPRE |
| X2_PYME | S |
| X2_MODULO | 67 |
| X2_DISPLAY | - |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 2 |
| X2_AUTREC | 2 |
| X2_TAMFIL | 2 |
| X2_TAMUN | 0 |
| X2_TAMEMP | 0 |
| X2_STAMP | 2 |
| X2_INSDT | 2 |
| D_E_L_E_T_ | - |
| R_E_C_N_O_ | 6591 |
| R_E_C_D_E_L_ | 0 |
| X3_ARQUIVO | X3_ORDEM | X3_CAMPO | X3_TIPO | X3_TAMANHO | X3_DECIMAL | X3_TITULO | X3_TITSPA | X3_TITENG | X3_DESCRIC | X3_DESCSPA | X3_DESCENG | X3_PICTURE | X3_VALID | X3_USADO | X3_RELACAO | X3_F3 | X3_NIVEL | X3_RESERV | X3_CHECK | X3_TRIGGER | X3_PROPRI | X3_BROWSE | X3_VISUAL | X3_CONTEXT | X3_OBRIGAT | X3_VLDUSER | X3_CBOX | X3_CBOXSPA | X3_CBOXENG | X3_PICTVAR | X3_WHEN | X3_INIBRW | X3_GRPSXG | X3_FOLDER | X3_PYME | X3_CONDSQL | X3_CHKSQL | X3_IDXSRV | X3_ORTOGRA | X3_IDXFLD | X3_TELA | X3_PICBRV | X3_AGRUP | X3_POSLGT | X3_MODAL | X3_CHKSUM | X3_ADDSUM | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N7B | 01 | N7B_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial | Sucursal | Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | V | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 104746 | 0 |
| N7B | 02 | N7B_CODNGC | C | 6 | 0 | Negócio | Negocio | Business | Código Negócio | Codigo negocio | Business Code | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | xxx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 104747 | 0 |
| N7B | 03 | N7B_VERSAO | C | 3 | 0 | Versão | Versión | Version | Versão Negócio | Versión negocio | Business Version | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | xxx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 104748 | 0 |
| N7B | 04 | N7B_CODCAD | C | 3 | 0 | Cod Cadência | Cód Cadencia | Cadence Cd | Código da Cadência | Código de la cadencia | Cadence Code | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | xxx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 104749 | 0 |
| N7B | 05 | N7B_CODPRE | C | 3 | 0 | Cod Previsão | Cód Previs | Est Code | Código da Previsão | Código de previsión | Estimation code | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 104750 | 0 |
| N7B | 06 | N7B_PARCEL | C | 2 | 0 | Parcela | Cuota | Installment | Número da Parcela | Número de la cuota | Installment number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 011 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 104751 | 0 |
| N7B | 07 | N7B_DTVENC | D | 8 | 0 | Dt Venciment | Fch Vencim | Due date | Data Vencimento | Fecha de vencimiento | Due date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 104752 | 0 |
| N7B | 08 | N7B_VALOR | N | 14 | 2 | Valor | Valor | Amount | Valor da Previsão | Valor de la previsión | Amt of Prediction | @E 99,999,999,999.99 | POSITIVO() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 104753 | 0 |
| N7B | 09 | N7B_CODBCO | C | 3 | 0 | Banco | Banco | Bank | Código do Banco | Código del banco | Bank Code | @! | ExistCpo('SX5','K6'+GDFieldGet('N7B_CODBCO')) | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 007 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 104754 | 0 |
| N7B | 10 | N7B_CODAGE | C | 5 | 0 | Agência | Agencia | Branch | Agência | Agencia | Branch | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 008 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 104755 | 0 |
| N7B | 11 | N7B_DVAGE | C | 1 | 0 | DV Agencia | DV Agencia | Branch VD | Digito Verif Agencia | Dígito Verif Agencia | Branch Verif Digit | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 104756 | 0 |
| N7B | 12 | N7B_CODCTA | C | 10 | 0 | Conta | Cuenta | Account | Conta Corrente | Cuenta corriente | Checking account | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 009 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 104757 | 0 |
| N7B | 13 | N7B_DVCTA | C | 1 | 0 | DV Conta | DV Cuenta | Accnt VD | Digito Verif Conta | Digito Verif Cuenta | Account Verif Digit | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 104758 | 0 |
| INDICE | ORDEM | CHAVE | DESCRICAO | DESCSPA | DESCENG | PROPRI | F3 | NICKNAME | SHOWPESQ | IX_VIRTUAL | IX_VIRCUST | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| N7B | 1 | N7B_FILIAL+N7B_CODNGC+N7B_VERSAO+N7B_CODCAD+N7B_CODPRE | Negócio + Versão + Cod Cadência + Cod Previsão | Negocio + Versión + Cód Cadencia + Cód Previs | Business + Version + Cadence Cd + Est Code | S | - | - | S | 2 | 3 | - | 15104 | 0 |
Ela é utilizada para previsões financeiras negocios dentro do sistema ERP Protheus.
Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.
Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.
Modelo de query gerado automaticamente com base na estrutura da tabela.
SELECT
N7B_FILIAL,
N7B_CODNGC,
N7B_VERSAO,
N7B_CODCAD,
N7B_CODPRE,
N7B_PARCEL,
N7B_DTVENC,
N7B_VALOR,
N7B_CODBCO,
N7B_CODAGE,
N7B_DVAGE,
N7B_CODCTA,
N7B_DVCTA
FROM N7B
WHERE
D_E_L_E_T_ = ' '
AND N7B_FILIAL = 'VALOR'
AND N7B_CODNGC = 'VALOR'
AND N7B_VERSAO = 'VALOR'
AND N7B_CODCAD = 'VALOR'
AND N7B_CODPRE = 'VALOR'
AND N7B_PARCEL = 'VALOR'
AND N7B_DTVENC BETWEEN '20260501' AND '20260531'
AND N7B_VALOR = 0
AND N7B_CODBCO = 'VALOR'
AND N7B_CODAGE = 'VALOR'
AND N7B_DVAGE = 'VALOR'
AND N7B_CODCTA = 'VALOR'
AND N7B_DVCTA = 'VALOR'