Jump to content

Recommended Posts

Posted

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.

Posted

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/
 
  • Thanks 1
×
×
  • Create New...