Produtos Agronegócio
A tabela NCR faz parte do sistema ERP Protheus da TOTVS e é utilizada para produtos agronegócio.
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 NCR 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 NCR, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | NCR |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | NCR990 |
| X2_NOME | Produtos Agronegócio |
| X2_NOMESPA | Productos agronegocio |
| X2_NOMEENG | Agribusiness Products |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | NCR_FILIAL+NCR_PROD |
| 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_ | 6727 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NCR | 01 | NCR_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 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106778 | 0 |
| NCR | 02 | NCR_PROD | C | 15 | 0 | Produto | Producto | Product | Produto | Producto | Product | @! | - | x x x x x x x x x x x x x x x xx | - | SB1 | 1 | x xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 030 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106779 | 0 |
| NCR | 03 | NCR_CULTUR | C | 10 | 0 | Cultura | Cultivo | Culture | Cultura | Cultivo | Culture | - | Vazio() .or. ExistCpo("NP3",, 1) | x x x x x x x x x x x x x x x x | - | NP3 | 1 | x xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106780 | 0 |
| NCR | 04 | NCR_FORM | C | 10 | 0 | Formulação | Formulac. | Formulation | Formulação | Formulación | Formulation | - | Vazio() .or. ExistCpo("NCI",, 1) | x x x x x x x x x x x x x x x x | - | NCI | 1 | x xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106781 | 0 |
| NCR | 05 | NCR_MATINE | N | 10 | 2 | Mat. inerte | Mat. Inerte | Inert materi | Material inerte | Material inerte | Inert material | @E 9,999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106782 | 0 |
| NCR | 06 | NCR_CLATOX | C | 10 | 0 | Clas. Tox. | Clas. Tox. | Tox Clas | Class. toxicológica | Clas. Toxicológica | Toxicological Classificat | - | Vazio() .or. ExistCpo("NCF",, 1) | x x x x x x x x x x x x x x x x | - | NCF | 1 | x xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106783 | 0 |
| NCR | 07 | NCR_CLAAMB | C | 10 | 0 | Cl.Ambiental | Cl.Ambiental | Environmenta | Classificação ambiental | Clasificación ambiental | Environmental Classificat | - | Vazio() .or. ExistCpo("NCG",, 1) | x x x x x x x x x x x x x x x x | - | NCG | 1 | x xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106784 | 0 |
| NCR | 08 | NCR_MAPA | C | 50 | 0 | Código MAPA | Código MAPA | MAP code | Código MAPA | Código MAPA | MAP code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106785 | 0 |
| NCR | 09 | NCR_MODACA | C | 10 | 0 | Modo de ação | Modo de acci | Type of acti | Modo de ação | Modo de acción | Type of action | - | Vazio() .or. ExistCpo("NCH",, 1) | x x x x x x x x x x x x x x x x | - | NCH | 1 | x xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106786 | 0 |
| NCR | 10 | NCR_VL_COT | N | 5 | 2 | Carb. Organ. | Carb. Orgán. | Organ Carb | Carbono orgânico total | Carbono orgánico total | Total organic carbon | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 1 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106787 | 0 |
| NCR | 11 | NCR_VL_N | N | 5 | 2 | Nitrogênio | Nitrógeno | Nitrogen | Nitrogênio | Nitrógeno | Nitrogen | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 2 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106788 | 0 |
| NCR | 12 | NCR_VL_P | N | 5 | 2 | Fósforo | Fósforo | Phosphorus | Fósforo | Fósforo | Phosphorus | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 2 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106789 | 0 |
| NCR | 13 | NCR_VL_K | N | 5 | 2 | Potássio | Potasio | Potassium | Potássio | Potasio | Potassium | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 2 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106790 | 0 |
| NCR | 14 | NCR_VL_C | N | 5 | 2 | Carbono | Carbono | Carbon | Carbono | Carbono | Carbon | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 2 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106791 | 0 |
| NCR | 15 | NCR_VL_O | N | 5 | 2 | Oxigênio | Oxígeno | Oxygen | Oxigênio | Oxígeno | Oxygen | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 2 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106792 | 0 |
| NCR | 16 | NCR_VL_H | N | 5 | 2 | Hidrogênio | Hidrógeno | Hydrogen | Hidrogênio | Hidrógeno | Hydrogen | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 2 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106793 | 0 |
| NCR | 17 | NCR_VL_S | N | 5 | 2 | Enxofre | Azufre | Sulfur | Enxofre | Azufre | Sulfur | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 2 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106794 | 0 |
| NCR | 18 | NCR_VL_CA | N | 5 | 2 | Cálcio | Calcio | Calcium | Cálcio | Calcio | Calcium | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 2 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106795 | 0 |
| NCR | 19 | NCR_VL_MG | N | 5 | 2 | Magnésio | Magnesio | Magnesium | Magnésio | Magnesio | Magnesium | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 2 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106796 | 0 |
| NCR | 20 | NCR_VL_OMA | N | 5 | 2 | Outros | Otros | Others | Outros macronutrientes | Otros macronutrientes | Other macronutrients | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 2 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106797 | 0 |
| NCR | 21 | NCR_VL_FE | N | 5 | 2 | Ferro | Hierro | Iron | Ferro | Hierro | Iron | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 3 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106798 | 0 |
| NCR | 22 | NCR_VL_MN | N | 5 | 2 | Manganês | Manganeso | Manganese | Manganês | Manganeso | Manganese | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 3 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106799 | 0 |
| NCR | 23 | NCR_VL_B | N | 5 | 2 | Boro | Boro | Boron | Boro | Boro | Boron | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 3 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106800 | 0 |
| NCR | 24 | NCR_VL_ZN | N | 5 | 2 | Zinco | Zinc | Zinc | Zinco | Zinc | Zinc | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 3 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106801 | 0 |
| NCR | 25 | NCR_VL_CU | N | 5 | 2 | Cobre | Cobre | Copper | Cobre | Cobre | Copper | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 3 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106802 | 0 |
| NCR | 26 | NCR_VL_MO | N | 5 | 2 | Molibdeno | Molibdeno | Molybdenum | Molibdeno | Molibdeno | Molybdenum | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 3 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106803 | 0 |
| NCR | 27 | NCR_VL_CL | N | 5 | 2 | Cloro | Cloro | Chlorine | Cloro | Cloro | Chlorine | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 3 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106804 | 0 |
| NCR | 28 | NCR_VL_OMI | N | 5 | 2 | Outros | Otros | Others | Outros micronutrientes | Otros micronutrientes | Other micronutrients | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 3 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106805 | 0 |
| NCR | 29 | NCR_VL_NA | N | 5 | 2 | Sódio | Sodio | Sodium | Sódio | Sodio | Sodium | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 4 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106806 | 0 |
| NCR | 30 | NCR_VL_CO | N | 5 | 2 | Cobalto | Cobalto | Cobalt | Cobalto | Cobalto | Cobalt | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 4 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106807 | 0 |
| NCR | 31 | NCR_VL_SI | N | 5 | 2 | Silício | Silicio | Silicon | Silício | Silicio | Silicon | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 4 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106808 | 0 |
| NCR | 32 | NCR_VL_NI | N | 5 | 2 | Níquel | Níquel | Nickel | Níquel | Níquel | Nickel | @E 99.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | 4 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106809 | 0 |
| NCR | 33 | NCR_CTCRED | C | 20 | 0 | Cta. Credora | Cta. Acreedo | Credit Acc | Cta. Contábil Credora | Cta. Contable acreedora | Credit Ledger Account | @! | vazio().or. Ctb105Cta() | x x x x x x x x x x x x x x x x | - | CT1 | 1 | x xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 003 | 1 | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106810 | 0 |
| NCR | 34 | NCR_EMREC | C | 1 | 0 | Receituário | Recetario | Prescription | Emite Receituário | Emite recetario | Issue Prescription | @! | Pertence('12') | x x x x x x x x x x x x x x x | '2' | - | 1 | x xx x | - | - | - | N | A | R | - | - | 1=SIM;2=NÃO | 1=SÍ;2=NO | 1=YES;2=NO | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106811 | 0 |
| NCR | 35 | NCR_EMGUIA | C | 1 | 0 | Emite Guia | Emite Form. | Issue Form | Emite Guia de Transporte | Emite Form. de Transp. | Issue Transport Form | @! | Pertence('12') | x x x x x x x x x x x x x x x | '2' | - | 1 | x xx x | - | - | - | N | A | R | - | - | 1=SIM;2=NÃO | 1=SÍ;2=NO | 1=YES;2=NO | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 106812 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NCR | 1 | NCR_FILIAL+NCR_PROD | Produto | Producto | Product | S | - | - | S | 2 | 3 | - | 15366 | 0 |
Ela é utilizada para produtos agronegócio 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
NCR_FILIAL,
NCR_PROD,
NCR_CULTUR,
NCR_FORM,
NCR_MATINE,
NCR_CLATOX,
NCR_CLAAMB,
NCR_MAPA,
NCR_MODACA,
NCR_VL_COT,
NCR_VL_N,
NCR_VL_P,
NCR_VL_K,
NCR_VL_C,
NCR_VL_O,
NCR_VL_H,
NCR_VL_S,
NCR_VL_CA,
NCR_VL_MG,
NCR_VL_OMA,
NCR_VL_FE,
NCR_VL_MN,
NCR_VL_B,
NCR_VL_ZN,
NCR_VL_CU,
NCR_VL_MO,
NCR_VL_CL,
NCR_VL_OMI,
NCR_VL_NA,
NCR_VL_CO,
NCR_VL_SI,
NCR_VL_NI,
NCR_CTCRED,
NCR_EMREC,
NCR_EMGUIA
FROM NCR
WHERE
D_E_L_E_T_ = ' '
AND NCR_FILIAL = 'VALOR'
AND NCR_PROD = 'VALOR'
AND NCR_CULTUR = 'VALOR'
AND NCR_FORM = 'VALOR'
AND NCR_MATINE = 0
AND NCR_CLATOX = 'VALOR'
AND NCR_CLAAMB = 'VALOR'
AND NCR_MAPA = 'VALOR'
AND NCR_MODACA = 'VALOR'
AND NCR_VL_COT = 0
AND NCR_VL_N = 0
AND NCR_VL_P = 0
AND NCR_VL_K = 0
AND NCR_VL_C = 0
AND NCR_VL_O = 0
AND NCR_VL_H = 0
AND NCR_VL_S = 0
AND NCR_VL_CA = 0
AND NCR_VL_MG = 0
AND NCR_VL_OMA = 0
AND NCR_VL_FE = 0
AND NCR_VL_MN = 0
AND NCR_VL_B = 0
AND NCR_VL_ZN = 0
AND NCR_VL_CU = 0
AND NCR_VL_MO = 0
AND NCR_VL_CL = 0
AND NCR_VL_OMI = 0
AND NCR_VL_NA = 0
AND NCR_VL_CO = 0
AND NCR_VL_SI = 0
AND NCR_VL_NI = 0
AND NCR_CTCRED = 'VALOR'
AND NCR_EMREC = 'VALOR'
AND NCR_EMGUIA = 'VALOR'