'// we had to save it in the current database as well so before closing, change the form so that it's not included in any bookings being made in this replica
'// an agent will run daily to remove these duff documents
Dim item As NotesItem
Call uidoc.Close
Set item = tempDoc.ReplaceItemValue( "MaterialAlias","duff" )