You are receiving the below error message when attempting to publish an invoice/bill.
Error inserting Purchase Order: (SimplySDK.SimplyNoAccessException) The invoice number field is disabled or it is hidden because the journal is not in invoice mode.
Sage 50 Canada integrated companies.
When integrating the AutoEntry Desktop Sync App with Sage 50 Canada, you must set up a new user within Sage. If the new user you have set up does not have full permissions, you will encounter this error.
To clear this error, please do the following:
Log into the Sage company as Sysadmin.
Select Setup > Set up users > select the user for Autoentry.
Ensure the AutoEntry user has full access rights as seen below by selecting Read/Write access and Full accounting rights.
Pause Sage Drive, then close Sage.
Republish the affected invoice(s).
Once the invoices have published you can then return to Sage and unpause Drive!