Browse Source

Latest fix with 10 minute timer

master
Mike Carman 1 year ago
parent
commit
ba7d7bdd25
100 changed files with 11416 additions and 716 deletions
  1. +32
    -0
      JsonHelper.cs
  2. +11039
    -0
      Log/log.log
  3. +161
    -126
      Program.cs
  4. +1
    -0
      RESTObjects/RESTService.cs
  5. +8
    -0
      Settings.json
  6. +0
    -60
      Success/JDIS-20230123-08_08_14.txt
  7. +0
    -60
      Success/JDIS-20230123-08_18_17.txt
  8. +0
    -60
      Success/JDIS-20230123-08_26_00.txt
  9. +0
    -60
      Success/JDIS-20230123-08_30_02.txt
  10. +0
    -175
      Success/JDIS-20230123-08_45_11.txt
  11. +0
    -175
      Success/JDIS-20230123-08_46_42.txt
  12. +60
    -0
      Success/JDIS-20250121-12_39_09.txt
  13. +60
    -0
      Success/JDIS-20250121-12_41_02.txt
  14. BIN
      bin/Debug/net6.0/Json.Net.dll
  15. +8
    -0
      bin/Debug/net6.0/Settings.json
  16. BIN
      bin/Debug/net6.0/jdis_import
  17. +16
    -0
      bin/Debug/net6.0/jdis_import.deps.json
  18. BIN
      bin/Debug/net6.0/jdis_import.dll
  19. BIN
      bin/Debug/net6.0/jdis_import.pdb
  20. +4
    -0
      bin/release/net6.0/linux-x64/CCAddress.xml
  21. BIN
      bin/release/net6.0/linux-x64/Independentsoft.Exchange.dll
  22. +19
    -0
      bin/release/net6.0/linux-x64/IntervalData.xml
  23. BIN
      bin/release/net6.0/linux-x64/Json.Net.dll
  24. BIN
      bin/release/net6.0/linux-x64/Microsoft.CSharp.dll
  25. BIN
      bin/release/net6.0/linux-x64/Microsoft.Exchange.WebServices.Auth.dll
  26. BIN
      bin/release/net6.0/linux-x64/Microsoft.Exchange.WebServices.dll
  27. BIN
      bin/release/net6.0/linux-x64/Microsoft.Identity.Client.dll
  28. BIN
      bin/release/net6.0/linux-x64/Microsoft.IdentityModel.Abstractions.dll
  29. BIN
      bin/release/net6.0/linux-x64/Microsoft.VisualBasic.Core.dll
  30. BIN
      bin/release/net6.0/linux-x64/Microsoft.VisualBasic.dll
  31. BIN
      bin/release/net6.0/linux-x64/Microsoft.Win32.Primitives.dll
  32. BIN
      bin/release/net6.0/linux-x64/Microsoft.Win32.Registry.dll
  33. BIN
      bin/release/net6.0/linux-x64/Newtonsoft.Json.Bson.dll
  34. BIN
      bin/release/net6.0/linux-x64/Newtonsoft.Json.dll
  35. BIN
      bin/release/net6.0/linux-x64/RestSharp.dll
  36. +8
    -0
      bin/release/net6.0/linux-x64/Settings.json
  37. BIN
      bin/release/net6.0/linux-x64/System.AppContext.dll
  38. BIN
      bin/release/net6.0/linux-x64/System.Buffers.dll
  39. BIN
      bin/release/net6.0/linux-x64/System.Collections.Concurrent.dll
  40. BIN
      bin/release/net6.0/linux-x64/System.Collections.Immutable.dll
  41. BIN
      bin/release/net6.0/linux-x64/System.Collections.NonGeneric.dll
  42. BIN
      bin/release/net6.0/linux-x64/System.Collections.Specialized.dll
  43. BIN
      bin/release/net6.0/linux-x64/System.Collections.dll
  44. BIN
      bin/release/net6.0/linux-x64/System.ComponentModel.Annotations.dll
  45. BIN
      bin/release/net6.0/linux-x64/System.ComponentModel.DataAnnotations.dll
  46. BIN
      bin/release/net6.0/linux-x64/System.ComponentModel.EventBasedAsync.dll
  47. BIN
      bin/release/net6.0/linux-x64/System.ComponentModel.Primitives.dll
  48. BIN
      bin/release/net6.0/linux-x64/System.ComponentModel.TypeConverter.dll
  49. BIN
      bin/release/net6.0/linux-x64/System.ComponentModel.dll
  50. BIN
      bin/release/net6.0/linux-x64/System.Configuration.dll
  51. BIN
      bin/release/net6.0/linux-x64/System.Console.dll
  52. BIN
      bin/release/net6.0/linux-x64/System.Core.dll
  53. BIN
      bin/release/net6.0/linux-x64/System.Data.Common.dll
  54. BIN
      bin/release/net6.0/linux-x64/System.Data.DataSetExtensions.dll
  55. BIN
      bin/release/net6.0/linux-x64/System.Data.SqlClient.dll
  56. BIN
      bin/release/net6.0/linux-x64/System.Data.dll
  57. BIN
      bin/release/net6.0/linux-x64/System.Diagnostics.Contracts.dll
  58. BIN
      bin/release/net6.0/linux-x64/System.Diagnostics.Debug.dll
  59. BIN
      bin/release/net6.0/linux-x64/System.Diagnostics.DiagnosticSource.dll
  60. BIN
      bin/release/net6.0/linux-x64/System.Diagnostics.FileVersionInfo.dll
  61. BIN
      bin/release/net6.0/linux-x64/System.Diagnostics.Process.dll
  62. BIN
      bin/release/net6.0/linux-x64/System.Diagnostics.StackTrace.dll
  63. BIN
      bin/release/net6.0/linux-x64/System.Diagnostics.TextWriterTraceListener.dll
  64. BIN
      bin/release/net6.0/linux-x64/System.Diagnostics.Tools.dll
  65. BIN
      bin/release/net6.0/linux-x64/System.Diagnostics.TraceSource.dll
  66. BIN
      bin/release/net6.0/linux-x64/System.Diagnostics.Tracing.dll
  67. BIN
      bin/release/net6.0/linux-x64/System.Drawing.Primitives.dll
  68. BIN
      bin/release/net6.0/linux-x64/System.Drawing.dll
  69. BIN
      bin/release/net6.0/linux-x64/System.Dynamic.Runtime.dll
  70. BIN
      bin/release/net6.0/linux-x64/System.Formats.Asn1.dll
  71. BIN
      bin/release/net6.0/linux-x64/System.Globalization.Calendars.dll
  72. BIN
      bin/release/net6.0/linux-x64/System.Globalization.Extensions.dll
  73. BIN
      bin/release/net6.0/linux-x64/System.Globalization.dll
  74. BIN
      bin/release/net6.0/linux-x64/System.IO.Compression.Brotli.dll
  75. BIN
      bin/release/net6.0/linux-x64/System.IO.Compression.FileSystem.dll
  76. BIN
      bin/release/net6.0/linux-x64/System.IO.Compression.ZipFile.dll
  77. BIN
      bin/release/net6.0/linux-x64/System.IO.Compression.dll
  78. BIN
      bin/release/net6.0/linux-x64/System.IO.FileSystem.AccessControl.dll
  79. BIN
      bin/release/net6.0/linux-x64/System.IO.FileSystem.DriveInfo.dll
  80. BIN
      bin/release/net6.0/linux-x64/System.IO.FileSystem.Primitives.dll
  81. BIN
      bin/release/net6.0/linux-x64/System.IO.FileSystem.Watcher.dll
  82. BIN
      bin/release/net6.0/linux-x64/System.IO.FileSystem.dll
  83. BIN
      bin/release/net6.0/linux-x64/System.IO.IsolatedStorage.dll
  84. BIN
      bin/release/net6.0/linux-x64/System.IO.MemoryMappedFiles.dll
  85. BIN
      bin/release/net6.0/linux-x64/System.IO.Pipes.AccessControl.dll
  86. BIN
      bin/release/net6.0/linux-x64/System.IO.Pipes.dll
  87. BIN
      bin/release/net6.0/linux-x64/System.IO.UnmanagedMemoryStream.dll
  88. BIN
      bin/release/net6.0/linux-x64/System.IO.dll
  89. BIN
      bin/release/net6.0/linux-x64/System.Linq.Expressions.dll
  90. BIN
      bin/release/net6.0/linux-x64/System.Linq.Parallel.dll
  91. BIN
      bin/release/net6.0/linux-x64/System.Linq.Queryable.dll
  92. BIN
      bin/release/net6.0/linux-x64/System.Linq.dll
  93. BIN
      bin/release/net6.0/linux-x64/System.Memory.dll
  94. BIN
      bin/release/net6.0/linux-x64/System.Net.Http.Formatting.dll
  95. BIN
      bin/release/net6.0/linux-x64/System.Net.Http.Json.dll
  96. BIN
      bin/release/net6.0/linux-x64/System.Net.Http.dll
  97. BIN
      bin/release/net6.0/linux-x64/System.Net.HttpListener.dll
  98. BIN
      bin/release/net6.0/linux-x64/System.Net.Mail.dll
  99. BIN
      bin/release/net6.0/linux-x64/System.Net.NameResolution.dll
  100. BIN
      bin/release/net6.0/linux-x64/System.Net.NetworkInformation.dll

