I'm curious if there is a way to grab all invoices? I'd like to be able to write a function to grab all invoices about a given client. I don't recall how I managed to find these URLs in the past though I do recall there is an invoice object. With current privileges I do not have access as seen here. Though the mentioned permission is added. I can get access as long as I know what exactly is needed.
"{"error" : {"code" : "INSUFFICIENT_PERMISSION", "message" : "Permission Violation: You need the \'Transactions -> Invoice\' permission to access this function getCard(input){ var record = nlapiLoadRecord('Invoice', 270); return record; } The number 270 was chosen at random, just trying to see if I can get any information about an Invoice. The above lead to an error, that I have access to the Transactions -> Invoice, but I get the permission error found above.Below are links to functions I've been using over time.InvoiceCustomer