public void Start() { Trace.WriteLine("Begin", Strings.DEMAT); var processor = new InvoiceProcessor(Iso, ExportDirectory); if (FirstRun) { processor.ZeroExportNumbers(); } processor.ProcessAll(); if (FirstRun) { var rprocessor = new RetailerProcessor(ExportDirectory); rprocessor.Process(DateTime.Now); } Trace.WriteLine("End", Strings.DEMAT); }
public static void FirceRetailerExport() { var rprocessor = new RetailerProcessor(ExportDirectory); rprocessor.Process(DateTime.Now); }