Cadastro de Taxas
A tabela G57 faz parte do sistema ERP Protheus da TOTVS e é utilizada para cadastro de taxas.
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 G57 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 G57, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | G57 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | G57990 |
| X2_NOME | Cadastro de Taxas |
| X2_NOMESPA | Archivo de tasas |
| X2_NOMEENG | Rate register |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | G57_FILIAL+G57_NUMMOV+G57_SERIE+G57_SUBSER+G57_NUMCOM+G57_CODIGO+G57_TIPO |
| X2_PYME | N |
| X2_MODULO | 88 |
| X2_DISPLAY | G57_DESCRI |
| X2_SYSOBJ | GTPA117 |
| 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_ | 4668 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G57 | 01 | G57_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 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 75385 | 0 |
| G57 | 02 | G57_CODIGO | C | 6 | 0 | Código | Codigo | Code | Código | Código | Code | @! | - | x x x x x x x x x x x x x x x x | - | GIIFIL | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75386 | 0 |
| G57 | 03 | G57_DESCRI | C | 30 | 0 | Descricao | Descripcion | Description | Descrição Agência | Descripción Agencia | Branch description | @! | - | 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 | - | - | - | 75387 | 0 |
| G57 | 04 | G57_SERIE | C | 3 | 0 | Série | Serie | Series | Série | Serie | Series | @! | - | x x x x x x x x x x x x x x x x | - | GIIFIL | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75388 | 0 |
| G57 | 05 | G57_SUBSER | C | 3 | 0 | Sub Serie | Sub Serie | Sub-series | Sub Serie | Sub Serie | Sub-series | @! | - | x x x x x x x x x x x x x x x x | - | GIIFIL | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75389 | 0 |
| G57 | 06 | G57_NUMCOM | C | 3 | 0 | Num. Complem | Núm. Complem | Compl no. | Numero de Complemento | Nùmero de complemento | Complement number | @! | - | x x x x x x x x x x x x x x x x | - | GIIFIL | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75390 | 0 |
| G57 | 07 | G57_AGENCI | C | 6 | 0 | Cód. Agência | Cód. Agencia | Branch code | Código da Agência | Código de la agencia | Branch code | @! | ExistCpo("GI6") | x x x x x x x x x x x x x x x x | - | GI6 | 1 | x | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75391 | 0 |
| G57 | 08 | G57_EMISSA | D | 8 | 0 | Dt. Emissão | Fch Emisión | Issue dt | Data de Emissão | Fecha de emisión | Issue date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75392 | 0 |
| G57 | 09 | G57_LOCORI | C | 6 | 0 | Loc. Origem | Lug. Origen | Orig loc | Local de Origem | Lugar de origen | Origin location | @! | ExistCpo("GI1") | x x x x x x x x x x x x x x x x | - | GI1 | 1 | x | - | S | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75393 | 0 |
| G57 | 10 | G57_NLOCOR | C | 40 | 0 | Local Origem | Lugar Origen | Orig loc | Local de Origem | Lugar de origen | Origin location | @! | - | 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 | 1 | - | - | - | 75394 | 0 |
| G57 | 11 | G57_LOCDES | C | 6 | 0 | Cod.Loc.Des. | Cód.Lug.Des. | Dest loc cd | Local de Destino | Lugar de destino | Destinantion location | @! | ExistCpo("GI1") | x x x x x x x x x x x x x x x x | - | GI1 | 1 | x | - | S | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75395 | 0 |
| G57 | 12 | G57_NLOCDE | C | 40 | 0 | Local Destin | Lugar Destin | Dest loc | Local de Destino | Lugar de destino | Destination location | @! | - | 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 | 1 | - | - | - | 75396 | 0 |
| G57 | 13 | G57_EMISSO | C | 6 | 0 | Emissor | Emisor | Issuer | Emissor | Emisor | Issuer | @! | ExistCpo("GYG") | x x x x x x x x x x x x x x x x | - | GYG | 1 | x | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75397 | 0 |
| G57 | 14 | G57_NEMISS | C | 40 | 0 | Nome Emissor | Nomb Emisor | Issuer name | Nome do Emissor | Nombre del emisor | Issuer name | @! | - | 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 | 1 | - | - | - | 75398 | 0 |
| G57 | 15 | G57_VALOR | N | 9 | 2 | Valor | Valor | Value | Valor | Valor | Value | @E 999,999.99 | Positivo() | 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 | - | - | - | 75399 | 0 |
| G57 | 16 | G57_TIPO | C | 6 | 0 | Tipo | Tipo | Type | Tipo de Taxa | Tipo de tasa | Rate type | @! | - | x x x x x x x x x x x x x x x x | - | GYA | 1 | x x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75400 | 0 |
| G57 | 17 | G57_NUMFCH | C | 10 | 0 | Núm. Ficha | Núm. Ficha | Form no. | Número da Ficha | Número de la ficha | Form number | @! | - | 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 | 1 | - | - | - | 75401 | 0 |
| G57 | 18 | G57_VALACE | N | 9 | 2 | Vlr. Acerto | Vlr. Ajuste | Adj val | Valor de Acerto | Valor de ajuste | Adjustment value | @E 999,999.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 | - | - | - | 1 | 1 | - | - | - | 75402 | 0 |
| G57 | 19 | G57_CODDT | C | 12 | 0 | Cód. Dem. Tx | Cód. Comp Ts | Rt stat code | Código Demonstrativo Taxa | Código Comprobante Tasa | Rate statement 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 | - | - | - | 1 | 1 | - | - | - | 75403 | 0 |
| G57 | 20 | G57_NUMMOV | C | 12 | 0 | Num.Movim. | Núm.Movim. | Transac no. | Numero do Movimento | Número del movimiento | Transaction number | @! | - | 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 | - | - | - | 75404 | 0 |
| G57 | 21 | G57_CONFER | C | 1 | 0 | Conferência? | Verificación | Checking? | Status da Conferência? | ¿Estatus de verificación? | Checking Status? | @! | Pertence('123') | x x x x x x x x x x x x x x x x | '1' | - | 1 | xx | - | - | - | N | A | R | - | - | 1=Não Conferido;2=Conferido;3=Rejeitado | 1=No verificado;2=Verificado;3=Rechazado | 1=Not Checked;2=Checked;3=Rejected | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75405 | 0 |
| G57 | 22 | G57_DTCANC | D | 8 | 0 | Data Canc. | Fch. Anul. | Canc date | Data cancelamento | Fecha anulación | Cancelation date | - | - | x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 75406 | 0 |
| G57 | 23 | G57_CODG5A | C | 6 | 0 | Cód. Demons. | Cód. Demons. | Statem Code | Código Demonstrativo | Cód. Demostrativo | Statement Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75407 | 0 |
| G57 | 24 | G57_MOTREJ | C | 80 | 0 | Mot Rejeição | Mot Rechazo | Reject Reas | Motivo de Rejeição | Motivo de rechazo | Rejection Reason | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75408 | 0 |
| G57 | 25 | G57_DOCDES | C | 30 | 0 | Descr. Doc | Descr. Doc | Doc. Descr | Descri tipo de Documento | Desc. Tipo de documento | Document Type Description | @! | - | x x x x x x x x x x x x x x x x | IF(!Inclui, Posicione('GYA',1,xFilial('GYA')+G57->G57_TIPO,'GYA_DESCRI') , '') | - | 1 | x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione('GYA',1,xFilial('GYA')+G57->G57_TIPO,'GYA_DESCRI') | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 75409 | 0 |
| G57 | 26 | G57_CODGQ1 | C | 6 | 0 | Código Fat. | Código Fact. | Inv Code | Código Fat. | Código Fact. | Inv Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 75410 | 0 |
| G57 | 27 | G57_USUCON | C | 6 | 0 | Usuario Conf | Usuario Conf | Checking use | Usuário de Conferencia | Usuario de conferencia | Checking user | - | - | 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 | 1 | - | - | - | 75411 | 0 |
| G57 | 28 | G57_CODGIC | C | 8 | 0 | Cód. Bilhete | Cód. Boleto | Ticket code | Código do Bilhete | Código del boleto | Ticket Code | @! | - | x x x x x x x x x x x x x x x x | - | GIC | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75412 | 0 |
| G57 | 29 | G57_QTDBAG | N | 2 | 0 | Qtd.Bagagem | Cant.Equipaj | Bagage Qty | Quantidade de Bagagem | Cantidad de equipaje | Bagage Quantity | 99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75413 | 0 |
| G57 | 30 | G57_STAENV | C | 1 | 0 | Status Envio | Estat Envío | Subm Status | Status Envio Evento | Estatus envío evento | Event Submission Status | - | - | x x x x x x x x x x x x x x x x | '0' | - | 1 | x | - | - | - | N | A | R | - | - | 0=Não Transmitido;1=Recebido TSS;2=Transmitido;3=Evento Rejeitado | 0=No transmitido;1=Recibido TSS;2=Transmitido;3=Evento rechazado | 0=Not Transmitted;1=Received TSS;2=Transmitted;3=Event Rejeicted | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 75414 | 0 |
| G57 | 31 | G57_PROENV | C | 15 | 0 | Prot. Envio | Prot. Envío | Subm Prot | Protocolo Envio | Protocolo envío | Submission Protocol | @! | - | 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 | 1 | - | - | - | 75415 | 0 |
| G57 | 32 | G57_CODH7C | C | 6 | 0 | Cod Receptor | Cód Receptor | Recipient Co | Cod Receptor do malote | Cód Recep Corresp. | Mailbag Recipient Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 75416 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G57 | 1 | G57_FILIAL+G57_CODIGO+G57_SERIE+G57_SUBSER | Código + Série + Sub Serie | Codigo + Serie + Sub Serie | Code + Series + Sub-series | S | - | - | S | 2 | 3 | - | 11070 | 0 |
| G57 | 2 | G57_FILIAL+G57_NUMMOV+G57_SERIE+G57_SUBSER+G57_NUMCOM+G57_CODIGO+G57_TIPO | Num.Movim. + Série + Sub Serie + Num. Complem + Código + Tipo | Núm.Movim. + Serie + Sub Serie + Núm. Complem + Codigo + Tipo | Transac no. + Series + Sub-series + Compl no. + Code + Type | S | - | - | S | 2 | 3 | - | 11071 | 0 |
| G57 | 3 | G57_FILIAL+G57_TIPO+G57_SERIE+G57_SUBSER+G57_NUMCOM+G57_CODIGO | Tipo + Série + Sub Serie + Num. Complem + Código | Tipo + Serie + Sub Serie + Núm. Complem + Codigo | Type + Series + Sub-series + Compl no. + Code | S | - | - | S | 2 | 3 | - | 11072 | 0 |
| G57 | 4 | G57_FILIAL+G57_AGENCI+G57_NUMFCH | Cód. Agência + Núm. Ficha | Cód. Agencia + Núm. Ficha | Branch code + Form no. | S | - | - | S | 2 | 3 | - | 11073 | 0 |
| G57 | 5 | G57_FILIAL+G57_EMISSO+G57_AGENCI+DTOS(G57_EMISSA) | Emissor + Cód. Agência + Dt. Emissão | Emisor + Cód. Agencia + Fch Emisión | Issuer + Branch code + Issue dt | S | - | - | S | 2 | 3 | - | 11074 | 0 |
| G57 | 6 | G57_FILIAL+G57_CODH7C+G57_CODGIC+G57_AGENCI+G57_NUMFCH | Cod Receptor + Cód. Bilhete + Cód. Agência + Núm. Ficha | Cód Receptor + Cód. Boleto + Cód. Agencia + Núm. Ficha | Recipient Co + Ticket code + Branch code + Form no. | S | - | - | S | 2 | 3 | - | 11075 | 0 |
Ela é utilizada para cadastro de taxas 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.