Skip to main content

I need to change the values of the UI fields after button click.

This is my button click event in graph and screen. Can some one help me out?

protected virtual IEnumerable verifyVendor(PXAdapter adapter)
{
    bool isActive = false;
    string utrNo = "55656565SSS";
    //Need to change UI Active and UTR fields values from above
    return adapter.Get();
}

 

Hi @bhagyat25 ,

You need to create graph instance, access those fields from DAC and then assign values to those fields.

Regards,

Sweta


@bhagyat25 

You have to use Dataview and Dac here 

Ex: 

MyDac objname=this.MyDataview.current;

objname.Active=true;

objname.utrNo="55555";


Reply