SOP – "This document has been posted." Error & Resolution

This one was a real menace for me, to say the least.

One of the Users reported the error message “This document has been posted.” for a particular SOP Document.

The following were the observations:
1. This document was never saved in a batch.
2. GP hung at the time of entering this document.
3. The User killed GP session in order to come out of the Hung Session.
4. User confirmed that he did not enter any Batch while creating this Document.
5. Once restarting GP (after the KILL), he entered the SOP Number (which he had noted down) and received this Error Message.

Following this, I first resorted in clearing all the Activity Records (ACTIVITY, SY00800, DEX_LOCK & DEX_SESSION). There is a KB article, KB#857082, explaining this issue and the resolution. BUT this did not solve the issue at all. I was still getting the same error message again.

I checked the SOP10100 table for the record and found that document residing there. Also in SOP10102 and SOP10200 tables. Now, I did the following:

1. Created an SOP Batch in GP.
2. Updated the SOP10100 record for that document with the Batch Number that I created in GP.
3. Tried opening the document, but in vain. Still the same error.
4. Checked several updates but to no avail.

After quite an amount of frustrating time, SQL Profiler and Dex Script Log, I found the following:

Batch Source (BCHSOURC) field of table SOP Header Work (SOP10100) MUST NOT BE EMPTY. It has to be “Sales Entry” (Note the Cases; It has to be exactly “Sales Entry“). If the Batch Source field is empty, GP understands that this document is a Real Time document and that it should not be residing in SOP Header Work table at all.

Alright, after I updated this field, I am good to go to open that stuck SOP Document.

NOTE: Always in scenarios like this, delete the SOP Document and recreate it. It’s not advisable to amend anything to this released SOP Document. We never know what else would be wrong with such documents.

Happy Debugging; What else could I say !?!?! :-).



Another happiest moment in my Life!

Yes today is another happiest moment in our Life. My daughter has started speaking. 🙂 You know what? That’s an amazing feeling I can say.


PO Skipping – Mariano Explains

This is another gem of an article on a rarely touched topic. Mariano explains Why my PO Number seems to skip randomly?


Consultants Sell – From eOne Solutions Blog

This article explains how Consultants play a crucial role in building the confidence in a Client with respect to the Product he/she implements.

Sales people are the ones who take the lead, but eventually, the Consultants who interact with the Clients on a regular basis and the Consultants who implement the product, are the ones who take the relationship further and bring more values and reputation.

Good One.


Mohammed Daoud, The MVP from Jordan – Interview in Microsoft Feed

Check this out: Interview with Mohammed Daoud, MVP, Jordan. He is sincere and modest in all his replies and you would get a glimpse of his Personal qualities too.


Myths about Year-End Closing – Christina Phillips Breaks It

You got to read this article Year-End Closing Myths & Actual Facts written by Christina Phillips, of The Dynamics GP Land.


All About A4 Chunk – David Mugrave

This one is very informative. David has come up with this article which would shed some light on what A4 Chunk is all about and the FAQs completes it.

Read it here: What is the A4 Chunk?