Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

01.

...

GENERAL DATA

ProdutoModulosCrossSegmentosFunçãoPaísBrasilInternoRequisitoStory

Product

:

Solucoes_totvs

Solucoes_totvs_cross
SolucaoCrossTOTVS Backoffice

Solucoes_totvs_parceiros
SolucaoParceiros

Solucoes_totvs_parceirosexptotvs
SolucaoParcsExpsTOTVS

Linha de Produto:

Linhas_totvs
LinhaLinha Protheus

Segmento:

Segmentos_totvs
SegmentoServiços

Product Line:

Protheus Line

Segment:

Services

Module:

Módulo:
Modulos_cross_segmentos

TOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Managerial Accounting (SIGACTBSIGAFIS)

Modulos_framework

Modulos_totvs_construcao

Modulos_totvs_juridico

Modulos_totvs_logistica

Modulos_totvs_manufatura

Modulos_totvs_rh

Modulos_totvs_saude

Modulos_totvs_prestadores_de_servicos

Function:

CTBA105

Country:

Brazil

Ticket:

Internal

Requisite/

Story/Issue

DSERCTR1-46829

02. 

...

O ponto de entrada CT105QRY permite a manipulação da string de query usada na contabilização da rotina CTBA105. Este ponto é especialmente útil para adicionar campos customizados na cláusula de aglutinação ou modificar a query para atender a requisitos específicos do usuário. Com isso, possibilita maior flexibilidade na montagem dos dados contábeis, permitindo ajustes personalizados no processo de contabilização.

...

DESCRIPTION

The entry point CT105QRY allows for the manipulation of the query string used in the accounting of the CTBA105 routine. This point is especially useful for adding custom fields to the aggregation clause or modifying the query to meet specific user requirements. This provides greater flexibility in setting up the accounting data, allowing for customized adjustments in the accounting process.

03. OTHER INFORMATION


Bloco de código
languagecpp
themeRDark
titleManipulação de PE no sistemaEntry Point (EP) manipulation in the system
cQuery 	:= 	ExecBlock("CT105QRY",.F.,.F.,{cQuery,lAglut})
Bloco de código
languagecpp
themeRDark
titleExemplo de PEEP Example
#INCLUDE "Protheus.ch"
 
User Function CT105QRY()
    cQuery := ParamIXB[1]  // RECEIVES RECEBETHE ASYSTEM QUERY DO SISTEMA
    lAglut := ParamIXB[2]  // RECEBERECEIVES OTHE PARÂMETROSYSTEM DOPARAMETER: SISTEMAIF SEIT AGLUTINAAGGREGATES = .T. IF IT SEDOES NÃONOT AGLUTINAAGGREGATE = .F.
    If  lAglut
        //ADCIONANDOADDING CAMPOTHE CTK_INFOR ADCIONADOFIELD ADDED VIA THE CONFIGURADORCONFIGURATOR NATO TABELATHE CTK TABLE BY PELOTHE USUARIOUSER
        cQuery  :=   StrTran( cQuery, "FROM", ",CTK_INFOR FROM" )
        cQuery  :=   StrTran( cQuery, "ORDER BY", ",CTK_INFOR ORDER BY" ) 
    EndIf
 
Return cQuery  // RETURNS RETORNATHE AMODIFIED QUERY MODIFICADA


Aviso
titleImportante Important!!
  • Observa-se que a utilização do PE e os impactos dele no sistema são de responsabilidade do cliente.
  • Os exemplos utilizados nessa documentação são apenas para fins de demonstração, cada cliente deve verificar qual comportamento deseja realizar de acordo com o escopo do ponto de entrada.

04. ASSUNTOS RELACIONADOS

  • It should be noted that the use of the Entry Point (PE) and its impacts on the system are the customer's responsibility.
  • The examples used in this documentation are for demonstration purposes only; each customer must determine the behavior they wish to implement according to the scope of the entry point.

04. RELATED ISSUES

  • It does not applyNão se aplica.