Add UD table as Child

You just want it to do everything don’t you? So the reason it isn’t updating is because the GetUDXX Function has a check to see if CurrentKey == (Key1) you can get a bit creative and clear the CurrentKey1="" on AfterUpdate() or something like that. It does this so that it doesn’t retrieve the record every time you click around (unless you actually change records)

I have the simlar situation. I added a UD table as child table in Quote. Then used BPM to do a calcuation and then update it. However, I have to click on other line or reload to get the update.

How should I clear the current key == “”? Do I do it in BPM or on the script editior? I added the code below and it showed the updated. However, it does not save the changes I made in Quote detail.

private void SaveUD14Record()
{
// Save adapter data
this._ud14Adapter.Update();
oTrans.Refresh();
this._Key1UD14 = null;
this._Key2UD14 = null;

}Save