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.
NSC | SuiteQL Query: Reducing Transaction Results by Internal ID
Scenario:
Some NetSuite Accounts contain a very large number of transaction records and are sometimes advised to break the query into smaller results to avoid running into timeouts.
Solution:
Generally, users must call only the columns they need to optimize their query. They may utilize the internal ID along with operators such as less than, greater than, or equal to reduce the results. Here is a sample:
select id, lastmodifieddate, tranid
FROM transaction
WHERE type = 'SalesOrd' AND id < 7000;
This query will only return transaction records whose internal IDs are below 7000. It should be noted that internal IDs usually skip and therefore this does not necessarily mean that the result will return 7000 records.
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see