Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | ATFA060, ATFA125 |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
You can use entry point AF060VAL to validate an asset when a corresponding record already exists in the target branch, when performing the Automatic Transfer. While running this entry point, the system stops displaying the default message "Asset already exists in the Target Branch. To transfer it, the item must be incremented keeping the base code. Continue?" and the entry point starts handling it directly.
...
Bloco de código | ||||||
---|---|---|---|---|---|---|
| ||||||
#INCLUDE "Protheus.ch" User Function AF060Val() Local lRet := .T. If MsgYesNo("BemAsset already jaexists Existentein nathe FilialTarget DestinoBranch. ParaTo sertransfer transferidoit, temosthe queitem incrementarmust obe itemincremented mantendokeeping othe codigobase Basecode. ProssegueContinue ?") lRet := .T. Else lRet := .F. EndIf Return lRet |
...