Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFA010/ATFA012 |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
Entry point AF10DESC is used during the recording of an asset to automatically load the extended description in routine ATFA010/ATFA012 (Asset Register). It allows the customer to make sure the asset's extended description is automatically filled in, avoiding the need to manually enter it and ensuring data consistency.
With AF10DESC, you can make sure the asset's description is appropriate and complete, contributing to the standardization and quality of records in the asset register, making it easier to manage and search data later.
//ATFA010
If ExistBlock("AF10DESC")
cTexto := ExecBlock("AF10DESC",.F.,.F.)
Endif
//ATFA012
If ExistBlock("AF10DESC")
cDesc := ExecBlock("AF10DESC",.F.,.F., {cDesc})
Endif
User Function AF10DESC() Local cDesc := ParamIXB[1] If Empty(cDesc) cDesc := "New default text" Else cDesc := StrTran(cDesc, "o", "z") EndIf Return cDesc
Important