This commit is contained in:
@@ -91,7 +91,6 @@ namespace DataLoader
|
||||
entry.MyDocument = Document.Get(Documentid);
|
||||
entry.DTS = Dts;
|
||||
entry.UserID = Userid;
|
||||
//entry = Entry.MakeEntry(cont.ContentID, Document.Get(Documentid), Dts, Userid);
|
||||
}
|
||||
cont.MyZContent.OldStepSequence = ProcNumber + "|" + stpseq;
|
||||
Item itm = null;
|
||||
@@ -476,7 +475,16 @@ namespace DataLoader
|
||||
cont.Save();
|
||||
}
|
||||
thesectid = secitem.ItemID;
|
||||
|
||||
using (ItemInfo seciteminfo = ItemInfo.Get(thesectid))
|
||||
{
|
||||
if (seciteminfo.MyContent.ContentEntryCount != 0)
|
||||
{
|
||||
using (DocumentInfo di = DocumentInfo.Get(secitem.MyContent.MyEntry.DocID))
|
||||
{
|
||||
MSWordToPDF.UpdateDocPdf(di, Color.Red);
|
||||
}
|
||||
}
|
||||
}
|
||||
// if the editsectid hasn't been set yet, set it to this section id, i.e. the first
|
||||
// one processed. Then if this section has the original edit section flag (sequence[2])
|
||||
// save the id. The first step is necessary in case there is no original edit section
|
||||
|
Reference in New Issue
Block a user