BizDoc.Infrastructure.Priority 9.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package BizDoc.Infrastructure.Priority --version 9.0.1
                    
NuGet\Install-Package BizDoc.Infrastructure.Priority -Version 9.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BizDoc.Infrastructure.Priority" Version="9.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BizDoc.Infrastructure.Priority" Version="9.0.1" />
                    
Directory.Packages.props
<PackageReference Include="BizDoc.Infrastructure.Priority" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BizDoc.Infrastructure.Priority --version 9.0.1
                    
#r "nuget: BizDoc.Infrastructure.Priority, 9.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BizDoc.Infrastructure.Priority@9.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BizDoc.Infrastructure.Priority&version=9.0.1
                    
Install as a Cake Addin
#tool nuget:?package=BizDoc.Infrastructure.Priority&version=9.0.1
                    
Install as a Cake Tool

Priority ERP for BizDoc

In program.cs

builder.Services.AddBizDoc().
	AddPriority(options => 
		{
		}, configure => {
		});

app.UseBizDoc().UsePriority();

Connection

Choose configuration:

Oracle

builder.Services.AddBizDoc().
	AddPriority(options => 
		{
		}, configure => configure.UseOracle("priority-connection-string"));

Priority Web

builder.Services.AddBizDoc().
	AddPriority(options => 
		{
		}, configure => configure.UseOData(options => 
		{
			options.ServiceUri = "priority-service-uri";
		}));

Set either PersonalAccessToken or Username-Password.

Set AppId and AppKey.

Sql Server

builder.Services.AddBizDoc().
	AddPriority(options => 
		{
		}, configure => configure.UseSqlServer("priority-connection-string"));

Set options collation SQL_Latin1_General_CP1_CS_AS.

Optional services

Name Usage
WithModel<T>() DbContext
UseExchangeRate() Use Priority exchange rates
AddBizDoc().
	AddPriority(
		options => ..., 
		configure => configure.UseExchangeRate());

Identity to employee mapping

Components may need to map BizDoc users to employee record in Priority to present comparison between them. Such components can be dashboard widget, showing statistical data.

If the employee id is a claim of ClaimsPrincipal, set the EmployeeIdClaimType in options.

Alternatively, developer can resolve employee id in code.

options.EmployeeId => ctx => 
	ctx.PriorityStorage.
		Employees.FirstOrDefault(e => e.Code == ctx.UserId).Id;

And the way backward, resolve BizDoc user id from Priority employee id.

options.UserId => ctx => 
	ctx.PriorityStorage.
		Employees.FirstOrDefault(e => e.Id == ctx.EmployeeId).UserId;

Components

Types added to bizdoc.priority.json.

Name Usage
CostCenters
CostCenterTrees
Manufacturers
SalaryGroups
SalaryUserGroups
Agents
Sites
Warehouses
Teams
PartStates Part state
PalletTypes Part pallet
PartTypes
Zones
Units
Families
Departments
Projects
Budgets
Companies
Accounts
Divisions
Shippers
Suppliers
SupplierTypes
Branches
FobOrderTypes
FobOrderStatuses
Parts
PartStatuses
OrderTypes
OrderStatuses
Customers
CustomerStatuses
Facilities
DealStatuses
OrganizationUnits
PurchaseOrderStatuses
Positions
Countries
States
Skills Employee skills
SkillTypes
Courses
CourseGroups
ObjectType List of sources

Analysys

Create analysis model from Architecture tool, cubes. Choose the Priority objects that you wish to see, and select axes.

Press the Synchronize button, or schedule recurring synchroniation.

Policies

PurchaseRequestMappingPolicy, PurchaseOrderMappingPolicy, FoodOrderMappingPolicy, InvoiceMappingPolicy, PurchaseDealMappingPolicy, PurchaseProposalMappingPolicy, CustomerProposalMappingPolicy, FobProposalMappingPolicy, FobDocumentMappingPolicy, TransactionOrderMappingPolicy, SalaryTransactionMappingPolicy, PartMappingPolicy, GeneralLedgerMappingPolicy, SalesOrderMappingPolicy, WwwPurchaseOrderMappingPolicy, DealMappingPolicy and WwwOrderMappingPolicy

Use Architecture tool to tune policies behavior.

Custom

Developer can replace the default policies with custom ones, or inherit from Priority.Configuration.SqlCubeBase to customize many aspects.

By PO, 'po' and number.

By part, #.

w/f node

Position job.

Skill.

Widgets

