Skip to main content
Answer

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

  • July 1, 2024
  • 2 replies
  • 122 views

Forum|alt.badge.img+8

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...

2 replies

Forum|alt.badge.img+8
  • Author
  • Captain II
  • Answer
  • July 1, 2024

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


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • July 1, 2024

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