Dicionário Protheus
Início
O Poder da Hiperautomação

Tabela ACA no Protheus

Equipe de Vendas

O que é a tabela ACA no Protheus?

A tabela ACA faz parte do sistema ERP Protheus da TOTVS e é utilizada para equipe de vendas.

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 ACA 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 ACA, incluindo todos os campos e índices relacionados.

Propriedades da Tabela

Propriedade Valor
X2_CHAVE ACA
X2_PATH \DATA\
X2_ARQUIVO ACA990
X2_NOME Equipe de Vendas
X2_NOMESPA Equipo de Ventas
X2_NOMEENG Sales Team
X2_ROTINA -
X2_MODO C
X2_MODOUN E
X2_MODOEMP E
X2_DELET 0
X2_TTS -
X2_UNICO ACA_FILIAL+ACA_GRPREP
X2_PYME S
X2_MODULO 73
X2_DISPLAY ACA_GRPREP+ACA_DESCRI
X2_SYSOBJ FATA060
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_ 123
R_E_C_D_E_L_ 0

Campos da Tabela ACA (30 campos)

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_
ACA 01 ACA_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 - - - - - - - - - - 033 1 S - - N N N - - - 1 2 - - - 1672 0
ACA 02 ACA_GRPREP C 6 0 Equipe Equipo Team Nr. Equipe de Vendas Nº Equipo de ventas Sales Team Number @! ExistChav("ACA") x x x x x x x x x x x x x x x xx - - 1 xx - - - S - - - - - - - - - - - 1 S - - N N N - - - 1 1 - - - 1673 0
ACA 03 ACA_DESCRI C 30 0 Descrição Descripcion Description Descrição da Equipe Descripcion de Equipo Team Description @! NaoVazio() x x x x x x x x x x x x x x x x - - 1 x xx - - - S - - - - - - - - - - - 1 S - - N N N - - - 1 1 - - - 1674 0
ACA 04 ACA_GRPSUP C 6 0 Equipe sup. Equipo Sup. Sup Team Nr. Equipe superior Nº Equipo superior Superior Team Number @! - x x x x x x x x x x x x x x x x - - 1 x x - - - S V - - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 1675 0
ACA 05 ACA_ACCLIE C 1 0 Clientes Clientes Clients Acessa Clientes Accesa Clientes Access Clients @! Pertence( "123456789A" ) x x x x x x x x x x x x x x x x "1" - 1 x x - - - N - - - - 1=Sim;2=Não;3=Inclui,Altera,Exclui;4=Inclui,Altera;5=Inclui,Exclui;6=Altera,Exclui;7=Só inclui;8=Só altera;9=Só exclui;A=Visual 1=Si;2=No;3=Incluye,Modifica,Borrai;4=Incluye,Modifica;5=Incluye,Borra;6=Modifica,Borra;7=Solo incluye;8=Solo modifica;9= 1=Yes;2=No;3=Add,Edit,Delete;4=Add,Edit;5=Add, Delete;6=Edit,Delete;7=Only add;8=Only edit;9=Only delete;A=Visual - - - - 2 S - - N N N - - - 1 2 - - - 1676 0
ACA 06 ACA_ACPROS C 1 0 Prospects Prospects Prospects Acessa Prospects Accede a Prospects Access Prospects @! Pertence( "123456789A" ) x x x x x x x x x x x x x x x x "1" - 1 x x - - - N - - - - 1=Sim;2=Não;3=Inclui,Altera,Exclui;4=Inclui,Altera;5=Inclui,Exclui;6=Altera,Exclui;7=Só inclui;8=Só altera;9=Só exclui;A=Visual 1=Si;2=No;3=Incluye,Modifica,Borra;4=Incluye,Modifica;5=Inclui,Excluye;6=Modifica,Borra;7=Solo inclui;8=Solo modifica;9=Solo bor 1=Yes;2=No;3=Add,Edit,Delete;4=Add,Edit;5=Add,Delete;6=Edit,Delete;7=Add only;8=Change only;9=Delete only;A=Visual - - - - 2 S - - N N N - - - 1 2 - - - 1677 0
ACA 07 ACA_ACPIPE C 1 0 Funil Vendas Embudo Vent. Pipeline Acessa Funil de Vendas Accede a embudo de ventas Access Pipeline @! Pertence( "12" ) x x x x x x x x x x x x x x x x "1" - 1 x x - - - N - - - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - 2 S - - N N N - - - 1 2 - - - 1678 0
ACA 08 ACA_ACAPON C 1 0 Apontamento Apunte Registration Acessa Apontamentos Accesa apuntes Registration Access @! Pertence( "123456789A") x x x x x x x x x x x x x x x x "1" - 1 x x - - - N - - - - 1=Sim;2=Nao;3=Inclui,Altera,Exclui;4=Inclui,Altera;5=Inclui,Exclui;6=Altera,Exclui;7=So inclui;8=So altera;9=So exclui;A=Visual 1=Si;2=No;3=Incl,mod,borra;4=Incl,mod;5=Incl,borra;6=Mod,borra;7=Solo incluye;8=Solo mod;9=Solo borra;A=Visual 1=Yes;2=No;3=Add,Modify,Delete;4=Add,Modify;5=Add,Delete;6=Modify,Delete;7=Add only;8=Modify only;9=Delete only;A=Visual - - - - 2 S - - N N N - - - 1 2 - - - 1679 0
ACA 09 ACA_ACOPOR C 1 0 Oportunidade Oportunidad Opportunity Acessa Oportunidades Accede oportunidades Access Opportunities @! Pertence( "12") x x x x x x x x x x x x x x x x "1" - 1 x x - - - N - - - - 1=Sim;2=Nao 1=Sí;2=No 1=Yes;2=No - - - - 2 S - - N N N - - - 1 2 - - - 1680 0
ACA 10 ACA_ACESTR C 1 0 Estrutura Estructura Structure Acessa estrutura / vendas Accede estructura / venta Access to Sales Structure @! Pertence( "12" ) x x x x x x x x x x x x x x x x "1" - 1 xx - - - N - - - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - 2 S - - N N N - - - 1 2 - - - 1681 0
ACA 11 ACA_MODCLI C 1 0 Ac. Cliente Acc. Cliente Custom.Ac. Modo de acesso - clientes Modo de acceso - clientes Access Mode - Customers @! Pertence( "123" ) x x x x x x x x x x x x x x x x "1" - 1 x x - - - N - - - - 1=Vendedor;2=Vend./Indef.;3=Todos 1=Vendedor;2=Vend./Indef.;3=Todos 1=Sales Rep;2=Sales Rep/Undef.;3=All - - - - 2 S - - N N N - - - 1 2 - - - 1682 0
ACA 12 ACA_MODPRO C 1 0 Ac. Prospect Acc.Prospect Prospect Ac. Modo de acesso-prospects Modo de acceso-prospects Access Mode - Prospects @! Pertence( "123" ) x x x x x x x x x x x x x x x x "1" - 1 x x - - - N - - - - 1=Vendedor;2=Vend./Indef.;3=Todos 1=Vendedor;2=Vend./Indef.;3=Todos 1=Sales Rep;2=Sales Rep/Undef.;3=All - - - - 2 S - - N N N - - - 1 2 - - - 1683 0
ACA 13 ACA_MODOPO C 1 0 Ac.Oportuni. Acc. Oport. Opportun.Ac. Modo/acesso-oportunidades Modo/acceso-oportunidades Access Mode - Opport. @! Pertence( "123" ) x x x x x x x x x x x x x x x x "1" - 1 x x - - - N - - - - 1=Vendedor;2=Vend./Indef.;3=Todos 1=Vendedor;2=Vend./Indef.;3=Todos 1=Sales Rep;2=Sales Rep/Undef.;3=All - - - - 2 S - - N N N - - - 1 2 - - - 1684 0
ACA 14 ACA_MODEST C 1 0 Ac.Estrutura Acc. Estruc. Struc. Acces Modo de acesso-estrutura Modo de acceso-estructura Access Mode - Structure @! Pertence( "12" ) x x x x x x x x x x x x x x x x "1" - 1 xx - - - N - - - - 1=Vendedor;2=Total 1=Vendedor;2=Total 1=Sales Rep;2=Total - - - - 2 S - - N N N - - - 1 2 - - - 1685 0
ACA 15 ACA_TIPSUP C 3 0 Tip.Superior Tip.Superior High.Edu.Tp. Tipo do Superior Tipo del Superior Higher Education Type @! - x x x x x x x x x x x x x x x - - 1 x xx x - - - - V R - - - - - - - - - 2 S - - N N N - - - 1 2 - - - 1686 0
ACA 16 ACA_LIBORC C 1 0 Lib.Orcamen. Aprob.Presup Budget Appr. Libera orcamentos Aprueba presupuestos Budget Approval @! Pertence('12') x x x x x x x x x x x x x x x x '2' - 1 x xx x - - - - A R - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - 2 S - - N N N - - - 1 2 - - - 1687 0
ACA 17 ACA_PROPOS C 1 0 Proposta Propuesta Proposal Acessa Proposta Accede Propuesta Proposal Access @! - x x x x x x x x x x x x x x x x '2' - 1 x xx x - - - - A R - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - 2 S - - N N N - - - 1 2 - - - 1688 0
ACA 18 ACA_ACSUSP C 1 0 Suspects Suspects Suspects Acesso Suspects Accede Suspects Suspect Access @! Pertence('123456789A') x x x x x x x x x x x x x x x x '2' - 1 x xx x - - - - A R - - 1=Sim;2=Não;3=Inclui,Altera,Exclui;4=Inclui,Altera;5=Inclui,Exclui;6=Altera,Exclui;7=Só inclui;8=Só altera;9=Só exclui;A=Visual 1=Si;2=No;3=Incl.,Modif.,Borra;4=Incl.,Modif.;5=Incl.,Borra;6=Modif.,Borra;7=Solo inc.;8=Solo modif.;9=Solo borra;A=Visua 1=Yes;2=No;3=Incl.,Changes,Excl.;4=Incl.,Changes;5=Incl.,Excl.;6=Changes,Excl.;7=Only incl.;8=Only changes;9=Only excl.;A=Visual - - - - 2 S - - N N N - - - 1 2 - - - 1689 0
ACA 19 ACA_ACCONT C 1 0 Contatos Contactos Contacts Acesso de Contatos Acceden Contactos Contact Access @! Pertence('123456789A') x x x x x x x x x x x x x x x x '2' - 1 x xx x - - - - A R - - 1=Sim;2=Não;3=Inclui,Altera,Exclui;4=Inclui,Altera;5=Inclui,Exclui;6=Altera,Exclui;7=Só inclui;8=Só altera;9=Só exclui;A=Visual 1=Si;2=No;3=Incl.,Modif.,Borra;4=Incl.,Modif.;5=Incl.,Borra;6=Modif.,Borra;7=Solo inc.;8=Solo modif.;9=Solo borra;A=Visua 1=Yes;2=No;3=Incl.,Changes,Excl.;4=Incl.,Changes;5=Incl.,Excl.;6=Changes,Excl.;7=Only incl.;8=Only changes;9=Only excl.;A=Visual - - - - 2 S - - N N N - - - 1 2 - - - 1690 0
ACA 20 ACA_ACMETA C 1 0 Metas de Ven Metas de Ven Sales Goals Acesso Metas de Vendas Acceso Metas de Ventas Sales Goals Access @! Pertence('123456789A') x x x x x x x x x x x x x x x x '2' - 1 x xx x - - - - A R - - 1=Sim;2=Não;3=Inclui,Altera,Exclui;4=Inclui,Altera;5=Inclui,Exclui;6=Altera,Exclui;7=Só inclui;8=Só altera;9=Só exclui;A=Visual 1=Si;2=No;3=Incl.,Modif.,Borra;4=Incl.,Modif.;5=Incl.,Borra;6=Modif.,Borra;7=Solo inc.;8=Solo modif.;9=Solo borra;A=Visua 1=Yes;2=No;3=Incl.,Changes,Excl.;4=Incl.,Changes;5=Incl.,Excl.;6=Changes,Excl.;7=Only incl.;8=Only changes;9=Only excl.;A=Visual - - - - 2 S - - N N N - - - 1 2 - - - 1691 0
ACA 21 ACA_ACPROD C 1 0 Produtos Productos Products Acessa Produtos Acceder Productos Product Access @! Pertence('123456789A') x x x x x x x x x x x x x x x x '2' - 1 x xx x - - - - A R - - 1=Sim;2=Não;3=Inclui,Altera,Exclui;4=Inclui,Altera;5=Inclui,Exclui;6=Altera,Exclui;7=Só inclui;8=Só altera;9=Só exclui;A=Visual 1=Si;2=No;3=Incl.,Modif.,Borra;4=Incl.,Modif.;5=Incl.,Borra;6=Modif.,Borra;7=Solo incl.;8=Solo modif.;9=Solo borra;A=Visual 1=Yes;2=No;3=Incl.,Changes,Excl.;4=Incl.,Changes;5=Incl.,Excl.;6=Changes,Excl.;7=Only incl.;8=Only changes;9=Only excl.;A=Visual - - - - 2 S - - N N N - - - 1 2 - - - 1692 0
ACA 22 ACA_SCRIPT C 1 0 Exec.Scripts Ejec.Script Script Exec. Exec. Scripts na WorkArea Ejec. Scripts en WorkArea Script Exec. in WorkArea @! Pertence('12') x x x x x x x x x x x x x x x x '2' - 1 x xx x - - - - A R - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - 2 S - - N N N - - - 1 2 - - - 1693 0
ACA 23 ACA_QUASUS C 1 0 Qual.Suspect Cal. Suspect Qual.Suspect Qualificar Suspect Calificar Suspect Qualify Suspect @! Pertence('12') x x x x x x x x x x x x x x x x "2" - 1 xx - - - N A R - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - 2 S - - N N N - - - 1 2 - - - 1694 0
ACA 24 ACA_PDSCMX N 6 2 % Max Desc % Max Desc Max Disc % Percentual máx desconto Porcentaje max descuento Maximum Discount Perc. @E 999.99 Positivo() x x x x x x x x x x x x x x x x - - 1 x - - - N A R - - - - - - - - - 3 S - - N N N - - - 1 2 - - - 1695 0
ACA 25 ACA_VDSCMX N 8 2 Vlr.Max.Desc Vlr.Max.Desc Max Disc Vl Valor máx desconto Valor max descuento Maximum Discount Value @E 99,999.99 Positivo() x x x x x x x x x x x x x x x x - - 1 x - - - N A R - - - - - - - - - 3 S - - N N N - - - 1 2 - - - 1696 0
ACA 26 ACA_PACRMX N 6 2 % Max Acr % Max Aum Max Incr % Percentual máx. acréscimo Porcentaje max. aumento Maximum Increase Perc. @E 999.99 Positivo() x x x x x x x x x x x x x x x x - - 1 x - - - N A R - - - - - - - - - 3 S - - N N N - - - 1 2 - - - 1697 0
ACA 27 ACA_VACRMX N 8 2 Vlr.Max.Acr Vlr.Max.Aum Max Incr Vl Valor máx acréscimo Valor max aumento Maximum Increase Value @E 99,999.99 Positivo() x x x x x x x x x x x x x x x x - - 1 x - - - N A R - - - - - - - - - 3 S - - N N N - - - 1 2 - - - 1698 0
ACA 28 ACA_USRESP C 6 0 Usuário Res. Usuário Res. User Respons Usuário Responsável Usuario responsable User Responsible @! - x x x x x x x x x x x x x x x x - AO3 1 xx - S - - A R - - - - - - - - - - S - - N - N - - - 1 2 - - - 1699 0
ACA 29 ACA_NOMUSR C 30 0 Nome Usuário Nom. Usuario User Name Nome do Usuário Nombre del usuario Name of User @! - x x x x x x x x x x x x x x x x IIF(!INCLUI,USRRETNAME(FwFldGet("ACA_USRESP")),"") - 1 x x xx - - - - V V - - - - - - - USRRETNAME(ACA->ACA_USRESP) - - S - - N - N - - - 1 2 - - - 1700 0
ACA 30 ACA_MSBLQL C 1 0 Status Estatus Status Status do registro Estatus del registro Register Status @! Pertence("12") x x x x x x x x x x x x x x x x "2" - 1 x - - - - A R - - 1=Inativo;2=Ativo 1=Inactivo;2=Activo 1=Inactive;2=Active - - - - 1 S - - N - N - - - 1 2 - - - 1701 0

