Webinar

October 12, 2021 12:00 PM EDT
The future of RPA: Migrating to Gen-2 toolsOctober 12, 2021 12:00 PM EDT
Are you wondering if it is worth the time and money to switch RPA platforms? Join our RPA experts as they discuss all things migration & Gen-2 tools.

Connect

Connect to Netsuite with credentials from environment variables.

Arguments

Argument Type Default value Description
accountstr, NoneNone
consumer_keystr, NoneNone
consumer_secretstr, NoneNone
token_keystr, NoneNone
token_secretstr, NoneNone

Connect to Netsuite with credentials from environment variables.

Parameters are not logged into Robot Framework log.

param account:parameter or environment variable NS_ACCOUNT
param consumer_key:
 parameter or environment variable NS_CONSUMER_KEY
param consumer_secret:
 parameter or environment variable NS_CONSUMER_SECRET
param token_key:
 parameter or environment variable NS_TOKEN_KEY
param token_secret:
 parameter or environment variable NS_TOKEN_SECRET

Get Accounts

Get Accounts of any type or specified type.

Arguments

Argument Type Default value Description
countint100
account_typestrNone
param count:number of Accounts to return, defaults to 100
param account_type:
 if None returns all account types, example. "_expense", defaults to None
return:accounts

Get Classifications

Get all Netsuite Classifications

return:classifications

Get Currencies

Get all Netsuite Currencies

return:currencies

Get Currency

Get all a Netsuite Currency by its ID

Arguments

Argument Type Default value Description
currency_idstrnull
param currency_id:
 ID of the currency to get
return:currency

Get Departments

Get all Netsuite Departments

return:departments

Get Locations

Get all Netsuite Locations

return:locations

Get Vendor Bills

Get list of vendor bills

Arguments

Argument Type Default value Description
countint10
param count:number of vendor bills to return, defaults to 10
return:list of vendor bills

Get Vendors

Get list of vendors

Arguments

Argument Type Default value Description
countint10
param count:number of vendors to return, defaults to 10
return:list of vendors

Login

Login to Netsuite with credentials from environment variables

Arguments

Argument Type Default value Description
accountstr, NoneNone
emailstr, NoneNone
passwordstr, NoneNone
rolestr, NoneNone
appidstr, NoneNone

Parameters are not logged into Robot Framework log.

param account:parameter or environment variable NS_ACCOUNT
param email:parameter or environment variable NS_EMAIL
param password:parameter or environment variable NS_PASSWORD
param role:parameter or environment variable NS_ROLE
param appid:parameter or environment variable NS_APPID

Netsuite Get

Get all records of given type and internalId and/or externalId.

Arguments

Argument Type Default value Description
record_typestrNone
internal_idstrNone
external_idstrNone
param record_type:
 type of Netsuite record to get
param internal_id:
 internalId of the type, default None
param external_id:
 external_id of the type, default None
raises ValueError:
 if record_type is not given
return:records as a list or None

Netsuite Get All

Get all records of given type.

Arguments

Argument Type Default value Description
record_typestrnull
param record_type:
 type of Netsuite record to get
raises ValueError:
 if record_type is not given
return:records as a list or None

Netsuite Search All

Search Netsuite for a type results.

Arguments

Argument Type Default value Description
type_namestrnull
page_sizeint20
param type_name:
 search target type name
param page_size:
 result items within one page, defaults to 5
return:paginated search object