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 |
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.
If ExistBlock("CT500LOT")
cLote := ExecBlock("CT500LOT",.F.,.F.,cLote)
EndIf
User function CT500LOT
Local cLote
cLote := '00100'
Alert("Batch: " + cLote)
Return cLote
Important!