Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFA251 |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46030 |
You can use entry point A251GRN3 to execute custom logic while saving aCols array data pertaining to fixed assets. It is called for each item before it finishes saving asset records in table SN4, allowing data adjustments or the application of specific business rules as needed.
If ExistBlock("A251GRN3") Execblock("A251GRN3",.F.,.F.,{Acols[nX],nX}) Endif |
User Function A251GRN3() Local aCols := PARAMIXB[1] Local nX := PARAMIXB[2] // Adjustment example: Check whether item type is "01" and adjust the description. If aCols[nX][3] == "01" // Supposing field 3 is the item type. aCols[nX][5] := "Asset updated via A251GRN3" // Adjustment to item description. EndIf Return |
|
04. RELATED SUBJECTS