Ryan,
I have a stupid question for you. I'm trying to create that little function you have there and I'm having an issue. When running the def fixPOSKeyError(d): command it obiously goes into some edit mode. Once the rest of the code is pasted in, how does one save and close it? I'm not the zendmd guru here but I'd like to work this issue.
Thanks in advance