...
This entry point allows the developer to implement additional validation logic
03. OTHER INFORMATION
Bloco de código |
---|
language | cpp |
---|
theme | RDark |
---|
title | Handling of EP in the system |
---|
|
If ExistBlock("ATLIBGRP")
lRet:= ExecBlock("ATLIBGRP",.F.,.F.,{FunName()})
EndIf |
Bloco de código |
---|
language | cpp |
---|
theme | RDark |
---|
title | EP Example |
---|
|
User Function ATLIBGRP()
// Receive the name of the function calling the entry point
Local cFunName := PARAMIXB[1]
Local lRet := .T.
// Implement a custom validation logic
If cFunName == "AF010ATAXA"
// Perform specific validations for the rates routine
// For example, check whether the rate values are within an allowed range
If SomeValidationFails()
// Return .F. to indicate that the validation has failed
lRet := .F.
EndIf
EndIf
// Return .T. if all validations are approved
Return lRet |
Aviso |
---|
|
- 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.
|
04. RELATED SUBJECTS