Good day to you all,
In our test environment we added some user fields to the PartSug table we wish to update. it seems this is a System Table, and most of the fields show as Read Only.
I’ve created a UBAQ that uses PlanningWB - UpdateExt BO. When I try to update any field I get the following msg:
Severity: Exception, Table: PartSug, Field: , RowID: 708c4136-0cb1-4573-bf6c-f21752baac41, Text: Cannot update Part Suggestions with this object
Query returned 1 row(s).
Hi, I know is an odd request; they need a “reviewed” box to check, as sometimes they won’t act on a suggestion and want to flag them as “reviewed”. Our MRP does not run everyday on every part, so suggestions stay there for a while until MRP runs and recreates the table as you mentioned.
Hi Arul, I tried this and the error went away. It showed as successfully executed, but it is not saving the changes. I refreshed the Grid and the lines checked were unchecked.
We have some UD fields on the SugPODtl data and they work well for us, staying put as long as the PO suggestion stays put, and are completely updateable via bpm or update query at will. Since your updates to the Reviewed field seem to be unsupported / dicey in system, I’d go the UD way to ensure it works for future versions as needed.
I added the Custom Code as is, but is not updating changes. Was I supposed to add or edit additional code after the foreach statement? Sorry for my rookie questions.