Skip to main content
Question

Grid didn't save records


angelesosorno86
Freshman II
Forum|alt.badge.img

Hi everyone, I have a troble and I hope if someone could help me.

The issue is in a project of customization, I needed to create a new screen and I had to redirect from another screen so the new screen is a pop-up screen.

In the pop-up screen I have a grid and I want to save a record from another table but when I push Save button it doesn’t nothing, I checked that current cache of the dac (I mean the cache of the grid) is full but it doesnt save when i'm in its tab but if I change the tab and I try to save, it's done and It save the record, it's rare because I didn't save nothing, I didn't remove neither modify. The primary view was refered another Dac and the others tabs was refered the same view but the issue tab was from its view.

 

Also the Dac “Cargos Adicionales” have a compound key, I mean, it have the keys from the primary table that is the primary view in the screen. I don’t no if I could be the problem because it worked if it have a identity key in the schema, but for request I needed to create a compound key.

Any help will be appreciated

Regards.

15 replies

Forum|alt.badge.img+6
  • Captain II
  • 554 replies
  • November 21, 2024

Can you show us the DACs?


angelesosorno86
Freshman II
Forum|alt.badge.img

Thank you Django for responding.

Yes, I do


Forum|alt.badge.img+6
  • Captain II
  • 554 replies
  • November 21, 2024

This reminds me of an issue that ​@darylbowman had that he solved.

 

Nothing jumped out at me on the DACs but maybe Daryl’s solution will work for you.


darylbowman
Captain II
Forum|alt.badge.img+13

Specifically this post.  It didn’t remind me of that issue, but it’s definitely worth a shot.


angelesosorno86
Freshman II
Forum|alt.badge.img

@Django and ​@darylbowman Thanks so much for responding, I'll check out that post and come back if it works fine 🙂

 


angelesosorno86
Freshman II
Forum|alt.badge.img

Hi, sorry but it doesn’t work for me 😕


Forum|alt.badge.img+6
  • Captain II
  • 554 replies
  • November 22, 2024

So when you say this is a pop-up screen, is it a dialog that you’re invoking or is it simply a re-direct - so a regular screen?

Out of curiosity, when I look at your declarations, they aren’t set up the same way that I see them coded:

public abstract class quotationID : IBqlField { }

would normally be coded:

public abstract class quotationID : PX.Data.BQL.BqlInt.Field<quotationID> {}

Now, that might still be equivalent but it is something that’s different.

Are you sure that your database table keys are set up the same way that the DAC is expecting to see them?


darylbowman
Captain II
Forum|alt.badge.img+13

If you'd be comfortable sharing the customization package, I can look at it tomorrow.


angelesosorno86
Freshman II
Forum|alt.badge.img

@Django Yes, it’s a re-direct to a regular screen in a graph extension


angelesosorno86
Freshman II
Forum|alt.badge.img

@darylbowman I’m not sure, but let me check if I can create a video about the issue. Thank you for take the time guys!


angelesosorno86
Freshman II
Forum|alt.badge.img

Hi ​@darylbowman, I’m not allowed sharing the project but I found a picture with similar issue, basically I could not modify neither delete a record in the grid also I used PXRedirectRequiredException sentence, but in the graph I use it is an extension graph and I want to open the screen in this extension. 

throw new PXRedirectRequiredException(graph, true, string.Empty)
{
  Mode = PXBaseRedirectException.WindowMode.NewWindow

};

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2751 replies
  • January 23, 2025

Hi ​@angelesosorno86 were you able to find a solution? Thank you!


angelesosorno86
Freshman II
Forum|alt.badge.img

​Hi @Chris Hackett No, I tried saving records from another tab on the same screen and it worked, but I didn't know how to run the saving processes from the tab I wanted. Currently the problem continues


harutyungevorgyan
Jr Varsity I
Forum|alt.badge.img

Hello, ​@angelesosorno86 could you please share your SQL Table structure?


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3404 replies
  • March 17, 2025

Hi ​@angelesosorno86 If this issue is still unresolved, I kindly request you to share the customization package (if you're comfortable) to help us review and identify the root cause more efficiently.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings