01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

TOTVS Backoffice (Linha Protheus) - Contabilidade Gerencial (SIGACTB)

Function:

CTBA500

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

The entry point CT500LOT is used to manipulate the batch number during the generation of accounting entries (or postings) from a TXT file. It allows for the batch number to be defined or adjusted according to customized criteria before saving the accounting entries to the table, ensuring that each batch is managed according to specific control needs.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
If ExistBlock("CT500LOT")     
	cLote := ExecBlock("CT500LOT",.F.,.F.,cLote)
EndIf
EP Example
User function CT500LOT

	Local cLote 	

	cLote := '00100'	

	Alert("Batch: " + cLote)   

Return cLote


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

  • N/A