Issue: In NAV 2009, when attempting to post a Purchase Invoice linked to a Job, you may experience the following error message:
You do not have permission to modify records in the Value Entry table
What was interesting is that this error message persisted even after users were assigned MODIFY permission for TableData 5802 (Value Entry). Even more interesting was that users who had the SUPER role assigned to them got the error message as well.
This issue occurred with an end-customer license, but could not be replicated when testing with our Partner license.
Solution: After some searching, we found that it is a known issue with a remedy from Microsoft (http://support.microsoft.com/kb/976232):
It turns out that Read and Modify permissions for Table 5802 must be explicitly granted from within Codeunit 1012 (Job Jnl.-Post Line), and voila – it works!