https://netsuiteprofessionals.com logo
n

Nicolas Bean

03/31/2022, 6:45 PM
can NetSuite push data to another system without any middleware?
c

creece

03/31/2022, 6:52 PM
Yes, if the system has an API netsuite can call it (SOAP/Rest)
👍 1
n

Nicolas Bean

03/31/2022, 6:52 PM
to push?
c

creece

03/31/2022, 6:52 PM
You have to have scripts to do it though
but there's no middleware between netsuite and the end point required.
For whatever the API supports
n

Nicolas Bean

03/31/2022, 6:53 PM
ok great- what module would that be for use in scripts?
e

Eric B

03/31/2022, 6:54 PM
you'd be better off having the external system pull data especially if the external system requires IP whitelisting which won't work with NS.
👍 1
n

Nicolas Bean

03/31/2022, 6:54 PM
that is what I thought ^
c

creece

03/31/2022, 6:56 PM
It really just depends on what you wanna do. N/https or N/http would be the module you use to call the APIs
n

Nicolas Bean

03/31/2022, 6:56 PM
say you want to generate a file and put it on an SFTP
c

creece

03/31/2022, 6:57 PM
You'd use N/sftp module
n

Nicolas Bean

03/31/2022, 6:57 PM
how easy is it? I am pretty good with suitescript as a whole but have never done this
I assume we can fetch a saved search, generate a file somehow and then the part where I would put it on an SFTP is where I am not sure
c

creece

03/31/2022, 6:58 PM
Should be plenty of examples in help or suiteanswers for doing it. Probably better than trying to has it out on chat here.
n

Nicolas Bean

03/31/2022, 6:58 PM
sounds good i'll take a look
c

creece

03/31/2022, 6:58 PM
Would search for "sftp" or something similar. Sometimes search is picky
👍 1
The main N/sftp example does almost exactly what you want
n

Nicolas Bean

03/31/2022, 7:01 PM
this is great thank you
2 Views