01.
...
GENERAL DATA
Product | Produto: | | Solucoes_totvs_cross |
|---|
| SolucaoCross | TOTVS Backoffice |
|---|
|
| Solucoes_totvs_parceirosexptotvs |
|---|
|
|
| Linha de Produto: | |
|---|
| Segmento: | |
|---|
|
Product Line: | Protheus Line |
Segment: | Services |
Module: | Módulo: | | Modulos_cross_segmentos |
ModulosCrossSegmentos | TOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Managerial Accounting (SIGACTBSIGAFIS) | Modulos_totvs_prestadores_de_servicos |
|---|
|
|---|
FunçãoFunction: | CTBA105 |
PaísCountry: | BrasilBrazil |
Ticket: | InternoInternal |
RequisitoRequisite/ | StoryStory/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 |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Manipulação de PE no sistemaEntry Point (EP) manipulation in the system |
|---|
|
cQuery := ExecBlock("CT105QRY",.F.,.F.,{cQuery,lAglut}) |
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Exemplo 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 |
|---|
| title | Importante 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.