CTB PLS - Lanctos Deb/Cred
A tabela BB5 faz parte do sistema ERP Protheus da TOTVS e é utilizada para ctb pls - lanctos deb/cred.
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 BB5 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 BB5, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | BB5 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | BB5990 |
| X2_NOME | CTB PLS - Lanctos Deb/Cred |
| X2_NOMESPA | CTB PLS - Asientos Deb/Cred |
| X2_NOMEENG | CTB PLS - Deb/Cred Entries |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | BB5_FILIAL+BB5_CODLAN+BB5_TIPPRE+BB5_COPCRE+BB5_CONREG |
| X2_PYME | N |
| X2_MODULO | 33 |
| 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_ | 973 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BB5 | 01 | BB5_FILIAL | C | 2 | 0 | Filial | SUCURSAL | BRANCH | Filial | SUCURSAL | BRANCH | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14679 | 0 |
| BB5 | 02 | BB5_CODLAN | C | 3 | 0 | Cod.Lancto | Cod.Registro | Entry Cd. | Codigo do Lancamento | Codigo del Registro | Entry Code | @! | PlsSeek("BBB",1,M->BB5_CODLAN) | x x x x x x x x x x x x x x x x | - | BBBPLS | 1 | xxx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 14680 | 0 |
| BB5 | 03 | BB5_DESLAN | C | 60 | 0 | Desc.Lancto | Desc.Registr | Entry Desc. | Descr.Lancamento | Descr.Registro | Entry Description | @! | - | x x x x x x x x x x x x x x x x | IIf(INCLUI,'',Posicione('BBB',1,xFilial('BBB')+BB5->BB5_CODLAN,'BBB_DESCRI')) | - | 1 | xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione('BBB',1,xFilial('BBB')+BB5->BB5_CODLAN,'BBB_DESCRI') | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14681 | 0 |
| BB5 | 04 | BB5_TIPPRE | C | 3 | 0 | Classe RDA | Clase RDA | RDA Class | Classe RDA | Clase RDA | RDA Class | @! | ExistCpo('BAG') | x x x x x x x x x x x x x x x x | - | B42PLS | 1 | xx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14682 | 0 |
| BB5 | 05 | BB5_DESPRE | C | 60 | 0 | Desc.Classe | Desc.Clase | Class Desc. | Descr.Classe RDA | Descr.Clase RDA | RDA Class Description | @! | - | x x x x x x x x x x x x x x x x | IIf(INCLUI,'',Posicione('BAG',1,xFilial('BAG')+BB5->BB5_TIPPRE,'BAG_DESCRI')) | - | 1 | xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione('BAG',1,xFilial('BAG')+BB5->BB5_TIPPRE,'BAG_DESCRI') | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14683 | 0 |
| BB5 | 06 | BB5_COPCRE | C | 1 | 0 | Tp Prestador | Tp Prestador | Provid. Tp. | Tp Prestador | Tp Prestador | Provider Type | @! | Pertence('1234') | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | S | A | R | - | - | 1=Prestador;2=Credenciado/Contratualizado;3=Funcionario;4=Não Prestador | 1=Prestador;2=Acreditado/Contractualizado;3=Empleado;4=No prestador | 1=Provider;2=Accredited/Contracted;3=Employee;4=Not Provider | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 14684 | 0 |
| BB5 | 07 | BB5_CONREG | C | 10 | 0 | N.o Con.Reg. | N.o Con.Reg. | Reg.Coun.Nr | Num.no Conselho Regional | Num.en Consejo Regional | Regional Council Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14685 | 0 |
| BB5 | 08 | BB5_CCRED | C | 20 | 0 | Cta.Contabil | Cta.Contable | Ledger Acc. | Cta.Contabil | Cta.Contable | Ledger Account | @! | ExistCpo('CT1').or.Vazio() | x x x x x x x x x x x x x x x x | - | CT1 | 1 | xx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | 003 | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14686 | 0 |
| BB5 | 09 | BB5_DCCRED | C | 60 | 0 | Desc.Conta | Desc.Cuenta | Acc. Descr. | Desc.Conta Contabil | Desc.Conta Contable | Ledger Account Descrip. | @! | - | x x x x x x x x x x x x x x x x | IIf(INCLUI,'',Posicione('CT1',1,xFilial('CT1')+BB5->BB5_CCRED,'CT1_DESC01')) | - | 1 | xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione('CT1',1,xFilial('CT1')+BB5->BB5_CCRED,'CT1_DESC01') | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 14687 | 0 |
| BB5 | 10 | BB5_CDEB | C | 20 | 0 | Cta Cont Deb | Cta Cont Deb | Deb Ledg Acc | Conta Contabil | Cuenta contable | Account Ledger | @! | ExistCpo('CT1').or.Vazio() | x x x x x x x x x x x x x x x x | - | CT1 | 1 | xx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | 003 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14688 | 0 |
| BB5 | 11 | BB5_DCDEB | C | 60 | 0 | Desc.Conta | Desc.Cuenta | Led Acc Des | Desc.Conta Contabil | Descrip.Cuenta Contable | Account Ledger Descript | - | - | x x x x x x x x x x x x x x x x | IIF(INCLUI,'',Posicione('CT1',1,xFilial('CT1')+BB5->BB5_CDEB,'CT1_DESC01')) | - | 1 | xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione('CT1',1,xFilial('CT1')+BB5->BB5_CDEB,'CT1_DESC01') | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 14689 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BB5 | 1 | BB5_FILIAL+BB5_CODLAN+BB5_TIPPRE+BB5_COPCRE+BB5_CONREG | Cod.Lancto + Classe RDA + Tp Prestador + N.o Con.Reg. | Cod.Registro + Clase RDA + Tp Prestador + N.o Con.Reg. | Entry Cd. + RDA Class + Provid. Tp. + Reg.Coun.Nr | S | Cod.Lancto+Classe RDA+Tp Prestador | - | S | 2 | 3 | - | 2235 | 0 |
Ela é utilizada para ctb pls - lanctos deb/cred 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.