Notificações Totvs Jurídico
A tabela O12 faz parte do sistema ERP Protheus da TOTVS e é utilizada para notificações totvs jurídico.
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 O12 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 O12, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | O12 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | O12990 |
| X2_NOME | Notificações Totvs Jurídico |
| X2_NOMESPA | Notificac Totvs Jurídico |
| X2_NOMEENG | Totvs Legal Notifications |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | O12_FILIAL+O12_CODIGO |
| X2_PYME | S |
| X2_MODULO | 76 |
| 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_ | 7321 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| O12 | 01 | O12_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 | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 116140 | 0 |
| O12 | 02 | O12_CODIGO | C | 10 | 0 | Código | Código | Code | Código sequêncial | Código secuencial | Sequential code | @! | - | x x x x x x x x x x x x x x x xxx | GetSxeNum('O12','O12_CODIGO') | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 116141 | 0 |
| O12 | 03 | O12_CODUSR | C | 6 | 0 | Cód Usuário | Cód. Usuario | User Code | Código do Usuário | Código usuario | User Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 116142 | 0 |
| O12 | 04 | O12_DATA | D | 8 | 0 | Data Notific | Fch Notific | Notif Date | Data da Notificação | Fch Notificación | Notification Date | - | - | x x x x x x x x x x x x x x x x | Date() | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 116143 | 0 |
| O12 | 05 | O12_HORA | C | 8 | 0 | Hora Notific | Hora Notific | Notif Time | Hora da Notificação | Hora de notificación | Notification Time | @! | - | x x x x x x x x x x x x x x x x | Time() | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 116144 | 0 |
| O12 | 06 | O12_LIDO | L | 1 | 0 | Lido? | ¿Leído? | Read? | Registro foi lido? | ¿Registro leído? | Record read? | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 116145 | 0 |
| O12 | 07 | O12_ICONE | C | 30 | 0 | Ícone | Ícono | Icon | Ícone a ser apresentado | Ícono por presentarse | Icon to present | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 116146 | 0 |
| O12 | 08 | O12_TITULO | C | 150 | 0 | Título Notif | Título Notif | Notif Title | Título da notificação | Título de notificación | Notification Title | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 116147 | 0 |
| O12 | 09 | O12_ORIGEM | C | 20 | 0 | Origem | Origen | Origin | Origem da notificação | Origen notificación | Notification Origin | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 116148 | 0 |
| O12 | 10 | O12_TPACAO | C | 1 | 0 | Tp Ação | Tp Acc | Action Type | Tipo de Ação | Tipo acción | Action Type | - | Pertence('123') | x x x x x x x x x x x x x x x x | '1' | - | 1 | x | - | - | - | N | A | R | - | - | 1=Notificação;2=Redirecionamento;3=Download | 1=Notificac;2=Redireccionam;3=Download | 1=Notification;2=Redirecting;3=Download | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 116149 | 0 |
| O12 | 11 | O12_PARAM | C | 150 | 0 | Parâmetros | Parámetros | Parameters | Parâmetros da notificação | Parámetros de notificació | Notification Parameters | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 116150 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| O12 | 1 | O12_FILIAL+O12_CODIGO | Código | Código | Code | S | - | - | S | 2 | 3 | - | 16687 | 0 |
| O12 | 2 | O12_FILIAL+O12_CODUSR+DTOS(O12_DATA)+O12_ORIGEM | Cód Usuário + Data Notific + Origem | Cód. Usuario + Fch Notific + Origen | User Code + Notif Date + Origin | S | - | - | S | 2 | 3 | - | 16688 | 0 |
Ela é utilizada para notificações totvs jurídico 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
O12_FILIAL,
O12_CODIGO,
O12_CODUSR,
O12_DATA,
O12_HORA,
O12_LIDO,
O12_ICONE,
O12_TITULO,
O12_ORIGEM,
O12_TPACAO,
O12_PARAM
FROM O12
WHERE
D_E_L_E_T_ = ' '
AND O12_FILIAL = 'VALOR'
AND O12_CODIGO = 'VALOR'
AND O12_CODUSR = 'VALOR'
AND O12_DATA BETWEEN '20260401' AND '20260430'
AND O12_HORA = 'VALOR'
AND O12_ICONE = 'VALOR'
AND O12_TITULO = 'VALOR'
AND O12_ORIGEM = 'VALOR'
AND O12_TPACAO = 'VALOR'
AND O12_PARAM = 'VALOR'