Motoristas Progr Carregamento
A tabela DLS faz parte do sistema ERP Protheus da TOTVS e é utilizada para motoristas progr carregamento.
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 DLS 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 DLS, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | DLS |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | DLS990 |
| X2_NOME | Motoristas Progr Carregamento |
| X2_NOMESPA | Conductores Progr. Cargamento |
| X2_NOMEENG | Loading Progr. Drivers |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | DLS_FILIAL+DLS_FILORI+DLS_NUMPRG+DLS_ITEDF8+DLS_CODMOT |
| X2_PYME | S |
| X2_MODULO | 43 |
| 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_ | 3408 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DLS | 01 | DLS_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 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52532 | 0 |
| DLS | 02 | DLS_FILORI | C | 2 | 0 | Fil. Origem | Suc. Origen | Origin Branc | Filial de origem | Sucursal de origen | Origin branch | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52533 | 0 |
| DLS | 03 | DLS_NUMPRG | C | 6 | 0 | Prg Carregto | Prg Cargamen | Loading Sche | Programação carregamento | Programación cargamento | Loading Schedule | @! | TMSA146Vld() | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52534 | 0 |
| DLS | 04 | DLS_ITEDF8 | C | 3 | 0 | Seq.Progr. | Sec.Progr. | Sched Seq | Seq. Progr. Carregamento | Sec. Progr. Carga | Loading Sched Sequence | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52535 | 0 |
| DLS | 05 | DLS_CODVEI | C | 8 | 0 | Cod. Veiculo | Cód. Vehícul | Vehicle Code | Código do veiculo | Código del vehículo | Vehicle Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52536 | 0 |
| DLS | 06 | DLS_CODMOT | C | 6 | 0 | Motorista | Conductor | Driver | Codigo do motorista | Código del conductor | Code of Driver | @! | Vazio() .Or. (ExistCpo("DA4") .And. TA240VlMot()) | x x x x x x x x x x x x x x x x | - | DTO | 1 | x x xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52537 | 0 |
| DLS | 07 | DLS_NOMMOT | C | 40 | 0 | Motorista | Conductor | Driver | Nome do motorista | Nombre del conductor | Driver's name | @! | - | x x x x x x x x x x x x x x x x | If(Inclui,"",Posicione("DA4",1,xFilial("DA4")+DLS->DLS_CODMOT,"DA4_NOME")) | - | 1 | x x xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("DA4",1,xFilial("DA4")+DLS->DLS_CODMOT,"DA4_NOME") | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52538 | 0 |
| DLS | 08 | DLS_TIPMOT | C | 1 | 0 | Tp.Motorista | Tp.Conductor | Driver Type | Tipo do motorista | Tipo do conductor | Driver Type | @! | Pertence("123") | x x x x x x x x x x x x x x x x | If(Inclui,"",Posicione("DA4",1,xFilial("DA4")+DLS->DLS_CODMOT,"DA4_TIPMOT")) | - | 1 | x x xx | - | - | - | N | A | R | - | - | 1=Proprio;2=Terceiro;3=Agregado | 1=Propio;2=Tercero;3=Agregado | 1=Own;2=3rd Party;3=At 3rd Party | - | - | Posicione("DA4",1,xFilial("DA4")+DLS->DLS_CODMOT,"DA4_TIPMOT") | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52539 | 0 |
| DLS | 09 | DLS_CONDUT | C | 1 | 0 | Tp. Condutor | Tp. Conducto | Driver Tp | Tipo do condutor | Tipo del conductor | Driver Type | @! | Pertence("12") | x x x x x x x x x x x x x x x x | "1" | - | 1 | x x xx | - | - | - | N | A | R | - | - | 1=Principal;2=Auxiliar | 1=Principal;2=Auxiliar | ‘ | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52540 | 0 |
| DLS | 10 | DLS_FORADT | C | 1 | 0 | Meio Pg.Adto | Medio Pg.Adt | Adv Paym Mth | Meio Pagto. Adiantamento | Medio Pago. Anticipo | Advance Payment Method | @! | Pertence("12") | x x x x x x x x x x x x x x x x | "1" | - | 1 | x x xx | - | - | - | N | A | R | - | - | 1=Cartao;2=Conta Deposito | 1=Tarjeta;2=Cta Depósito | 1=Card;2=Deposit | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52541 | 0 |
| DLS | 11 | DLS_FORPAG | C | 1 | 0 | Meio Pg.Frt. | Medio Pg.Frt | Frt Paym Mth | Meio de pagamento do fret | Medio de pago del flete | Freight payment method | @! | Pertence("012") | x x x x x x x x x x x x x x x x | - | - | 1 | x x xx | - | - | - | N | A | R | - | - | 0=Não Utiliza;1=Cartao;2=Conta Deposito | 0=No utiliza;1=Tarjeta;2=Cuenta Depósitosito | 0=Not used;1=Card;2=Deposit | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52542 | 0 |
| DLS | 12 | DLS_IDOPE | C | 20 | 0 | ID.Motorista | ID.Conductor | Driver ID | ID do motorista | ID del conductor | Driver ID | @! | - | x x x x x x x x x x x x x x x x | - | DDQDEL | 1 | x x xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52543 | 0 |
| DLS | 13 | DLS_TPSPDG | C | 1 | 0 | Tp Pgt Pedag | Tp Pag Peaje | Tp Toll Paym | Tipo Pagamento Pedagio | Tipo de pago peaje | Type Toll Payment | @! | - | x x x x x x x x x x x x x x x x | - | MR | 1 | x x xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52544 | 0 |
| DLS | 14 | DLS_QTDTRA | N | 2 | 0 | Qtd. Transfe | Cant. Transf | Amt Transfer | Qtd. Transferências | Cant. Transferencias | Transfer Qty. | 99 | - | x x x x x x x x x x x x x x x x | 4 | - | 1 | x x xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52545 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DLS | 1 | DLS_FILIAL+DLS_FILORI+DLS_NUMPRG+DLS_ITEDF8+DLS_CODMOT | Fil. Origem + Prg Carregto + Seq.Progr. + Motorista | Suc. Origen + Prg Cargamen + Sec.Progr. + Conductor | Origin Branc + Loading Sche + Sched Seq + Driver | S | - | - | S | 2 | 3 | - | 8093 | 0 |
Ela é utilizada para motoristas progr carregamento 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
DLS_FILIAL,
DLS_FILORI,
DLS_NUMPRG,
DLS_ITEDF8,
DLS_CODVEI,
DLS_CODMOT,
DLS_NOMMOT,
DLS_TIPMOT,
DLS_CONDUT,
DLS_FORADT,
DLS_FORPAG,
DLS_IDOPE,
DLS_TPSPDG,
DLS_QTDTRA
FROM DLS
WHERE
D_E_L_E_T_ = ' '
AND DLS_FILIAL = 'VALOR'
AND DLS_FILORI = 'VALOR'
AND DLS_NUMPRG = 'VALOR'
AND DLS_ITEDF8 = 'VALOR'
AND DLS_CODVEI = 'VALOR'
AND DLS_CODMOT = 'VALOR'
AND DLS_NOMMOT = 'VALOR'
AND DLS_TIPMOT = 'VALOR'
AND DLS_CONDUT = 'VALOR'
AND DLS_FORADT = 'VALOR'
AND DLS_FORPAG = 'VALOR'
AND DLS_IDOPE = 'VALOR'
AND DLS_TPSPDG = 'VALOR'
AND DLS_QTDTRA = 0