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