Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
INVALID_TRANS_TYP from get() on SalesOrder
Hi all, I've been trying to retrieve a specific SalesOrder using the get() method but getting an error.
It works splendidly with InventoryItem, but with SalesOrder I get the following response error:
Accellos.Integrations.A1WtoNetSuite.com.netsuite.webservices.StatusDetailCodeType.INVALID_TRANS_TYP
"Transaction type specified is incorrect."
Code:
RecordRef soRecord = new RecordRef()
{
internalId = "734",
name = "A Wolfe",
type = RecordType.salesOrder,
typeSpecified = true
};
ReadResponse response = NetSuiteService().get(soRecord);
I've tried with and without the name/entity parameter but nothing seems to work. The orders I'm attempting are in Pending Fulfillment status. Everything I've researched so far hints that this should work. Any ideas?