Gert Ambachtsheer Posted May 17 Share Posted May 17 I'm trying to update a custom field for my Order Entry transaction, but I keep getting the error: Cannot update non-existing SODOCUMENT with DOCID=*************. Even using the default xml update function in Postman for updating an Order Entry transaction gives me the above error. Does the fact that my Order Entry transactions are private have an impact on this? It does not matter if I target the RECORDNO or the DOCID of the Order Entry transaction. Link to comment Share on other sites More sharing options...
Preston, Charlie Posted May 17 Share Posted May 17 Is your document you are trying to update existing at the top level or the entity level? Did you making your initial connection at the right level? Link to comment Share on other sites More sharing options...
Preston, Charlie Posted May 17 Share Posted May 17 Gert, I've re-read your question and realised I missed the bit about the document being private - this means the document was created at the entity level, rather than the top level. This being the case, when you get your session id in postman you need to connect at the entity level. For example, the following will connect to the entity with an id of 500: <function controlid="{{$guid}}"> <getAPISession> <locationid>500</locationid> </getAPISession> </function> You can then make your update call. More information can be found on this help page https://developer.intacct.com/api/company-console/api-sessions/ 1 Link to comment Share on other sites More sharing options...
Gert Ambachtsheer Posted May 20 Author Share Posted May 20 Hi Charlie, thank you. I was not on entity level, thanks for pointing that out. Link to comment Share on other sites More sharing options...
Recommended Posts