Skip to content

Commit

Permalink
updated readme, fixed part option issue
Browse files Browse the repository at this point in the history
  • Loading branch information
koechlm committed Feb 9, 2019
1 parent 519ad8a commit 000f962
Show file tree
Hide file tree
Showing 9 changed files with 4,962 additions and 3,001 deletions.
2,710 changes: 1,685 additions & 1,025 deletions BOM - First-Level.rdlc

Large diffs are not rendered by default.

2,737 changes: 1,703 additions & 1,034 deletions BOM - Multi-Level.rdlc

Large diffs are not rendered by default.

2,430 changes: 1,513 additions & 917 deletions BOM - Parts-Only.rdlc

Large diffs are not rendered by default.

56 changes: 40 additions & 16 deletions BOMReportJob.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand All @@ -9,15 +9,15 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BOMReportJob</RootNamespace>
<AssemblyName>BOMReportJob</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\..\ProgramData\Autodesk\Vault 2017\Extensions\BOMReportJob\</OutputPath>
<OutputPath>..\..\..\..\..\..\ProgramData\Autodesk\Vault 2019\Extensions\Autodesk.BOMReportJobSample\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
Expand All @@ -32,26 +32,50 @@
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="Autodesk.Connectivity.Extensibility.Framework">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Vault Professional 2018\Explorer\Autodesk.Connectivity.Extensibility.Framework.dll</HintPath>
</Reference>
<Reference Include="Autodesk.Connectivity.JobProcessor.Extensibility">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Vault Professional 2018\Explorer\Autodesk.Connectivity.JobProcessor.Extensibility.dll</HintPath>
<HintPath>..\..\..\..\..\..\Program Files (x86)\Autodesk\Autodesk Vault 2019 SDK\bin\x64\Autodesk.Connectivity.Extensibility.Framework.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.Connectivity.WebServices">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Vault Professional 2018\Explorer\Autodesk.Connectivity.WebServices.dll</HintPath>
<Reference Include="Autodesk.Connectivity.JobProcessor.Extensibility, Version=23.0.0.0, Culture=neutral, PublicKeyToken=aa20f34aedd220e1, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\Autodesk\Autodesk Vault 2019 SDK\bin\x64\Autodesk.Connectivity.JobProcessor.Extensibility.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.DataManagement.Client.Framework">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Vault Professional 2018\Explorer\Autodesk.DataManagement.Client.Framework.dll</HintPath>
<Reference Include="Autodesk.Connectivity.WebServices, Version=23.0.0.0, Culture=neutral, PublicKeyToken=aa20f34aedd220e1, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\Autodesk\Autodesk Vault 2019 SDK\bin\x64\Autodesk.Connectivity.WebServices.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Autodesk.DataManagement.Client.Framework.Vault">
<HintPath>..\..\..\..\..\Program Files\Autodesk\Vault Professional 2018\Explorer\Autodesk.DataManagement.Client.Framework.Vault.dll</HintPath>
<Reference Include="Autodesk.DataManagement.Client.Framework, Version=23.0.0.0, Culture=neutral, PublicKeyToken=aa20f34aedd220e1, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\..\..\Program Files (x86)\Autodesk\Autodesk Vault 2019 SDK\bin\x64\Autodesk.DataManagement.Client.Framework.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Microsoft.ReportViewer.WinForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Reference Include="Autodesk.DataManagement.Client.Framework.Vault, Version=23.0.0.0, Culture=neutral, PublicKeyToken=aa20f34aedd220e1, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\Microsoft WSE\v3.0\Microsoft.Web.Services3.dll</HintPath>
<HintPath>..\..\..\..\..\..\Program Files (x86)\Autodesk\Autodesk Vault 2019 SDK\bin\x64\Autodesk.DataManagement.Client.Framework.Vault.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Microsoft.ReportViewer.WinForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL">
<Private>False</Private>
</Reference>
<Reference Include="System" />
Expand Down
13 changes: 12 additions & 1 deletion BOMReportJob.sln
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
# Visual Studio 15
VisualStudioVersion = 15.0.28010.2003
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BOMReportJob", "BOMReportJob.csproj", "{593DEC95-4D18-4BBC-8112-13A7D4B06CF4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x64 = Debug|x64
Release|Any CPU = Release|Any CPU
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{593DEC95-4D18-4BBC-8112-13A7D4B06CF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{593DEC95-4D18-4BBC-8112-13A7D4B06CF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{593DEC95-4D18-4BBC-8112-13A7D4B06CF4}.Debug|x64.ActiveCfg = Debug|x64
{593DEC95-4D18-4BBC-8112-13A7D4B06CF4}.Debug|x64.Build.0 = Debug|x64
{593DEC95-4D18-4BBC-8112-13A7D4B06CF4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{593DEC95-4D18-4BBC-8112-13A7D4B06CF4}.Release|Any CPU.Build.0 = Release|Any CPU
{593DEC95-4D18-4BBC-8112-13A7D4B06CF4}.Release|x64.ActiveCfg = Release|x64
{593DEC95-4D18-4BBC-8112-13A7D4B06CF4}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C0849FD7-AA69-4EE7-9873-B56B6B5A9E05}
EndGlobalSection
EndGlobal
4 changes: 2 additions & 2 deletions JobExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PARTICULAR PURPOSE.
using Autodesk.DataManagement.Client.Framework.Currency;
using VDF = Autodesk.DataManagement.Client.Framework;

[assembly: ApiVersion("11.0")]
[assembly: ApiVersion("12.0")]
[assembly: ExtensionId("267602E2-5DCE-46A5-85A8-3A26FD76D0B5")]

namespace BOMReportJob
Expand Down Expand Up @@ -112,7 +112,7 @@ private void GenerateBOMReport(IJob job, Connection conn)
//Item rootItem = ReadBOMData(dataTable, reportParams, itemMasterId, settings.BomType, conn);

//if (!settings.GeneratePartReports && dataTable.Rows.Count <= 1)
if (!settings.GeneratePartReports && dataTable.Rows.Count < 1) //changed with built
if (!settings.GeneratePartReports && dataTable.Rows.Count <= 1) //changed with build 24.0.0.1
return; // no BOM data

string rdlcPath = System.IO.Path.Combine(Util.GetAssemblyPath(), settings.ReportTemplate);
Expand Down
8 changes: 4 additions & 4 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BOMReportJob 2018")]
[assembly: AssemblyDescription("Creates / Attaches BOM Report")]
[assembly: AssemblyDescription("Creates / Attaches BOM Reports")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Autodesk")]
[assembly: AssemblyProduct("BOMReportJob 2018")]
[assembly: AssemblyProduct("BOMReportJob 2019")]
[assembly: AssemblyCopyright("Copyright © Autodesk 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
Expand All @@ -32,5 +32,5 @@
// 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("23.0.0.0")]
[assembly: AssemblyFileVersion("23.0.0.0")]
[assembly: AssemblyVersion("24.0.0.1")]
[assembly: AssemblyFileVersion("24.0.0.1")]
4 changes: 2 additions & 2 deletions Resource.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ RELEASE NOTES:
Error handling - "Item's attached BOM report could not get attached. Check that items are not locked for the job user in the given state Settings.quickChangeState"
Error handling - "Item's attached BOM report could not get updated. Check that items are not locked for the job user in the given state Settings.quickChangeState"
23.0.0.0 - Updated Release 2018, Markus Koechl - forward compatibility for Vault Professional 2018
24.0.0.1 - Updated Release 2019, Markus Koechl - forward compatibility for Vault Professional 2019. Issue with option generatePartReports fixed.

0 comments on commit 000f962

Please sign in to comment.