I'm trying to upload an attachment to the endpoint bill in Acumatica Rest API but gets the error
"Operation is not valid due to the current state of the object".
I’m using the RestService class from the Wiki page and the same PutFile function.
Rs.PutFile("Bill", "bf73fde2-2a71-eb11-80bc-00155d79641e", "test.pdf", sr.BaseStream)
The same call for stockItem works but not for bill? Using the id as key.
Someone who has an idea
Best answer by junmao01
View original