I want to reload the SalesOrderDataSet after a MasterUpdate, but this dsHolderAttach no longer works in E11. Is there an equivalent code block that will allow me to reload/refresh the data. This code is inside of a Data Directive.
It is dsHolder.Attach(ds)
That syntax does not work either. I get another DataSet, do a GetByID with the ordernum, and then:
dsHolder.Attach(ds2)
I just want to reload the Sales Order form after a MasterUpdate.
I don’t believe that you can reload a dataset in a data directive as you don’t have to whole dataset in that context. (I didn’t check to be sure, but it doesn’t make logical sense to me)
I think you’ll have to do this on masterUpate with a post processing method directive.
This passes context check in master update post processing. (I didn’t actually run anything to check functionality). So I think if you move it there, you should be good.
2 Likes


