Histórico de Resultados
A tabela SPL faz parte do sistema ERP Protheus da TOTVS e é utilizada para histórico de resultados.
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 SPL 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 SPL, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | SPL |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | SPL990 |
| X2_NOME | Histórico de Resultados |
| X2_NOMESPA | Historial de Resultados |
| X2_NOMEENG | Results History |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | S |
| X2_MODULO | 16 |
| X2_DISPLAY | - |
| X2_SYSOBJ | PONA170 |
| 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_ | 8551 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SPL | 01 | PL_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial | Sucursal | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140636 | 0 |
| SPL | 02 | PL_MAT | C | 6 | 0 | Matricula | Matricula | Registration | Numero da Matricula | Numero de la Matricula | Registration Number | @! | ExistCpo("SRA") | x x x x x x x x x x x x x x x x | - | CAD | 1 | xxx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | 121 | - | S | - | #PL_MAT <>' ' | N | N | N | - | - | - | 1 | 1 | - | - | - | 140637 | 0 |
| SPL | 03 | PL_PD | C | 3 | 0 | Codigo Verba | Concepto | Allowance Cd | Codigo da Verba | Codigo del Concepto | Allowance Code | @! | Pn170DescPd() .and. ExistCpo("SRV") | x x x x x x x x x x x x x x x x | - | SRV | 1 | xxx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | #PL_PD <>' ' | N | N | N | - | - | - | 1 | 1 | - | - | - | 140638 | 0 |
| SPL | 04 | PL_DESCPD | C | 20 | 0 | Descricao | Descripcion | Description | Descricao Verba | Descripci¾n del Concepto | Allowance Description | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140639 | 0 |
| SPL | 05 | PL_TIPO1 | C | 1 | 0 | Tipo | Tipo | Type | Tipo da Informacao | Tipo de la Informacion | Type of Information | @! | Pertence("HVD") .and. Pn170MovTp(.T.) | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | - | - | - | - | #PonRetOpcBox(14) | #PonRetOpcBox(14) | #PonRetOpcBox(14) | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 140640 | 0 |
| SPL | 06 | PL_HORAS | N | 8 | 2 | Horas Lanc. | Horas Regist | Hours Ent. | Numero de Horas Lancadas | Numero Horas Registradas | Number of Hours Entered | @E 99,999.99 | PN170VHORAS() | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 140641 | 0 |
| SPL | 07 | PL_VALOR | N | 12 | 2 | Vlr.Lancam. | Vlr.Asiento | Entry Value | Valor do lancamento | Valor del Asiento | Entry Value | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 140642 | 0 |
| SPL | 08 | PL_DATA | D | 8 | 0 | Dt. Pagto. | Fecha Pago | Payment Day | Data de Pagamento | Fecha de Pago | Payment Date | - | - | x x x x x x x x x x x x x x x x | dDataBase | - | 1 | xxx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | #PL_DATA <>' ' | N | N | N | - | - | - | 1 | 1 | - | - | - | 140643 | 0 |
| SPL | 09 | PL_SEMANA | C | 2 | 0 | Nr. Semana | Nº Semana | Week No. | Numero da Semana | Número de la semana | Week Number | 99 | Entre(" ","53") | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 140644 | 0 |
| SPL | 10 | PL_CC | C | 9 | 0 | Centro Custo | Centro Costo | Cost Center | Codigo Centro de Custo | Codigo Centro de Costo | Cost Center Code | @! | Vazio() .Or. Ctb105CC() | x x x x x x x x x x x x x x x x | SRA->RA_CC | CTT | 1 | xxx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | 004 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 140645 | 0 |
| SPL | 11 | PL_PARCELA | N | 2 | 0 | Nr. Parcelas | Num. Cuotas | Installments | Numero de Parcelas | Numero de Cuotas | Number of Installments | 99 | POSITIVO() | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 140646 | 0 |
| SPL | 12 | PL_TIPO2 | C | 1 | 0 | Origem | Origen | Origin | Origem da Verba | Origen del Concepto | Allowance Origin | @! | - | x x x x x x x x x x x x x x x x | "I" | - | 1 | xxx | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 140647 | 0 |
| SPL | 13 | PL_PROCES | C | 5 | 0 | Cod.Process | Cod.Proceso | Proc. Code | Codigo do Processo | Codigo del Proceso | Process Code | - | PLProcesVld() | x x x x x x x x x x x x x x x | PLProcesInit() | RCJ | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | #PL_PROCES <>' ' | N | N | N | - | - | - | 1 | 2 | - | - | - | 140648 | 0 |
| SPL | 14 | PL_ROTEIR | C | 3 | 0 | Roteiro Calc | Proced. Calc | Calc. Proc. | Roteiro de Cálculo | Procedimiento de Calculo | Calculation Procedure | @! | PLRoteirVld() | x x x x x x x x x x x x x x x | PLRoteirInit() | SRY | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | #PL_ROTEIR <>' ' | N | N | N | - | - | - | 1 | 2 | - | - | - | 140649 | 0 |
| SPL | 15 | PL_PERIODO | C | 6 | 0 | Cod. Periodo | Cod. Periodo | Period Code | Codigo Periodo | Codigo Periodo | Period Code | - | PLPeriodoVld() | x x x x x x x x x x x x x x x | PLPeriodoInit() | RCH | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | #PL_PERIODO<>' ' | N | N | N | - | - | - | 1 | 2 | - | - | - | 140650 | 0 |
| SPL | 16 | PL_DEPTO | C | 9 | 0 | Cod. Depto | Cod. Depto | Dep. Code | Codigo Departamento | Codigo Departamento | Department Code | @! | PLDeptoVld() | x x x x x x x x x x x x x x x | PlDeptoInit() | SQB | 1 | xx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 025 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140651 | 0 |
| SPL | 17 | PL_POSTO | C | 9 | 0 | Cod. Posto | Cod. Puesto | Pos. Code | Codigo do Posto | Codigo del Puesto | Position Code | @! | PLPostoVld() | x x x x x x x x x x x x x x x | PLPostoInit() | RCL | 1 | xx x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 026 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140652 | 0 |
| SPL | 18 | PL_CODFUNC | C | 5 | 0 | Cod.Funcao | Cod.Funcion | Role Code | Codigo da Funcao | Codigo de la Funcion | Role Code | @! | PLFuncVld() | x x x x x x x x x x x x x x x | PLFuncInit() | SRJ | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 160 | - | S | - | #PL_CODFUNC<>' ' | N | N | N | - | - | - | 1 | 2 | - | - | - | 140653 | 0 |
| SPL | 19 | PL_INTEGRA | C | 1 | 0 | Integrado | Integrado | Integrated | Integrado | Integrado | Integrated | @! | - | x x x x x x x x x x x x x x x | "0" | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140654 | 0 |
| SPL | 20 | PL_D1 | N | 12 | 2 | Incid. Dia 1 | Incid. Dia 1 | Levy Day 1 | Incid. Dia 1 | Incid. Dia 1 | Levy Day 1 | @E 999,999,999.99 | Pn170vHoras() | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140655 | 0 |
| SPL | 21 | PL_D2 | N | 12 | 2 | Incid. Dia 2 | Incid. Dia 2 | Levy Day 2 | Incid. Dia 2 | Incid. Dia 2 | Levy Day 2 | @E 999,999,999.99 | Pn170vHoras() | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140656 | 0 |
| SPL | 22 | PL_D3 | N | 12 | 2 | Incid. Dia 3 | Incid. Dia 3 | Levy Day 3 | Incid. Dia 3 | Incid. Dia 3 | Levy Day 3 | @E 999,999,999.99 | Pn170vHoras() | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140657 | 0 |
| SPL | 23 | PL_D4 | N | 12 | 2 | Incid. Dia 4 | Incid. Dia 4 | Levy Day 4 | Incid. Dia 4 | Incid. Dia 4 | Levy Day 4 | @E 999,999,999.99 | Pn170vHoras() | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140658 | 0 |
| SPL | 24 | PL_D5 | N | 12 | 2 | Incid. Dia 5 | Incid. Dia 5 | Levy Day 5 | Incid. Dia 5 | Incid. Dia 5 | Levy Day 5 | @E 999,999,999.99 | Pn170vHoras() | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140659 | 0 |
| SPL | 25 | PL_D6 | N | 12 | 2 | Incid. Dia 6 | Incid. Dia 6 | Levy Day 6 | Incid. Dia 6 | Incid. Dia 6 | Levy Day 6 | @E 999,999,999.99 | Pn170vHoras() | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140660 | 0 |
| SPL | 26 | PL_D7 | N | 12 | 2 | Incid. Dia 7 | Incid. Dia 7 | Levy Day 7 | Incid. Dia 7 | Incid. Dia 7 | Levy Day 7 | @E 999,999,999.99 | Pn170vHoras() | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 140661 | 0 |
| SPL | 27 | PL_CONVOC | C | 6 | 0 | Cod. Covoc | Cód Conv | Call Code | Código Convocação | Código Convocat | Call Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 140662 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SPL | 1 | PL_FILIAL+PL_MAT+PL_PD+PL_CC+PL_DEPTO+PL_POSTO+PL_CODFUNC+PL_CONVOC | Matricula + Codigo Verba + Centro Custo + Cod. Depto + Cod. Posto + Co | Matricula + Concepto + Centro Costo + Cod. Depto + Cod. Puesto + Cod.F | Registration + Allowance Cd + Cost Center + Dep. Code + Pos. Code + Ro | S | CAD+SP9 | - | S | 2 | 3 | - | 20144 | 0 |
Ela é utilizada para histórico de resultados 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.