Product: |
TOTVS Backoffice
|
Product Line: | Protheus Line |
Segment: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGACTB)
|
Function: | CTBXATU |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
The entry point CTBCLRFLG is used to return the field corresponding to the booking flag that must be unchecked during the reversal process of the accounting transaction. It allows the customer to precisely identify and manipulate the field related to booking, ensuring that the reversal is processed correctly.
With CTBCLRFLG, it is possible to ensure that the booking flag is properly unchecked, preventing inconsistencies in the accounting records and guaranteeing the integrity of the information during the reversal process.
cCpoFlag := Execblock( "CTBCLRFLG" , .F., .F. , {cAliasOrig, nRecOrigem} )
User function CTBCLRFLG() Local cCampo := "" IF CV3->CV3_LP == "9CQ" cCampo := "BD7_LAREV" ElseIf CV3->CV3_LP == "9CN" cCampo := "BD7_LAPRV" EndIf Return cCampo
Important!