
My customer is a foodbank and they have the CERES Addon in their 2016 NAV . They have posted entries for an Item with wrong value to the Item Ledger Report View table # 14012332.
I created a processing report to modify one of the fields values but I'm getting an SQL error message (See attached). Looking at the properties of that table I see the Linked Property flagged as YES.
Any ideas how to resolve this issue?
Thank you
Hi,
The problem is that the NAV table (Item Ledger Report View) is not a real table. Instead it is built on a SQL Server View. These SQL Views are build on SQL Server SELECT statements and return data in a tabular format which can look like a table for read only operations. However, there are strict rules about how you can update a view and it seems that in this scenario the view cannot be updated like a normal table for one of the reasons suggested by the error message you shared.
To resolve this you will need to understand the SQL View which the Item Ledger Report View table is based on. When you understand the View you can figure out how to UPDATE the underlying data which forms the view. For example, it may be that a single row returned by the View is an aggregation of several records from one or more underlying table(s). It may therefore be necessary to apply the data fix to all of the underlying records in whatever table the View is based on.