Month End Closing

I am trying to close the month end but I am getting the following error:

I ran the SQL and got couple of entries that might be stopping me. 

I am doing the following:

If you have subcontracting order do the following.

1)Purchasing->Subcontract->Mass closing/comletions.

2)costing->Calculate actual subcon.cost

3)costing->wip->Wip Posting->Make sure to make the processing date for the the period the entry it should be added into. *******THE SYSTEM FLASHES AND NOTHING HAPPENS. Usually I would get a journal entry**************************

4)STOCK->Periodic Processing->Account Interface.

 What else can I check? SAGE V9P4