We're doing a manual apply (inserting into PM10200) for two documents, and I was asked to write code to move the two documents and the apply line to history.
We're assuming that the documents are 'fully applied', normally this code should make that check but in the interests of time we've omitted that step.