This commit is contained in:
Kathy Ruffing 2010-11-10 18:13:10 +00:00
parent 34c1bb5243
commit 23f30d23c3

View File

@ -79,7 +79,13 @@ namespace DataLoader
SaveSectionDocument(fname, stpseq, SecType, ref Documentid, procitem.DisplayNumber + ":" + (Number == string.Empty ? Title : Number));
if (Documentid == 0)
{
if (MissingDocument==null) MissingDocument = Document.MakeDocument("MISSING FILE IN CONVERSION", null, null, null,null);
if (MissingDocument == null)
{
if (ci == null) ci = new ConfigInfo(null);
ci.AddItem("Printing", "Length", string.Format("{0:0.0000}", 0.001));
Byte[] tstbyte = System.Text.Encoding.Default.GetBytes("");
MissingDocument = Document.MakeDocument("MISSING FILE IN CONVERSION", tstbyte, null, ci.ToString(), null);
}
Documentid = MissingDocument.DocID;
missingDocFile = true;
}