Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFXINT |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46829 |
Entry point ATFXOCOR allows handling the variable cOcorr, which controls the reason for posting an asset. You can use this entry point to define or adjust the reason for posting, in compliance with customized rules, having the flexibility to adapt the reasons to the specific needs of the company in the asset posting process.
cOcorr := ExecBlock("ATFXOCOR",.F.,.F.,{cOcorr})
User Function ATFXOCOR()
Local cOcorr := ParamIxb[1]
cOcorr := '02'
Alert ('New occurrence recorded: '+cOcorr)
Return cOcorr
Important