SalesTable DocumentStatus field not updated on Picking list update (sometimes)


I have a problem with ax2012 in which the salesTable documentStatus field dont get updated to PickingList after succesfully posting a Picking list journal. But only sometines. Less than 1% of the cases.

This code should be executed on SalesPickingListJournalPost class, method updateSourceTable.

Anyone has experienced a similar problem posting picking list, packing slips or whatever document?