Skip to content

Commit 8f6f836

Browse files
2020 R2 Compatibility Changes
1 parent 71a65ed commit 8f6f836

File tree

3 files changed

+28
-171
lines changed

3 files changed

+28
-171
lines changed
Lines changed: 26 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,51 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
1+
<Project Sdk="Microsoft.NET.Sdk">
32
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>9.0.30729</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{9BC6D61A-5D4B-4D57-BC6B-5E3F9D04377E}</ProjectGuid>
9-
<OutputType>Library</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>AcumaticaESign</RootNamespace>
12-
<AssemblyName>AcumaticaESign</AssemblyName>
13-
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
14-
<FileAlignment>512</FileAlignment>
15-
<TargetFrameworkProfile />
3+
<TargetFramework>net48</TargetFramework>
4+
<AssemblyTitle>AcumaticaESign</AssemblyTitle>
5+
<Product>AcumaticaESign</Product>
6+
<Copyright>Copyright © 2017</Copyright>
7+
<OutputPath>bin\$(Configuration)\</OutputPath>
8+
<OutDir>bin\$(Configuration)\</OutDir>
9+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
10+
<WarningLevel>3</WarningLevel>
1611
</PropertyGroup>
1712
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18-
<DebugSymbols>true</DebugSymbols>
1913
<DebugType>full</DebugType>
20-
<Optimize>false</Optimize>
21-
<OutputPath>bin\Debug\</OutputPath>
22-
<DefineConstants>DEBUG;TRACE</DefineConstants>
23-
<ErrorReport>prompt</ErrorReport>
24-
<WarningLevel>4</WarningLevel>
25-
<LangVersion>6</LangVersion>
2614
</PropertyGroup>
2715
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2816
<DebugType>pdbonly</DebugType>
29-
<Optimize>true</Optimize>
30-
<OutputPath>bin\Release\</OutputPath>
31-
<DefineConstants>TRACE</DefineConstants>
32-
<ErrorReport>prompt</ErrorReport>
33-
<WarningLevel>4</WarningLevel>
3417
</PropertyGroup>
3518
<ItemGroup>
36-
<Reference Include="CsvHelper, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8c4959082be5c823, processorArchitecture=MSIL">
37-
<SpecificVersion>False</SpecificVersion>
38-
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\CsvHelper.dll</HintPath>
19+
<Reference Include="CsvHelper">
20+
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\CsvHelper.dll</HintPath>
3921
</Reference>
4022
<Reference Include="DocuSign">
4123
<HintPath>..\References\DocuSign.dll</HintPath>
4224
</Reference>
4325
<Reference Include="Microsoft.AspNet.SignalR.Core">
44-
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\Microsoft.AspNet.SignalR.Core.dll</HintPath>
26+
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\Microsoft.AspNet.SignalR.Core.dll</HintPath>
4527
</Reference>
4628
<Reference Include="Microsoft.CSharp" />
47-
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
48-
<SpecificVersion>False</SpecificVersion>
49-
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\Newtonsoft.Json.dll</HintPath>
29+
<Reference Include="Newtonsoft.Json">
30+
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\Newtonsoft.Json.dll</HintPath>
5031
</Reference>
51-
<Reference Include="PX.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b136cac2f602b8e, processorArchitecture=MSIL">
52-
<SpecificVersion>False</SpecificVersion>
53-
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\PX.Common.dll</HintPath>
32+
<Reference Include="PX.Common">
33+
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\PX.Common.dll</HintPath>
5434
</Reference>
55-
<Reference Include="PX.CS.Contracts, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
56-
<SpecificVersion>False</SpecificVersion>
57-
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\PX.CS.Contracts.dll</HintPath>
35+
<Reference Include="PX.CS.Contracts">
36+
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\PX.CS.Contracts.dll</HintPath>
5837
</Reference>
59-
<Reference Include="PX.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b136cac2f602b8e, processorArchitecture=MSIL">
60-
<SpecificVersion>False</SpecificVersion>
61-
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\PX.Data.dll</HintPath>
38+
<Reference Include="PX.Data">
39+
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\PX.Data.dll</HintPath>
6240
</Reference>
63-
<Reference Include="PX.OAuthClient, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
64-
<SpecificVersion>False</SpecificVersion>
65-
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\PX.OAuthClient.dll</HintPath>
41+
<Reference Include="PX.OAuthClient">
42+
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\PX.OAuthClient.dll</HintPath>
6643
</Reference>
67-
<Reference Include="PX.Objects, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
68-
<SpecificVersion>False</SpecificVersion>
69-
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\PX.Objects.dll</HintPath>
44+
<Reference Include="PX.Objects">
45+
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\PX.Objects.dll</HintPath>
7046
</Reference>
71-
<Reference Include="RestSharp, Version=100.0.0.0, Culture=neutral, PublicKeyToken=598062e77f915f75, processorArchitecture=MSIL">
72-
<SpecificVersion>False</SpecificVersion>
73-
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\Acumatica19V204\Bin\RestSharp.dll</HintPath>
47+
<Reference Include="RestSharp">
48+
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Acumatica ERP\EasyPost2020R2\Bin\RestSharp.dll</HintPath>
7449
</Reference>
7550
<Reference Include="System" />
7651
<Reference Include="System.Core">
@@ -79,97 +54,4 @@
7954
<Reference Include="System.Web" />
8055
<Reference Include="System.Xml" />
8156
</ItemGroup>
82-
<ItemGroup>
83-
<Compile Include="AcumaticaESign\DAC\ESignAccount.cs" />
84-
<Compile Include="AcumaticaESign\DAC\ESignAccountUserRule.cs" />
85-
<Compile Include="AcumaticaESign\DAC\ESignEnvelopeInfo.cs" />
86-
<Compile Include="AcumaticaESign\Descriptor\Constants.cs" />
87-
<Compile Include="AcumaticaESign\DAC\ESignRecipient.cs" />
88-
<Compile Include="AcumaticaESign\Descriptor\Messages.cs" />
89-
<Compile Include="AcumaticaESign\DAC\EnvelopeFilter.cs" />
90-
<Compile Include="AcumaticaESign\DAC\VoidRequestFilter.cs" />
91-
<Compile Include="AcumaticaESign\ESignAccountEntry.cs" />
92-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\ExternalIdModel.cs" />
93-
<Compile Include="AcumaticaESign\Providers\Exception\AcumaticaESignIncorrectFileTypeException.cs" />
94-
<Compile Include="AcumaticaESign\Providers\AdobeSign\AdobeSignClient.cs" />
95-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Credentials.cs" />
96-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\AccessTokenEntity.cs" />
97-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\AgreementCreationEntity.cs" />
98-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\AgreementInfoEntity.cs" />
99-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\BaseUrisEntity.cs" />
100-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\CsvEntity.cs" />
101-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\DocumentHistoryEvent.cs" />
102-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\NextParticipantInfo.cs" />
103-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\NextParticipantSetInfo.cs" />
104-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\ParticipantInfo.cs" />
105-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\ParticipantSetInfo.cs" />
106-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\ReminderCreationResultEntity.cs" />
107-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\TransientDocumentEntity.cs" />
108-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Entities\ViewUrlEntity.cs" />
109-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\AccountType.cs" />
110-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\AppliesTo.cs" />
111-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\AuthenticationMethod.cs" />
112-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\ReminderFrequency.cs" />
113-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\Result.cs" />
114-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\SignatureFlow.cs" />
115-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Enums\UserVerificationStatus.cs" />
116-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignDocumentWasDeletedException.cs" />
117-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignEnvelopeWithoutRecipientException.cs" />
118-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignException.cs" />
119-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignFieldValidationAggregateException.cs" />
120-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignForbiddenException.cs" />
121-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignNotFoundException.cs" />
122-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignSentToYourselfException.cs" />
123-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Exceptions\AdobeSignUnauthorizedException.cs" />
124-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Infrastructure\Request.cs" />
125-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Infrastructure\RequestBuilder.cs" />
126-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Infrastructure\RequestDependencies.cs" />
127-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\AgreementCreationInfoModel.cs" />
128-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\DocumentCreationInfoModel.cs" />
129-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\FileInfosModel.cs" />
130-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\FileUploadOptions.cs" />
131-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\InteractiveOptionsModel.cs" />
132-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\RecipientSetInfosModel.cs" />
133-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\RecipientSetMemberInfosModel.cs" />
134-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\ReminderCreationInfoModel.cs" />
135-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\SendThroughWebOptions.cs" />
136-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Models\URLFileInfoModel.cs" />
137-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Services\AuthenticationService.cs" />
138-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Services\BaseApiService.cs" />
139-
<Compile Include="AcumaticaESign\Providers\AdobeSign\Services\DocumentsService.cs" />
140-
<Compile Include="AcumaticaESign\Providers\AdobeSign\AdobeSignClientBuilder.cs" />
141-
<Compile Include="AcumaticaESign\Providers\AdobeSign\ESignApiExecutor.cs" />
142-
<Compile Include="AR\ARInvoiceESExt.cs" />
143-
<Compile Include="CR\CROpportunityESExt.cs" />
144-
<Compile Include="PO\POOrderESExt.cs" />
145-
<Compile Include="SM\WikiFileMaintenanceESExt.cs" />
146-
<Compile Include="AcumaticaESign\ESignDocumentSummaryEnq.cs" />
147-
<Compile Include="AcumaticaESign\ESignEnvelopeEnq.cs" />
148-
<Compile Include="AcumaticaESign\ESignSyncProcess.cs" />
149-
<Compile Include="AcumaticaESign\Helpers\ErrorCodeHelper.cs" />
150-
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\ApiErrorModel.cs" />
151-
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\BaseRequestModel.cs" />
152-
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\CreateEnvelopeRequestModel.cs" />
153-
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\CreateEnvelopeResponseModel.cs" />
154-
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\GetEnvelopeDocumentResponseModel.cs" />
155-
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\GetEnvelopeHistoryResponseModel.cs" />
156-
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\UpdateEnvelopeResponseModel.cs" />
157-
<Compile Include="AcumaticaESign\Providers\DocuSign\Models\VoidEnvelopeRequestModel.cs" />
158-
<Compile Include="Properties\AssemblyInfo.cs" />
159-
<Compile Include="AcumaticaESign\Providers\DocuSign\Services\DocuSignService.cs" />
160-
<Compile Include="SO\SOOrderESExt.cs" />
161-
</ItemGroup>
162-
<ItemGroup />
163-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
164-
<PropertyGroup>
165-
<PostBuildEvent>
166-
</PostBuildEvent>
167-
</PropertyGroup>
168-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
169-
Other similar extension points exist, see Microsoft.Common.targets.
170-
<Target Name="BeforeBuild">
171-
</Target>
172-
<Target Name="AfterBuild">
173-
</Target>
174-
-->
17557
</Project>

