Skip to main content
Solved

Object reference not set to an instance of an object when the 'Replace entry screen with this inquiry in menu' is ticked

  • Jul 1, 2024 1:12 PM UTC
  • 2 replies
  • 179 views
  • Translate All

Forum|alt.badge.img+11

Hi guys,

 

I have been having an issue with an entry screen for a custom screen i developed.

 

I have added the screen and on its own it works exactly as intended, however I have made a GI to replace it as an entry screen, I can access the screen through the GI itself. However, as soon as i tick the ‘Replace entry screen with this inquiry in the menu’ tickbox, I get the error ‘Object reference not set to an instance of an object.

I have attached the code for the graph and the DACs which are used in the screen.

Has this happened to anyone before/does anyone know why this could be happening?

 

Thanks,

Aleks

Best answer by aiwan

Found my issue, for some reason I removed the IsKey = true from my LineCntr field...

View original

2 replies

Forum|alt.badge.img+11
  • Author
  • Captain II
  • Answer
  • Jul 1, 2024 2:01 PM UTC

Found my issue, for some reason I removed the IsKey = true from my LineCntr field...

Translate

Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • Jul 1, 2024 8:15 PM UTC

Thank you for sharing your solution with the community @aiwan!

Translate