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 |
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.
aQuais := ExecBlock("CT220ENT",.f.,.f.,{aQuais})
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!