01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

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

Function:

CTBA102,CTBA103,CTBA105,CTBA104

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

The entry point CT105CHK is used to validate accounting entries at the time of their execution, ensuring that the total debit value is equal to the total credit value. Should there be any discrepancy between debit and credit, the system may interrupt the process, ensuring the integrity of the accounting entries.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
lRet := ExecBlock("CT105CHK",.F.,.F.,{lModified})
EP Example
User Function CT105CHK

	Local lRet      := .T.
	Local lModified := PARAMIXB[1] // if any record was changed in the grid
    If lModified
		// IMPLEMENT CUSTOM LOGIC HERE
   lRet := .F.
	EndIf
 
Return lRet

Important!

  • It is noteworthy that the customer is responsible for EP utilization and its impacts on the system.
  • 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 ISSUES

  • It does not apply.