My Team Peers.

Projects Performance.

Teams Performance.

Skills Performance.

Database

Access database by injecting the IPriorityStorage service.

using BizDoc.Priority.Storage;

public class MyService {
	private readonly SqlStorage _storage;

	public MyService (IPriorityStorage storage) => _storage = storage as SqlStorage;

	private void List() {
		foreach (var order in _storage.Orders) {
			...
		}
	}
}

Access Underlaying Priority Web

Inject WebApi.

using BizDoc.Priority.Storage;

public class MyClass {
	public MyClass(WebApi webApi) {
		webApi.Container.ORDERS.Select(o => ...);
	}
}

Angular

npm @bizdoc/priority package.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.0.2 129 7/8/2025
9.0.1 143 6/20/2025
9.0.0 228 5/15/2025
8.23.1 311 2/6/2025
8.22.1 267 12/15/2024
8.21.4 644 11/20/2024
8.21.3 438 11/18/2024
8.21.2 286 11/13/2024
8.21.1 875 10/17/2024
8.20.0 712 8/28/2024
8.19.0 167 8/26/2024
8.18.2 133 7/29/2024
8.17.2 188 6/23/2024
8.17.1 157 6/9/2024
8.17.0 469 5/28/2024
8.16.1 1,186 5/26/2024
8.15.1 521 5/14/2024
8.15.0 452 5/8/2024
8.14.27 403 5/7/2024
8.14.26 737 4/23/2024
8.13.26 316 3/11/2024
8.13.25 335 2/20/2024
8.13.24 1,019 2/13/2024
8.12.23 307 1/18/2024
8.12.22 519 1/17/2024
8.12.21 353 1/17/2024
8.12.20 154 1/16/2024
8.12.19 152 1/16/2024
8.12.17 149 1/16/2024
8.12.16 147 1/16/2024
8.12.15 150 1/16/2024
8.12.14 155 1/14/2024
8.12.12 152 1/12/2024
7.12.12 507 1/10/2024
7.12.10 235 1/9/2024
7.12.9 341 1/9/2024
7.12.8 487 1/9/2024
7.11.8 334 1/9/2024
7.10.7 462 1/6/2024
7.10.6 499 12/12/2023
7.8.6 1,352 11/23/2023
7.8.5 603 11/23/2023
7.7.5 179 11/21/2023
7.5.5 312 11/17/2023
7.5.4 325 11/15/2023
7.5.3 437 9/10/2023
7.4.3 396 8/14/2023
7.4.2 438 8/1/2023
7.4.1 386 7/9/2023
7.3.0 323 6/24/2023
7.2.0 349 5/22/2023
7.1.0 648 3/28/2023
7.0.1 724 12/16/2022
7.0.0 846 11/28/2022
6.8.14 768 11/8/2022
6.8.13 854 11/8/2022
6.8.12 805 11/6/2022
6.8.11 879 11/6/2022
6.8.8 853 11/1/2022
6.8.7 820 11/1/2022
6.8.6 997 11/1/2022
6.8.4 1,028 10/31/2022
6.8.3 421 10/27/2022
6.8.2 450 10/24/2022
6.8.1 433 10/18/2022
6.8.0 472 10/16/2022
6.7.22 398 11/8/2022
6.7.21 462 8/24/2022
6.7.20 472 8/9/2022
6.7.19 444 8/3/2022
6.7.18 469 8/3/2022
6.7.17 433 8/3/2022
6.7.16 428 8/2/2022
6.7.15 476 7/31/2022
6.7.14 501 7/26/2022
6.7.13 469 7/24/2022
6.7.10 479 7/22/2022
6.7.9 461 7/21/2022
6.7.7 470 7/20/2022
6.7.5 501 7/18/2022
6.7.4 508 7/13/2022
6.7.3 488 7/13/2022
6.7.2 528 7/13/2022
6.7.1 504 7/12/2022
6.7.0 510 7/10/2022
6.6.12 470 7/5/2022
6.6.11 502 6/29/2022
6.6.10 492 6/27/2022
6.6.9 482 6/27/2022
6.6.8 528 6/26/2022
6.6.6 490 6/24/2022
6.6.5 484 6/15/2022
6.6.4 482 6/7/2022
6.6.3 484 6/1/2022
6.6.2 495 5/31/2022
6.6.1 469 5/31/2022
6.6.0 486 5/31/2022
6.5.2 491 5/20/2022
6.5.1 479 5/14/2022
6.5.0 497 5/9/2022