BizDoc.Infrastructure.Mfg
9.0.0
dotnet add package BizDoc.Infrastructure.Mfg --version 9.0.0
NuGet\Install-Package BizDoc.Infrastructure.Mfg -Version 9.0.0
<PackageReference Include="BizDoc.Infrastructure.Mfg" Version="9.0.0" />
paket add BizDoc.Infrastructure.Mfg --version 9.0.0
#r "nuget: BizDoc.Infrastructure.Mfg, 9.0.0"
// Install BizDoc.Infrastructure.Mfg as a Cake Addin #addin nuget:?package=BizDoc.Infrastructure.Mfg&version=9.0.0 // Install BizDoc.Infrastructure.Mfg as a Cake Tool #tool nuget:?package=BizDoc.Infrastructure.Mfg&version=9.0.0
QAD/MFG for BizDoc
Adds Mfg components to BizDoc and provide read & write access to MFG database.
Setup
program.cs
builder.Services.AddBizDoc().
AddMfg(options => options.ConnectionString = "DSN=mfg-here")
app.UseBizDoc().
UseMfg();
Name | Usage |
---|---|
AddDbContext<TDbContext>() | |
UseEmployeeIdentity() | |
UseExchangeRate() | |
UseAnalysis() | |
SynchronizeAnalysis() | |
SynchronizeCurrencyExchange() |
UseMfg().SynchronizeCurrencyExchange(Cron.Daily());
Web project should be configured to build as x64, to support ODBC.
Mapping User Identity to Employee
Some features like widgets require mapping between BizDoc user and Mfg employee.
If the employee id is a claim of ClaimsPrincipal, set the EmployeeIdClaimType
in options.
AddBizDoc().
AddMfg(configure =>
{
// identity from employee id
configure.UserIdentity = ctx =>
ctx.MfgStorage.Users.
FirstOrDefault(u => u.EmailAddress == ctx.Identity)?.
UserId;
// employee id from identity
configure.EmployeeId = ctx =>
ctx.Employee.Custom1;
});
Components
BizDoc components automatically registered in configuration file.
Types
Name | Usage |
---|---|
Domains | |
Locations | domain, site |
Entities | |
Sites | domain |
CostCeners | domain |
Projects | domain |
ProjectTypes | domain |
BudgetAccounts | domain, costCenter |
SubAccounts | domain, costCenter and account |
Departments | domain |
RequisitionCategories | |
Customers | domain |
ServiceEngineers | site |
RequisitionJobs | |
Vendors | domain |
Salespersons | domain |
ObjectTypes | |
Currencies | |
Countries |
w/ f Nodes
DepartmentManager, document owner employee department.
RequisitionApprover, employee of RequisitionApprover based on effective date, site, entity, sub-account and cost-center range.
PurchaseApprover, employee of PurchaseApprovalCode based on document site, product line, account, sub-account and cost-center.
Attributes
EmployeeCountry EmployeeDomain Attribute EmployeeDepartment EmployeeCustom (Template) EngineerSite EngineerEntity EngineerLocation EngineerLocationProject EngineerLocationCostCenter EngineerCustom (Template)
Rules
EmployeeDepartment EmployeeCustom (Template) EngineerSite EngineerCustom (Template)
Analysis
Use the Architecture utility to add analysis of Mfg.
Purchase
BizDoc analyse requsitions, purchase orders and vouchers.
In addition to year, quarter and month of purchase order due, axes can refer to vendor, domain, cost-center, site, project and account.
To add custom axes, implement AxesMappingPolicy
and set one of or GlobalRequesitionMapping, RequisitionMapping, PurchaseOrderMapping, DistributedSiteRequisition, DistributedSiteOrder, WorkOrderMapping and VoucherMapping in options.
To disregard any of the policies, set it to AxesMappingPolicy.IgnorePolicy.
Sales Orders
In addition to year, quarter and month of order details due, axes can refer to customer, engineer, cost-center, account, site and project.
To add custom axes, implement AxesMappingPolicy
and set SalesOrderMapping, SalesQuotationMapping and ProjectRealizationMapping in options.
Using quantity
Axis type quantity.
Column Mapping
To override default column mapping, implement AxesMappingPolicy.
public class MyPurchaseMapping : AxesMappingPolicy {
public MyPurchaseMapping() {
Mapping["site"] = "pod_po_site";
}
}
In program.cs:
builder.Services.AddBizDoc().
AddMfg(options => {
options.PurchaseOrderMappingPolicy = new MyPurchaseMapping();
});
Widgets
My Depatment Peers.
Departments Performance.
Domains Performance.
Workflow
Department Manager.
Document owner department manager.
Requisition Approver
Per requsition job.
By site, entity, cost-center range, sub-account range and effective date.
Rules
Employee Department.
Database
Access database by injecting the MfgStorage
service.
public class MyClass
{
private readonly MfgStorage _mfgStorage;
public MyCLass(MfgStorage mfgStorage)
{
_mfgStorage = mfgStorage;
}
private void Iterate() {
foreach(var site in _mfgStorage.Sites) {
}
}
}
Listing
User can search for Mfg PO, SO or Voucher by typing into BizDoc search box.
Angular
npm @bizdoc/mfg package.
Product | Versions 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. |
-
net8.0
- BizDoc.Core (>= 8.35.1)
- EntityFrameworkCore.OpenEdge (>= 1.0.9-rec7)
- Humanizer.Core (>= 2.14.1)
- System.Data.Odbc (>= 8.0.1)
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.0 | 89 | 12/15/2024 |
8.6.2 | 84 | 12/7/2024 |
8.6.1 | 95 | 10/13/2024 |
8.6.0 | 95 | 7/29/2024 |
8.5.13 | 101 | 5/14/2024 |
8.5.12 | 143 | 3/16/2024 |
8.5.11 | 132 | 2/13/2024 |
8.4.11 | 128 | 2/11/2024 |
8.4.10 | 127 | 2/10/2024 |
8.4.9 | 134 | 2/7/2024 |
8.4.8 | 144 | 1/17/2024 |
8.4.7 | 131 | 1/16/2024 |
8.4.5 | 122 | 1/14/2024 |
8.3.5 | 119 | 1/14/2024 |
8.3.4 | 120 | 1/12/2024 |
7.3.4 | 176 | 12/12/2023 |
7.3.3 | 171 | 11/23/2023 |
7.3.2 | 145 | 11/23/2023 |
7.2.2 | 142 | 11/20/2023 |
7.1.2 | 172 | 8/14/2023 |
7.1.1 | 175 | 6/2/2023 |
7.1.0 | 183 | 5/4/2023 |
7.0.0 | 345 | 11/28/2022 |
6.8.12 | 395 | 11/6/2022 |
6.8.11 | 367 | 11/6/2022 |
6.8.10 | 373 | 11/1/2022 |
6.8.9 | 359 | 11/1/2022 |
6.8.8 | 378 | 10/31/2022 |
6.8.7 | 418 | 10/27/2022 |
6.8.6 | 391 | 10/27/2022 |
6.8.5 | 401 | 10/24/2022 |
6.8.4 | 409 | 10/20/2022 |
6.8.3 | 440 | 10/19/2022 |
6.8.2 | 391 | 10/18/2022 |
6.8.1 | 395 | 10/18/2022 |
6.8.0 | 427 | 10/16/2022 |
6.7.37 | 410 | 9/7/2022 |
6.7.36 | 408 | 9/3/2022 |
6.7.35 | 437 | 8/9/2022 |
6.7.33 | 425 | 8/9/2022 |
6.7.32 | 414 | 8/8/2022 |
6.7.31 | 410 | 8/8/2022 |
6.7.30 | 404 | 8/8/2022 |
6.7.29 | 411 | 8/8/2022 |
6.7.28 | 425 | 8/8/2022 |
6.7.27 | 422 | 8/8/2022 |
6.7.25 | 417 | 8/5/2022 |
6.7.24 | 407 | 8/4/2022 |
6.7.23 | 423 | 8/4/2022 |
6.7.22 | 416 | 8/4/2022 |
6.7.21 | 419 | 8/3/2022 |
6.7.20 | 428 | 8/3/2022 |
6.7.19 | 426 | 8/3/2022 |
6.7.18 | 429 | 8/2/2022 |
6.7.17 | 429 | 8/1/2022 |
6.7.16 | 444 | 7/29/2022 |
6.7.13 | 431 | 7/28/2022 |
6.7.9 | 429 | 7/26/2022 |
6.7.8 | 424 | 7/24/2022 |
6.7.6 | 420 | 7/22/2022 |
6.7.5 | 434 | 7/20/2022 |
6.7.4 | 458 | 7/18/2022 |
6.7.3 | 449 | 7/18/2022 |
6.7.2 | 436 | 7/18/2022 |
6.7.1 | 449 | 7/18/2022 |
6.7.0 | 477 | 7/10/2022 |
6.6.9 | 470 | 7/4/2022 |
6.6.8 | 448 | 7/3/2022 |
6.6.7 | 433 | 6/30/2022 |
6.6.4 | 482 | 6/26/2022 |
6.6.2 | 449 | 6/9/2022 |
6.6.1 | 459 | 6/9/2022 |
6.6.0 | 445 | 6/6/2022 |
6.5.15 | 442 | 5/31/2022 |
6.5.14 | 448 | 5/14/2022 |
6.5.13 | 440 | 5/12/2022 |
6.5.12 | 445 | 5/10/2022 |
6.5.11 | 438 | 5/9/2022 |