Resul. do Teste de Canteiro
A tabela NPC faz parte do sistema ERP Protheus da TOTVS e é utilizada para resul. do teste de canteiro.
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 NPC 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 NPC, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | NPC |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | NPC990 |
| X2_NOME | Resul. do Teste de Canteiro |
| X2_NOMESPA | Resul. de Prueba de Cantero |
| X2_NOMEENG | Bed Test Result |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | NPC_FILIAL+NPC_SAFRA+NPC_LOTE+NPC_ANO+NPC_MES+NPC_CODSAF |
| 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_ | 6913 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NPC | 01 | NPC_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 x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 109986 | 0 |
| NPC | 02 | NPC_MES | C | 2 | 0 | Mês | Mes | Month | Mês do teste | Mes del test | Test Month | @! | AGR860CPO() | x x x x x x x x x x x x x x x xx | StrZero(Month(ddatabase),2) | - | 1 | xxx | - | - | - | S | A | R | - | - | 01=Jan;02=Fev;03=Mar;04=Abr;05=Mai;06=Jun;07=Jul;08=Ago;09=Set;10=Out;11=Nov;12=Dez | 01=Ene;02=Feb;03=Mar;04=Abr;05=May;06=Jun;07=Jul;08=Ago;09=Sept;10=Oct;11=Nov;12=Dic | 01=Jan;02=Feb;03=Mar;04=Apr;05=May;06=Jun;07=Jul;08=Aug;09=Sep;10=Oct;11=Nov;12=Dec | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 109987 | 0 |
| NPC | 03 | NPC_ANO | C | 4 | 0 | Ano | Ano | Year | Ano do teste | Ano del test | Examination Year | @9 9999 | AGR860CPO() | x x x x x x x x x x x x x x x xx | StrZero(YEAR(DDATABASE),4) | - | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 109988 | 0 |
| NPC | 04 | NPC_SAFRA | C | 15 | 0 | Safra | Cosecha | Crop | Safra de Produção | Cosecha de Produccion | Production Crop | @! | AGR860CPO() | x x x x x x x x x x x x x x x xx | - | NN1 | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 130 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 109989 | 0 |
| NPC | 05 | NPC_LOTE | C | 10 | 0 | Lote | Lote | Lot | Número do Lote | Numero del lote | Lot Number | - | AGR860CPO() | x x x x x x x x x x x x x x x x | - | NP9 | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | Inclui | - | 068 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 109990 | 0 |
| NPC | 06 | NPC_CODAM | C | 10 | 0 | Nº Amostra | Nr. muestra | Sampler No. | Número da Amostra do Lote | Numero muestra del lote | Lot Sampler Number | @! | Vazio() .Or. ExistCPO("NPE") | x x x x x x x x x x x x x x x x | - | NPE | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 109991 | 0 |
| NPC | 07 | NPC_CANTE | C | 10 | 0 | Canteiro | Cantero | Bed | Canteiro de testes | Cantero de pruebas | Tests Bed | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 109992 | 0 |
| NPC | 08 | NPC_GERM | N | 6 | 2 | Germinacao% | Germinacion% | Germin % | Percentual de Germinação | Porcentaje de Germinacion | Germination Percentage | @E 999.99 | Vazio() .Or. Positivo() | 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 | - | - | - | 109993 | 0 |
| NPC | 09 | NPC_CODSAF | C | 15 | 0 | Cod. Safra | Cód. Cosecha | Prod Crop | Safra de Producao | Cosecha de producción | Production Crop | @! | AGR860CPO() | x x x x x x x x x x x x x x x | - | NJU | 1 | - | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 130 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 109994 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NPC | 1 | NPC_FILIAL+NPC_SAFRA+NPC_LOTE+NPC_ANO+NPC_MES+NPC_CODSAF | Safra + Lote + Ano + Mês + Cod. Safra | Cosecha + Lote + Ano + Mes + Cód. Cosecha | Crop + Lot + Year + Month + Prod Crop | S | - | - | S | 2 | 3 | - | 15750 | 0 |
Ela é utilizada para resul. do teste de canteiro 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.