01. GENERAL DATA  

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

02. DESCRIPTION

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.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
cQuery += ExecBlock("CTB420QRY",.F.,.F.) + CRLF
EP Example
#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!

  • 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 SUBJECTS

  • N/A