Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFA036L |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
The entry point AF036AUTBT includes customized options in the "Related Features" menu of the Batch Asset Postings screen. It is used for expanding the routine's features, adding specific actions depending on the needs of the user.
If ExistBlock("AF036AUTBT")
aUsButtons := ExecBlock("AF036AUTBT",.F.,.F.)
If ValType(aUsButtons) == "A"
For nBt := 1 To Len(aUsButtons)
oView:AddUserButton( aUsButtons[nBt][1], aUsButtons[nBt][3], aUsButtons[nBt][2],NIL,NIL)
Next nBt
Endif
EndIf
User Function AF036AUTBT()
Local aButtons := {}
Aadd(aButtons,{'New Button',,{||AxPesqui()},'0',2} ),'0',2})
Return(aButtons)
Important