...
Wiki Markup |
---|
We will use a user function in the pre-execution of *Mile{*}. The function must return a new vector with the correct order of the parameters to be sent to the *FINA100* routine.
In the example below, we are creating the *aRotAuto* array in the second position and the *nOpcAuto* in the third position.
\\
*User function UFINA100(lInterface, aInfos, aLayOut, aSaidas, aVetores)*
Local aNewVet := array(3)
aNewVet\[1\] := \{3\}//nPosRotinaaNewVet\[2\] := aClone(aVetores\[1\]) //aRotAutoaNewVet\[3\] := \{3\} // nOpcAuto where 3 = Pay, 4 = Receive, and the option may be according to the aVetores position
*Return* aClone(aNewVet) |
...
02/01/201902/01/2019;M1;11736,10;NAT1;237;1020;102030;RESGATE INVEST FACIL;BRADESCO;P;BA;02/01/2019
Card documentos Informacao The import file must be created according to the rules defined in the Mile register. Titulo IMPORTANT!
...