Discussions
Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Don't miss out on our Question of the week! You only have until tomorrow, November 14, 2024, 2PM ET to comment your answers and earn rewards! Click here for more details.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
Unleash the Power of AI with NetSuite's Intelligent Recommendations
Don't miss out on the opportunity to boost sales and customer satisfaction. Elevate your business with NetSuite's Intelligent Recommendations.
Don't miss out on the opportunity to boost sales and customer satisfaction. Elevate your business with NetSuite's Intelligent Recommendations.
It’s important for the author of a question to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. For more information, please refer to this Help article explaining best practices for getting answers to questions.
Set search preferences (Delphi)
Hello,
I'm working on Delphi XE3 and I imported NetSuite's WSDL from https://webservices.netsuite.com/wsdl/v2013_1_0/netsuite.wsdl .
I need to get all the active items with their prices. I tried to made a search but the pricingMatrix isn't returned because of the bodyFieldOnly default preference set to true.
So I tried to change the search preference but I couldn't figure out how to bind my searchPreferences to my search.
I saw the example on the help center but I don't know how to adapt the JAVA sample to Delphi. :h_a_w:
Here is my code:
//searchPref := SearchPreferences2.Create; //searchPref.bodyFieldsOnly := false; articlesNetSuite := Articles.Create; famillesNetSuite := Articles.Create; search := ItemSearchAdvanced.Create; criteres := ItemSearch2.Create; criteresBasic := ItemSearchBasic.Create; isInactive := SearchBooleanField.Create; isInactive.searchValue := false; criteresBasic.isInactive := isInactive; criteres.basic := criteresBasic; search.criteria := criteres; rep := NetSuiteWS.search(search);
Tagged:
0