Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Attention: Customers with NetSuite Electronic Bank Payment (EBP) SuiteApp, version 2020.2 QA (ID 315896) must UPDATE (do NOT uninstall) their bundle to the Production version 2022.1 (ID 416781) by December 31, 2022. Note: If users fail to manually update the Electronic Bank Payments SuiteApp within the given time window, this version of the SuiteApp (ID: 315896) will be deprecated and the account will not be updated to Leading version (2022.1) of the Electronic Bank Payments SuiteApp. Please refer to the campaign email sent to impacted customers for more information.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Update your Profile with your Support type to get your Support Type badge.
NetSuite Release 2023.1 is here! Download the release notes and post your questions in the new Release 2023.1 category.

Google composer AIRFLOW - Netsuite ODBC Issue

edited Mar 30, 2022 5:19PM in SuiteCloud / Customization 11 comments

1) I Downloaded the Netsuite ODBC Driver zip file from https://6765252-sb1.app.netsuite.com/app/external/odbc/suiteAnalyticsConnectDownload.nl for linux 64 bit.


2) I use Docker Container and here is my DockerFile

FROM python:3.7

# here goes the source code 
ADD projects/netsuite  /netsuite
ADD projects/utils  /utils


ENV PYTHONPATH="$PYTHONPATH:/projects"

# creating directory
RUN mkdir /opt/netsuite
RUN mkdir /opt/netsuite/odbcclient/

# copying the ODBC zip file to this directory 
COPY projects/netsuite/NetSuiteODBCDrivers_Linux64bit.zip  /opt/netsuite/odbcclient/
COPY projects/netsuite/Certificates.zip   /opt/netsuite/odbcclient/

# install system dependencies
RUN apt-get update \
  && apt-get -y install gcc \
  && apt-get -y install g++ \
  && apt-get -y install unixodbc unixodbc-dev \
  && apt-get clean

# unzip the odbc file
RUN  unzip /opt/netsuite/odbcclient/NetSuiteODBCDrivers_Linux64bit.zip    \
  && unzip /opt/netsuite/odbcclient/Certificates.zip

# moving the odbcinst and odbc64.ini files to /etc/ location
ADD  projects/netsuite/odbcinst.ini /etc/odbcinst.ini
ADD  projects/netsuite/odbc64.ini /etc/odbc64.ini


RUN pip

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

This Week's Leaders

This Month's Leaders

All Time Leaders