2916
Points
Questions
7
Answers
654
-
You can check for the error in your error handling but you can’t change the timeout value.
- 1923 views
- 1 answers
- 0 votes
-
I had another look at this and the only way to achieve this really is with a stored custom field on the Customer to determine whether it’s one of the ones you want to include. Once you have that, you can add the Report filter.
If you could possibly do it with Saved Searches or SuiteAnalytics then it is much easier to do it completely within the criteria.
- 880 views
- 5 answers
- 0 votes
-
Hi,
Apologies – I am asking do you need a Report or would a Saved Search be acceptable?
Thanks,
Chris
- 880 views
- 5 answers
- 0 votes
-
Hi,
It seems that location may be a challenge based on this other recent question:
https://netsuiteprofessionals.com/question/set-item-location-via-rest-api-when-creating-a-new-sales-order/I’ve just done a quick test with Department and that seems to have the same issue too for some reason!?!
There’s some suggestions on that other ticket as to what you might be able to do to work around this apparent limitation.That said, I don’t believe that you should have any issues with custom fields based on my testing – just use the field name in the line level object of the JSON.
Thanks,
Chris
- 3179 views
- 4 answers
- 0 votes
-
Would a Saved Search be acceptable for what you’re looking to get from the results?
- 880 views
- 5 answers
- 0 votes
-
Hi,
There’s a really handy sample Postman collection here:
https://netsuite.custhelp.com/app/answers/detail/a_id/86958And based off that, the minimal amount you need for an Invoice will be something like this:
{ "entity": { "id": 1 }, "item": { "items":[ { "item": { "id": 12 }, "rate": 10, "amount": 10 } ] } }Thanks,
Chris
- 3179 views
- 4 answers
- 0 votes
-
Hi jsj,
This is baffling. I don’t get quite the same error as you but I can’t get location to stick and I do see an Inventory Detail link that doesn’t show up on any Saved Searches, etc.
Though your error does suggest more of a wrong value than invalid message??? The one thing I would note is that even in SuiteScript I’ve had issues with different Sales Order dropdown fields.
Equally, it may well be a Beta issue but I’d be intrigued to know how to get it working.In terms of a solution, unless you need different locations at line level, you can remove it from the form. Would that work for you?
Thanks,
Chris
- 4877 views
- 9 answers
- 0 votes
-
Tried this structure?
…
“items”: [
{
“item”: {
“id”: 1738
},
“quantity”: 1,
“taxRate1”: 0.16,
“location”: {
“id”: “65”
}
}
]
…- 4877 views
- 9 answers
- 0 votes
-
I’m pretty certain that location lives on the line rather than the Inventory Detail. Can you share your request JSON?
- 4877 views
- 9 answers
- 0 votes
-
Hi,
It’s really difficult to assist without knowing exactly what encryption mechanism is being used on the other system.
Also, I think you might have more luck on a CryptoJS forum or Stack Overflow on this subject and I found this which might be helpful:
https://stackoverflow.com/questions/14958103
In particular, it’s not clear whether any of your values are Base64 encoded and whether there’s a salt / initialisation vector.
Equally, I’d be happy to assist further if you can provide any further details about how the source system is encrypting the value.
Thanks,
Chris
- 2303 views
- 1 answers
- 0 votes