Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFA321 |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
Entry Point AF321EDT allows editing user fields in GetDados, in routine Third Party Assets Register (ATFA321). It offers the customer flexibility to customize which fields can be edited, allowing adjustments of additional and specific data directly on the registration interface.
With AF321EDT, you can adapt the assets in the third parties register routine in accordance with the needs of the company, ensuring that the fields created to meet specific requirements can be updated in a practical and efficient manner during the registration process, without limiting the default operations of the system.
Handling of EP in the system
If ExistBlock("AF321EDT")
aAuxEdtGD := ExecBlock("AF321EDT",.F.,.F.)
If Len(aAuxEdtGD) >= 1
For nX := 1 to Len(aAuxEdtGD)
Aadd(alEdtGD, aAuxEdtGD[nX])
Next nX++
EndIf
EndIf
EP Example
User Function AF321EDT()
Local alEdtGD := {}
// add user fields for editing
Aadd(alEdtGD, "NP_USRCP1")
Aadd(alEdtGD, "NP_USRCP2")
Alert("Entry point AF321EDT executed")
Return alEdtGD
Important !!