01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

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

Function:

CTBA150

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829


02. DESCRIPTION

The entry point CTB150CAL is used for manipulation during the recording of data in the associated routine. It allows the user to apply specific customizations, such as calculations, validations, or additional adjustments to the data before they are effectively recorded in the system, ensuring that any special processing is performed as necessary.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
IF ExistBlock("Ctb150Cal") 
	ExecBlock( "Ctb150Cal", .F. , .F.,{dData,lExclui,l150Auto } )
Endif
EP Example
User Function Ctb150Cal()

	Local dData := PARAMIXB[1]
	Local lExclui := PARAMIXB[2]
	Local l150Auto := PARAMIXB[3]

	MsgAlert(dData)

	If !lExclui .And. !l150Auto
		MsgAlert("Content of the variables lExclui and l150Auto FALSOS")
	Else
		MsgAlert("Content of the variables lExclui and l150Auto are not FALSE")
	EndIf

Return


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