

This is a reposting of an article Patrick Roth originally wrote on my Developing for Dynamics GP blog.
I think the most customized window in VBA must be the SOP Entry window.
If the customization is not saving custom data for the header/line items, then it is adding custom logic based on document type and any number of other factors.
In all of this – especially saving custom data to a parallel table – the SOP Number is important as it identifies the document. And, of course, to be unique your primary key would also include the SOP Type field – just like the SOP10100 table does in Dynamics.
Getting the SOP Number is easy – it is the string value from the window.
Continue reading →