Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFA036 |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
You can use entry point AF036VAL to handle the sale value when saving the record of asset posting in routine ATFA036 - Asset Posting.
...
This entry point is essential for scenarios in which the sale value must be adjusted or validated to meet specific criteria in the asset posting process.
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
nVlVend := Iif(ExistBlock( "AF036VAL" ),ExecBlock("AF036VAL",.F.,.F.), 0) |
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
User Function AF036VAL() |
...
Local nVlVend := 100 |
...
Return nVlVend |
...
| Aviso | ||
|---|---|---|
| ||
|
...