01. GENERAL DATA

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

02. DESCRIPTION

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.

03. OTHER INFORMATION


Handling of EP in the system
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
EP Example
User Function AF036AUTBT()

      Local aButtons := {}

      Aadd(aButtons,{'New Button',,{||AxPesqui()},'0',2} ),'0',2})

Return(aButtons)

Important

  • 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.

04. RELATED SUBJECTS

  • Not Applicable.