Product: | TOTVS Backoffice |
Product Line: | Microsiga Protheus Line |
Industry: | Services |
Module: | Fixed Assets - SIGAATF |
Function: | Acquisition by Transfer - ATFA251 |
Country: | Brazil |
Ticket: | Internal |
Requirement/Story/Issue: | DSERCTR1-32177 |
The Entry Point aims to allow the handling of results saved after the activation of saving to table SN4, following these criteria:
It is observed that the use of the PE and its impacts on the system are the responsibility of the customer. |
Parameter | Use |
nOpca | Option selected |
SN4->N4_TIPO | Type of asset in SN4 |
Type for control 1 or 2 | You may use it to book the number of times a given asset type has entered the EP, considering N4_OCORR as an example and the value of this parameter: It returns 1 or 2 and the segments of occurrence of which types are used before calling the EP.
|
SN4->N4_OCORR | Occurrence SN4 |
SN4->N4_TIPOCNT | Account Type in SN4 |
IF lA251GRSN4 ExecBlock("A251GRSN4",.F.,.F.,{nOpca,SN4->N4_TIPO,"1",SN4->N4_OCORR, SN4->N4_TIPOCNT}) ENDIF //Or IF lA251GRSN4 ExecBlock("A251GRSN4",.F.,.F.,{nOpca,SN4->N4_TIPO,"2",SN4->N4_OCORR, SN4->N4_TIPOCNT}) ENDIF |
Static Function A251GRSN4() Local cParam1 := PARAMIXB[1] Local cParam2 := PARAMIXB[2] Local cParam3 := PARAMIXB[3] Local cParam4 := PARAMIXB[4] Local cParam5 := PARAMIXB[5] If cParam2 == "01" //Perform desired operation Endif Return |
Not Applicable.