+ 32
- 0
JsonHelper.cs View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.IO;
using System.Text.Json;
using Microsoft.Identity.Client;

namespace jdis_import
{

public static class JsonFileReader
{
public static async Task<T> ReadAsync<T>(string filePath)
{
using FileStream stream = File.OpenRead(filePath);
return await JsonSerializer.DeserializeAsync<T>(stream);
}
}
public class JSetting {
public string secretv{get;set;}
public string secretid{get;set;}
public string objectid{get;set;}
public string tenentid{get;set;}
public string appid{get;set;}

}
public class Jvalues{
public string name{get;set;}
public string value{get;set;}
}
}

+ 11039
- 0
Log/log.log
File diff suppressed because it is too large
View File


+ 161
- 126
Program.cs View File

@@ -1,6 +1,7 @@
using System.Collections.Generic;
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Identity.Client;
using Microsoft.Exchange.WebServices.Data;
@@ -22,6 +23,10 @@ namespace jdis_import
{
class Program
{
private static string _success;
private static string _fail;
private static string _logdir;
private static List<Customer> _customers;
private static List<Make> _makes;
private static List<Product> _products;
@@ -43,137 +48,163 @@ namespace jdis_import
{ "TenentID", "1fd06c96-d3a4-45e9-9ed7-bcecb394d277" },
{ "AppID", "489776b1-ee79-4b14-bc44-9f6bf47332db" } };
public static Dictionary<string, int> InspectionType;
static async System.Threading.Tasks.Task Main(string[] args)
static int _minute = DateTime.Now.Minute;
static int _second = DateTime.Now.Second;
static public async void Tick(Object stateInfo)
{
RESTService rservice = new RESTService();
_customers = rservice.RestGet<Customer>("customers.svc");
_makes = rservice.RestGet<Make>("makes.svc");
_products = rservice.RestGet<Product>("products.svc");
_models = rservice.RestGet<Model>("models.svc");
_inspectionTypes = rservice.RestGet<InspectionType>("inspectionTypes.svc");
_templates = rservice.RestGet<Template>("templates.svc");
Console.WriteLine("Web APIs have loaded.");
_exeDir = Environment.CurrentDirectory;
SetupDirectories();
List<ToDo> list = new List<ToDo>();
var cca = ConfidentialClientApplicationBuilder
// .Create("1dff6bdb-7009-4d2a-ae0f-9f333a4f182b")
// .WithClientSecret("VOD8Q~7BI9u4ySU0saesCG87TaEtKSCya5vw6as5")
// .WithTenantId("1fd06c96-d3a4-45e9-9ed7-bcecb394d277")
.Create(_keys["AppID"])
.WithClientSecret(_keys["SecretV"])
.WithTenantId(_keys["TenentID"])
.Build();
var ewsScopes = new string[] { "https://outlook.office365.com/.default" };
try
_minute = DateTime.Now.Minute;
_second = DateTime.Now.Second;
int modmin10 = _minute % 10;
if(_second == 0 && modmin10 == 0)
{
Console.WriteLine("Connecting To Exchange.");
var authResult = await cca.AcquireTokenForClient(ewsScopes)
.ExecuteAsync();
// Configure the ExchangeService with the access token
var ewsClient = new ExchangeService();
ewsClient.Url = new Uri("https://outlook.office365.com/EWS/Exchange.asmx");
ewsClient.Credentials = new OAuthCredentials(authResult.AccessToken);
ewsClient.ImpersonatedUserId =
new ImpersonatedUserId(ConnectingIdType.SmtpAddress, "cmobile@prelub.com");
Mailbox mb = new Mailbox("connexionmobile@rpmindustries.org");
FolderId fid = new FolderId(WellKnownFolderName.Inbox, mb);
List<SearchFilter> searchFilterCollection = new List<SearchFilter>();
string[] filters = "Brandt Import;brandt import;Brandt import;brandt Import".Split(';');//"Brandt Import;BRANDT IMPORT;brandt import;TEST Brandt".Split(';');
foreach (string s in filters)
searchFilterCollection.Add(new SearchFilter.ContainsSubstring(ItemSchema.Subject, s));
SearchFilter searchFilter = new SearchFilter.SearchFilterCollection(LogicalOperator.Or, searchFilterCollection.ToArray());
ItemView view = new ItemView(100);
view.PropertySet = new PropertySet(BasePropertySet.IdOnly, ItemSchema.Subject, ItemSchema.DateTimeReceived);
view.OrderBy.Add(ItemSchema.DateTimeReceived, SortDirection.Descending);
view.Traversal = ItemTraversal.Shallow;
Console.WriteLine("Line 90: Finding emails.");
FindItemsResults<Item> findResults = ewsClient.FindItems(fid, searchFilter, view);
foreach (EmailMessage msg in findResults.Items)
Console.WriteLine(DateTime.Now.ToString("hh:mm:ss"));
string path = Path.Combine(Environment.CurrentDirectory, "Settings.json");
JSetting settings = await JsonFileReader.ReadAsync<JSetting>(path);
RESTService rservice = new RESTService();
_customers = rservice.RestGet<Customer>("customers.svc");
_makes = rservice.RestGet<Make>("makes.svc");
_products = rservice.RestGet<Product>("products.svc");
_models = rservice.RestGet<Model>("models.svc");
_inspectionTypes = rservice.RestGet<InspectionType>("inspectionTypes.svc");
_templates = rservice.RestGet<Template>("templates.svc");
Console.WriteLine("Web APIs have loaded.");
_exeDir = Environment.CurrentDirectory;
SetupDirectories();
List<ToDo> list = new List<ToDo>();
var cca = ConfidentialClientApplicationBuilder
// .Create("1dff6bdb-7009-4d2a-ae0f-9f333a4f182b")
// .WithClientSecret("VOD8Q~7BI9u4ySU0saesCG87TaEtKSCya5vw6as5")
// .WithTenantId("1fd06c96-d3a4-45e9-9ed7-bcecb394d277")
.Create(settings.appid)
.WithClientSecret(settings.secretv)
.WithTenantId(settings.tenentid)
.Build();
var ewsScopes = new string[] { "https://outlook.office365.com/.default" };
try
{
msg.Load();
if (!msg.IsRead)
Console.WriteLine("Connecting To Exchange.");
var authResult = await cca.AcquireTokenForClient(ewsScopes)
.ExecuteAsync();
// Configure the ExchangeService with the access token
var ewsClient = new ExchangeService();
ewsClient.Url = new Uri("https://outlook.office365.com/EWS/Exchange.asmx");
ewsClient.Credentials = new OAuthCredentials(authResult.AccessToken);
ewsClient.ImpersonatedUserId =
new ImpersonatedUserId(ConnectingIdType.SmtpAddress, "cmobile@prelub.com");
Mailbox mb = new Mailbox("connexionmobile@rpmindustries.org");
FolderId fid = new FolderId(WellKnownFolderName.Inbox, mb);
List<SearchFilter> searchFilterCollection = new List<SearchFilter>();
string[] filters = "Brandt Import;brandt import;Brandt import;brandt Import;BRANDT IMPORT".Split(';');//"Brandt Import;BRANDT IMPORT;brandt import;TEST Brandt".Split(';');
foreach (string s in filters)
searchFilterCollection.Add(new SearchFilter.ContainsSubstring(ItemSchema.Subject, s));
SearchFilter searchFilter = new SearchFilter.SearchFilterCollection(LogicalOperator.Or, searchFilterCollection.ToArray());
ItemView view = new ItemView(100);
view.PropertySet = new PropertySet(BasePropertySet.IdOnly, ItemSchema.Subject, ItemSchema.DateTimeReceived);
view.OrderBy.Add(ItemSchema.DateTimeReceived, SortDirection.Descending);
view.Traversal = ItemTraversal.Shallow;
Console.WriteLine("Line 90: Finding emails.");
FindItemsResults<Item> findResults = ewsClient.FindItems(fid, searchFilter, view);
foreach (EmailMessage msg in findResults.Items)
{
if (msg.HasAttachments)
msg.Load();
if (!msg.IsRead)
{
foreach (Attachment attachment in msg.Attachments)
if (msg.HasAttachments)
{
attachment.Load();
if (attachment is FileAttachment)
foreach (Attachment attachment in msg.Attachments)
{
ToDo todo = new ToDo();
todo.Sender = msg.Sender.Address;
todo.SenderName = msg.Sender.Name;
todo.FileName = attachment.Name;
list.Add(todo);
//Download File
FileAttachment fAttachment = attachment as FileAttachment;
string fileAttachmentPath = Path.Combine(_exeDir, fAttachment.Name);
File.WriteAllBytes(fileAttachmentPath, fAttachment.Content);
msg.IsRead = true;
msg.Update(ConflictResolutionMode.AlwaysOverwrite);
attachment.Load();
if (attachment is FileAttachment)
{
ToDo todo = new ToDo();
todo.Sender = msg.Sender.Address;
todo.SenderName = msg.Sender.Name;
if(attachment.Name.Contains("/"))
todo.FileName = attachment.Name.Substring(attachment.Name.LastIndexOf("/")+1);
else
todo.FileName = attachment.Name;
list.Add(todo);
//Download File
FileAttachment fAttachment = attachment as FileAttachment;
string fileAttachmentPath = Path.Combine(_exeDir, fAttachment.Name);
File.WriteAllBytes(fileAttachmentPath, fAttachment.Content);
msg.IsRead = true;
msg.Update(ConflictResolutionMode.AlwaysOverwrite);
}
}
}
}
}
}
Console.WriteLine("Beginning Import.");
foreach (ToDo import in list)
{
//System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls;
//Start Importing
BeginImport(import);
GetInspectionTypes();
ReadFile(import);
}
foreach (ToDo sendMsg in list)
{
EmailMessage msgToSend = new EmailMessage(ewsClient);
string body = "JDIS File: {0} Work Order:{1} {2}";
if (sendMsg.Success)
Console.WriteLine("Beginning Import.");
foreach (ToDo import in list)
{
body = string.Format(body, sendMsg.FileName.Substring(sendMsg.FileName.LastIndexOf("/") + 1).Trim(), sendMsg.WorkOrder, "Was Imported Successfully");
//System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls;
//Start Importing
BeginImport(import);
GetInspectionTypes();
ReadFile(import);
}
else
foreach (ToDo sendMsg in list)
{
body = string.Format(body, sendMsg.FileName.Substring(sendMsg.FileName.LastIndexOf("/") + 1).Trim(), sendMsg.WorkOrder, string.Format("Had Errors while importing: {0}", sendMsg.Validation));
msgToSend.Attachments.AddFileAttachment(Path.Combine(_exeDir, sendMsg.FileName));
EmailMessage msgToSend = new EmailMessage(ewsClient);
string body = "JDIS File: {0} Work Order:{1} {2}";
if (sendMsg.Success)
{
body = string.Format(body, sendMsg.FileName.Substring(sendMsg.FileName.LastIndexOf("/") + 1).Trim(), sendMsg.WorkOrder, "Was Imported Successfully");
}
else
{
body = string.Format(body, sendMsg.FileName.Substring(sendMsg.FileName.LastIndexOf("/") + 1).Trim(), sendMsg.WorkOrder, string.Format("Had Errors while importing: {0}", sendMsg.Validation));
msgToSend.Attachments.AddFileAttachment(Path.Combine(_exeDir, sendMsg.FileName));
}
msgToSend.Subject = sendMsg.FileName.Substring(sendMsg.FileName.LastIndexOf("/") + 1);
msgToSend.ToRecipients.Add(new EmailAddress(sendMsg.Sender));
msgToSend.CcRecipients.Add(new EmailAddress("mcarman@rpmindustries.com"));
msgToSend.Body = body;
msgToSend.Send();
//msgToSend.SendAndSaveCopy();
string pathToFile = Path.Combine(_exeDir, sendMsg.FileName);
if (sendMsg.Success) File.Move(pathToFile, Path.Combine(_exeDir, "Success", sendMsg.FileName));
else File.Move(sendMsg.FileName, Path.Combine(_exeDir, "Fail", sendMsg.FileName));
}
}
catch (MsalException ex)
{
Console.WriteLine($"Error acquiring access token: {ex}");
}
catch (Exception ex)
{
Console.WriteLine($"Error: {ex}");
}
msgToSend.Subject = sendMsg.FileName.Substring(sendMsg.FileName.LastIndexOf("/") + 1);
msgToSend.ToRecipients.Add(new EmailAddress(sendMsg.Sender));
msgToSend.CcRecipients.Add(new EmailAddress("mcarman@rpmindustries.com"));
msgToSend.Body = body;
msgToSend.SendAndSaveCopy();
string pathToFile = Path.Combine(_exeDir, sendMsg.FileName);
if (sendMsg.Success) File.Move(pathToFile, Path.Combine(_exeDir, "Success", sendMsg.FileName));
else File.Move(sendMsg.FileName, Path.Combine(_exeDir, "Fail", sendMsg.FileName));
if (System.Diagnostics.Debugger.IsAttached)
{
Console.WriteLine("Hit any key to exit...");
}
}
catch (MsalException ex)
{
Console.WriteLine($"Error acquiring access token: {ex}");
}
catch (Exception ex)
{
Console.WriteLine($"Error: {ex}");
}
if (System.Diagnostics.Debugger.IsAttached)
}
static async System.Threading.Tasks.Task Main(string[] args)
{
TimerCallback callback = new TimerCallback(Tick);
Timer timer = new Timer(callback, null, 0, 1000);
for(;;)
{
Console.WriteLine("Hit any key to exit...");
Console.ReadKey();
Thread.Sleep(100);
}
}
public static void BeginImport(ToDo todo)
@@ -182,15 +213,15 @@ namespace jdis_import
}
private static void SetupDirectories()
{
string path = Path.Combine(_exeDir, "Success");
if (!Directory.Exists(path))
Directory.CreateDirectory(path);
path = Path.Combine(_exeDir, "Fail");
if (!Directory.Exists(path))
Directory.CreateDirectory(path);
path = Path.Combine(_exeDir, "Log");
if (!Directory.Exists(path))
Directory.CreateDirectory(path);
_success = Path.Combine(_exeDir, "Success");
_fail = Path.Combine(_exeDir, "Fail");
_logdir = Path.Combine(_exeDir, "Log");
if (!Directory.Exists(_success))
Directory.CreateDirectory(_success);
if (!Directory.Exists(_fail))
Directory.CreateDirectory(_fail);
if (!Directory.Exists(_logdir))
Directory.CreateDirectory(_logdir);
}
public static void GetInspectionTypes()
{
@@ -483,14 +514,15 @@ namespace jdis_import
private static void ReadFile(ToDo todo)
{
string file = Path.Combine(_exeDir, todo.FileName);// todo.FileName;
todo.FileName = file;
CustomerImport c = new CustomerImport();
WorkOrderImport wo = new WorkOrderImport();
EquipmentImport eq = new EquipmentImport();
List<PartImport> parts = new List<PartImport>();
Console.WriteLine("Line 306: " + file);
Console.WriteLine("Line 307: " + file);
Console.WriteLine("Line 494: " + file);
Console.WriteLine("Line 495: " + file);
string filemove = string.Empty;
string filetxt = string.Empty;
string inspectionLevel = string.Empty;
@@ -731,7 +763,8 @@ namespace jdis_import
}
}
filemove = Path.Combine("Success", file);// string.Format("{0}\\{1}\\{2}", _currentDir, _settings["SUCCESSDIR"], file);
filemove = Path.Combine(_exeDir, "Success");
filemove = Path.Combine(filemove, todo.FileName.Substring(todo.FileName.LastIndexOf("/")+1));// Path.Combine("Success", file);// string.Format("{0}\\{1}\\{2}", _currentDir, _settings["SUCCESSDIR"], file);
try
{
SqlConnection conn = new SqlConnection(_connection);
@@ -776,14 +809,16 @@ namespace jdis_import
string logmsg = string.Format("Date: {0} Error: {1}", DateTime.Now.ToString("MM/dd/yyyy hh:mm:ss tt"), exSql.Message);
WriteToLog(logmsg);
todo.Validation = exSql.Message + " " + _workOrderNumber;
Console.WriteLine("Line 781: " + filemove);
filemove = Path.Combine("Fail", todo.FileName);
//File.Move(todo.FileName, filemove);
//MailSvc.SendResponse(msg, _workOrderNumber);
}
Console.WriteLine("Line 584: " + filemove);
Console.WriteLine("Line 787: " + filemove);
if (File.Exists(filemove)) File.Delete(filemove);
//File.Move(file, filemove);
File.Move(file, filemove);
todo.FileName = filemove;
if (_log)
{
string successmsg = string.Format("Success Date: {0} File Name: {1} Work Order #: {2}{3}", DateTime.Now.ToString("MM/dd/yyyy hh:mm:ss tt"), file, _workOrderNumber, "********************************");
@@ -862,8 +897,8 @@ namespace jdis_import
try
{
Console.WriteLine("Line 634: " + file);
Console.WriteLine("Line 635: " + filemove);
Console.WriteLine("Line 868: " + file);
Console.WriteLine("Line 869: " + filemove);
//File.Move(file, filemove);
}
catch (Exception moveExcept)


+ 1
- 0
RESTObjects/RESTService.cs View File

@@ -10,6 +10,7 @@ namespace jdis_import.RESTObjects
{
public class RESTService
{
//private string _baseUrl = "https://servicesbrandt.rpmindustries.com";
private string _baseUrl = "http://servicesbrandt.rpmindustries.com:8081";
private HttpClient _httpClient;



+ 8
- 0
Settings.json View File

@@ -0,0 +1,8 @@
{
"secretv": "gB58Q~ivZRcVK4Qhu3PWJr8yLS288ZhoQwglcaPi" ,
"secretid": "92927063-e101-45ba-8a4c-bff8d63bcb34" ,
"objectid": "c7647074-edb6-4e8e-8a01-a1ed924fdae9" ,
"tenentid": "1fd06c96-d3a4-45e9-9ed7-bcecb394d277" ,
"appid": "489776b1-ee79-4b14-bc44-9f6bf47332db"
}


+ 0
- 60
Success/JDIS-20230123-08_08_14.txt View File

@@ -1,60 +0,0 @@



Date 23JAN2023 08:08:10 ** WORK ORDER PREVIEW ** Page 1

Location 58 Work Order 4807749 Seg. 01 Opn Dt 20JAN2023
Auth by Phone 905-679-7499 Inv Cls Dt
CHARGE Slprn
S COUNTRYWIDE RECYCLING INC Cust No. 95800972 S COUNTRYWIDE RECYCLING INC
O PO BOX 370 Pur-Ord. H 900 NEBO ROAD
L P-% 0.0 L-% 0.0 I
D BINBROOK, ON L0R 1C0 P HANNON, ON L0R 1P0
G/L # Stock# Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 210G 1F9210GXAJD520952 T3,9'7" AR 7500.0 H F
Prt Cls-PC Lbr Cls-ICL Price Cd-L Prt Tx-0101 Lbr Tx-0101

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------

FIELD TRAVEL - 900 NEBO
PM INTERVAL: 500 HR T
EMPID: STCPM1 T
PROMISE DATE: 23JAN2023 T
SPECIAL INSTRUCTIONS: 900 NEBO RD BINBROOK T
CONTACT: TBD T
EMAIL: TBD T
SEG # 01 TOTAL = .00 P .00 LH .00 L .00 M .00 T

500 HOUR SERVICE
1 1 RE539279 OIL FI 49.50 49.50
1 1 RE541922 FILTER 64.21 64.21
1 1 RE522878 FILTER 64.26 64.26
1 1 AT365870 FILTER 82.09 82.09
6 6 AT346594 FLUID 52.14 312.84
6 6 AT315231 TEST/M 8.27 49.62
1 1 2450820L 20L - 158.15 158.15
1 1 245085L 5L-(4x 43.01 43.01
SEG # 02 TOTAL = 823.68 P .00 LH .00 L .00 M 823.68 T










****************************************
* Taxable Parts .00 *
* Non-Taxable Parts 823.68 *
* Total Labor .00 *
* *
* Misc Charges .00 *
* GST/HST 107.08 *
* Sales Tax .00 *
* *
* TOTAL DUE > 930.76 *
****************************************

+ 0
- 60
Success/JDIS-20230123-08_18_17.txt View File

@@ -1,60 +0,0 @@



Date 23JAN2023 08:18:15 ** WORK ORDER PREVIEW ** Page 1

Location 53 Work Order 4316434 Seg. 01 Opn Dt 05JAN2023
Auth by Phone 416-410-3839 Inv Cls Dt
CHARGE Slprn
S TRISAN CONSTRUCTION Cust No. 95300344 S TRISAN CONSTRUCTION
O P.O. BOX 502 Pur-Ord. H 5878 HIGHWAY 9
L P-% 0.0 L-% 0.0 I
D SCHOMBERG, ON L0G 1T0 P SCHOMBERG, ON L0G 1T0
G/L # Stock# Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 135G 1FF135GXPMF502660 T1695-21 1.0 F
Prt Cls-PC Lbr Cls-ICL Price Cd-L Prt Tx-0101 Lbr Tx-0101

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------

1ST 500 HR PM
PM INTERVAL: 500 HR T
EMPID: MISPM1 T
PROMISE DATE: 24JAN2023 T
SPECIAL INSTRUCTIONS: MANSFIELD RD BRAMALEA T
CONTACT: ANDREW 416-896-4705 T
EMAIL: andrew.riley@trisanconstruction.com T
.50 01-05 R/T 53092 REPAIR 225.00 112.50
SEG # 01 TOTAL = .00 P .50 LH 112.50 L .00 M 112.50 T

FIELD SERVCIE TRAVEL

SEG # 02 TOTAL = .00 P .00 LH .00 L .00 M .00 T
















****************************************
* Taxable Parts .00 *
* *
* Total Labor 112.50 *
* Non-Taxable 112.50 *
* Misc Charges .00 *
* GST/HST 14.63 *
* Sales Tax .00 *
* (Carbon Tax Surcharge will be added) *
* TOTAL DUE > 127.13 *
****************************************

+ 0
- 60
Success/JDIS-20230123-08_26_00.txt View File

@@ -1,60 +0,0 @@



Date 23JAN2023 08:25:58 ** WORK ORDER PREVIEW ** Page 1

Location 53 Work Order 4316432 Seg. 01 Opn Dt 05JAN2023
Auth by Phone 416-410-3839 Inv Cls Dt
CHARGE Slprn
S TRISAN CONSTRUCTION Cust No. 95300344 S TRISAN CONSTRUCTION
O P.O. BOX 502 Pur-Ord. H 5878 HIGHWAY 9
L P-% 0.0 L-% 0.0 I
D SCHOMBERG, ON L0G 1T0 P SCHOMBERG, ON L0G 1T0
G/L # Stock# Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 310SL 1T0310SLKNF416960 T1620-22 .0 F
Prt Cls-PC Lbr Cls-ICL Price Cd-L Prt Tx-0101 Lbr Tx-0101

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------

1st 500
PM INTERVAL: 500 HR T
EMPID: MISPM1 T
PROMISE DATE: 24JAN2023 T
SPECIAL INSTRUCTIONS: 695 FOXCROFT BLVD NEWMARKET T
CONTACT: ANDREW 416-896-4705 T
EMAIL: andrew.riley@trisanconstruction.com T
.50 01-05 R/T 53092 REPAIR 225.00 112.50
SEG # 01 TOTAL = .00 P .50 LH 112.50 L .00 M 112.50 T

FIELD SERVICE TRAVEL

SEG # 02 TOTAL = .00 P .00 LH .00 L .00 M .00 T
















****************************************
* Taxable Parts .00 *
* *
* Total Labor 112.50 *
* Non-Taxable 112.50 *
* Misc Charges .00 *
* GST/HST 14.63 *
* Sales Tax .00 *
* (Carbon Tax Surcharge will be added) *
* TOTAL DUE > 127.13 *
****************************************

+ 0
- 60
Success/JDIS-20230123-08_30_02.txt View File

@@ -1,60 +0,0 @@



Date 23JAN2023 08:29:59 ** WORK ORDER PREVIEW ** Page 1

Location 53 Work Order 4316480 Seg. 01 Opn Dt 10JAN2023
Auth by Phone 905-466-8290 Inv Cls Dt
CHARGE Slprn
S TELECON Cust No. 95302623 S
O 39 EASY STREET Pur-Ord. H
L P-% 0.0 L-% 0.0 I
D PORT PERRY, ON L9L 0A1 P
G/L # Stock# Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 27D 1FF027DXVEG260165 55550182 .0 F
Prt Cls-PC Lbr Cls-ICL Price Cd-L Prt Tx-0801 Lbr Tx-0801

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------

500 HR PM
PM INTERVAL: 500 HR T
EMPID: MISPM2 T
PROMISE DATE: 24JAN2023 T
SPECIAL INSTRUCTIONS: WHITBY YARD 1850 BOUNDARY RD GATE CODE T
1981 T
CONTACT: RAJ PERSAUD 416-684-8475 T
EMAIL: raj.persaud@telecon.ca T
.50 01-10 R/T 53092 REPAIR 225.00 112.50
SEG # 01 TOTAL = .00 P .50 LH 112.50 L .00 M 112.50 T

FIELD SERVICE TRAVEL

SEG # 02 TOTAL = .00 P .00 LH .00 L .00 M .00 T















****************************************
* Taxable Parts .00 *
* *
* Total Labor 112.50 *
* Non-Taxable 112.50 *
* Misc Charges .00 *
* GST/HST 14.63 *
* Sales Tax .00 *
* (Carbon Tax Surcharge will be added) *
* TOTAL DUE > 127.13 *
****************************************

+ 0
- 175
Success/JDIS-20230123-08_45_11.txt View File

@@ -1,175 +0,0 @@



Date 23JAN2023 08:45:09 ** WORK ORDER PREVIEW ** Page 1

Location 56 Work Order 4602674 Seg. 01 Opn Dt 17JAN2023
Auth by RUSS S Phone 519-737-2140 Inv Cls Dt
CHARGE Slprn
S PHOENIX DRAINAGE (2019) L Cust No. 95600447 S PHOENIX DRAINAGE (2019) L
O 2180 ASTOR CRESCENT Pur-Ord. H 2180 ASTOR CRESCENT
L P-% 0.0 L-% 0.0 I
D OLDCASTLE, ON N0R 1L0 P OLDCASTLE, ON N0R 1L0
G/L # Stock# Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 310SL 1T0310SLCMF398221 310SL BACK 1001.0 H S
Prt Cls-PC Lbr Cls-ICL Price Cd-L Prt Tx-0101 Lbr Tx-0101

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------

1000 HR SERVICE
PM INTERVAL: 1000 HR T
EMPID: WDRPM1 T
PROMISE DATE: 18JAN2023 T
SPECIAL INSTRUCTIONS: 2180 ASTOR CRES T
CONTACT: RUSS T
EMAIL: russ@phoenixdrainage.ca T
1 1 RE504836 OIL 38.76 38.76
1 1 R502513 SEAL 11.86 11.86
1 1 DZ115391 FILT 75.38 75.38
1 1 DZ115390 FILT 88.54 88.54
5 5 AT346594 FLUI 52.14 260.70
1 1 AT466863 OIL 123.24 123.24
1 1 AT495722 HYDR 188.39 188.39
1 1 AT101565 AIR 10.66 10.66
1 1 H216169 BREA 50.48 50.48
15 15 6284B 1L - 10.00 150.00
1 1 AT191102 AIR 30.89 30.89
1 1 AT184590 AIR 77.11 77.11
1 1 AT332908 FILT 76.03 76.03
4.25 01-18 R/T 56000 REPAIR 205.00 871.25
1 01-18 1 SERVICE ACCESSORIES 55.72 55.72
SEG # 01 TOTAL = 1,182.04 P 4.25 LH 871.25 L 55.72 M 2,109.01 T
Quoted TOTAL = .00 P 5.50 LH 928.70 L .00 M 928.70 T

INSPECT FOR LEAK - COOLANT
1 1 8909107DSC BRAKECLE 6.69 6.69
1.75 01-18 R/T 56000 REPAIR 205.00 358.75
2.50 01-19 R/T 56000 REPAIR 205.00 512.50
SEG # 02 TOTAL = 6.69 P 4.25 LH 871.25 L .00 M 877.94 T
Quoted TOTAL = .00 P .00 LH .00 L .00 M .00 T

INSPECT FOR FUEL LEAK
1 1 DZ116093 FUEL LINCY 116.60 .00
1 1 T428851 V-BE 140.15 140.15
SEG # 04 TOTAL = 140.15 P .00 LH .00 L .00 M 140.15 T


Date 23JAN2023 08:45:09 ** WORK ORDER PREVIEW ** Page 2

Location 56 Work Order 4602674 Seg. 05 Opn Dt 19JAN2023
Auth by RUSS S Phone 519-737-2140 Inv Cls Dt
CHARGE Slprn
S PHOENIX DRAINAGE (2019) L Cust No. 95600447 S PHOENIX DRAINAGE (2019) L
O 2180 ASTOR CRESCENT Pur-Ord. H 2180 ASTOR CRESCENT
L P-% 0.0 L-% 0.0 I
D OLDCASTLE, ON N0R 1L0 P OLDCASTLE, ON N0R 1L0
G/L # Stock# Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 310SL 1T0310SLCMF398221 310SL BACK 1001.0 H S
Prt Cls-PC Lbr Cls-ICL Price Cd-L Prt Tx-0101 Lbr Tx-0101

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
INSPECT FOR NOISE IN ENGINE AREA, CLACKING NOISE
1 1 RE548027 BELT 245.93 245.93
SEG # 05 TOTAL = 245.93 P .00 LH .00 L .00 M 245.93 T
Quoted TOTAL = .00 P .00 LH .00 L .00 M .00 T

























****************************************
* Taxable Parts .00 *
* Non-Taxable Parts 1,574.81 *
* Backordered Parts 116.60 *
* Total Labor 1,799.95 *
* Non-Taxable 1,799.95 *
* Misc Charges 55.72 *
* GST/HST 445.96 *
* Sales Tax .00 *
* (Carbon Tax Surcharge will be added) *
* TOTAL DUE > 3,876.44 *
****************************************


Date 23JAN2023 08:45:09 ** WORK ORDER PREVIEW ** Page 3

Location 56 Work Order 4602674 Seg. 03 Opn Dt 17JAN2023
Auth by RUSS S Phone 519-737-2140 Inv Cls Dt
WARRANTY Slprn
S PHOENIX DRAINAGE (2019) L Cust No. 95600447 S PHOENIX DRAINAGE (2019) L
O 2180 ASTOR CRESCENT Pur-Ord. H 2180 ASTOR CRESCENT
L P-% 0.0 L-% 0.0 I
D OLDCASTLE, ON N0R 1L0 P OLDCASTLE, ON N0R 1L0
G/L # 105-00-0056 Stock# 04602674 Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 310SL 1T0310SLCMF398221 310SL BACK 1001.0 H S
Prt Cls-PC Lbr Cls-IWR Price Cd-L Prt Tx-N001 Lbr Tx-N001

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------

SPG CD .
CHECK FOR WATER IN FUEL CODE - 000097.03
1 1 DZ117493 SENSCY 97.62 97.62
2.00 01-18 R/T 56000 REPAIR 205.00 410.00
SEG # 03 TOTAL = 97.62 P 2.00 LH 410.00 L .00 M 507.62 T
Quoted TOTAL = .00 P .00 LH .00 L .00 M .00 T























****************************************
* Taxable Parts .00 *
* Non-Taxable Parts 97.62 *
* Total Labor 410.00 *
* Non-Taxable 410.00 *
* Misc Charges .00 *
* *
* Sales Tax .00 *
* (Carbon Tax Surcharge will be added) *
* TOTAL DUE > 507.62 *
****************************************

+ 0
- 175
Success/JDIS-20230123-08_46_42.txt View File

@@ -1,175 +0,0 @@



Date 23JAN2023 08:46:39 ** WORK ORDER PREVIEW ** Page 1

Location 56 Work Order 4602674 Seg. 01 Opn Dt 17JAN2023
Auth by RUSS S Phone 519-737-2140 Inv Cls Dt
CHARGE Slprn
S PHOENIX DRAINAGE (2019) L Cust No. 95600447 S PHOENIX DRAINAGE (2019) L
O 2180 ASTOR CRESCENT Pur-Ord. H 2180 ASTOR CRESCENT
L P-% 0.0 L-% 0.0 I
D OLDCASTLE, ON N0R 1L0 P OLDCASTLE, ON N0R 1L0
G/L # Stock# Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 310SL 1T0310SLCMF398221 310SL BACK 1001.0 H S
Prt Cls-PC Lbr Cls-ICL Price Cd-L Prt Tx-0101 Lbr Tx-0101

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------

1000 HR SERVICE
PM INTERVAL: 1000 HR T
EMPID: WDRPM1 T
PROMISE DATE: 24JAN2023 T
SPECIAL INSTRUCTIONS: 2180 ASTOR CRES T
CONTACT: RUSS T
EMAIL: russ@phoenixdrainage.ca T
1 1 RE504836 OIL 38.76 38.76
1 1 R502513 SEAL 11.86 11.86
1 1 DZ115391 FILT 75.38 75.38
1 1 DZ115390 FILT 88.54 88.54
5 5 AT346594 FLUI 52.14 260.70
1 1 AT466863 OIL 123.24 123.24
1 1 AT495722 HYDR 188.39 188.39
1 1 AT101565 AIR 10.66 10.66
1 1 H216169 BREA 50.48 50.48
15 15 6284B 1L - 10.00 150.00
1 1 AT191102 AIR 30.89 30.89
1 1 AT184590 AIR 77.11 77.11
1 1 AT332908 FILT 76.03 76.03
4.25 01-18 R/T 56000 REPAIR 205.00 871.25
1 01-18 1 SERVICE ACCESSORIES 55.72 55.72
SEG # 01 TOTAL = 1,182.04 P 4.25 LH 871.25 L 55.72 M 2,109.01 T
Quoted TOTAL = .00 P 5.50 LH 928.70 L .00 M 928.70 T

INSPECT FOR LEAK - COOLANT
1 1 8909107DSC BRAKECLE 6.69 6.69
1.75 01-18 R/T 56000 REPAIR 205.00 358.75
2.50 01-19 R/T 56000 REPAIR 205.00 512.50
SEG # 02 TOTAL = 6.69 P 4.25 LH 871.25 L .00 M 877.94 T
Quoted TOTAL = .00 P .00 LH .00 L .00 M .00 T

INSPECT FOR FUEL LEAK
1 1 DZ116093 FUEL LINCY 116.60 .00
1 1 T428851 V-BE 140.15 140.15
SEG # 04 TOTAL = 140.15 P .00 LH .00 L .00 M 140.15 T


Date 23JAN2023 08:46:39 ** WORK ORDER PREVIEW ** Page 2

Location 56 Work Order 4602674 Seg. 05 Opn Dt 19JAN2023
Auth by RUSS S Phone 519-737-2140 Inv Cls Dt
CHARGE Slprn
S PHOENIX DRAINAGE (2019) L Cust No. 95600447 S PHOENIX DRAINAGE (2019) L
O 2180 ASTOR CRESCENT Pur-Ord. H 2180 ASTOR CRESCENT
L P-% 0.0 L-% 0.0 I
D OLDCASTLE, ON N0R 1L0 P OLDCASTLE, ON N0R 1L0
G/L # Stock# Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 310SL 1T0310SLCMF398221 310SL BACK 1001.0 H S
Prt Cls-PC Lbr Cls-ICL Price Cd-L Prt Tx-0101 Lbr Tx-0101

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
INSPECT FOR NOISE IN ENGINE AREA, CLACKING NOISE
1 1 RE548027 BELT 245.93 245.93
SEG # 05 TOTAL = 245.93 P .00 LH .00 L .00 M 245.93 T
Quoted TOTAL = .00 P .00 LH .00 L .00 M .00 T

























****************************************
* Taxable Parts .00 *
* Non-Taxable Parts 1,574.81 *
* Backordered Parts 116.60 *
* Total Labor 1,799.95 *
* Non-Taxable 1,799.95 *
* Misc Charges 55.72 *
* GST/HST 445.96 *
* Sales Tax .00 *
* (Carbon Tax Surcharge will be added) *
* TOTAL DUE > 3,876.44 *
****************************************


Date 23JAN2023 08:46:40 ** WORK ORDER PREVIEW ** Page 3

Location 56 Work Order 4602674 Seg. 03 Opn Dt 17JAN2023
Auth by RUSS S Phone 519-737-2140 Inv Cls Dt
WARRANTY Slprn
S PHOENIX DRAINAGE (2019) L Cust No. 95600447 S PHOENIX DRAINAGE (2019) L
O 2180 ASTOR CRESCENT Pur-Ord. H 2180 ASTOR CRESCENT
L P-% 0.0 L-% 0.0 I
D OLDCASTLE, ON N0R 1L0 P OLDCASTLE, ON N0R 1L0
G/L # 105-00-0056 Stock# 04602674 Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 310SL 1T0310SLCMF398221 310SL BACK 1001.0 H S
Prt Cls-PC Lbr Cls-IWR Price Cd-L Prt Tx-N001 Lbr Tx-N001

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------

SPG CD .
CHECK FOR WATER IN FUEL CODE - 000097.03
1 1 DZ117493 SENSCY 97.62 97.62
2.00 01-18 R/T 56000 REPAIR 205.00 410.00
SEG # 03 TOTAL = 97.62 P 2.00 LH 410.00 L .00 M 507.62 T
Quoted TOTAL = .00 P .00 LH .00 L .00 M .00 T























****************************************
* Taxable Parts .00 *
* Non-Taxable Parts 97.62 *
* Total Labor 410.00 *
* Non-Taxable 410.00 *
* Misc Charges .00 *
* *
* Sales Tax .00 *
* (Carbon Tax Surcharge will be added) *
* TOTAL DUE > 507.62 *
****************************************

+ 60
- 0
Success/JDIS-20250121-12_39_09.txt View File

@@ -0,0 +1,60 @@



Date 21JAN2025 12:39:07 ** WORK ORDER PREVIEW ** Page 1

Location 53 Work Order 4326684 Seg. 01 Opn Dt 16JAN2025
Auth by Phone 514-494-9898 Inv Cls Dt
CHARGE Slprn
S **LES SERVICES ENVIRONNEM Cust No. 96100812 S **LES SERVICES ENVIRONNEM
O DELSAN Pur-Ord. H mrapattoni@deslan-aim.com
L 2187 MONTEE MASSON P-% 0.0 L-% 0.0 I 2187 MTEE. MASSON
D LAVAL, QC H7E 4P2 P LAVAL, QC H7E 4P2
G/L # Stock# Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 470G 1FF470GXAHF235168 E470-1 8837.0 H S
Prt Cls-PC Lbr Cls-ICL Price Cd-L Prt Tx-0606 Lbr Tx-0606

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------

500HR PM SERVICE
PM INTERVAL: 500 HR T
EMPID: MISPM2 T
PROMISE DATE: 28JAN2025 T
SPECIAL INSTRUCTIONS: 100 QUEENSWAY WEST MISSISSAUGA T
CONTACT: HORACIO 416-998-4609 T
EMAIL: PMCLEAN@DELSAN-AIM.COM T
SEG # 01 TOTAL = .00 P .00 LH .00 L .00 M .00 T

500HR PM TRAVEL

SEG # 02 TOTAL = .00 P .00 LH .00 L .00 M .00 T

















****************************************
* Taxable Parts .00 *
* *
* Total Labor .00 *
* *
* Misc Charges .00 *
* *
* Sales Tax .00 *
* *
* TOTAL DUE > .00 *
****************************************

+ 60
- 0
Success/JDIS-20250121-12_41_02.txt View File

@@ -0,0 +1,60 @@



Date 21JAN2025 12:41:00 ** WORK ORDER PREVIEW ** Page 1

Location 53 Work Order 4326685 Seg. 01 Opn Dt 16JAN2025
Auth by Phone 905-773-9876 Inv Cls Dt
CHARGE Slprn
S MILLER WASTE SYSTEMS INC. Cust No. 95301386 S MILLER WASTE SYSTEMS INC.
O 1351 BLOOMINGTON ROAD Pur-Ord. REQU H 8050 WOODBINE AVE
L P-% 0.0 L-% 0.0 I
D RICHMOND HILL, ON L4E 3E6 P MARKHAM, ON L3R 2N8
G/L # Stock# Multi-use#
Make Model PIN Number Equipment Meter MC SFR
JD 824P 1DW824PAEPLX06110 .0 S
Prt Cls-PC Lbr Cls-ICL Price Cd-L Prt Tx-0101 Lbr Tx-0101

Item Hrs/Ord Bk-Ord Ship Description/Comments RATE EXTENSION
-------------------------------------------------------------------------------

3000HR PM SERVICE
PM INTERVAL: 3000 HR T
EMPID: MISPM2 T
PROMISE DATE: 29JAN2025 T
SPECIAL INSTRUCTIONS: 1351 BLOOMINGTON RD T
CONTACT: RYAN 905-955-7167 T
EMAIL: RYAN.DEMPSY@MILLERWASTE.CA B
SEG # 01 TOTAL = .00 P .00 LH .00 L .00 M .00 T

3000HR PM TRAVEL

SEG # 02 TOTAL = .00 P .00 LH .00 L .00 M .00 T

















****************************************
* Taxable Parts .00 *
* *
* Total Labor .00 *
* *
* Misc Charges .00 *
* *
* Sales Tax .00 *
* *
* TOTAL DUE > .00 *
****************************************

BIN
bin/Debug/net6.0/Json.Net.dll View File


+ 8
- 0
bin/Debug/net6.0/Settings.json View File

@@ -0,0 +1,8 @@
{
"secretv": "gB58Q~ivZRcVK4Qhu3PWJr8yLS288ZhoQwglcaPi" ,
"secretid": "92927063-e101-45ba-8a4c-bff8d63bcb34" ,
"objectid": "c7647074-edb6-4e8e-8a01-a1ed924fdae9" ,
"tenentid": "1fd06c96-d3a4-45e9-9ed7-bcecb394d277" ,
"appid": "489776b1-ee79-4b14-bc44-9f6bf47332db"
}


BIN
bin/Debug/net6.0/jdis_import View File


+ 16
- 0
bin/Debug/net6.0/jdis_import.deps.json View File

@@ -9,6 +9,7 @@
"jdis_import/1.0.0": {
"dependencies": {
"Independentsoft.Exchange": "3.0.700",
"Json.Net": "1.0.33",
"Microsoft.AspNet.WebApi.Client": "5.2.9",
"Microsoft.Exchange.WebServices": "2.2.0",
"Microsoft.Identity.Client": "4.49.1",
@@ -28,6 +29,14 @@
}
}
},
"Json.Net/1.0.33": {
"runtime": {
"lib/netstandard2.0/Json.Net.dll": {
"assemblyVersion": "1.0.33.1",
"fileVersion": "1.0.33.1"
}
}
},
"Microsoft.AspNet.WebApi.Client/5.2.9": {
"dependencies": {
"Newtonsoft.Json": "13.0.1",
@@ -865,6 +874,13 @@
"path": "independentsoft.exchange/3.0.700",
"hashPath": "independentsoft.exchange.3.0.700.nupkg.sha512"
},
"Json.Net/1.0.33": {
"type": "package",
"serviceable": true,
"sha512": "sha512-5tE+db6BqhRAvITIVBeRsQorLGshPExfm4FmMRvWWAfs4RxeTbFFj2PIEybwmMW0qR30HKkXDYhq0YkDK2Jtxw==",
"path": "json.net/1.0.33",
"hashPath": "json.net.1.0.33.nupkg.sha512"
},
"Microsoft.AspNet.WebApi.Client/5.2.9": {
"type": "package",
"serviceable": true,


BIN
bin/Debug/net6.0/jdis_import.dll View File


BIN
bin/Debug/net6.0/jdis_import.pdb View File


+ 4
- 0
bin/release/net6.0/linux-x64/CCAddress.xml View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8" ?>
<Root>
<Mike>mcarman@rpmindustries.com</Mike>
</Root>

BIN
bin/release/net6.0/linux-x64/Independentsoft.Exchange.dll View File


+ 19
- 0
bin/release/net6.0/linux-x64/IntervalData.xml View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<Root>
<ZZ50>1</ZZ50>
<ZZ250>1</ZZ250>
<ZZ500>2</ZZ500>
<ZZ1000>3</ZZ1000>
<ZZ2000>4</ZZ2000>
<ZZ3000>5</ZZ3000>
<ZZ4000>6</ZZ4000>
<ZZ5000>7</ZZ5000>
<ZZ6000>6</ZZ6000>
<ZZ300>1</ZZ300>
<ZZ600>2</ZZ600>
<ZZ1200>3</ZZ1200>
<ZZ2400>4</ZZ2400>
<ZZ3600>6</ZZ3600>
<ZZ4800>2</ZZ4800>
<INSPECTION>11</INSPECTION>
</Root>

BIN
bin/release/net6.0/linux-x64/Json.Net.dll View File


BIN
bin/release/net6.0/linux-x64/Microsoft.CSharp.dll View File


BIN
bin/release/net6.0/linux-x64/Microsoft.Exchange.WebServices.Auth.dll View File


BIN
bin/release/net6.0/linux-x64/Microsoft.Exchange.WebServices.dll View File


BIN
bin/release/net6.0/linux-x64/Microsoft.Identity.Client.dll View File


BIN
bin/release/net6.0/linux-x64/Microsoft.IdentityModel.Abstractions.dll View File


BIN
bin/release/net6.0/linux-x64/Microsoft.VisualBasic.Core.dll View File


BIN
bin/release/net6.0/linux-x64/Microsoft.VisualBasic.dll View File


BIN
bin/release/net6.0/linux-x64/Microsoft.Win32.Primitives.dll View File


BIN
bin/release/net6.0/linux-x64/Microsoft.Win32.Registry.dll View File


BIN
bin/release/net6.0/linux-x64/Newtonsoft.Json.Bson.dll View File


BIN
bin/release/net6.0/linux-x64/Newtonsoft.Json.dll View File


BIN
bin/release/net6.0/linux-x64/RestSharp.dll View File


+ 8
- 0
bin/release/net6.0/linux-x64/Settings.json View File

@@ -0,0 +1,8 @@
{
"secretv": "gB58Q~ivZRcVK4Qhu3PWJr8yLS288ZhoQwglcaPi" ,
"secretid": "92927063-e101-45ba-8a4c-bff8d63bcb34" ,
"objectid": "c7647074-edb6-4e8e-8a01-a1ed924fdae9" ,
"tenentid": "1fd06c96-d3a4-45e9-9ed7-bcecb394d277" ,
"appid": "489776b1-ee79-4b14-bc44-9f6bf47332db"
}


BIN
bin/release/net6.0/linux-x64/System.AppContext.dll View File


BIN
bin/release/net6.0/linux-x64/System.Buffers.dll View File


BIN
bin/release/net6.0/linux-x64/System.Collections.Concurrent.dll View File


BIN
bin/release/net6.0/linux-x64/System.Collections.Immutable.dll View File


BIN
bin/release/net6.0/linux-x64/System.Collections.NonGeneric.dll View File


BIN
bin/release/net6.0/linux-x64/System.Collections.Specialized.dll View File


BIN
bin/release/net6.0/linux-x64/System.Collections.dll View File


BIN
bin/release/net6.0/linux-x64/System.ComponentModel.Annotations.dll View File


BIN
bin/release/net6.0/linux-x64/System.ComponentModel.DataAnnotations.dll View File


BIN
bin/release/net6.0/linux-x64/System.ComponentModel.EventBasedAsync.dll View File


BIN
bin/release/net6.0/linux-x64/System.ComponentModel.Primitives.dll View File


BIN
bin/release/net6.0/linux-x64/System.ComponentModel.TypeConverter.dll View File


BIN
bin/release/net6.0/linux-x64/System.ComponentModel.dll View File


BIN
bin/release/net6.0/linux-x64/System.Configuration.dll View File


BIN
bin/release/net6.0/linux-x64/System.Console.dll View File


BIN
bin/release/net6.0/linux-x64/System.Core.dll View File


BIN
bin/release/net6.0/linux-x64/System.Data.Common.dll View File


BIN
bin/release/net6.0/linux-x64/System.Data.DataSetExtensions.dll View File


BIN
bin/release/net6.0/linux-x64/System.Data.SqlClient.dll View File


BIN
bin/release/net6.0/linux-x64/System.Data.dll View File


BIN
bin/release/net6.0/linux-x64/System.Diagnostics.Contracts.dll View File


BIN
bin/release/net6.0/linux-x64/System.Diagnostics.Debug.dll View File


BIN
bin/release/net6.0/linux-x64/System.Diagnostics.DiagnosticSource.dll View File


BIN
bin/release/net6.0/linux-x64/System.Diagnostics.FileVersionInfo.dll View File


BIN
bin/release/net6.0/linux-x64/System.Diagnostics.Process.dll View File


BIN
bin/release/net6.0/linux-x64/System.Diagnostics.StackTrace.dll View File


BIN
bin/release/net6.0/linux-x64/System.Diagnostics.TextWriterTraceListener.dll View File


BIN
bin/release/net6.0/linux-x64/System.Diagnostics.Tools.dll View File


BIN
bin/release/net6.0/linux-x64/System.Diagnostics.TraceSource.dll View File


BIN
bin/release/net6.0/linux-x64/System.Diagnostics.Tracing.dll View File


BIN
bin/release/net6.0/linux-x64/System.Drawing.Primitives.dll View File


BIN
bin/release/net6.0/linux-x64/System.Drawing.dll View File


BIN
bin/release/net6.0/linux-x64/System.Dynamic.Runtime.dll View File


BIN
bin/release/net6.0/linux-x64/System.Formats.Asn1.dll View File


BIN
bin/release/net6.0/linux-x64/System.Globalization.Calendars.dll View File


BIN
bin/release/net6.0/linux-x64/System.Globalization.Extensions.dll View File


BIN
bin/release/net6.0/linux-x64/System.Globalization.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.Compression.Brotli.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.Compression.FileSystem.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.Compression.ZipFile.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.Compression.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.FileSystem.AccessControl.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.FileSystem.DriveInfo.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.FileSystem.Primitives.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.FileSystem.Watcher.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.FileSystem.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.IsolatedStorage.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.MemoryMappedFiles.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.Pipes.AccessControl.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.Pipes.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.UnmanagedMemoryStream.dll View File


BIN
bin/release/net6.0/linux-x64/System.IO.dll View File


BIN
bin/release/net6.0/linux-x64/System.Linq.Expressions.dll View File


BIN
bin/release/net6.0/linux-x64/System.Linq.Parallel.dll View File


BIN
bin/release/net6.0/linux-x64/System.Linq.Queryable.dll View File


BIN
bin/release/net6.0/linux-x64/System.Linq.dll View File


BIN
bin/release/net6.0/linux-x64/System.Memory.dll View File


BIN
bin/release/net6.0/linux-x64/System.Net.Http.Formatting.dll View File


BIN
bin/release/net6.0/linux-x64/System.Net.Http.Json.dll View File


BIN
bin/release/net6.0/linux-x64/System.Net.Http.dll View File


BIN
bin/release/net6.0/linux-x64/System.Net.HttpListener.dll View File


BIN
bin/release/net6.0/linux-x64/System.Net.Mail.dll View File


BIN
bin/release/net6.0/linux-x64/System.Net.NameResolution.dll View File


BIN
bin/release/net6.0/linux-x64/System.Net.NetworkInformation.dll View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save