01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF)

Function:

ATFA320

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

Entry Point AF320EDT allows editing user fields in method GetDados, inside the routine Third Party Assets (ATFA320). This entry point allows the handling of custom fields directly on the interface, so you can view and adjust them as needed, to meet the specific requirements of each register or scenario of use.

03. OTHER INFORMATION

Handling of EP in the system
If !lATF320Aut .And. ExistBlock("AF320EDT")
      aAuxEdtGD := ExecBlock("AF320EDT",.F.,.F.,{alEdtGD})
      If ValType(aAuxEdtGD) == "A"
            alEdtGD := Aclone(aAuxEdtGD)
      EndIf
EndIf
EP Example
User Function AF320EDT()

      Local alEdtGD := Paramixb[1]

      // add user fields for editing
      Aadd(alEdtGD, "NO_USER1CP")
      Aadd(alEdtGD, "NO_USR2CP")

      Alert("Entry point AF320EDT executed")

Return alEdtGD

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.