Índices da Tabela ACA (3 índices)

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_
ACA 1 ACA_FILIAL+ACA_GRPREP Equipe Equipo Team S ACA - S 2 3 - 271 0
ACA 2 ACA_FILIAL+ACA_GRPSUP Equipe sup. Equipo Sup. Sup Team S ACA - S 2 3 - 272 0
ACA 3 ACA_FILIAL+ACA_DESCRI Descrição Descripcion Description S - - S 2 3 - 273 0

Perguntas frequentes

Para que serve a tabela ACA no Protheus?

Ela é utilizada para equipe de vendas dentro do sistema ERP Protheus.

Como consultar os campos da tabela ACA?

Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.

O que são os índices da tabela ACA?

Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.

Exemplo de consulta SQL da tabela ACA

Modelo de query gerado automaticamente com base na estrutura da tabela.

SELECT
    ACA_FILIAL,
    ACA_GRPREP,
    ACA_DESCRI,
    ACA_GRPSUP,
    ACA_ACCLIE,
    ACA_ACPROS,
    ACA_ACPIPE,
    ACA_ACAPON,
    ACA_ACOPOR,
    ACA_ACESTR,
    ACA_MODCLI,
    ACA_MODPRO,
    ACA_MODOPO,
    ACA_MODEST,
    ACA_TIPSUP,
    ACA_LIBORC,
    ACA_PROPOS,
    ACA_ACSUSP,
    ACA_ACCONT,
    ACA_ACMETA,
    ACA_ACPROD,
    ACA_SCRIPT,
    ACA_QUASUS,
    ACA_PDSCMX,
    ACA_VDSCMX,
    ACA_PACRMX,
    ACA_VACRMX,
    ACA_USRESP,
    ACA_NOMUSR,
    ACA_MSBLQL
