BizDoc.Infrastructure.Priority 6.8.11

There is a newer version of this package available.
See the version list below for details.
dotnet add package BizDoc.Infrastructure.Priority --version 6.8.11                
NuGet\Install-Package BizDoc.Infrastructure.Priority -Version 6.8.11                
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="6.8.11" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BizDoc.Infrastructure.Priority --version 6.8.11                
#r "nuget: BizDoc.Infrastructure.Priority, 6.8.11"                
#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=6.8.11

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

Priority ERP for BizDoc

In program.cs

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

app.UseBizDoc().UsePriority();

Choose configuration:

Sql Server

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

Set options collation SQL_Latin1_General_CP1_CS_AS.

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.

Optional services

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

Identity to employee relationship

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.ResolveEmployeeId => evt => evt.ServiceProvder.
	GetService<IPriorityStorage>().Employees.FirstOrDefault(e => e.Code == evt.UserId).Id;

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

options.ResolveUserId => evt => evt.ServiceProvder.
	GetService<IPriorityStorage>().Employees.FirstOrDefault(e => e.Id == evt.EmployeeId).UserId;

Components

Types added to bizdoc.priority.json.

Name Usage
CostCenters
Agents
CostCenterTrees
Sites
Warehouses
Teams
Units
Families
Departments
Projects
Budgets
Companies
Accounts
Divisions
Shippers
Branches
Parts
PartStatuses
OrderTypes
Customers
CustomerStatuses
Facilities
OrganizationUnits
PurchaseOrderStatuses
SalesOrderStatuses
Positions
ObjectType
Courses

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, and GeneralLedgerMappingPolicy.

Sales analysis

SalesOrderMappingPolicy, WebPurchaseOrderMappingPolicy and WebOrderMappingPolicy

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.

w/f node

Position job.

Widgets

My Team Peers.

Projects Performace.

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) {
			...
		}
	}
}

API

Name Method Usage
/api/priority/suppliers GET take, value
/api/priority/suppliers/{id} GET
/api/priority/purchaseorders/{id} GET
/api/priority/parts GET take, company, value
/api/priority/parts/{id} GET
/api/priority/budgets GET take, value
/api/priority/accounts GET take, value

Angular

npm @bizdoc/priority package.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.21.4 38 11/20/2024
8.21.3 87 11/18/2024
8.21.2 86 11/13/2024
8.21.1 266 10/17/2024
8.20.0 464 8/28/2024
8.19.0 136 8/26/2024
8.18.2 101 7/29/2024
8.17.2 158 6/23/2024
8.17.1 125 6/9/2024
8.17.0 438 5/28/2024
8.16.1 980 5/26/2024
8.15.1 483 5/14/2024
8.15.0 420 5/8/2024
8.14.27 371 5/7/2024
8.14.26 708 4/23/2024
8.13.26 287 3/11/2024
8.13.25 305 2/20/2024
8.13.24 990 2/13/2024
8.12.23 275 1/18/2024
8.12.22 490 1/17/2024
8.12.21 327 1/17/2024
8.12.20 122 1/16/2024
8.12.19 120 1/16/2024
8.12.17 115 1/16/2024
8.12.16 116 1/16/2024
8.12.15 122 1/16/2024
8.12.14 127 1/14/2024
8.12.12 122 1/12/2024
7.12.12 476 1/10/2024
7.12.10 206 1/9/2024
7.12.9 314 1/9/2024
7.12.8 455 1/9/2024
7.11.8 298 1/9/2024
7.10.7 430 1/6/2024
7.10.6 473 12/12/2023
7.8.6 1,337 11/23/2023
7.8.5 590 11/23/2023
7.7.5 162 11/21/2023
7.5.5 299 11/17/2023
7.5.4 314 11/15/2023
7.5.3 414 9/10/2023
7.4.3 373 8/14/2023
7.4.2 411 8/1/2023
7.4.1 359 7/9/2023
7.3.0 294 6/24/2023
7.2.0 314 5/22/2023
7.1.0 614 3/28/2023
7.0.1 689 12/16/2022
7.0.0 797 11/28/2022
6.8.14 732 11/8/2022
6.8.13 818 11/8/2022
6.8.12 762 11/6/2022
6.8.11 843 11/6/2022
6.8.8 815 11/1/2022
6.8.7 782 11/1/2022
6.8.6 954 11/1/2022
6.8.4 989 10/31/2022
6.8.3 378 10/27/2022
6.8.2 404 10/24/2022
6.8.1 395 10/18/2022
6.8.0 432 10/16/2022
6.7.22 362 11/8/2022
6.7.21 422 8/24/2022
6.7.20 426 8/9/2022
6.7.19 400 8/3/2022
6.7.18 426 8/3/2022
6.7.17 390 8/3/2022
6.7.16 386 8/2/2022
6.7.15 431 7/31/2022
6.7.14 454 7/26/2022
6.7.13 424 7/24/2022
6.7.10 436 7/22/2022
6.7.9 418 7/21/2022
6.7.7 428 7/20/2022
6.7.5 456 7/18/2022
6.7.4 464 7/13/2022
6.7.3 442 7/13/2022
6.7.2 485 7/13/2022
6.7.1 461 7/12/2022
6.7.0 464 7/10/2022
6.6.12 423 7/5/2022
6.6.11 459 6/29/2022
6.6.10 445 6/27/2022
6.6.9 436 6/27/2022
6.6.8 481 6/26/2022
6.6.6 444 6/24/2022
6.6.5 437 6/15/2022
6.6.4 437 6/7/2022
6.6.3 439 6/1/2022
6.6.2 447 5/31/2022
6.6.1 424 5/31/2022
6.6.0 438 5/31/2022
6.5.2 442 5/20/2022
6.5.1 428 5/14/2022
6.5.0 450 5/9/2022

-