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-46748 |
We created the entry point AF251ICM to enable the deviation of the default validation performed by the system during the ICMS allocation process.
Return:
.T. Ignore default validation
.F. Keep system default validation
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
If ExistBlock("AF251ICM") |
...
lValIcms := ExecBlock("AF251ICM",.F.,.F.) |
...
EndIf |
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
#Include 'Protheus.ch' |
...
User Function AF251ICM() |
...
If MsgYesNo("Do you want to ignore ICMS allocation?","Attention") |
...
Return .F. |
...
Else |
...
Return .T. |
...
EndIf |
...
Return |
| Aviso | ||
|---|---|---|
|
...
|