BizDoc.Infrastructure.Priority 8.14.26

dotnet add package BizDoc.Infrastructure.Priority --version 8.14.26
NuGet\Install-Package BizDoc.Infrastructure.Priority -Version 8.14.26
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="8.14.26" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BizDoc.Infrastructure.Priority --version 8.14.26
#r "nuget: BizDoc.Infrastructure.Priority, 8.14.26"
#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.
// Install BizDoc.Infrastructure.Priority as a Cake Addin
#addin nuget:?package=BizDoc.Infrastructure.Priority&version=8.14.26

// Install BizDoc.Infrastructure.Priority as a Cake Tool
#tool nuget:?package=BizDoc.Infrastructure.Priority&version=8.14.26

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 net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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
8.14.26 39 4/23/2024
8.13.26 240 3/11/2024
8.13.25 261 2/20/2024
8.13.24 399 2/13/2024
8.12.23 222 1/18/2024
8.12.22 437 1/17/2024
8.12.21 266 1/17/2024
8.12.20 87 1/16/2024
8.12.19 84 1/16/2024
8.12.17 81 1/16/2024
8.12.16 82 1/16/2024
8.12.15 83 1/16/2024
8.12.14 87 1/14/2024
8.12.12 84 1/12/2024
7.12.12 426 1/10/2024
7.12.10 163 1/9/2024
7.12.9 264 1/9/2024
7.12.8 404 1/9/2024
7.11.8 235 1/9/2024
7.10.7 384 1/6/2024
7.10.6 420 12/12/2023
7.8.6 828 11/23/2023
7.8.5 542 11/23/2023
7.7.5 113 11/21/2023
7.5.5 243 11/17/2023
7.5.4 261 11/15/2023
7.5.3 353 9/10/2023
7.4.3 325 8/14/2023
7.4.2 370 8/1/2023
7.4.1 326 7/9/2023
7.3.0 265 6/24/2023
7.2.0 286 5/22/2023
7.1.0 581 3/28/2023
7.0.1 656 12/16/2022
7.0.0 769 11/28/2022
6.8.14 698 11/8/2022
6.8.13 794 11/8/2022
6.8.12 735 11/6/2022
6.8.11 815 11/6/2022
6.8.8 788 11/1/2022
6.8.7 756 11/1/2022
6.8.6 929 11/1/2022
6.8.4 963 10/31/2022
6.8.3 354 10/27/2022
6.8.2 378 10/24/2022
6.8.1 367 10/18/2022
6.8.0 399 10/16/2022
6.7.22 339 11/8/2022
6.7.21 394 8/24/2022
6.7.20 398 8/9/2022
6.7.19 369 8/3/2022
6.7.18 393 8/3/2022
6.7.17 362 8/3/2022
6.7.16 375 8/2/2022
6.7.15 407 7/31/2022
6.7.14 421 7/26/2022
6.7.13 399 7/24/2022
6.7.10 407 7/22/2022
6.7.9 388 7/21/2022
6.7.7 395 7/20/2022
6.7.5 423 7/18/2022
6.7.4 430 7/13/2022
6.7.3 418 7/13/2022
6.7.2 452 7/13/2022
6.7.1 427 7/12/2022
6.7.0 437 7/10/2022
6.6.12 397 7/5/2022
6.6.11 431 6/29/2022
6.6.10 420 6/27/2022
6.6.9 408 6/27/2022
6.6.8 453 6/26/2022
6.6.6 434 6/24/2022
6.6.5 410 6/15/2022
6.6.4 409 6/7/2022
6.6.3 407 6/1/2022
6.6.2 415 5/31/2022
6.6.1 401 5/31/2022
6.6.0 413 5/31/2022
6.5.2 416 5/20/2022
6.5.1 402 5/14/2022
6.5.0 427 5/9/2022