Serviços Tabelados
A tabela NRD faz parte do sistema ERP Protheus da TOTVS e é utilizada para serviços tabelados.
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 NRD 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 NRD, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | NRD |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | NRD990 |
| X2_NOME | Serviços Tabelados |
| X2_NOMESPA | Servicios controlados |
| X2_NOMEENG | Fixed Services |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | NRD_FILIAL+NRD_COD |
| X2_PYME | N |
| X2_MODULO | 77 |
| X2_DISPLAY | - |
| X2_SYSOBJ | JURA040 |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 1 |
| 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_ | 6982 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NRD | 01 | NRD_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal del Sistema | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 110697 | 0 |
| NRD | 02 | NRD_COD | C | 20 | 0 | Código | Codigo | Code | Cód serviço | Cod servicio | Service Code | - | ExistChav('NRD',M->NRD_COD,1) | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | INCLUI | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 110698 | 0 |
| NRD | 03 | NRD_CTIPO | C | 4 | 0 | Cod Tipo | Cod Tipo | Type Code | Cod tipo de tabela | Cod tipo de tabla | Table Type Code | - | ExistCpo('NRK',M->NRD_CTIPO,1) | x x x x x x x x x x x x x x x x | - | NRK | 1 | x xxx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 110699 | 0 |
| NRD | 04 | NRD_DTIPO | C | 200 | 0 | Desc tipo | Desc tipo | Type Desc. | Desc tipo de tabela | Desc tipo de tabla | Table Type Desc. | @S100 | - | x x x x x x x x x x x x x x x x | IF(!INCLUI,POSICIONE("NRK",1,XFILIAL("NRK")+NRD->NRD_CTIPO,"NRK_DESC"),'') | - | 1 | xx x x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("NRK",1,xFilial("NRK")+NRD->NRD_CTIPO,"NRK_DESC") | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 110700 | 0 |
| NRD | 05 | NRD_DESCH | C | 200 | 0 | Des Honor | Des Honor | Fee Desc. | Descriçao dos honorarios | Descripcion de los honora | Fee Description | @S100 | - | 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 | N | - | - | - | 1 | 1 | - | - | - | 110701 | 0 |
| NRD | 06 | NRD_ATIVO | C | 1 | 0 | Ativo? | ¿Activo? | Active? | Ativo? | ¿Activo? | Active? | - | Pertence('12') | x x x x x x x x x x x x x x x x | "1" | - | 1 | x x | - | - | - | S | A | R | - | - | 1=Sim;2=Não | 1=Si;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 110702 | 0 |
| NRD | 07 | NRD_LANTS | C | 1 | 0 | Lanca TS? | ¿Asiento TS? | Enters TS? | Permite Lanc de Ts? | ¿Permite Asient de Ts? | Enables TS Entry? | - | Pertence('12') | x x x x x x x x x x x x x x x x | "2" | - | 1 | x xxx | - | - | - | S | A | R | - | - | 1=Sim;2=Nao | 1=Si;2=No | 1=Yes; 2=No | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 110703 | 0 |
| NRD | 08 | NRD_COBMAI | C | 1 | 0 | Cobrar maior | Cobrar mayor | Charge high. | Cobrar maior valor? | ¿Cobrar mayor valor? | Charge the highest value? | - | Pertence('12') | x x x x x x x x x x x x x x x x | "2" | - | 1 | x xxx | - | - | - | S | A | R | - | - | 1=Sim;2=Nao | 1=Si;2=No | 1=Yes; 2=No | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 110704 | 0 |
| NRD | 09 | NRD_CDESP | C | 4 | 0 | Cód Desp | Cod Gasto | Expense Code | Cód tipo desp para o Inpi | Cod tipo gasto para Inpi | Exp. Type Code for INPI | - | ExistCpo('NRH',M->NRD_CDESP,1).OR.Vazio() | x x x x x x x x x x x x x x x x | - | NRH | 1 | x xx x | - | S | - | S | A | R | - | - | - | - | - | - | - | - | 037 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 110705 | 0 |
| NRD | 10 | NRD_DDESP | C | 50 | 0 | Desc Desp | Desc Gasto | Expense Desc | Descrição tipo desp | Descripcion tipo gasto | Expense Type Desc. | - | - | x x x x x x x x x x x x x x x x | IF(!INCLUI,POSICIONE("NRH",1,XFILIAL("NRH")+NRD->NRD_CDESP,"NRH_DESC"),'') | - | 1 | xx x x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("NRH",1,xFilial("NRH")+NRD->NRD_CDESP,"NRH_DESC") | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 110706 | 0 |
| NRD | 11 | NRD_DESCD | C | 200 | 0 | Desc Taxa | Desc Tasa | Rate Desc | Desc da taxa para o serv | Desc tasa para el servici | Service Rate Desc. | @S100 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 110707 | 0 |
| NRD | 12 | NRD_CINPI | C | 50 | 0 | Cód INPI | Cod INPI | INPI Code | Código do Inpi | Codigo del Inpi | INPI Code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 110708 | 0 |
| NRD | 13 | NRD_NARRAT | M | 10 | 0 | Narrativa | Narrativa | Narrative | Narrativa Padrao | Narrativa Estandar | Default Narrative | - | - | 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 | N | - | - | - | 1 | 1 | - | - | - | 110709 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NRD | 1 | NRD_FILIAL+NRD_COD | Código | Codigo | Code | S | - | - | S | 2 | 3 | - | 15914 | 0 |
| NRD | 2 | NRD_FILIAL+NRD_DESCH | Des Honor | Des Honor | Fee Desc. | S | - | - | S | 2 | 3 | - | 15915 | 0 |
Ela é utilizada para serviços tabelados 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
NRD_FILIAL,
NRD_COD,
NRD_CTIPO,
NRD_DTIPO,
NRD_DESCH,
NRD_ATIVO,
NRD_LANTS,
NRD_COBMAI,
NRD_CDESP,
NRD_DDESP,
NRD_DESCD,
NRD_CINPI,
NRD_NARRAT
FROM NRD
WHERE
D_E_L_E_T_ = ' '
AND NRD_FILIAL = 'VALOR'
AND NRD_COD = 'VALOR'
AND NRD_CTIPO = 'VALOR'
AND NRD_DTIPO = 'VALOR'
AND NRD_DESCH = 'VALOR'
AND NRD_ATIVO = 'VALOR'
AND NRD_LANTS = 'VALOR'
AND NRD_COBMAI = 'VALOR'
AND NRD_CDESP = 'VALOR'
AND NRD_DDESP = 'VALOR'
AND NRD_DESCD = 'VALOR'
AND NRD_CINPI = 'VALOR'