// ImplementaçãoImplementation daof funçãofunction doof pontoentry depoint entrada AF250GRV
User Function AF250GRV()
// ExemploExample: adicionaradd umaan verificaçãointegrity deverification integridadeto nosan dados de um ativoasset's data
Local aCols := PARAMIXB[1] // Array deof colunascolumns comwith dadosasset dos ativosdata
Local nPosICMS := Ascan(aHeader, {|x| Alltrim(x[2]) == "N1_ICMSAPR" })
Local nICMS := 0
Local i := 0
For i := 1 To Len(aCols)
// VerificaCheck sewhether othe valorICMS devalue ICMSis égreater maiorthan quean umallowed valor permitidovalue
If aCols[i][nPosICMS] > 10000
// GeraGenerate umaan mensagemalert de alertamessage
Help(" ", 1, "AF250_ALERT",, "OThe valorICMS devalue ICMSexceeds ultrapassathe oallowed limite permitidolimit.", 1, 0)
EndIf
Next i
Return
|