Skip to main content
Solved

How to Reset "Selected Checkbox field" in acumatica panel

  • Dec 28, 2021 9:51 AM UTC
  • 5 replies
  • 379 views
  • Translate All

Forum|alt.badge.img

Hi All,

I have created a customized panel in “Sales Order” screen and this panel all user to add items to the SOLine.

After I click on “Apply” or “Cancel” button the selected check box should be cleared. How can i achieve this. 

I used PXBool for selected field it is not working. Is this field is controlled buttons?

Please help me on this

 

 

 

Regards,

Ramya

Best answer by Naveen Boga

Hi @ramya15  You can also below code after clearing the cache. The below code will refresh your View.

Graph.ViewName.View.RequestRefresh();

 

Hope this helps!

View original

5 replies

vivekm
Varsity III
Forum|alt.badge.img
  • Varsity III
  • Dec 28, 2021 9:57 AM UTC

Hi @ramya15 

Can you try with View.Cache.Clear(); in Apply and Cancel button action after your logic execution. 

Translate

Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • Dec 29, 2021 2:54 AM UTC

Hi @vivekm ,

Thanks for your response. 

I tried to execute the code as mentioned below. But it reset the “selected field checkbox”, once i refresh the entire screen. It doesn’t reset after i close and open the Panel.

Please check on this.

 

Regards,

Ramya

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Answer
  • Dec 29, 2021 4:14 AM UTC

Hi @ramya15  You can also below code after clearing the cache. The below code will refresh your View.

Graph.ViewName.View.RequestRefresh();

 

Hope this helps!

Translate

Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • Dec 30, 2021 1:36 AM UTC

Thanks @Naveen B

Graph.ViewName.View.RequestRefresh();  is working.

 

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Dec 30, 2021 1:48 AM UTC

@ramya15 Awesome. Thanks for the confirmation :) 

Translate