Skip to content

Commit

Permalink
2020 R2 Compatibility Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DhirenChhapgar committed Sep 14, 2020
1 parent 71a65ed commit 8f6f836
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 171 deletions.
170 changes: 26 additions & 144 deletions AcumaticaESign/AcumaticaESign.csproj
Original file line number Diff line number Diff line change
@@ -1,76 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9BC6D61A-5D4B-4D57-BC6B-5E3F9D04377E}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>AcumaticaESign</RootNamespace>
<AssemblyName>AcumaticaESign</AssemblyName>
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<TargetFramework>net48</TargetFramework>
<AssemblyTitle>AcumaticaESign</AssemblyTitle>
<Product>AcumaticaESign</Product>
<Copyright>Copyright © 2017</Copyright>
<OutputPath>bin\$(Configuration)\</OutputPath>
<OutDir>bin\$(Configuration)\</OutDir>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<WarningLevel>3</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<LangVersion>6</LangVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="CsvHelper, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8c4959082be5c823, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\CsvHelper.dll</HintPath>
<Reference Include="CsvHelper">
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\CsvHelper.dll</HintPath>
</Reference>
<Reference Include="DocuSign">
<HintPath>..\References\DocuSign.dll</HintPath>
</Reference>
<Reference Include="Microsoft.AspNet.SignalR.Core">
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\Microsoft.AspNet.SignalR.Core.dll</HintPath>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\Microsoft.AspNet.SignalR.Core.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json">
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="PX.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b136cac2f602b8e, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\PX.Common.dll</HintPath>
<Reference Include="PX.Common">
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\PX.Common.dll</HintPath>
</Reference>
<Reference Include="PX.CS.Contracts, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\PX.CS.Contracts.dll</HintPath>
<Reference Include="PX.CS.Contracts">
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\PX.CS.Contracts.dll</HintPath>
</Reference>
<Reference Include="PX.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b136cac2f602b8e, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\PX.Data.dll</HintPath>
<Reference Include="PX.Data">
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\PX.Data.dll</HintPath>
</Reference>
<Reference Include="PX.OAuthClient, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\PX.OAuthClient.dll</HintPath>
<Reference Include="PX.OAuthClient">
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\PX.OAuthClient.dll</HintPath>
</Reference>
<Reference Include="PX.Objects, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\PX.Objects.dll</HintPath>
<Reference Include="PX.Objects">
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\PX.Objects.dll</HintPath>
</Reference>
<Reference Include="RestSharp, Version=100.0.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\RestSharp.dll</HintPath>
<Reference Include="RestSharp">
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\RestSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
Expand All @@ -79,97 +54,4 @@
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="AcumaticaESign\DAC\ESignAccount.cs" />
<Compile Include="AcumaticaESign\DAC\ESignAccountUserRule.cs" />
<Compile Include="AcumaticaESign\DAC\ESignEnvelopeInfo.cs" />
<Compile Include="AcumaticaESign\Descriptor\Constants.cs" />
<Compile Include="AcumaticaESign\DAC\ESignRecipient.cs" />
<Compile Include="AcumaticaESign\Descriptor\Messages.cs" />
<Compile Include="AcumaticaESign\DAC\EnvelopeFilter.cs" />
<Compile Include="AcumaticaESign\DAC\VoidRequestFilter.cs" />
<Compile Include="AcumaticaESign\ESignAccountEntry.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\ExternalIdModel.cs" />
<Compile Include="AcumaticaESign\Providers\Exception\AcumaticaESignIncorrectFileTypeException.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\AdobeSignClient.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Credentials.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\AccessTokenEntity.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\AgreementCreationEntity.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\AgreementInfoEntity.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\BaseUrisEntity.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\CsvEntity.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\DocumentHistoryEvent.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\NextParticipantInfo.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\NextParticipantSetInfo.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\ParticipantInfo.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\ParticipantSetInfo.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\ReminderCreationResultEntity.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\TransientDocumentEntity.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\ViewUrlEntity.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\AccountType.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\AppliesTo.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\AuthenticationMethod.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\ReminderFrequency.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\Result.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\SignatureFlow.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\UserVerificationStatus.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignDocumentWasDeletedException.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignEnvelopeWithoutRecipientException.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignException.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignFieldValidationAggregateException.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignForbiddenException.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignNotFoundException.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignSentToYourselfException.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignUnauthorizedException.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Infrastructure\Request.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Infrastructure\RequestBuilder.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Infrastructure\RequestDependencies.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\AgreementCreationInfoModel.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\DocumentCreationInfoModel.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\FileInfosModel.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\FileUploadOptions.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\InteractiveOptionsModel.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\RecipientSetInfosModel.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\RecipientSetMemberInfosModel.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\ReminderCreationInfoModel.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\SendThroughWebOptions.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\URLFileInfoModel.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Services\AuthenticationService.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Services\BaseApiService.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\Services\DocumentsService.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\AdobeSignClientBuilder.cs" />
<Compile Include="AcumaticaESign\Providers\AdobeSign\ESignApiExecutor.cs" />
<Compile Include="AR\ARInvoiceESExt.cs" />
<Compile Include="CR\CROpportunityESExt.cs" />
<Compile Include="PO\POOrderESExt.cs" />
<Compile Include="SM\WikiFileMaintenanceESExt.cs" />
<Compile Include="AcumaticaESign\ESignDocumentSummaryEnq.cs" />
<Compile Include="AcumaticaESign\ESignEnvelopeEnq.cs" />
<Compile Include="AcumaticaESign\ESignSyncProcess.cs" />
<Compile Include="AcumaticaESign\Helpers\ErrorCodeHelper.cs" />
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\ApiErrorModel.cs" />
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\BaseRequestModel.cs" />
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\CreateEnvelopeRequestModel.cs" />
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\CreateEnvelopeResponseModel.cs" />
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\GetEnvelopeDocumentResponseModel.cs" />
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\GetEnvelopeHistoryResponseModel.cs" />
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\UpdateEnvelopeResponseModel.cs" />
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\VoidEnvelopeRequestModel.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="AcumaticaESign\Providers\DocuSign\Services\DocuSignService.cs" />
<Compile Include="SO\SOOrderESExt.cs" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
27 changes: 1 addition & 26 deletions AcumaticaESign/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,10 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AcumaticaESign")]
[assembly: AssemblyDescription("Acumatica eSign")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Acumatica INC")]
[assembly: AssemblyProduct("AcumaticaESign")]
[assembly: AssemblyCopyright("Copyright © 2005-2017 Acumatica Inc. All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("bb154e41-e6ba-48da-bf16-113ef7bbbc37")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("6.00.0955")]
[assembly: Guid("bb154e41-e6ba-48da-bf16-113ef7bbbc37")]
2 changes: 1 addition & 1 deletion AcumaticaESign/SM/WikiFileMaintenanceESExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ private void CreateTaskForRelatedOwner(ESignEnvelopeInfo envelope, FileInfo file

var activity = graph.Tasks.Insert();
activity.PercentCompletion = 0;
activity.OwnerID = envelope.CreatedByID;
activity.OwnerID = PXAccess.GetContactID(envelope.CreatedByID);
activity.Subject = $"Document {fileInfo.FullName} was signed.";
activity.ClassID = CRActivityClass.Task;
activity.StartDate = completedDateTime;
Expand Down

0 comments on commit 8f6f836

Please sign in to comment.