A new user is given Buying agent role with permissions to a specific Company.
When trying to confirm a purchase order, the following error occurs:
“An error occurred during update. Posting Purchase order: #### The state of the source document or source document line could not be updated.”