01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Service

Module:

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

Function:

CTBA103

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

The entry point CT103ACAP is used to return values automatically populated for the batch and sub-batch fields. This population aids in the organization and categorization of accounting entries, ensuring that data is allocated to the correct batch and sub-batch structures, as per the configuration defined by the user or the active accounting routine. It occurs within the Batch Header function.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
aCT103ACAP := ExecBlock( "CT103ACAP", .F., .F. )


EP Example
User Function CT103ACAP()

	Local cLote    := ""
	Local cSubLote := ""
	Local aRet     := {}
	
	aAdd(aRet ,cLote    )
	aAdd(aRet ,cSubLote )
	
Return aRet


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.