Hey all. Does anyone is using the NetSuite gem: <h...
# general
m
Hey all. Does anyone is using the NetSuite gem: https://github.com/NetSweet/netsuite? We are currently using it in our Ruby on Rails app and we're unable to retrieve
JournalEntry
objects for unknown reason with
SuiteTalk API
. When navigating to Transactions > Financial > Make* *Journal Entries > List, the journals are displayed, but it's like the
NetSuite SuiteTalk WebServices API
doesn't support retrieving this objects. We even wrote some code which went through all objects in NetSuite and tried to
get
one of the
JournalEntry
by its
@internal_id
(posting it in the thread).
Copy code
NetSuite::Records.constants.each do |c|
  if NetSuite::Records.const_get(c).is_a? Class
    pp "NetSuite::Records::#{c.to_s}".constantize.get 6430032
  end
rescue
end;1
j
I'd suggest you drop this into #C29HQS63G or #C2K2RJNAC
👍 1
m
Hey all. We solve the problem. It was because the user we used to make the API calls didn't had permission to view Journals.
👍 1