Versões comparadas

Chave

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

01.

...

GENERAL DATA

ProdutoLinha de ProdutoLinha

Protheus Line

SegmentoTOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Managerial Accounting (SIGACTB)

Product

:

Solucoes_totvs

Solucoes_totvs_cross
SolucaoCrossTOTVS Backoffice

Solucoes_totvs_parceiros
SolucaoParceiros

Solucoes_totvs_parceirosexptotvs
SolucaoParcsExpsTOTVS

Product Line:

Linhas_totvs
Linha

Segment:

Segmentos_totvs
SegmentoServiços

Services

Module:

Módulo:

Modulos_cross_segmentos
ModulosCrossSegmentos
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

Função

Function:

CTBXSEMPaís

Country:

Brasil

Brazil

Ticket:

Interno

Internal

Requisito

Requisite/

Story

Story/Issue

DSERCTR1-46829

02. 

...

O ponto de entrada CTBPXDCQRY permite a customização da query utilizada na função ProxDoc() dentro da rotina CTBXFUN.PRX. Com este ponto de entrada, é possível ajustar a consulta para atender a critérios específicos na busca de documentos, proporcionando flexibilidade na seleção e ordenação dos registros conforme a necessidade do usuário.

...

DESCRIPTION

The entry point CTBPXDCQRY allows for the customization of the query used in the ProxDoc() function within the CTBXFUN.PRX routine. With this entry point, it is possible to adjust the query to meet specific criteria when searching for documents, providing flexibility in the selection and ordering of records according to the user's needs.

03. OTHER INFORMATION


Bloco de código
languagecpp
themeRDark
titleManipulação de PE no sistemaEntry Point (EP) manipulation in the system
cQuery := Execblock( 'CTBPXDCQRY' , .F. , .F. , {cQuery} )
Bloco de código
languagecpp
themeRDark
titleExemplo de PEEP Example
User Function CTBPXDCQRY()

	Local cQuery := ParamIxb[1]  
	cQuery := "SELECT Max(CTF_DOC) MAXDOC "
	cQuery += "FROM CTF "+" CTF "
	cQuery += "WHERE CTF_FILIAL='"+xFilial("CTF")+"' AND "
	cQuery += "CTF_DATA = '"+DTOS(dDataLanc)+"' AND "
	cQuery += "CTF_LOTE = '"+cLote+"' AND "
	cQuery += "CTF_SBLOTE = '"+cSubLote+"' AND "
	cQuery += "D_E_L_E_T_ <> '*' "
	cQuery := ChangeQuery(cQuery)

Return cQuery


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 (EP) 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 SUBJECTS

  • N/ANão se aplica.