Breadcrumbs

CONNECTIONINFO

Overview

The CONNECTIONINFO function returns information about the connection being used to access the ERP.

Syntax

=CONNECTIONINFO(
    ConnectionName, 
    ConnectionProperty
)

Arguments

The CONNECTIONINFO function uses the following arguments:


Argument

Required/Optional

Description

Connection

Required

The name of the connection as configured in the Connection Manager

ConnectionProperty

Optional

The particular connection information to be returned.

Valid Options for Acumatica style connections:

URL or URI

returns the base URL of an Acumatica-type connection

Tenant or Company

returns the Tenant name of an Acumatica-type connection

FullURL or FullURI

returns the full URL for of an Acumatica-type connection


Valid Options for Sage Intacct connection:

Company or CompanyID

returns the Company ID of a Sage Intacct connection



If the ConnectionPart argument is left blank, the CONNECTIONINFO function will return all applicable connection parts and their values

Examples

Given these connections as defined within Velixo:

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/kljC0hx-rjQDuRsBaxXhYNVCfgNgLvErEA.png


Example 1 - All connection parts

Acumatica

=CONNECTIONINFO(
    "Acumatica"
)


Description

Returns and Excel array containing all connection part titles and their values for the Acumatica connection


Result

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/ZSpGXfIwyOJdYgeNZMPUxsdWf3Yc9XFwxg.png


Sage Intacct

=CONNECTIONINFO(
    "Sage"
)


Description

Returns an Excel array containing the CompanyID title and the company ID for the Sage Intacct connection


Result

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/clxrMzEeYB7T515beoTi9kv2XHkRBwbJ0w.png


Example 2 - Acumatica base URL

=CONNECTIONINFO(
    "Acumatica",
    "URL"
)


Description

Returns the base URL for the Acumatica connection


Result

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/P3_gbBXfqVPf9VmnF0fQb7g5ICZkzBawyA.png


Example 3 - Tenant or Company

Acumatica

=CONNECTIONINFO(
    "Acumatica",
    "Tenant"
)


Description

Returns the name of the Tenant for the Acumatica connection


Result

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/HCol0GJGnJjsgkdHxKXRlPU72Fc-tmuMEw.png


Sage Intacct

=CONNECTIONINFO(
    "Sage",
    "Company"
)


Description

Returns the Company ID for the Sage Intacct connection

Result

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/4Apqk-4GZ01bVjmYXMIMX2oiEi2Jj2o4LQ.png


Example 4 - Full Acumatica URL

=CONNECTIONINFO(
    "Acumatica",
    "FullUrl"
)


Description

Returns the full URL for the Acumatica connection

Result

https://s3.ca-central-1.amazonaws.com/cdn.velixo.com/helpdesk/C1hzXOhkHcgP6B4fHaeboRdtRu6rXNil-Q.png