01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

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

Function:

CTBA220

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

The entry point CT220ENT allows for the manipulation of the aQuais array, which contains the entities to be consolidated during the execution of the General Consolidation routine. This entry point offers the client the flexibility to include, exclude, or modify the previously defined entities, ensuring that the consolidation process is customized according to specific business needs.

With CT220ENT, it is possible to adjust the list of entities that will be part of the consolidation, allowing for greater control and suitability of the consolidated data, and guaranteeing accuracy and adherence to the company's specific criteria for generating reports and accounting analyses.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
aQuais := ExecBlock("CT220ENT",.f.,.f.,{aQuais})
EP Example
User Function CT220ENT()

	Local aQuais := ParamIxb[1]
	Local nX
	//aQuais multidimensional array indicates the entities to be consolidated
	//position 1 - .t. or .f. indicates if it is checked or not (logical)
	//position 2 - Name of the entity (character)

	For nX := 1 TO Len(aQuais) STEP 2	
		MsgAlert("Entry Point CT220ENT to manipulate the aQuais array - "+aQuais[nX, 2])	
		aQuais[nX, 1] := .F. //uncheck all entities with an odd position
	Next

Return(aQuais)

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 ISSUES

  • It does not apply.