Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
AbrahamA 3/28/2007 10:58:32 AM

The given key was not present in the dictionary

I encountered an 'The given key was not present in the dictionary' error today when loading Dynamics, it occurred just before the login screen. It was caused by deleting a field on a form that I had an event handler set for. Commenting out the event handler code fixed it.

 In today's case I had deleted a custom field, and still had the event handler in the GpAddin.vb file under Sub Initialize:

AddHandler DynamicsModified.Forms.SopEntry.SopEntry.LineScroll.QtyOnPo.LeaveAfterOriginal, AddressOf oSOPTransactionEntryDetail.QtyOnPoLeaveAfterOriginal

This needed to be commented out.

Version: Unknown or N/A
Section: Visual Studio Tools for Dynamics GP
This thread has been marked as 'Closed' and archived

Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables