| @@ -0,0 +1,174 @@ | |||||
| using Acumatica.Auth.Api; | |||||
| using Acumatica.Default_20_200_001.Api; | |||||
| using Acumatica.Default_20_200_001.Model; | |||||
| using RestSharp; | |||||
| using RestSharp.Serializers.Json; | |||||
| using Newtonsoft.Json; | |||||
| using Acumatica.Manufacturing_21_200_001.Api; | |||||
| using Acumatica.Manufacturing_21_200_001.Model; | |||||
| using Acumatica.RESTClient.Client; | |||||
| using Acumatica; | |||||
| using uri_import.FClasses; | |||||
| using System; | |||||
| using System.Collections.Generic; | |||||
| using uri_import.AClasses; | |||||
| using System.Net; | |||||
| using System.Net.Http; | |||||
| using System.Net.Http.Headers; | |||||
| using System.Threading.Tasks; | |||||
| using System.IO; | |||||
| using uri_import.EClasses; | |||||
| namespace uri_import.AClasses | |||||
| { | |||||
| public class AcumaticaREST | |||||
| { | |||||
| public static string PutFile(RestService service, SalesOrder so, string siteURL, string entityName, string orderNbr, string fileName, byte[] file) | |||||
| { | |||||
| using (MemoryStream memory = new MemoryStream(file)) | |||||
| { | |||||
| return service.PutFile(siteURL, "SalesOrder", string.Format("SO/{0}", so.OrderNbr), "PurchaseOrder.pdf", memory); | |||||
| } | |||||
| } | |||||
| public static Configuration Config(string siteURL, string username, string password, string tenant = null, string branch = null, string locale = null) | |||||
| { | |||||
| var authApi = new AuthApi(siteURL, | |||||
| requestInterceptor: RequestLogger.LogRequest, responseInterceptor: RequestLogger.LogResponse); | |||||
| return authApi.LogIn(username, password, tenant, branch, locale); | |||||
| } | |||||
| public static void APILogout(string siteURL, string username, string password, string tenant = null, string branch = null, string locale = null) | |||||
| { | |||||
| var authApi = new AuthApi(siteURL, | |||||
| requestInterceptor: RequestLogger.LogRequest, responseInterceptor: RequestLogger.LogResponse); | |||||
| if (authApi.TryLogout()) | |||||
| { | |||||
| Console.WriteLine("Logged out successfully."); | |||||
| } | |||||
| else | |||||
| { | |||||
| Console.WriteLine("An error occured during logout."); | |||||
| } | |||||
| } | |||||
| public static void UploadPurchaseOrder(Configuration config, SalesOrder entity, string filename, byte[] content) | |||||
| { | |||||
| try | |||||
| { | |||||
| Console.WriteLine(string.Format("Attaching Purchase Order:")); | |||||
| var soApi = new SalesOrderApi(config); | |||||
| soApi.PutFile(entity.ID.ToString(), filename, content); | |||||
| } | |||||
| catch (Exception ex) | |||||
| { | |||||
| Console.WriteLine(ex.Message); | |||||
| } | |||||
| } | |||||
| public static void CreateSalesOrder(ref SalesOrder entity, Configuration config, string filename, byte[] content) | |||||
| { | |||||
| try | |||||
| { | |||||
| Console.WriteLine(string.Format("Creating Sales Order from PO: {0}", entity.CustomerOrder.Value)); | |||||
| var soApi = new SalesOrderApi(config); | |||||
| SalesOrder savedSO = soApi.PutEntity(entity, null, null, "Details"); | |||||
| entity.OrderNbr = savedSO.OrderNbr; | |||||
| entity.ID = savedSO.ID; | |||||
| //soApi.PutFile(entity.ID.ToString(), filename, content); | |||||
| } | |||||
| catch (Exception e) | |||||
| { | |||||
| Console.WriteLine(e.Message); | |||||
| } | |||||
| } | |||||
| public static void CreateProductionOrder(Configuration config, ref ProductionOrder entity, string siteURL, string username, string password, string tenant = null, string branch = null, string locale = null) | |||||
| { | |||||
| try | |||||
| { | |||||
| Console.WriteLine(string.Format("Creating Production Order from Sales Order: ", entity.SOOrderNbr.Value)); | |||||
| var poApi = new ProductionOrderApi(config); | |||||
| var cpoApi = new CreateProductionOrderApi(config); | |||||
| CreateProductionOrder cpo = new CreateProductionOrder(); | |||||
| cpo.CreationOrderType = "RO"; | |||||
| cpo.SOOrderType = "SO"; | |||||
| cpo.SOOrderNbr = entity.SOOrderNbr; | |||||
| cpoApi.WaitActionCompletion(cpoApi.InvokeAction(new CreateProductionOrderProcessAll(cpo))); | |||||
| } | |||||
| catch (Exception e) | |||||
| { | |||||
| Console.WriteLine(e.Message); | |||||
| } | |||||
| } | |||||
| public static List<ProductionOrder> ReleaseAndLinkProductionOrders(Configuration config, EmailAttachment entity, string siteURL, string username, string password, string tenant = null, string branch = null, string locale = null) | |||||
| { | |||||
| List<ProductionOrder> list = new List<ProductionOrder>(); | |||||
| try | |||||
| { | |||||
| Console.WriteLine(string.Format("Retreiving Production Order from Sales Order: ", entity.SalesOrder.OrderNbr.Value)); | |||||
| var poApi = new ProductionOrderApi(config); | |||||
| string filter = string.Format("SOOrderNbr eq '{0}'", entity.SalesOrder.OrderNbr.Value); | |||||
| list = poApi.GetList(null, filter, null, null, null, null); | |||||
| foreach (ProductionOrder po in list) | |||||
| { | |||||
| entity.ProductionOrders.Add(po); | |||||
| poApi.WaitActionCompletion(poApi.InvokeAction(new CreateLinkedProductionOrders(po))); | |||||
| entity.Linked = true; | |||||
| poApi.WaitActionCompletion(poApi.InvokeAction(new ReleaseProductionOrder(po))); | |||||
| entity.Released = true; | |||||
| } | |||||
| } | |||||
| catch (Exception e) | |||||
| { | |||||
| Console.WriteLine(e.Message); | |||||
| } | |||||
| return list; | |||||
| } | |||||
| public static void Test(Configuration config, string siteURL, string username, string password, string tenant = null, string branch = null, string locale = null) | |||||
| { | |||||
| // var authApi = new AuthApi(siteURL, | |||||
| // requestInterceptor: RequestLogger.LogRequest, responseInterceptor: RequestLogger.LogResponse); | |||||
| try | |||||
| { | |||||
| //var configuration = authApi.LogIn(username, password, tenant, branch, locale); | |||||
| Console.WriteLine("Reading Accounts..."); | |||||
| var accountApi = new AccountApi(config); | |||||
| var accounts = accountApi.GetList(top: 5); | |||||
| foreach (var account in accounts) | |||||
| { | |||||
| Console.WriteLine("Account Nbr: " + account.AccountCD.Value + ";"); | |||||
| } | |||||
| Console.WriteLine("Reading Sales Order by Keys..."); | |||||
| var salesOrderApi = new SalesOrderApi(config); | |||||
| var order = salesOrderApi.GetByKeys(new List<string>() { "SO", "009314" }, null, null, "Details"); | |||||
| Console.WriteLine("Order Total: " + order.OrderTotal.Value); | |||||
| var shipmentApi = new ShipmentApi(config); | |||||
| var shipment = shipmentApi.GetByKeys(new List<string>() { "002805" }); | |||||
| Console.WriteLine("ConfirmShipment"); | |||||
| //shipmentApi.WaitActionCompletion(shipmentApi.InvokeAction(new ConfirmShipment(shipment))); | |||||
| Console.WriteLine("CorrectShipment"); | |||||
| shipmentApi.WaitActionCompletion(shipmentApi.InvokeAction(new CorrectShipment(shipment))); | |||||
| } | |||||
| catch (Exception e) | |||||
| { | |||||
| Console.WriteLine(e.Message); | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,60 @@ | |||||
| using RestSharp; | |||||
| using System; | |||||
| using System.IO; | |||||
| using uri_import.FClasses; | |||||
| namespace uri_import.AClasses | |||||
| { | |||||
| public static class RequestLogger | |||||
| { | |||||
| private static string RequestsLogPath = Path.Combine(FileActions.ExecFile, "RequestsLog.txt"); | |||||
| /// <summary> | |||||
| /// Logs response to RequestsLog.txt file. | |||||
| /// </summary> | |||||
| public static void LogResponse(RestRequest request, RestResponse response, RestClient restClient) | |||||
| { | |||||
| StreamWriter writer = new StreamWriter(RequestsLogPath, true); | |||||
| writer.WriteLine(DateTime.Now.ToString()); | |||||
| writer.WriteLine("Response"); | |||||
| writer.WriteLine("\tStatus code: " + response.StatusCode); | |||||
| writer.WriteLine("\tContent: " + response.Content); | |||||
| writer.WriteLine("-----------------------------------------"); | |||||
| writer.WriteLine(); | |||||
| writer.Flush(); | |||||
| writer.Close(); | |||||
| } | |||||
| /// <summary> | |||||
| /// Logs request to RequestsLog.txt file. | |||||
| /// </summary> | |||||
| public static void LogRequest(RestRequest request, RestClient restClient) | |||||
| { | |||||
| StreamWriter writer = new StreamWriter(RequestsLogPath, true); | |||||
| writer.WriteLine(DateTime.Now.ToString()); | |||||
| writer.WriteLine("Request"); | |||||
| writer.WriteLine("\tMethod: " + request.Method); | |||||
| string parameters = ""; | |||||
| string body = ""; | |||||
| foreach (var parameter in request.Parameters) | |||||
| { | |||||
| if (parameter.Type == ParameterType.QueryString) | |||||
| { | |||||
| parameters += String.IsNullOrEmpty(parameters) ? "?" : "&"; | |||||
| parameters += parameter.Name + "=" + parameter.Value; | |||||
| } | |||||
| if (parameter.Type == ParameterType.RequestBody) | |||||
| body += parameter.Value; | |||||
| } | |||||
| writer.WriteLine("\tURL: " + restClient.BuildUri(request) + parameters); | |||||
| if (!String.IsNullOrEmpty(body)) | |||||
| writer.WriteLine("\tBody: " + body); | |||||
| writer.WriteLine("-----------------------------------------"); | |||||
| writer.WriteLine(); | |||||
| writer.Flush(); | |||||
| writer.Close(); | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,65 @@ | |||||
| using System; | |||||
| using System.Net; | |||||
| using System.Net.Http; | |||||
| using System.Net.Http.Headers; | |||||
| using Acumatica.RESTClient.Client; | |||||
| namespace uri_import.AClasses | |||||
| { | |||||
| public class RestService : IDisposable | |||||
| { | |||||
| private readonly HttpClient _httpClient; | |||||
| private readonly string _acumaticaBaseUrl; | |||||
| public RestService(string acumaticaBaseUrl) | |||||
| { | |||||
| _acumaticaBaseUrl = acumaticaBaseUrl; | |||||
| _httpClient = new HttpClient(new HttpClientHandler | |||||
| { | |||||
| UseCookies = true, | |||||
| CookieContainer = new System.Net.CookieContainer() | |||||
| }) | |||||
| { | |||||
| BaseAddress = new Uri(acumaticaBaseUrl + "/entity/Default/20_200_001/"), | |||||
| DefaultRequestHeaders = { Accept = { MediaTypeWithQualityHeaderValue.Parse("text/json") } } | |||||
| }; | |||||
| } | |||||
| public RestService(string acumaticaBaseUrl, string userName, string password, string tenant, string locale) | |||||
| { | |||||
| _acumaticaBaseUrl = acumaticaBaseUrl; | |||||
| _httpClient = new HttpClient(new HttpClientHandler | |||||
| { | |||||
| UseCookies = true, | |||||
| CookieContainer = new System.Net.CookieContainer() | |||||
| }) | |||||
| { | |||||
| BaseAddress = new Uri(acumaticaBaseUrl + "/entity/Default/20_200_001/"), | |||||
| DefaultRequestHeaders = { Accept = { MediaTypeWithQualityHeaderValue.Parse("text/json") } } | |||||
| }; | |||||
| _httpClient.PostAsJsonAsync(acumaticaBaseUrl + "/entity/auth/login", new | |||||
| { | |||||
| name = userName, | |||||
| password = password, | |||||
| tenant = tenant, | |||||
| locale = locale | |||||
| }).Result | |||||
| .EnsureSuccessStatusCode(); | |||||
| } | |||||
| public string PutFile(string acumaticaBaseUrl, string entityName, string keys, string fileName, System.IO.Stream file) | |||||
| { | |||||
| string endPoint = string.Format("{0}/{1}/{2}/{3}/files/{4}", acumaticaBaseUrl, "/entity/Default/20.200.001/", entityName, keys, fileName);// +"/entity/Default/20.200.001/" + entityName + "/" + keys + "/files/" + fileName; | |||||
| var res = _httpClient.PutAsync(endPoint, new StreamContent(file)).Result.EnsureSuccessStatusCode(); | |||||
| return res.Content.ReadAsStringAsync().Result; | |||||
| } | |||||
| void IDisposable.Dispose() | |||||
| { | |||||
| _httpClient.PostAsync(_acumaticaBaseUrl + "/entity/auth/logout", | |||||
| new ByteArrayContent(new byte[0])).Wait(); | |||||
| _httpClient.Dispose(); | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,114 @@ | |||||
| using System.IO; | |||||
| using System.Net; | |||||
| using System; | |||||
| using System.Collections.Generic; | |||||
| using Independentsoft.Exchange; | |||||
| using uri_import.FClasses; | |||||
| using Acumatica.Default_20_200_001.Model; | |||||
| using Acumatica.Manufacturing_21_200_001.Model; | |||||
| namespace uri_import.EClasses | |||||
| { | |||||
| public class Ex365 | |||||
| { | |||||
| private NetworkCredential _credential; | |||||
| private Service _service; | |||||
| private StandardFolder _folder; | |||||
| public NetworkCredential Credential { get { return _credential; } set { _credential = value; } } | |||||
| public Service service { get { return _service; } set { _service = value; } } | |||||
| public StandardFolder Folder { get { return _folder; } set { _folder = value; } } | |||||
| public Ex365() { } | |||||
| public Ex365(string username, string password) | |||||
| { | |||||
| _credential = new NetworkCredential(username, password); | |||||
| _service = new Service("https://outlook.office365.com/ews/Exchange.asmx", _credential); | |||||
| } | |||||
| public Ex365(string username, string password, string url) | |||||
| { | |||||
| _credential = new NetworkCredential(username, password); | |||||
| _service = new Service(url, _credential); | |||||
| } | |||||
| public Ex365(string username, string password, string url, StandardFolder folder) | |||||
| { | |||||
| _credential = new NetworkCredential(username, password); | |||||
| _service = new Service(url, _credential); | |||||
| Folder inbox = _service.GetFolder(folder); | |||||
| } | |||||
| public List<EmailAttachment> GetPOs(string filter, bool hasAttachment = true) | |||||
| { | |||||
| int index = 1; | |||||
| List<EmailAttachment> list = new List<EmailAttachment>(); | |||||
| IsEqualTo restriction = new IsEqualTo(MessagePropertyPath.HasAttachments, hasAttachment); | |||||
| Contains subFilter = new Contains(MessagePropertyPath.Subject, "United Rentals, Inc:", ContainmentMode.Prefixed, ContainmentComparison.IgnoreCase); | |||||
| ItemShape itemShape = new ItemShape(ShapeType.Id); | |||||
| FindItemResponse response = _service.FindItem(StandardFolder.Inbox, itemShape, subFilter); | |||||
| for (int i = 0; i < response.Items.Count; i++) | |||||
| { | |||||
| if (response.Items[i] is Message) | |||||
| { | |||||
| ItemId itemId = response.Items[i].ItemId; | |||||
| Message message = service.GetMessage(itemId); | |||||
| Console.WriteLine(message.Subject); | |||||
| IList<AttachmentInfo> attachmentsInfo = message.Attachments; | |||||
| for (int j = 0; j < attachmentsInfo.Count; j++) | |||||
| { | |||||
| Attachment attachment = _service.GetAttachment(attachmentsInfo[j].Id); | |||||
| if (attachment is FileAttachment && attachment.Name.ToUpper().EndsWith(".PDF")) | |||||
| { | |||||
| EmailAttachment ea = new EmailAttachment(); | |||||
| FileAttachment fileAttachment = (FileAttachment)attachment; | |||||
| ea.Content = fileAttachment.Content; | |||||
| ea.FileName = fileAttachment.Name.ToUpper().Replace(".PDF", string.Format("{0}.PDF", index)); | |||||
| index = index + 1; | |||||
| ea.Sender = message.From.EmailAddress; | |||||
| list.Add(ea); | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| return list; | |||||
| } | |||||
| } | |||||
| public class EmailSettings | |||||
| { | |||||
| public string Username { get; set; } | |||||
| public string Password { get; set; } | |||||
| public string Url { get; set; } | |||||
| public StandardFolder Folder { get; set; } | |||||
| } | |||||
| public class EmailAttachment | |||||
| { | |||||
| private List<ProductionOrder> _productionOrders; | |||||
| private List<string> _errors; | |||||
| private bool _released = false; | |||||
| private bool _linked = false; | |||||
| public EmailAttachment() | |||||
| { | |||||
| _productionOrders = new List<ProductionOrder>(); | |||||
| _errors = new List<string>(); | |||||
| } | |||||
| public byte[] Content { get; set; } | |||||
| public string Sender { get; set; } | |||||
| public string FileName { get; set; } | |||||
| public string FilePath | |||||
| { | |||||
| get | |||||
| { | |||||
| string path = System.IO.Path.Combine( | |||||
| FileActions.ExecFile, | |||||
| "attachments", | |||||
| this.FileName); | |||||
| return path; | |||||
| } | |||||
| } | |||||
| public SalesOrder SalesOrder { get; set; } | |||||
| public string SalesOrderNumber { get; set; } | |||||
| public List<ProductionOrder> ProductionOrders { get { return _productionOrders; } set { _productionOrders = value; } } | |||||
| public bool Released { get{return _released;} set{_released = value;}} | |||||
| public bool Linked { get{return _linked;} set{_linked = value;}} | |||||
| public List<string> Errors { get { return _errors; } set { _errors = value; } } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,38 @@ | |||||
| using System; | |||||
| using System.IO; | |||||
| using System.Reflection; | |||||
| namespace uri_import.FClasses | |||||
| { | |||||
| public class FileActions | |||||
| { | |||||
| public static string ExecFile | |||||
| { | |||||
| get | |||||
| { | |||||
| string execFile = Assembly.GetExecutingAssembly().Location; | |||||
| if (execFile.Contains("\\")) | |||||
| execFile = execFile.Substring(0, execFile.LastIndexOf("\\")); | |||||
| else | |||||
| execFile = execFile.Substring(0, execFile.LastIndexOf("/")); | |||||
| return execFile; | |||||
| } | |||||
| } | |||||
| public static string Attachments { get; set; } | |||||
| public static string Logs { get; set; } | |||||
| public static string Successes { get; set; } | |||||
| public static string Failures { get; set; } | |||||
| public static void MakeDirectories() | |||||
| { | |||||
| Attachments = Path.Combine(ExecFile, "attachments"); | |||||
| Logs = Path.Combine(ExecFile, "logs"); | |||||
| Successes = Path.Combine(ExecFile, "successes"); | |||||
| Failures = Path.Combine(ExecFile, "failures"); | |||||
| if (!Directory.Exists(Attachments)) Directory.CreateDirectory(Attachments); | |||||
| if (!Directory.Exists(Logs)) Directory.CreateDirectory(Logs); | |||||
| if (!Directory.Exists(Successes)) Directory.CreateDirectory(Successes); | |||||
| if (!Directory.Exists(Failures)) Directory.CreateDirectory(Failures); | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,276 @@ | |||||
| using System; | |||||
| using System.Globalization; | |||||
| using System.Text; | |||||
| using System.Text.RegularExpressions; | |||||
| using System.Collections.Generic; | |||||
| using System.Linq; | |||||
| using System.Threading.Tasks; | |||||
| using iTextSharp; | |||||
| using iTextSharp.text.pdf; | |||||
| using iTextSharp.text.pdf.parser; | |||||
| using Acumatica.Default_20_200_001.Model; | |||||
| namespace uri_import.PClasses | |||||
| { | |||||
| public class PDFHelper | |||||
| { | |||||
| private static string _note = "<200# USE UPS 3RD PARTY ACCT# 266E8F>\n200# USE LTL ROUTING GUIDE- - - - - - - -828-485-5145\nhttp://routeshipment.com/R9322/\nBill to: United Rentals, INC\nC/O TRANSPORTATION INSIGHT\nPO BOX 23000\nHICKORY, NC 28601\nEMAIL LOADCENTER@UR.COM"; | |||||
| private static List<string> RemoveLine(List<string> list, string contains) | |||||
| { | |||||
| string line = list.Find(x => x.ToUpper().Contains(contains.ToUpper())); | |||||
| if (line != null) list.Remove(line); | |||||
| return list; | |||||
| } | |||||
| private static List<string> RemovePhoneAndFax(List<string> list) | |||||
| { | |||||
| string line = list.Find(x => x.ToUpper().Contains("PHONE:")); | |||||
| if (line != null) list.Remove(line); | |||||
| line = list.Find(x => x.ToUpper().Contains("FAX")); | |||||
| if (line != null) | |||||
| { | |||||
| int index = list.FindIndex(x => x == line); | |||||
| Regex regex = new Regex(@"\(?\d{3}\)?-? *\d{3}-? *-?\d{4}"); | |||||
| string faxLine = list[index + 1]; | |||||
| if (regex.IsMatch(faxLine)) | |||||
| { | |||||
| list.Remove(line); | |||||
| list.Remove(faxLine); | |||||
| } | |||||
| else list.Remove(line); | |||||
| } | |||||
| return list; | |||||
| } | |||||
| private static SalesOrder CityStateZip(ref List<string> lines, SalesOrder order) | |||||
| { | |||||
| int index = 0; | |||||
| int numIndexes = 2; | |||||
| Regex rCSZ = new Regex(@"^.*(\s\s\d{5}(-\d{4})?$)|(^[ABCEGHJKLMNPRSTVXY]{1}\d{1}[A-Z]{1} *\d{1}[A-Z]{1}\d{1}).*$", RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.CultureInvariant); | |||||
| foreach (string line in lines) | |||||
| { | |||||
| if (rCSZ.IsMatch(line)) | |||||
| { | |||||
| DateTime dt; | |||||
| index = lines.FindIndex(x => x == line); | |||||
| if (DateTime.TryParse(lines[index - 4], out dt)) | |||||
| { | |||||
| numIndexes = 3; | |||||
| order.ShipToAddress = new Address(); | |||||
| order.ShipToAddress.AddressLine1 = lines[index - 3].Trim(); | |||||
| order.ShipToAddress.AddressLine2 = string.Format("{0}\r\n{1}", lines[index - 2].Trim(), lines[index - 1].Trim()); | |||||
| string[] csz = line.Split(','); | |||||
| order.ShipToAddress.City = csz[0].Trim(); | |||||
| csz[1] = csz[1].Replace(" ", "|"); | |||||
| string[] sz = csz[1].Trim().Split('|'); | |||||
| order.ShipToAddress.State = sz[0].Trim(); | |||||
| order.ShipToAddress.PostalCode = sz[1].Trim(); | |||||
| break; | |||||
| } | |||||
| else | |||||
| { | |||||
| order.ShipToAddress = new Address(); | |||||
| order.ShipToAddress.AddressLine1 = lines[index - 2].Trim(); | |||||
| order.ShipToAddress.AddressLine2 = lines[index - 1].Trim(); | |||||
| string[] csz = line.Split(','); | |||||
| order.ShipToAddress.City = csz[0].Trim(); | |||||
| csz[1] = csz[1].Replace(" ", "|"); | |||||
| string[] sz = csz[1].Trim().Split('|'); | |||||
| order.ShipToAddress.State = sz[0].Trim(); | |||||
| order.ShipToAddress.PostalCode = sz[1].Trim(); | |||||
| break; | |||||
| } | |||||
| } | |||||
| } | |||||
| string pc = order.ShipToAddress.PostalCode.Value; | |||||
| pc = pc.Replace("-", ""); | |||||
| int i = 0; | |||||
| bool result = int.TryParse(pc, out i); | |||||
| if (result) order.ShipToAddress.Country = "US"; | |||||
| else order.ShipToAddress.Country = "CA"; | |||||
| for (int r = index; r >= numIndexes; r--) | |||||
| { | |||||
| lines.RemoveAt(r); | |||||
| } | |||||
| string startLine = lines.Find(x => x.Trim().StartsWith("Qty")); | |||||
| if (startLine != null) | |||||
| { | |||||
| index = lines.IndexOf(startLine); | |||||
| for (int iIndex = index; iIndex >= 0; iIndex--) | |||||
| { | |||||
| lines.RemoveAt(iIndex); | |||||
| } | |||||
| } | |||||
| return order; | |||||
| } | |||||
| private static SalesOrder GetDetails(SalesOrder order, ref List<string> lines) | |||||
| { | |||||
| order.Details = new List<SalesOrderDetail>(); | |||||
| int lrNumb = 1; | |||||
| for (int i = 0; i < lines.Count; i++) | |||||
| { | |||||
| string line = lines[i].Trim().Substring(0, 3).Trim(); | |||||
| int isInt = 0; | |||||
| if (int.TryParse(line, out isInt)) | |||||
| { | |||||
| try | |||||
| { | |||||
| lines[i] = Regex.Replace(lines[i], @"\s+", "|"); | |||||
| string[] clmns = lines[i].Split('|'); | |||||
| SalesOrderDetail detail = new SalesOrderDetail(); | |||||
| detail.OrderQty = int.Parse(clmns[0].Trim()); | |||||
| detail.InventoryID = clmns[1].Trim(); | |||||
| detail.LineNbr = lrNumb; | |||||
| detail.RowNumber = lrNumb; | |||||
| order.Details.Add(detail); | |||||
| lrNumb = lrNumb + 1; | |||||
| } | |||||
| catch { } | |||||
| } | |||||
| } | |||||
| return order; | |||||
| } | |||||
| private static SalesOrder FindThePhoneNumber(ref List<string> list, SalesOrder order) | |||||
| { | |||||
| bool found = false; | |||||
| Regex regex = new Regex(@"\(?\d{3}\)?-? *\d{3}-? *-?\d{4}"); | |||||
| foreach (string line in list) | |||||
| { | |||||
| string[] segments = line.Split(' '); | |||||
| foreach (string segment in segments) | |||||
| { | |||||
| string s = segment.Trim(); | |||||
| if (regex.IsMatch(s)) | |||||
| { | |||||
| order.ShipToContact = new DocContact(); | |||||
| order.ShipToContact.Phone1 = s; | |||||
| found = true; | |||||
| break; | |||||
| } | |||||
| } | |||||
| if (found) | |||||
| { | |||||
| list.Remove(line); | |||||
| break; | |||||
| } | |||||
| } | |||||
| return order; | |||||
| } | |||||
| public static SalesOrder PDFBuildSalesOrder(List<string> lines) | |||||
| { | |||||
| SalesOrder order = new SalesOrder(); | |||||
| for (int l = 0; l < lines.Count; l++) | |||||
| { | |||||
| lines[l] = lines[l].Trim(); | |||||
| } | |||||
| lines = RemoveLine(lines, "PURCHASE ORDER"); | |||||
| lines = RemoveLine(lines, "179054"); | |||||
| lines = RemoveLine(lines, "RPM INDUSTRIES LLC"); | |||||
| lines = RemoveLine(lines, "Purchase Order Number"); | |||||
| lines = RemoveLine(lines, "1660 JEFFERSON AVE"); | |||||
| lines = RemoveLine(lines, "WASHINGTON, PA 15301"); | |||||
| lines = RemoveLine(lines, "ORDER DATE:"); | |||||
| lines = RemoveLine(lines, "Phone "); | |||||
| lines = RemoveLine(lines, "ORDERED BY:"); | |||||
| lines = RemoveLine(lines, "LOCATION #:"); | |||||
| lines = RemoveLine(lines, "Fax "); | |||||
| lines = RemoveLine(lines, "ADDRESS"); | |||||
| lines = RemoveLine(lines, "DO NOT SHIP TO"); | |||||
| lines = RemoveLine(lines, "STAMFORD, CT 06902"); | |||||
| lines = RemoveLine(lines, "SEE BELOW"); | |||||
| lines = RemoveLine(lines, "THE FOLLOWING MUST APPEAR"); | |||||
| lines = RemoveLine(lines, "SHIPPING PAPERS"); | |||||
| lines = RemovePhoneAndFax(lines); | |||||
| order.CustomerOrder = lines[0]; | |||||
| DateTime orderDate = DateTime.Parse(lines[1].Trim()); | |||||
| order.Date = DateTime.Parse(lines[1]); | |||||
| if (orderDate.Day > 15) | |||||
| { | |||||
| orderDate = orderDate.AddMonths(1); | |||||
| int lastDay = DateTime.DaysInMonth(orderDate.Year, orderDate.Month); | |||||
| orderDate = new DateTime(orderDate.Year, orderDate.Month, lastDay); | |||||
| if (orderDate.DayOfWeek == DayOfWeek.Sunday) | |||||
| orderDate = new DateTime(orderDate.Year, orderDate.Month, orderDate.Day - 2); | |||||
| if (orderDate.DayOfWeek == DayOfWeek.Saturday) | |||||
| orderDate = new DateTime(orderDate.Year, orderDate.Month, orderDate.Day - 1); | |||||
| } | |||||
| else | |||||
| { | |||||
| int lastDay = DateTime.DaysInMonth(orderDate.Year, orderDate.Month); | |||||
| orderDate = new DateTime(orderDate.Year, orderDate.Month, lastDay); | |||||
| if (orderDate.DayOfWeek == DayOfWeek.Sunday) | |||||
| orderDate = new DateTime(orderDate.Year, orderDate.Month, orderDate.Day - 2); | |||||
| if (orderDate.DayOfWeek == DayOfWeek.Saturday) | |||||
| orderDate = new DateTime(orderDate.Year, orderDate.Month, orderDate.Day - 1); | |||||
| } | |||||
| order.CustomerID = "000000001433"; | |||||
| order.RequestedOn = orderDate; | |||||
| FindThePhoneNumber(ref lines, order); | |||||
| order.ShipToAddressOverride = true; | |||||
| order = CityStateZip(ref lines, order); | |||||
| order.Note = _note; | |||||
| order = GetDetails(order, ref lines); | |||||
| return order; | |||||
| } | |||||
| public static List<string> PDFLinesToText(string filePath) | |||||
| { | |||||
| List<string> list = new List<string>(); | |||||
| using (PdfReader reader = new PdfReader(filePath)) | |||||
| { | |||||
| StringBuilder text = new StringBuilder(); | |||||
| ITextExtractionStrategy Strategy = new iTextSharp.text.pdf.parser.LocationTextExtractionStrategy(); | |||||
| for (int i = 1; i <= reader.NumberOfPages; i++) | |||||
| { | |||||
| string page = ""; | |||||
| page = PdfTextExtractor.GetTextFromPage(reader, i, Strategy); | |||||
| string[] lines = page.Split('\n'); | |||||
| list.AddRange(lines); | |||||
| } | |||||
| } | |||||
| return list; | |||||
| } | |||||
| } | |||||
| public class SBTextRenderer : IRenderListener | |||||
| { | |||||
| private StringBuilder _builder; | |||||
| public SBTextRenderer(StringBuilder builder) | |||||
| { | |||||
| _builder = builder; | |||||
| } | |||||
| #region IRenderListener Members | |||||
| public void BeginTextBlock() | |||||
| { | |||||
| Console.Write("Begin Text Block"); | |||||
| } | |||||
| public void EndTextBlock() | |||||
| { | |||||
| Console.Write("End Text Block"); | |||||
| } | |||||
| public void RenderImage(ImageRenderInfo renderInfo) | |||||
| { | |||||
| } | |||||
| public void RenderText(TextRenderInfo renderInfo) | |||||
| { | |||||
| _builder.Append(renderInfo.GetText()); | |||||
| } | |||||
| #endregion | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,105 @@ | |||||
| using System; | |||||
| using System.IO; | |||||
| using System.Collections.Generic; | |||||
| using uri_import.EClasses; | |||||
| using uri_import.FClasses; | |||||
| using uri_import.AClasses; | |||||
| using uri_import.PClasses; | |||||
| using Acumatica.Default_20_200_001.Model; | |||||
| using Acumatica.Manufacturing_21_200_001.Model; | |||||
| using Acumatica.RESTClient.Model; | |||||
| namespace uri_import | |||||
| { | |||||
| class Program | |||||
| { | |||||
| static void Main(string[] args) | |||||
| { | |||||
| FileActions.MakeDirectories(); | |||||
| Ex365 exch = new Ex365("mcarman@prelub.com", "Gr@nt@cc3$$", "https://outlook.office365.com/ews/Exchange.asmx", Independentsoft.Exchange.StandardFolder.Inbox); | |||||
| List<EmailAttachment> pos = exch.GetPOs("United Rentals, Inc:"); | |||||
| List<SalesOrder> sos = new List<SalesOrder>(); | |||||
| WritePOsToDirectory(pos); | |||||
| try | |||||
| { | |||||
| var config = AcumaticaREST.Config("https://rpmindustries.acumatica.com", "bryckman", "Washington1", "RPM SANDBOX", null, null); | |||||
| foreach (EmailAttachment ea in pos) | |||||
| { | |||||
| try | |||||
| { | |||||
| List<string> lines = PDFHelper.PDFLinesToText(ea.FilePath); | |||||
| } | |||||
| catch (Exception lex) | |||||
| { | |||||
| ea.Errors.Add(string.Format("{0} {1} {2}", DateTime.Now.ToShortDateString(), DateTime.Now.ToShortTimeString(), lex.Message)); | |||||
| } | |||||
| ea.SalesOrder = PDFHelper.PDFBuildSalesOrder(PDFHelper.PDFLinesToText(ea.FilePath)); | |||||
| SalesOrder order = ea.SalesOrder; | |||||
| foreach (SalesOrderDetail detail in order.Details) | |||||
| { | |||||
| Dictionary<string, CustomField> inner = new Dictionary<string, CustomField>(); | |||||
| CustomBooleanField b = new CustomBooleanField(true, "CustomBooleanField"); | |||||
| inner.Add("AMProdCreate", b); | |||||
| detail.Custom = new Dictionary<string, Dictionary<string, CustomField>>(); | |||||
| detail.Custom.Add("Transactions", inner); | |||||
| } | |||||
| AcumaticaREST.CreateSalesOrder(ref order, config, ea.FileName, ea.Content); | |||||
| ea.SalesOrder.OrderNbr = order.OrderNbr; | |||||
| ea.SalesOrder.ID = order.ID; | |||||
| //AcumaticaREST.UploadPurchaseOrder(config, ea.SalesOrder, "PurchaseOrder.pdf", ea.Content); | |||||
| int ln = 1; | |||||
| foreach (SalesOrderDetail detail in ea.SalesOrder.Details) | |||||
| { | |||||
| ProductionOrder prod = new ProductionOrder(); | |||||
| prod.OrderType = "RO"; | |||||
| prod.QtytoProduce = detail.OrderQty; | |||||
| prod.InventoryID = detail.InventoryID; | |||||
| prod.SOOrderNbr = order.OrderNbr; | |||||
| prod.SOOrderType = "SO"; | |||||
| prod.SOLineNbr = detail.LineNbr; | |||||
| ln = ln + 1; | |||||
| AcumaticaREST.CreateProductionOrder(config, ref prod, "https://rpmindustries.acumatica.com", "bryckman", "Washington1", "RPM SANDBOX", null, null); | |||||
| ea.ProductionOrders.Add(prod); | |||||
| } | |||||
| } | |||||
| foreach (EmailAttachment ea in pos) | |||||
| { | |||||
| AcumaticaREST.ReleaseAndLinkProductionOrders(config, ea, "https://rpmindustries.acumatica.com", "bryckman", "Washington1", "RPM SANDBOX", null, null); | |||||
| } | |||||
| } | |||||
| catch (Exception exception) | |||||
| { | |||||
| Console.WriteLine(exception.Message); | |||||
| } | |||||
| finally | |||||
| { | |||||
| AcumaticaREST.APILogout("https://rpmindustries.acumatica.com", "bryckman", "Washington1", "RPM SANDBOX", null, null); | |||||
| } | |||||
| using (RestService service = new RestService("https://rpmindustries.acumatica.com", "bryckman", "Washington1", "RPM SANDBOX", "en_US")) | |||||
| { | |||||
| foreach (EmailAttachment ea in pos) | |||||
| { | |||||
| try | |||||
| { | |||||
| AcumaticaREST.PutFile(service, ea.SalesOrder, "https://rpmindustries.acumatica.com", "SO", ea.SalesOrder.OrderNbr.Value.ToString(), ea.FileName, ea.Content); | |||||
| } | |||||
| catch { } | |||||
| } | |||||
| } | |||||
| } | |||||
| static void WritePOsToDirectory(List<EmailAttachment> pos) | |||||
| { | |||||
| foreach (EmailAttachment obj in pos) | |||||
| { | |||||
| string path = Path.Combine(FileActions.Attachments, obj.FileName); | |||||
| if (!File.Exists(path)) | |||||
| File.WriteAllBytes(path, obj.Content); | |||||
| Console.WriteLine(obj.FilePath); | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,68 @@ | |||||
| SUPPLIER | |||||
| SHIP TO | |||||
| Qty | |||||
| 1 | |||||
| DATE REQUIRED | |||||
| 314-209-7070 | |||||
| SHIP VIA | |||||
| URI ROUTING GUIDE | |||||
| See Detail ORIGIN | |||||
| Phone 724-228-5130 | |||||
| Fax 724-228-3548 | |||||
| 3/30/22 18:06:27 | |||||
| Request Date | |||||
| UNITED RENTALS (970) | |||||
| 13727 SHORELINE DRIVE | |||||
| EARTH CITY, MO 63045 | |||||
| 179054 | |||||
| RPM INDUSTRIES LLC | |||||
| 1660 JEFFERSON AVE | |||||
| WASHINGTON, PA 15301 | |||||
| F.O.B. POINT | |||||
| * EXCEPT WHERE NOTED BELOW. | |||||
| B/O Item number/Description | |||||
| 4/08/22 Promise Date | |||||
| NET60 | |||||
| BUYERS NAME | |||||
| MAINTENANCE@UR.COM | |||||
| UM | |||||
| EA | |||||
| PAYMENT TERMS | |||||
| LOCATION | |||||
| 107753 | |||||
| RPMID | |||||
| RPM KIT-4 - 2 BAY - 4 TRUCK KIT | |||||
| UM: (EA) EACH | |||||
| - SHOP CONTAINERS/STORAGE/SANITATION | |||||
| - 106526 QUICK-FIT EVAC CART-25 GALLON (1) | |||||
| - 106422 SCET PUMP W15' HARNESS & CAS (1) | |||||
| - 107858 KIT, QUICKFIT TRUCK/BAY CONV (6) | |||||
| P.O. Total: | |||||
| Unit | |||||
| Cost | |||||
| 4419.000 | |||||
| Ordered by: MAINTENANCE@UR.COM MAINTENANCE@UR.COM | |||||
| Purchase Order Number | |||||
| 17136541 | |||||
| TAXABLE | |||||
| ORDERED FROM | |||||
| 000384758 | |||||
| ORDER DATE: 3/30/22 | |||||
| LOCATION #: 091 | |||||
| ORDERED BY: UNITED RENTALS, INC. | |||||
| ADDRESS: SEE BELOW | |||||
| DO NOT SHIP TO STAMFORD | |||||
| STAMFORD, CT 06902 | |||||
| PHONE: 203-622-3131 | |||||
| FAX: 203-622-6080 | |||||
| THE FOLLOWING MUST APPEAR ON ALL INVOICES, PACKAGES | |||||
| SHIPPING PAPERS, AND CORRESPONDENCE | |||||
| PURCHASE ORDER # _________14563171___ | |||||
| # 091 ___ | |||||
| PURCHASE ORDER | |||||
| NO | |||||
| Extended | |||||
| 4419.00 | |||||
| Page 1 of 1 | |||||
| 4,419.00 | |||||
| @@ -0,0 +1,41 @@ | |||||
| PURCHASE ORDER | |||||
| 179054 Purchase Order Number R | |||||
| RPM INDUSTRIES LLC EI | |||||
| 17136541 1660 JEFFERSON AVE LP | |||||
| WASHINGTON, PA 15301 | |||||
| ORDER DATE: 3/30/22 P | |||||
| LOCATION #: 091 U | |||||
| Phone 724-228-5130 S ORDERED BY: UNITED RENTALS, INC. | |||||
| Fax 724-228-3548 ADDRESS: SEE BELOW | |||||
| DO NOT SHIP TO STAMFORD | |||||
| STAMFORD, CT 06902 | |||||
| PHONE: 203-622-3131 | |||||
| UNITED RENTALS (970) | |||||
| FAX: 203-622-6080 O | |||||
| 13727 SHORELINE DRIVE | |||||
| T | |||||
| EARTH CITY, MO 63045 | |||||
| THE FOLLOWING MUST APPEAR ON ALL INVOICES, PACKAGES PI | |||||
| SHIPPING PAPERS, AND CORRESPONDENCE | |||||
| H | |||||
| 17136541 314-209-7070 PURCHASE ORDER # ____________ | |||||
| S | |||||
| 091 LOCATION # ___ | |||||
| * EXCEPT WHERE NOTED BELOW. | |||||
| DATE REQUIRED F.O.B. POINT PAYMENT TERMS TAXABLE | |||||
| See Detail ORIGIN NET60 NO | |||||
| SHIP VIA BUYERS NAME ORDERED FROM | |||||
| URI ROUTING GUIDE MAINTENANCE@UR.COM 000384758 | |||||
| Unit | |||||
| Qty B/O Item number/Description UM Cost Extended | |||||
| 1 107753 RPMID EA 4419.000 4419.00 | |||||
| RPM KIT-4 - 2 BAY - 4 TRUCK KIT | |||||
| UM: (EA) EACH | |||||
| - SHOP CONTAINERS/STORAGE/SANITATION | |||||
| - 106526 QUICK-FIT EVAC CART-25 GALLON (1) | |||||
| - 106422 SCET PUMP W15' HARNESS & CAS (1) | |||||
| - 107858 KIT, QUICKFIT TRUCK/BAY CONV (6) | |||||
| Request Date 4/08/22 Promise Date | |||||
| P.O. Total: 4,419.00 | |||||
| 3/30/22 18:06:27 Ordered by: MAINTENANCE@UR.COM MAINTENANCE@UR.COM | |||||
| Page 1 of 1 | |||||
| @@ -0,0 +1,46 @@ | |||||
| PURCHASE ORDER | |||||
| 179054 | |||||
| Purchase Order Number | |||||
| RPM INDUSTRIES LLC | |||||
| 17136541 | |||||
| 1660 JEFFERSON AVE | |||||
| WASHINGTON, PA 15301 | |||||
| ORDER DATE: | |||||
| 3/30/22 | |||||
| LOCATION #: 091 | |||||
| Phone 724-228-5130 | |||||
| ORDERED BY: UNITED RENTALS, INC. | |||||
| Fax 724-228-3548 | |||||
| ADDRESS: | |||||
| SEE BELOW | |||||
| DO NOT SHIP TO STAMFORD | |||||
| STAMFORD, CT 06902 | |||||
| PHONE: 203-622-3131 | |||||
| UNITED RENTALS (970) | |||||
| FAX: | |||||
| 203-622-6080 | |||||
| 13727 SHORELINE DRIVE | |||||
| EARTH CITY, MO 63045 | |||||
| THE FOLLOWING MUST APPEAR ON ALL INVOICES, PACKAGES | |||||
| SHIPPING PAPERS, AND CORRESPONDENCE | |||||
| 314-209-7070 PURCHASE ORDER # ____________ 17136541 | |||||
| LOCATION # ___ 091 | |||||
| * EXCEPT WHERE NOTED BELOW. | |||||
| DATE REQUIRED F.O.B. POINT PAYMENT TERMS TAXABLE | |||||
| See Detail ORIGIN NET60 NO | |||||
| SHIP VIA BUYERS NAME ORDERED FROM | |||||
| URI ROUTING GUIDE MAINTENANCE@UR.COM 000384758 | |||||
| Unit | |||||
| Qty B/O Item number/Description UM Cost Extended | |||||
| 1 107753 RPMID EA 4419.000 4419.00 | |||||
| RPM KIT-4 - 2 BAY - 4 TRUCK KIT | |||||
| UM: (EA) EACH | |||||
| - SHOP CONTAINERS/STORAGE/SANITATION | |||||
| - 106526 QUICK-FIT EVAC CART-25 GALLON (1) | |||||
| - 106422 SCET PUMP W15' HARNESS & CAS (1) | |||||
| - 107858 KIT, QUICKFIT TRUCK/BAY CONV (6) | |||||
| Request Date 4/08/22 Promise Date | |||||
| P.O. Total: 4,419.00 | |||||
| 3/30/22 18:06:27 Ordered by: MAINTENANCE@UR.COM MAINTENANCE@UR.COM | |||||
| Page 1 of 1 | |||||
| SHIP TO SUPPLIER | |||||
| @@ -0,0 +1,9 @@ | |||||
| { | |||||
| "runtimeOptions": { | |||||
| "tfm": "net6.0", | |||||
| "framework": { | |||||
| "name": "Microsoft.NETCore.App", | |||||
| "version": "6.0.0" | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,9 @@ | |||||
| { | |||||
| "runtimeOptions": { | |||||
| "tfm": "net6.0", | |||||
| "framework": { | |||||
| "name": "Microsoft.NETCore.App", | |||||
| "version": "6.0.0" | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,4 @@ | |||||
| // <autogenerated /> | |||||
| using System; | |||||
| using System.Reflection; | |||||
| [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")] | |||||
| @@ -0,0 +1,22 @@ | |||||
| //------------------------------------------------------------------------------ | |||||
| // <auto-generated> | |||||
| // This code was generated by a tool. | |||||
| // | |||||
| // Changes to this file may cause incorrect behavior and will be lost if | |||||
| // the code is regenerated. | |||||
| // </auto-generated> | |||||
| //------------------------------------------------------------------------------ | |||||
| using System; | |||||
| using System.Reflection; | |||||
| [assembly: System.Reflection.AssemblyCompanyAttribute("uri_import")] | |||||
| [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] | |||||
| [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] | |||||
| [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] | |||||
| [assembly: System.Reflection.AssemblyProductAttribute("uri_import")] | |||||
| [assembly: System.Reflection.AssemblyTitleAttribute("uri_import")] | |||||
| [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] | |||||
| // Generated by the MSBuild WriteCodeFragment class. | |||||
| @@ -0,0 +1 @@ | |||||
| 42d0b45b6d6d56b31b80347cdf030fa3203f2f80 | |||||
| @@ -0,0 +1,10 @@ | |||||
| is_global = true | |||||
| build_property.TargetFramework = net5.0 | |||||
| build_property.TargetPlatformMinVersion = | |||||
| build_property.UsingMicrosoftNETSdkWeb = | |||||
| build_property.ProjectTypeGuids = | |||||
| build_property.InvariantGlobalization = | |||||
| build_property.PlatformNeutralAssembly = | |||||
| build_property._SupportedPlatformList = Linux,macOS,Windows | |||||
| build_property.RootNamespace = uri_import | |||||
| build_property.ProjectDir = /Volumes/New2TBDrive/apps/acumatica/console/uri_import/ | |||||
| @@ -0,0 +1,4 @@ | |||||
| // <autogenerated /> | |||||
| using System; | |||||
| using System.Reflection; | |||||
| [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] | |||||
| @@ -0,0 +1,18 @@ | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/uri_import | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/uri_import.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/uri_import.deps.json | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/uri_import.runtimeconfig.json | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/uri_import.pdb | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/Acumatica.Default_20.200.001.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/Acumatica.Manufacturing_21.200.001.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/Acumatica.RESTClient.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/SOAPLikeWrapperForREST.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/BouncyCastle.Crypto.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/Independentsoft.Exchange.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/itextsharp.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/JsonSubTypes.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/System.Net.Http.Formatting.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/Newtonsoft.Json.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/Newtonsoft.Json.Bson.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/RestSharp.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/publish/System.Text.Json.dll | |||||
| @@ -0,0 +1,22 @@ | |||||
| //------------------------------------------------------------------------------ | |||||
| // <auto-generated> | |||||
| // This code was generated by a tool. | |||||
| // | |||||
| // Changes to this file may cause incorrect behavior and will be lost if | |||||
| // the code is regenerated. | |||||
| // </auto-generated> | |||||
| //------------------------------------------------------------------------------ | |||||
| using System; | |||||
| using System.Reflection; | |||||
| [assembly: System.Reflection.AssemblyCompanyAttribute("uri_import")] | |||||
| [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] | |||||
| [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] | |||||
| [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] | |||||
| [assembly: System.Reflection.AssemblyProductAttribute("uri_import")] | |||||
| [assembly: System.Reflection.AssemblyTitleAttribute("uri_import")] | |||||
| [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] | |||||
| // Generated by the MSBuild WriteCodeFragment class. | |||||
| @@ -0,0 +1 @@ | |||||
| 42d0b45b6d6d56b31b80347cdf030fa3203f2f80 | |||||
| @@ -0,0 +1,10 @@ | |||||
| is_global = true | |||||
| build_property.TargetFramework = net6.0 | |||||
| build_property.TargetPlatformMinVersion = | |||||
| build_property.UsingMicrosoftNETSdkWeb = | |||||
| build_property.ProjectTypeGuids = | |||||
| build_property.InvariantGlobalization = | |||||
| build_property.PlatformNeutralAssembly = | |||||
| build_property._SupportedPlatformList = Linux,macOS,Windows | |||||
| build_property.RootNamespace = uri_import | |||||
| build_property.ProjectDir = /Volumes/New2TBDrive/apps/acumatica/console/uri_import/ | |||||
| @@ -0,0 +1 @@ | |||||
| 4e4c11c4c71f46c18965a424b9f9a1438c6d22fe | |||||
| @@ -0,0 +1,29 @@ | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/uri_import | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/uri_import.deps.json | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/uri_import.runtimeconfig.json | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/uri_import.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/uri_import.pdb | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/Independentsoft.Exchange.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/uri_import.csproj.AssemblyReference.cache | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/uri_import.GeneratedMSBuildEditorConfig.editorconfig | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/uri_import.AssemblyInfoInputs.cache | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/uri_import.AssemblyInfo.cs | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/uri_import.csproj.CoreCompileInputs.cache | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/uri_import.csproj.CopyComplete | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/uri_import.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/refint/uri_import.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/uri_import.pdb | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/uri_import.genruntimeconfig.cache | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/Debug/net6.0/ref/uri_import.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/Acumatica.RESTClient.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/JsonSubTypes.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/Newtonsoft.Json.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/RestSharp.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/System.Text.Json.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/Acumatica.Default_20.200.001.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/Acumatica.Manufacturing_21.200.001.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/SOAPLikeWrapperForREST.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/BouncyCastle.Crypto.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/itextsharp.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/System.Net.Http.Formatting.dll | |||||
| /Volumes/New2TBDrive/apps/acumatica/console/uri_import/bin/Debug/net6.0/Newtonsoft.Json.Bson.dll | |||||
| @@ -0,0 +1 @@ | |||||
| 79de82e84011126901e9a9f0b2a49047170fe547 | |||||
| @@ -0,0 +1,118 @@ | |||||
| { | |||||
| "version": 2, | |||||
| "dgSpecHash": "9bnFwOldEghn8pgdJq9gRd4oxLcXqWquYflPARHwXCLe2TUdL26lcldf4GoPXOrrma1f/uqhtkaUPsoCyBxzEQ==", | |||||
| "success": true, | |||||
| "projectFilePath": "/Volumes/New2TBDrive/apps/acumatica/console/uri_import/uri_import.csproj", | |||||
| "expectedPackageFiles": [ | |||||
| "/Users/michielcarman/.nuget/packages/acumatica.default_20.200.001/2.0.0/acumatica.default_20.200.001.2.0.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/acumatica.manufacturing_21.200.001/2.0.0/acumatica.manufacturing_21.200.001.2.0.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/acumatica.restclient/2.2.0/acumatica.restclient.2.2.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/acumatica.soaplikewrapperforrest/2.2.0/acumatica.soaplikewrapperforrest.2.2.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/bouncycastle/1.8.9/bouncycastle.1.8.9.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/independentsoft.exchange/3.0.700/independentsoft.exchange.3.0.700.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/itextsharp/5.5.13.3/itextsharp.5.5.13.3.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/jsonsubtypes/1.8.0/jsonsubtypes.1.8.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/microsoft.aspnet.webapi.client/5.2.9/microsoft.aspnet.webapi.client.5.2.9.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/microsoft.netcore.targets/1.1.0/microsoft.netcore.targets.1.1.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/microsoft.win32.primitives/4.3.0/microsoft.win32.primitives.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/netstandard.library/1.6.1/netstandard.library.1.6.1.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/newtonsoft.json/13.0.1/newtonsoft.json.13.0.1.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/newtonsoft.json.bson/1.0.1/newtonsoft.json.bson.1.0.1.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/restsharp/107.1.1/restsharp.107.1.1.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.native.system/4.3.0/runtime.native.system.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.native.system.io.compression/4.3.0/runtime.native.system.io.compression.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.native.system.net.http/4.3.0/runtime.native.system.net.http.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.native.system.security.cryptography.apple/4.3.0/runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.native.system.security.cryptography.openssl/4.3.0/runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple/4.3.0/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl/4.3.0/runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.appcontext/4.3.0/system.appcontext.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.buffers/4.3.0/system.buffers.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.collections/4.3.0/system.collections.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.collections.concurrent/4.3.0/system.collections.concurrent.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.console/4.3.0/system.console.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.diagnostics.debug/4.3.0/system.diagnostics.debug.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.diagnostics.diagnosticsource/4.3.0/system.diagnostics.diagnosticsource.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.diagnostics.tools/4.3.0/system.diagnostics.tools.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.diagnostics.tracing/4.3.0/system.diagnostics.tracing.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.globalization/4.3.0/system.globalization.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.globalization.calendars/4.3.0/system.globalization.calendars.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.globalization.extensions/4.3.0/system.globalization.extensions.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.io/4.3.0/system.io.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.io.compression/4.3.0/system.io.compression.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.io.compression.zipfile/4.3.0/system.io.compression.zipfile.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.io.filesystem/4.3.0/system.io.filesystem.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.io.filesystem.primitives/4.3.0/system.io.filesystem.primitives.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.linq/4.3.0/system.linq.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.linq.expressions/4.3.0/system.linq.expressions.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.net.http/4.3.0/system.net.http.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.net.primitives/4.3.0/system.net.primitives.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.net.sockets/4.3.0/system.net.sockets.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.objectmodel/4.3.0/system.objectmodel.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.reflection/4.3.0/system.reflection.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.reflection.emit/4.3.0/system.reflection.emit.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.reflection.emit.ilgeneration/4.3.0/system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.reflection.emit.lightweight/4.3.0/system.reflection.emit.lightweight.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.reflection.extensions/4.3.0/system.reflection.extensions.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.reflection.primitives/4.3.0/system.reflection.primitives.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.reflection.typeextensions/4.3.0/system.reflection.typeextensions.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.resources.resourcemanager/4.3.0/system.resources.resourcemanager.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.runtime/4.3.0/system.runtime.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.runtime.extensions/4.3.0/system.runtime.extensions.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.runtime.handles/4.3.0/system.runtime.handles.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.runtime.interopservices/4.3.0/system.runtime.interopservices.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.runtime.interopservices.runtimeinformation/4.3.0/system.runtime.interopservices.runtimeinformation.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.runtime.numerics/4.3.0/system.runtime.numerics.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.security.cryptography.algorithms/4.3.0/system.security.cryptography.algorithms.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.security.cryptography.cng/4.3.0/system.security.cryptography.cng.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.security.cryptography.csp/4.3.0/system.security.cryptography.csp.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.security.cryptography.encoding/4.3.0/system.security.cryptography.encoding.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.security.cryptography.openssl/4.3.0/system.security.cryptography.openssl.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.security.cryptography.primitives/4.3.0/system.security.cryptography.primitives.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.security.cryptography.x509certificates/4.3.0/system.security.cryptography.x509certificates.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.text.encoding/4.3.0/system.text.encoding.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.text.encoding.extensions/4.3.0/system.text.encoding.extensions.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.text.encodings.web/6.0.0/system.text.encodings.web.6.0.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.text.json/6.0.1/system.text.json.6.0.1.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.text.regularexpressions/4.3.0/system.text.regularexpressions.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.threading/4.3.0/system.threading.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.threading.tasks/4.3.0/system.threading.tasks.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.threading.tasks.extensions/4.3.0/system.threading.tasks.extensions.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.threading.timer/4.3.0/system.threading.timer.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.xml.readerwriter/4.3.0/system.xml.readerwriter.4.3.0.nupkg.sha512", | |||||
| "/Users/michielcarman/.nuget/packages/system.xml.xdocument/4.3.0/system.xml.xdocument.4.3.0.nupkg.sha512" | |||||
| ], | |||||
| "logs": [ | |||||
| { | |||||
| "code": "NU1701", | |||||
| "level": "Warning", | |||||
| "warningLevel": 1, | |||||
| "message": "Package 'BouncyCastle 1.8.9' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net6.0'. This package may not be fully compatible with your project.", | |||||
| "libraryId": "BouncyCastle", | |||||
| "targetGraphs": [ | |||||
| "net6.0" | |||||
| ] | |||||
| }, | |||||
| { | |||||
| "code": "NU1701", | |||||
| "level": "Warning", | |||||
| "warningLevel": 1, | |||||
| "message": "Package 'iTextSharp 5.5.13.3' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework 'net6.0'. This package may not be fully compatible with your project.", | |||||
| "libraryId": "iTextSharp", | |||||
| "targetGraphs": [ | |||||
| "net6.0" | |||||
| ] | |||||
| } | |||||
| ] | |||||
| } | |||||
| @@ -0,0 +1,93 @@ | |||||
| { | |||||
| "format": 1, | |||||
| "restore": { | |||||
| "/Volumes/New2TBDrive/apps/acumatica/console/uri_import/uri_import.csproj": {} | |||||
| }, | |||||
| "projects": { | |||||
| "/Volumes/New2TBDrive/apps/acumatica/console/uri_import/uri_import.csproj": { | |||||
| "version": "1.0.0", | |||||
| "restore": { | |||||
| "projectUniqueName": "/Volumes/New2TBDrive/apps/acumatica/console/uri_import/uri_import.csproj", | |||||
| "projectName": "uri_import", | |||||
| "projectPath": "/Volumes/New2TBDrive/apps/acumatica/console/uri_import/uri_import.csproj", | |||||
| "packagesPath": "/Users/michielcarman/.nuget/packages/", | |||||
| "outputPath": "/Volumes/New2TBDrive/apps/acumatica/console/uri_import/obj/", | |||||
| "projectStyle": "PackageReference", | |||||
| "fallbackFolders": [ | |||||
| "/usr/local/share/dotnet/sdk/NuGetFallbackFolder" | |||||
| ], | |||||
| "configFilePaths": [ | |||||
| "/Users/michielcarman/.nuget/NuGet/NuGet.Config" | |||||
| ], | |||||
| "originalTargetFrameworks": [ | |||||
| "net6.0" | |||||
| ], | |||||
| "sources": { | |||||
| "https://api.nuget.org/v3/index.json": {} | |||||
| }, | |||||
| "frameworks": { | |||||
| "net6.0": { | |||||
| "targetAlias": "net6.0", | |||||
| "projectReferences": {} | |||||
| } | |||||
| }, | |||||
| "warningProperties": { | |||||
| "warnAsError": [ | |||||
| "NU1605" | |||||
| ] | |||||
| } | |||||
| }, | |||||
| "frameworks": { | |||||
| "net6.0": { | |||||
| "targetAlias": "net6.0", | |||||
| "dependencies": { | |||||
| "Acumatica.Default_20.200.001": { | |||||
| "target": "Package", | |||||
| "version": "[2.0.0, )" | |||||
| }, | |||||
| "Acumatica.Manufacturing_21.200.001": { | |||||
| "target": "Package", | |||||
| "version": "[2.0.0, )" | |||||
| }, | |||||
| "Acumatica.RESTClient": { | |||||
| "target": "Package", | |||||
| "version": "[2.2.0, )" | |||||
| }, | |||||
| "Acumatica.SOAPLikeWrapperForREST": { | |||||
| "target": "Package", | |||||
| "version": "[2.2.0, )" | |||||
| }, | |||||
| "Independentsoft.Exchange": { | |||||
| "target": "Package", | |||||
| "version": "[3.0.700, )" | |||||
| }, | |||||
| "Microsoft.AspNet.WebApi.Client": { | |||||
| "target": "Package", | |||||
| "version": "[5.2.9, )" | |||||
| }, | |||||
| "iTextSharp": { | |||||
| "target": "Package", | |||||
| "version": "[5.5.13.3, )" | |||||
| } | |||||
| }, | |||||
| "imports": [ | |||||
| "net461", | |||||
| "net462", | |||||
| "net47", | |||||
| "net471", | |||||
| "net472", | |||||
| "net48" | |||||
| ], | |||||
| "assetTargetFallback": true, | |||||
| "warn": true, | |||||
| "frameworkReferences": { | |||||
| "Microsoft.NETCore.App": { | |||||
| "privateAssets": "all" | |||||
| } | |||||
| }, | |||||
| "runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.202/RuntimeIdentifierGraph.json" | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,26 @@ | |||||
| <?xml version="1.0" encoding="utf-8" standalone="no"?> | |||||
| <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||||
| <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | |||||
| <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess> | |||||
| <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> | |||||
| <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> | |||||
| <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/Users/michielcarman/.nuget/packages/</NuGetPackageRoot> | |||||
| <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/michielcarman/.nuget/packages/;/usr/local/share/dotnet/sdk/NuGetFallbackFolder</NuGetPackageFolders> | |||||
| <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> | |||||
| <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.1.0</NuGetToolVersion> | |||||
| </PropertyGroup> | |||||
| <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | |||||
| <SourceRoot Include="/Users/michielcarman/.nuget/packages/" /> | |||||
| <SourceRoot Include="/usr/local/share/dotnet/sdk/NuGetFallbackFolder/" /> | |||||
| </ItemGroup> | |||||
| <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> | |||||
| <Content Include="$(NuGetPackageRoot)acumatica.restclient/2.2.0/contentFiles/any/netstandard2.0/images/AcumaticaRESTClientLogo.ico" Condition="Exists('$(NuGetPackageRoot)acumatica.restclient/2.2.0/contentFiles/any/netstandard2.0/images/AcumaticaRESTClientLogo.ico')"> | |||||
| <NuGetPackageId>Acumatica.RESTClient</NuGetPackageId> | |||||
| <NuGetPackageVersion>2.2.0</NuGetPackageVersion> | |||||
| <NuGetItemType>Content</NuGetItemType> | |||||
| <Pack>false</Pack> | |||||
| <Private>False</Private> | |||||
| <Link>images/AcumaticaRESTClientLogo.ico</Link> | |||||
| </Content> | |||||
| </ItemGroup> | |||||
| </Project> | |||||
| @@ -0,0 +1,2 @@ | |||||
| <?xml version="1.0" encoding="utf-8" standalone="no"?> | |||||
| <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" /> | |||||
| @@ -0,0 +1,19 @@ | |||||
| <Project Sdk="Microsoft.NET.Sdk"> | |||||
| <PropertyGroup> | |||||
| <OutputType>Exe</OutputType> | |||||
| <TargetFramework>net6.0</TargetFramework> | |||||
| </PropertyGroup> | |||||
| <ItemGroup> | |||||
| <PackageReference Include="Acumatica.Default_20.200.001" Version="2.0.0" /> | |||||
| <PackageReference Include="Acumatica.Manufacturing_21.200.001" Version="2.0.0" /> | |||||
| <PackageReference Include="Acumatica.RESTClient" Version="2.2.0" /> | |||||
| <PackageReference Include="Acumatica.SOAPLikeWrapperForREST" Version="2.2.0" /> | |||||
| <PackageReference Include="Independentsoft.Exchange" Version="3.0.700" /> | |||||
| <PackageReference Include="iTextSharp" Version="5.5.13.3" /> | |||||
| <PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" /> | |||||
| </ItemGroup> | |||||
| </Project> | |||||