01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGACTB)

Function:

CTBXATU

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

The entry point CTBCLRFLG is used to return the field corresponding to the booking flag that must be unchecked during the reversal process of the accounting transaction. It allows the customer to precisely identify and manipulate the field related to booking, ensuring that the reversal is processed correctly.

With CTBCLRFLG, it is possible to ensure that the booking flag is properly unchecked, preventing inconsistencies in the accounting records and guaranteeing the integrity of the information during the reversal process.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
cCpoFlag := Execblock( "CTBCLRFLG" , .F., .F. , {cAliasOrig, nRecOrigem} )
EP Example
User function CTBCLRFLG()

	Local cCampo := ""

	IF CV3->CV3_LP == "9CQ"

		cCampo := "BD7_LAREV"

	ElseIf CV3->CV3_LP == "9CN"

		cCampo := "BD7_LAPRV"

	EndIf

Return cCampo

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