Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFA012 |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46829 |
Entry point ATFA012 is executed soon after the model’s commit, allowing the performance of additional operations or validation of the final status of the data after the execution of a specific transaction. This point allows the addition of business rules or customized validations that must occur after the definitive confirmation of template changes. When the return is .F., the data are not recorded.
lRet := ExecBlock("ATFA012",.F.,.F., {oModel, 'MODELPOS', 'SN3DETAIL'})
User Function ATFA012
Local oModel := PARAMIXB[1]
Local cNomMaster := PARAMIXB[2]
Local cNomDetal := PARAMIXB[3]
Local oSN1 := oModel:GetModel('SN1MASTER')
Local oSN3 := oModel:GetModel('SN3DETAIL')
Local lRet := .F.
//CUSTOMER VALIDATION
Return lRet
Important