Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Unexpected error 1249 when trying to get prices
I'm trying to get all the prices in a price level, for all inventory items
C# Code:
service.search(new PricingSearchBasic());
or:
service.search(new PricingSearchBasic { priceLevel = new SearchMultiSelectField { @operator = SearchMultiSelectFieldOperator.anyOf, operatorSpecified = true, searchValue = new [] { new RecordRef { internalId = "1", type=RecordType.priceLevel } } } });The error in both cases is:
{ "statusField": { "statusDetailField": [ { "codeField": 1249, "messageField": "An unexpected error occurred. Error ID: icqp5ujpkihlqelvz85i", "typeField": 0 } ], "isSuccessField": false, "isSuccessFieldSpecified": true }, "totalRecordsField": 0, "totalRecordsFieldSpecified": false, "pageSizeField": 0, "pageSizeFieldSpecified": false, "totalPagesField": 0, "totalPagesFieldSpecified": false, "pageIndexField": 0, "pageIndexFieldSpecified": false, "searchIdField": null, "recordListField": null, "searchRowListField": null } Any ideas?
Thanks!
Rodrigo.
0