Errp returns the name of the script where an error occurred. It can be used in the error handling routine set by Onerrgo.
# Let’s trigger an error (division by zero)
Local Integer ZERO, ONE, RESULT
Local Char ERROR_MESSAGE(250)
ONE=1 : ZERO=0
RESULT = ONE / ZERO
ERROR_MESSAGE=”Error”-num$(errn)-“raised on line”-num$(errl)-“in script”-errp-“Message:”-errmes$(errn)
& -“Additional details:”-errm
errp returns a script name. The result type is Char.
Errp has only a significant value in the error handling routine.
Greytrix is one stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.
Greytrix have some unique solutions of Sage X3’s integration with Sage CRM, Salesforce.com and Magento eCommerce. It also offers best-in-class Sage X3 customization and development services to Sage business partners, end users, and Sage PSG worldwide.
For more information on Sage X3 Integration and Services, please contact us at email@example.com .We will be glad to assist you.