Campanhas Rápidas
A tabela AOC faz parte do sistema ERP Protheus da TOTVS e é utilizada para campanhas rápidas.
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 AOC 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 AOC, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | AOC |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | AOC990 |
| X2_NOME | Campanhas Rápidas |
| X2_NOMESPA | Campanas Rapidas |
| X2_NOMEENG | Quick Campaigns |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | AOC_FILIAL+AOC_CODIGO |
| X2_PYME | S |
| X2_MODULO | 73 |
| X2_DISPLAY | - |
| X2_SYSOBJ | CRMA250 |
| 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_ | 480 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AOC | 01 | AOC_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 | - | - | - | - | - | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 6447 | 0 |
| AOC | 02 | AOC_CODIGO | C | 6 | 0 | Código | Codigo | Code | Código da Campanha Rápida | Codigo de Campana Rapida | Quick Campaign Code | @! | - | x x x x x x x x x x x x x x x x | GETSX8NUM("AOC","AOC_CODIGO") | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 111 | 1 | 2 | - | - | - | 6448 | 0 |
| AOC | 03 | AOC_DESCAM | C | 30 | 0 | Nome | Nombre | Name | Nome da Campanha Rápida | Nombre de Campana Rapida | Quick Campaign Name | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 111 | 1 | 2 | - | - | - | 6449 | 0 |
| AOC | 04 | AOC_DESCRI | M | 10 | 0 | Descrição | Descripcion | Description | Descrição da Camp.Rápida | Descripcion Camp.Rapida | Quick Campaign Desc. | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 111 | 1 | 2 | - | - | - | 6450 | 0 |
| AOC | 05 | AOC_DTCAD | D | 8 | 0 | Dt.Cadastr | Fc.Registro | Reg. Date | Data de Cadastro | Fecha de Registro | Registration Date | - | - | x x x x x x x x x x x x x x x x | MSDATE() | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 111 | 1 | 2 | - | - | - | 6451 | 0 |
| AOC | 06 | AOC_HRCAD | C | 5 | 0 | Hr.Cadastr | Hr.Registro | Reg. Time | Hora de Cadastro | Hora de Registro | Registration Time | 99:99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 111 | 1 | 2 | - | - | - | 6452 | 0 |
| AOC | 07 | AOC_LISTMK | C | 6 | 0 | Cod. Lista | Cod. Lista | List Code | Cod. Lista de Marketing | Cod. Lista de Marketing | Marketing List Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 111 | 1 | 2 | - | - | - | 6453 | 0 |
| AOC | 08 | AOC_LISTDE | C | 60 | 0 | Descrição | Descripcion | Description | Desc. Lista de Marketing | Desc. Lista de Marketing | Marketing List Desc. | @! | - | x x x x x x x x x x x x x x x x | Posicione("SU4",1,xFilial("SU4") + AOC->AOC_LISTMK, "U4_DESC") | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 111 | 1 | 2 | - | - | - | 6454 | 0 |
| AOC | 09 | AOC_CHVLST | C | 30 | 0 | Chave | Clave | Key | Chave Lista de Marketing | Clave Lista de Marketing | Marketing List Key | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 111 | 1 | 2 | - | - | - | 6455 | 0 |
| AOC | 10 | AOC_QTDE | N | 3 | 0 | Quantidade | Cantidad | Quantity | Quantidade de Atividades | Cantidad de Actividades | Number of Activities | @E 999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 222 | 1 | 2 | - | - | - | 6456 | 0 |
| AOC | 11 | AOC_OPORTU | N | 3 | 0 | Oportunid. | Oportunid. | Opportunity | Qtde de Oportunidades | Ctd de Oportunidades | Number of Opportunities | @E 999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 222 | 1 | 2 | - | - | - | 6457 | 0 |
| AOC | 12 | AOC_SUSPEC | N | 3 | 0 | Suspects | Suspects | Suspects | Quantidade de Suspects | Cantidad de Suspects | Number of Suspects | @E 999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 222 | 1 | 2 | - | - | - | 6458 | 0 |
| AOC | 13 | AOC_PROSPE | N | 3 | 0 | Prospects | Prospects | Prospects | Qtde de Prospects | Ctd de Prospects | Number of Prospects | @E 999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 222 | 1 | 2 | - | - | - | 6459 | 0 |
| AOC | 14 | AOC_DESQUA | N | 3 | 0 | Desqualific. | Descalific. | Disqualified | Qtde de Desqualificados | Ctd de Descalificados | Disqualified Qty. | @E 999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 222 | 1 | 2 | - | - | - | 6460 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AOC | 1 | AOC_FILIAL+AOC_CODIGO | Código | Codigo | Code | S | - | - | S | 2 | 3 | - | 1167 | 0 |
Ela é utilizada para campanhas rápidas 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.