Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFA060 |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
We have implemented the Entry Point AF060VLC to enable users to perform specific validations when canceling a fixed asset transfer. This entry point is called before the cancellation is complete, allowing custom rules to be added to meet specific business requirements.
You can use AF060VLC to check additional conditions, validate data or even interrupt the process, in case custom conditions are not met. This flexibility ensures greater control and adherence to the operational particularities of each company in the management of asset transfers.
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
lCont := ExecBlock("AF060VLC",.F.,.F.,{nOpcao, cLoteAtf}) |
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
#Include 'Protheus.ch'
User Function AF060VLC()
Local nOpcao := paramixb[1]
Local cLoteAtf := paramixb[2]
If MsgYesNo ("Continue cancellation or transfer? ","Transfer Cancellation")
lRet:= .T.
Else
lRet:= .F.
MsgInfo ("Transfer not allowed!")
EndIf
Return lRet |
| Aviso | ||
|---|---|---|
| ||
|