Hello Guys,
I wanna simulate the press action on save when updating a field
i m using this code:
protected void Choixfournisseurline_Selected_FieldUpdated(PXCache cache, PXFieldUpdatedEventArgs e)
{
var row = (Choixfournisseurline)e.Row;
PXCache cache2 = this.Caches[typeof(Choixfournisseurline)];
cache2.Persist(row , PXDBOperation.Update);
this.Save.Press();
this.Save.SetPressed(true);
cache.Graph.Actions.PressSave();
//cache2.Graph.Actions.PressSave();
}
but itβs not working!
Thanks.