AcumaticaESign/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,10 @@
22
using System.Runtime.CompilerServices;
33
using System.Runtime.InteropServices;
44

5-
// General Information about an assembly is controlled through the following
6-
// set of attributes. Change these attribute values to modify the information
7-
// associated with an assembly.
8-
[assembly: AssemblyTitle("AcumaticaESign")]
9-
[assembly: AssemblyDescription("Acumatica eSign")]
10-
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("Acumatica INC")]
12-
[assembly: AssemblyProduct("AcumaticaESign")]
13-
[assembly: AssemblyCopyright("Copyright © 2005-2017 Acumatica Inc. All rights reserved.")]
14-
[assembly: AssemblyTrademark("")]
15-
[assembly: AssemblyCulture("")]
16-
175
// Setting ComVisible to false makes the types in this assembly not visible
186
// to COM components. If you need to access a type in this assembly from
197
// COM, set the ComVisible attribute to true on that type.
208
[assembly: ComVisible(false)]
219

2210
// The following GUID is for the ID of the typelib if this project is exposed to COM
23-
[assembly: Guid("bb154e41-e6ba-48da-bf16-113ef7bbbc37")]
24-
25-
// Version information for an assembly consists of the following four values:
26-
//
27-
// Major Version
28-
// Minor Version
29-
// Build Number
30-
// Revision
31-
//
32-
// You can specify all the values or you can default the Build and Revision Numbers
33-
// by using the '*' as shown below:
34-
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("6.00.0955")]
11+
[assembly: Guid("bb154e41-e6ba-48da-bf16-113ef7bbbc37")]

AcumaticaESign/SM/WikiFileMaintenanceESExt.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ private void CreateTaskForRelatedOwner(ESignEnvelopeInfo envelope, FileInfo file
966966

967967
var activity = graph.Tasks.Insert();
968968
activity.PercentCompletion = 0;
969-
activity.OwnerID = envelope.CreatedByID;
969+
activity.OwnerID = PXAccess.GetContactID(envelope.CreatedByID);
970970
activity.Subject = $"Document {fileInfo.FullName} was signed.";
971971
activity.ClassID = CRActivityClass.Task;
972972
activity.StartDate = completedDateTime;

0 commit comments

Comments
 (0)