Product: |
TOTVS Backoffice
|
Product Line: | Protheus Line |
Segment: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGACTB)
|
Function: | CTBA420 |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
The entry point CTB420QRY allows for the inclusion of additional filters on the CT2 table during the execution of the Accounting Movements TXT Export routine (CTBA420).
With this entry point, it is possible to customize the selection of data that will be exported, adapting the process to the customer's specific needs. This flexibility ensures greater control over the accounting transactions included in the export.
cQuery += ExecBlock("CTB420QRY",.F.,.F.) + CRLF
#include 'protheus.ch' #include 'parmtype.ch' User function CTB420QRY() Local cQuery:= " " cQuery:= " AND (CT2_HIST = 'ENTRY POINT TEST TXT EXPORT' " cQuery+= " OR CT2_EC05CR = '005' )" Return cQuery
Important!