FROM ACA
WHERE
    D_E_L_E_T_ = ' '
    AND ACA_FILIAL = 'VALOR'
    AND ACA_GRPREP = 'VALOR'
    AND ACA_DESCRI = 'VALOR'
    AND ACA_GRPSUP = 'VALOR'
    AND ACA_ACCLIE = 'VALOR'
    AND ACA_ACPROS = 'VALOR'
    AND ACA_ACPIPE = 'VALOR'
    AND ACA_ACAPON = 'VALOR'
    AND ACA_ACOPOR = 'VALOR'
    AND ACA_ACESTR = 'VALOR'
    AND ACA_MODCLI = 'VALOR'
    AND ACA_MODPRO = 'VALOR'
    AND ACA_MODOPO = 'VALOR'
    AND ACA_MODEST = 'VALOR'
    AND ACA_TIPSUP = 'VALOR'
    AND ACA_LIBORC = 'VALOR'
    AND ACA_PROPOS = 'VALOR'
    AND ACA_ACSUSP = 'VALOR'
    AND ACA_ACCONT = 'VALOR'
    AND ACA_ACMETA = 'VALOR'
    AND ACA_ACPROD = 'VALOR'
    AND ACA_SCRIPT = 'VALOR'
    AND ACA_QUASUS = 'VALOR'
    AND ACA_PDSCMX = 0
    AND ACA_VDSCMX = 0
    AND ACA_PACRMX = 0
    AND ACA_VACRMX = 0
    AND ACA_USRESP = 'VALOR'
    AND ACA_NOMUSR = 'VALOR'
    AND ACA_MSBLQL = 'VALOR'