Is there a way to get the Acumatica Base URL through the business logic code?
You can use PXInstanceHelper.HostName
, it returns with your computer's name, or you can use HTTPContext from System.Web
:
HttpContext.Current.Request.Url.Host + HttpContext.Current.Request.ApplicationPath;