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.
lCont := ExecBlock("AF060VLC",.F.,.F.,{nOpcao, cLoteAtf}) |
#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 |
It is noteworthy that the customer is responsible for EP utilization and its impacts on the system. The examples used in this documentation are for demonstration purposes only. Each customer must check what behavior they want to perform according to the scope of the entry point. |