Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFXSAL |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46829 |
You can use the entry point ATFGRSLD to update a fixed asset's accounting balances, managing multiple currencies and different account types. It allows ample control of asset financial transactions, ensuring the integrity of balances in compliance with the rules set in the system.
Handling of EP in the system
If ExistBlock("ATFGRSLD")
Execblock("ATFGRSLD",.f.,.f.,{cTipoAux, cSinal,"SN5"})
Endif
If ExistBlock("ATFGRSLD")
Execblock("ATFGRSLD",.f.,.f.,{cTipoAux, cSinal, "SNC"})
Endif
If ExistBlock("ATFGRSLD")
Execblock("ATFGRSLD",.f.,.f.,{cTipoAux, cSinal,"SN6"})
Endif
If ExistBlock("ATFGRSLD")
Execblock("ATFGRSLD",.f.,.f.,{cTipoAux, cSinal,"SNA"})
EndIf
EP Example
User Function ATFGRSLD
Local cTipoAux := PARAMIXB[1]
Local cSinal := PARAMIXB[2]
Local cAlias := PARAMIXB[3]//"SNA"
MsgAlert("ENTRY POINT CALL: ATFGRSLD")
Return
Important !!