I'm using VB.Net to update line item site id's to match the header default.
Example:
SOPLineWorkTable.Change()
SOPLineWorkTable.LocationCode.Value = GPAddIn.SalesTransactionEntry.LocationCode.Value
SOPLineWorkTable.Save()
This all works fine except that when you look at the line item in the GP scrolling window it still displays the old value. If you click into the line site id field it automatically refreshes and displays the new value I updated in the global table buffer.
Does anyone have a .Net code example of repainting/refreshing the particular scrolling window line after making changes to the underlying global table buffer for that line?
Or, does anyone have an example of refreshing/repainting all the scrolling window lines to display the current table values?
Thank you.