protected void ImportSalesLink_Click(Object sender, EventArgs e)
 {
     try
     {
         SyncProcessRemote.StartSyncProcess(SyncProcessRemote.SyncTypes.Sales);
     }
     catch (Exception ex)
     {
         this.Master.ShowError(ex);
     }
 }
Exemple #2
0
        protected void CommitDayButton_Click(Object sender, EventArgs e)
        {
            try
            {
                var rows = DpdTrackingNumberCsv.Read(this.DpdImportFile.PostedFile.InputStream);
                DpdImportController.Import(rows);
                Mailing.GenerateAutoTrackingNumber();

                SyncProcessRemote.StartSyncProcess(SyncProcessRemote.SyncTypes.TrackingNumber);
            }
            catch (Exception ex)
            {
                this.Master.ShowError(ex);
            }
        }
Exemple #3
0
 private void DoSync()
 {
     SyncProcessRemote.StartSyncProcess(SyncProcessRemote.SyncTypes.Stock);
 }