Product |
TOTVS Backoffice
|
Product Line | Protheus Line |
Segment | Services |
Module | TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGACTB)
|
Function | CTBA101 |
Country | Brazil |
Ticket | Internal |
Requisite/Story/Issue | DSERCTR1-46829 |
The VDCTB101GR entry point is used to validate the parameters of an accounting entry before its inclusion. This entry point allows specific rules and additional checks to be applied, ensuring that all parameters meet the required conditions before the entry is finalized, providing an extra layer of validation and control in the accounting process.
If ExistBlock( "VDCTB101GR" ) // opção de validação antes da gravação do lançamento
lRet := ExecBlock( "VDCTB101GR" , .F. , .F. , {nOpc,dData,cLote,cSubLote,cDoc})
EndIf
#Include 'Protheus.ch'
User Function VDCTB101GR
Local nOpc := PARAMIXB[1]
Local dData := PARAMIXB[2]
Local cLote := PARAMIXB[3]
Local cSubLote := PARAMIXB[4]
Local cDoc := PARAMIXB[5]
Local lRet := .F.
MsgAlert("ENTRY POINT CALL: VDCTB101GR")
//CUSTOMER VALIDATION
Return lRet
Importante!