Histórico de Arquivos DMED
A tabela B2U faz parte do sistema ERP Protheus da TOTVS e é utilizada para histórico de arquivos dmed.
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 B2U 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 B2U, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | B2U |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | B2U990 |
| X2_NOME | Histórico de Arquivos DMED |
| X2_NOMESPA | Historial archivos DMED |
| X2_NOMEENG | DMED File History |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | B2U_FILIAL+B2U_CODOPE+B2U_CODOBR+B2U_ANOCMP+B2U_CDCOMP+B2U_REFERE+B2U_ANOCAL+B2U_NOMARQ+B2U_STATUS |
| 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_ | 677 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| B2U | 01 | B2U_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 | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 9291 | 0 |
| B2U | 02 | B2U_CODOPE | C | 6 | 0 | Operadora | Operadora | Operator | Código Operadora ANS | Código operadora ANS | ANS Operator Code | @! | - | x x x x x x x x x x x x x x x x x | IIF(INCLUI,B3D->B3D_CODOPE,"") | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 9292 | 0 |
| B2U | 03 | B2U_CODOBR | C | 3 | 0 | Cod.Obrig. | Cód.Oblig. | Duty Code | Código da Obrigação | Código de la obligación | Duty Code | @! | - | x x x x x x x x x x x x x x x x x | IIF(INCLUI,B3D->B3D_CDOBRI,"") | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 9293 | 0 |
| B2U | 04 | B2U_ANOCMP | C | 4 | 0 | Ano Compro. | Año Compro. | Commit year | Ano do Compromisso | Año del compromiso | Commitment year | @! | - | x x x x x x x x x x x x x x x x x | IIF(INCLUI,B3D->B3D_ANO,"") | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 9294 | 0 |
| B2U | 05 | B2U_CDCOMP | C | 3 | 0 | Cod.Compro. | Cód.Compro. | Commit Code | Código do Compromisso | Código del compromiso | Commitment Code | @! | - | x x x x x x x x x x x x x x x x x | IIF(INCLUI,B3D->B3D_CODIGO,"") | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 9295 | 0 |
| B2U | 06 | B2U_REFERE | C | 2 | 0 | Referência | Referencia | Reference | Referência | Referencia | Reference | @! | - | x x x x x x x x x x x x x x x x x | B3DRefere() | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 9296 | 0 |
| B2U | 07 | B2U_ANOCAL | C | 4 | 0 | Ano Calend. | Año Calend. | Calend Year | Ano Calendário | Año calendario | Calendar Year | @! | - | x 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 | - | - | - | 9297 | 0 |
| B2U | 08 | B2U_NUMREC | C | 12 | 0 | Num. Recibo | Nº Recibo | Rec No. | Número do Recibo | Número del recibo | Receipt Number | 999999999999 | - | 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 | - | - | - | 9298 | 0 |
| B2U | 09 | B2U_RECRET | C | 12 | 0 | Rec.Arq.Reti | Rec.Arch.Rec | Rect.File | Recibo Arquivo Retificado | Recibo archivo rectificad | Rectified File Receipt | 999999999999 | - | 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 | - | - | - | 9299 | 0 |
| B2U | 10 | B2U_DATARQ | D | 8 | 0 | Data Arquivo | Fch Archivo | File Date | Data Arquivo | Fch Archivo | File Date | - | - | x 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 | - | - | - | 9300 | 0 |
| B2U | 11 | B2U_HORARQ | C | 8 | 0 | Hora Inc. | Hora Inc. | Add.Time | Hora Inclusão | Hora de inclusión | Addition Time | - | - | x x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 9301 | 0 |
| B2U | 12 | B2U_NOMARQ | C | 60 | 0 | Nome Arquivo | Nombre archi | File name | Nome Arquivo | Nombre archivo | File name | @! | - | x 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 | - | - | - | 9302 | 0 |
| B2U | 13 | B2U_STATUS | C | 1 | 0 | Status | Estatus | Status | Status | Estatus | Status | - | Pertence('12345') | x x x x x x x x x x x x x x x x x | '1' | - | 1 | x | - | - | - | S | V | R | - | - | 1=Pdte Recibo;2=Concluido;3=Retificado; | 1=Pdte Recibo;2=Concluido;3=Rectificado | 1=Pdte Receipt;2=Concluded;3=Rectified; | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 9303 | 0 |
| B2U | 14 | B2U_USRDEL | C | 50 | 0 | Usr. Deletou | Usuar. Borra | User deleted | Usr que deletou o arquivo | Usuario que borró el arch | User deleting the file | @! | - | x x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 9304 | 0 |
| B2U | 15 | B2U_DTHDEL | C | 17 | 0 | DHr. Deleção | FHr. Borrado | Del.Time | Data/Hora deleção arquivo | Fecha/Hora borrado archiv | File deletion date/time | @! | - | x x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 9305 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| B2U | 1 | B2U_FILIAL+B2U_CODOPE+B2U_CODOBR+B2U_ANOCMP+B2U_CDCOMP+B2U_REFERE+B2U_ANOCAL+B2U_NOMARQ+B2U_STATUS | Operadora + Cod.Obrig. + Ano Compro. + Cod.Compro. + Referência + Ano | Operadora + Cód.Oblig. + Año Compro. + Cód.Compro. + Referencia + Año | Operator + Duty Code + Commit year + Commit Code + Reference + Calend | S | - | - | S | 2 | 3 | - | 1546 | 0 |
Ela é utilizada para histórico de arquivos dmed 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.