IMDEXHUB-IQ Integration User Guide
IMDEXHUB-IQ Integration User Guide
User Guide
Document information
Authorised use © acQuire Software Pty Ltd
Document name IMDEXHUB-IQ Integration - User Guide
Date April 2020
Table of contents
1 Overview 1
1.1 How does it work? 1
1.2 Prerequisites 2
1.3 Use a proxy server 2
2 Configure an acQuire database for IMDEXHUB-IQ integration 3
2.1 IMDEXHUB-IQ integration key 3
2.1.1 Generate a new integration key 3
2.2 Configure the integration key in acQuire 4 3
3 Build an acQuire 4 import object for IMDEXHUB-IQ integration 5
3.1 Set up an import sheet 5
3.2 Map to acQuire virtual fields 7
3.3 Technical recommendations for column mapping 7
3.3.1 Map IMDEXHUB-IQ projects to acQuire 4 projects 7
3.3.2 EZ-GAMMA data 9
4 Additional technical details 10
4.1 Import process for IMDEXHUB-IQ data 10
4.2 Technical tables involved in the process 10
1.2 Prerequisites
To use the IMDEXHUB-IQ integration, the following prerequisites must be met:
An IMDEXHUB-IQ account
One or multiple projects associated with an IMDEXHUB-IQ integration key
An acQuire database configured with this integration key
Access to the IMDEXHUB-IQ web API at: https://api.imdexhub.com/api/integration
Note: You may need to contact your IT Administrator to whitelist this web address.
An acQuire 4 import object configured to import from IMDEXHUB-IQ
acQuire Automation to trigger the import at predefined times (optional).
The details of how to set up these different parts are explained in this document.
Note: It is important to ensure that for the integration key you define, it is only configured to use data with a
status of Approved, as displayed in the example below:
5. Type the integration key and click Apply the new Integration Key.
If the integration key is invalid, an error message is displayed. If it is valid, the button becomes greyed out.
6. Click OK to exit this dialog.
a. Set the preview options to retrieve the latest data for the first IMDEXHUB-IQ import sheet of the import
object. It will ensure that new data is automatically retrieved from IMDEXHUB-IQ when previewing.
b. A preview filter can be set to only preview data for a specific time period.
c. Choose one of the sections to import in Available Sections. The list of fields for this section is displayed.
3. Create a new text virtual field. The name used in this technical documentation is ImdexProjectName, but it
can be changed to any other valid name.
4. Using an acQuire 4 form or data entry object, set the value of the ImdexProjectName column to the
corresponding IMDEXHUB-IQ project name:
=runsql(strcat("select pd.PROJECTCODE
from PROJECTDETAILS as pd
where pd.[NAME] = 'ImdexProjectName'
and pd.[VALUE] = '",{src::ProjectName},"'"))
=if({src::RunStatus} = "Approved"
,1
,if({src::RunStatus} = "Pending"
,2
,3
)
)
When importing from EzGammaDetails, the RUN must be retrieved from the previously saved header record.
This is done by using a virtual field when populating GEOPHYSheaders to store the GUID (the ID column in the
IMDEXHUB-IQ sections for EzGammaHeader and EzGammaDetails).
In the following example, this virtual field is named EzGammaId:
=runsql(strcat("select ghc.RUN
from QV_GEOPHYSHEADERCOMMENT as ghc
where ghc.NAME = 'EzGammaId'
and ghc.HOLEID = '",{col::HOLEID},"'
and ghc.PROJECTCODE = '",{col::PROJECTCODE},"'
and ghc.DEPTHSTEP = ",{col::DEPTHSTEP},"
and ghc.PRIORITY = ",{col::PRIORITY},"
and ghc.VALUE = '",{src::Id},"'"))
AcqManagement.AdmIntegrationSection
This table contains the list of integration sections associated with a unique integration data row stored in
AcqManagement.AdmIntegration.
The AdmIntegrationId column is used to relate these sections to the parent record in the
AdmIntegration table.
The IsProcessed column is set to 1 when the integration section has been successfully imported into
acQuire tables, otherwise 0.
Official information
acQuire Software Pty Ltd is the owner of the software and all icons and logos within the software, together with
all soft and hardcopy documentation.
This document is copyright. No part of this document may be reproduced by any process, or in any form,
without prior written consent from acQuire Technology Solutions Pty Ltd.
Disclaimer
acQuire Software Pty Ltd will not accept any liability arising from the use of the software or any other software
product mentioned in this document; nor for any technical or editorial errors or omissions made in this
document. The mention of any other computer software product in this document does not imply the
endorsement of such product by acQuire Software Pty Ltd.