Пример #1
0
        private static void StartCopy()
        {
            try
            {
                RetrieveDrawings.CopyDrawings(xmlResultParm, urlParm);
            }
            catch (Exception sc1)
            {
                Triggers.logEvent = "ERROR: " + sc1.Message;
                System.Diagnostics.EventLog.WriteEntry(Triggers.logSource, Triggers.logEvent, System.Diagnostics.EventLogEntryType.Information, 234);
            }
            //RetrieveDrawings.CopyDrawings(xmlResultParm, urlParm);
            string logEvent = "PROCESSING COMPLETE FOR ORDER: " + Triggers.orderValue;

            Audit.ProcessingCompleted(logEvent);

            //If site was not NOVB, disable the C1Order trigger for the order-site and then move the queue record to the appropriate site queue table
            switch (StagingUtilities.dbSite)
            {
            case "NOVB":
                //do nothing
                break;

            default:
                DatabaseFactory.MoveQueueRecord(Triggers.pubOrderNumber, StagingUtilities.dbSite);
                break;
            }
        }
Пример #2
0
 private static void StartCopy()
 {
     try
     {
         RetrieveDrawings.CopyDrawings(xmlResultParm, urlParm);
     }
     catch (Exception sc1)
     {
         Triggers.logEvent = "ERROR: " + sc1.Message;
         System.Diagnostics.EventLog.WriteEntry(Triggers.logSource, Triggers.logEvent, System.Diagnostics.EventLogEntryType.Information, 234);
     }
     //RetrieveDrawings.CopyDrawings(xmlResultParm, urlParm);
 }