Skip to main content
Question

Cannot load data from database


Forum|alt.badge.img

in screen reason code. I update description field from code and save it to database but when I go to screen reason code, I see blank field and I check in database data store there. Otherwise if I update data from screen it can show up

 

Robert Sternberg
Captain II
Forum|alt.badge.img+7

How are you updating the description field?  Can you share additional details on this process? 
 

I suspect we are reaching some limitations on field size which is typically caught through the screen’s business logic.  Backend updates could cause issues like this and are not recommended without proper validation. 


Naveen Boga
Captain II
Forum|alt.badge.img+19

@vannakheng66 The Reason Codes → Description field is limited to 20 characters. It appears you might have made changes at the database level, updating the value there. However, for it to reflect on the screen, you also need to adjust the DAC field size in the code level using the Cache_Attached event. This ensures that the updated value will be properly populated on the screen.


Forum|alt.badge.img
Naveen Boga wrote:

@vannakheng66 The Reason Codes → Description field is limited to 20 characters. It appears you might have made changes at the database level, updating the value there. However, for it to reflect on the screen, you also need to adjust the DAC field size in the code level using the Cache_Attached event. This ensures that the updated value will be properly populated on the screen.

I have done cache attached already but I don’t why it’s cannot populate

 


Forum|alt.badge.img
Robert Sternberg wrote:

How are you updating the description field?  Can you share additional details on this process? 
 

I suspect we are reaching some limitations on field size which is typically caught through the screen’s business logic.  Backend updates could cause issues like this and are not recommended without proper validation. 

I have increased length of description field already.

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • March 11, 2024

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


Forum|alt.badge.img
Chris Hackett wrote:

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

No


andriikravetskyi35
Jr Varsity I
Forum|alt.badge.img+1

Hi @vannakheng66 ,

I am not sure that it will help, but Acuminator requires this method, try enable your graph extension, add:

public static bool IsActive() => true;


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