Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagecpp
themeRDark
titleManipulação de PE no sistemaHandling of EP in the system
If ExistBlock("AF250GRV")  // PONTOENTRY DEPOINT ENTRADA ANTES DA COTABILIZACAOBEFORE BOOKKEEPING
	Execblock("AF250GRV",.F.,.F.,Acols[nX])
EndIf
Bloco de código
languagecpp
themeRDark
titleExemplo de PEEP Example
// 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


Aviso
titleImportante !!Important !!
  • It is noteworthy that the customer is responsible for EP utilization and its impacts on the system.
  • The examples used in this documentation are for demonstration purposes only. Each customer must check what behavior they want to perform according to the scope of the entry point
  • Observa-se que a utilização do PE e os impactos dele no sistema são de responsabilidade do cliente.
  • Os exemplos utilizados nessa documentação são apenas para fins de demonstração, cada cliente deve verificar qual comportamento deseja realizar de acordo com o escopo do ponto de entrada.

04. RELATED SUBJECTS

  • Not Applicable.