BizDoc.Infrastructure.Mfg
6.7.24
See the version list below for details.
dotnet add package BizDoc.Infrastructure.Mfg --version 6.7.24
NuGet\Install-Package BizDoc.Infrastructure.Mfg -Version 6.7.24
<PackageReference Include="BizDoc.Infrastructure.Mfg" Version="6.7.24" />
paket add BizDoc.Infrastructure.Mfg --version 6.7.24
#r "nuget: BizDoc.Infrastructure.Mfg, 6.7.24"
// Install BizDoc.Infrastructure.Mfg as a Cake Addin #addin nuget:?package=BizDoc.Infrastructure.Mfg&version=6.7.24 // Install BizDoc.Infrastructure.Mfg as a Cake Tool #tool nuget:?package=BizDoc.Infrastructure.Mfg&version=6.7.24
MFG QAD for BizDoc
Adds Mfg components to BizDoc and provide read & write access to MFG database.
Setup
program.cd
builder.Services.AddBizDoc().
AddMfg(options => options.ConnectionString = "DSN=mfg-here")
app.UseBizDoc().
UseMfg();
Name | Usage |
---|---|
AddDbContext<TDbContext>() | |
UseEmployeeIdentityManager() | |
UseExchangeRate() | |
UsePurchaseAnalysis() | |
UseSalesOrderAnalysis() | |
SynchronizeAnalysis() | |
SynchronizeCurrencyExchange() |
UseMfg().SynchronizeCurrencyExchange(Cron.Daily());
Web project should be configured to build as x64, to support ODBC.
Mapping User Identity
AddBizDoc().
AddMfg(configure =>
{
configure.UserIdentity = (ctx) =>
ctx.ServiceProvider.GetRequiredService<MfgStorage>().Users.
FirstOrDefault(u => u.EmailAddress == ctx.Identity)?.
UserId ?? ctx.Identity;
});
Components
BizDoc components automatically registered in configuration file.
Name | Usage |
---|---|
Domains | |
Entities | |
Sites | |
CostCeners | domain |
Projects | |
BudgetAccounts | domain costCenter |
SubAccounts | domain costCenter account |
Departments | |
RequisitionCategories | |
Customers | |
Locations | |
Engineers | |
RequisitionJobs | |
Vendors | domain |
Salespersons | |
ObjectTypes | |
Currencies |
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() : base("pod_need") {
Mapping["site"] = "pod_po_site";
}
}
In program.cs:
builder.Services.AddBizDoc().
AddMfg(options => {
options.PurchaseOrderMappingPolicy = new MyPurchaseMapping();
});
Widgets
My Peers.
Departments Performace.
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.
using BizDoc.Mfg.Storage;
public class MyService {
private readonly MfgStorage _storage;
public MyService (MfgStorage storage) => _storage = storage;
private void POs() {
foreach (var po in _storage.PurchaseOrders) {
...
}
}
}
RESTful API
Route | Method | Usage |
---|---|---|
mfg/vendors | GET domain | |
mfg/vendors/{id} | GET | Details |
mfg/purchaseorders/{number} | GET | Details |
mfg/parts | GET domain, site, vendor | List parts |
mfg/parts/{number} | GET | Item part info |
mfg/parts/{number}/serials | GET domain | Item serials |
mfg/parts/{number}/serials/{serial} | GET | Serial details |
mfg/parts/{number}/serials/{serial}/components | GET | Serial components |
mfg/budgetaccounts/costCenters | GET domain | |
mfg/budgetaccounts | GET domain, costCenter | |
mfg/budgetaccounts/subaccounts | GET account, domain, costCenter | |
mfg/customers | GET site, name |
Database context
Mfg database can be accessed by injecting MfgStorage
.
For example, to retrieve list of sites do:
public class MyClass
{
private readonly MfgStorage _mfgStorage;
public MyCLass(MfgStorage mfgStorage)
{
_mfgStorage = mfgStorage;
}
private void Iterlate() {
foreach(var site in _mfgStorage.Sites) {
}
}
}
Angular
npm @bizdoc/mfg package.
Product | Versions 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. |
-
- System.Data.Odbc (>= 6.0.0)
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.6.1 | 82 | 10/13/2024 |
8.6.0 | 88 | 7/29/2024 |
8.5.13 | 92 | 5/14/2024 |
8.5.12 | 134 | 3/16/2024 |
8.5.11 | 125 | 2/13/2024 |
8.4.11 | 119 | 2/11/2024 |
8.4.10 | 118 | 2/10/2024 |
8.4.9 | 129 | 2/7/2024 |
8.4.8 | 139 | 1/17/2024 |
8.4.7 | 124 | 1/16/2024 |
8.4.5 | 117 | 1/14/2024 |
8.3.5 | 114 | 1/14/2024 |
8.3.4 | 115 | 1/12/2024 |
7.3.4 | 171 | 12/12/2023 |
7.3.3 | 164 | 11/23/2023 |
7.3.2 | 140 | 11/23/2023 |
7.2.2 | 135 | 11/20/2023 |
7.1.2 | 167 | 8/14/2023 |
7.1.1 | 170 | 6/2/2023 |
7.1.0 | 178 | 5/4/2023 |
7.0.0 | 340 | 11/28/2022 |
6.8.12 | 390 | 11/6/2022 |
6.8.11 | 362 | 11/6/2022 |
6.8.10 | 367 | 11/1/2022 |
6.8.9 | 354 | 11/1/2022 |
6.8.8 | 373 | 10/31/2022 |
6.8.7 | 413 | 10/27/2022 |
6.8.6 | 384 | 10/27/2022 |
6.8.5 | 396 | 10/24/2022 |
6.8.4 | 404 | 10/20/2022 |
6.8.3 | 435 | 10/19/2022 |
6.8.2 | 386 | 10/18/2022 |
6.8.1 | 388 | 10/18/2022 |
6.8.0 | 420 | 10/16/2022 |
6.7.37 | 405 | 9/7/2022 |
6.7.36 | 403 | 9/3/2022 |
6.7.35 | 432 | 8/9/2022 |
6.7.33 | 420 | 8/9/2022 |
6.7.32 | 409 | 8/8/2022 |
6.7.31 | 405 | 8/8/2022 |
6.7.30 | 399 | 8/8/2022 |
6.7.29 | 406 | 8/8/2022 |
6.7.28 | 418 | 8/8/2022 |
6.7.27 | 415 | 8/8/2022 |
6.7.25 | 412 | 8/5/2022 |
6.7.24 | 398 | 8/4/2022 |
6.7.23 | 418 | 8/4/2022 |
6.7.22 | 409 | 8/4/2022 |
6.7.21 | 414 | 8/3/2022 |
6.7.20 | 423 | 8/3/2022 |
6.7.19 | 420 | 8/3/2022 |
6.7.18 | 424 | 8/2/2022 |
6.7.17 | 423 | 8/1/2022 |
6.7.16 | 439 | 7/29/2022 |
6.7.13 | 425 | 7/28/2022 |
6.7.9 | 424 | 7/26/2022 |
6.7.8 | 419 | 7/24/2022 |
6.7.6 | 415 | 7/22/2022 |
6.7.5 | 429 | 7/20/2022 |
6.7.4 | 453 | 7/18/2022 |
6.7.3 | 444 | 7/18/2022 |
6.7.2 | 431 | 7/18/2022 |
6.7.1 | 444 | 7/18/2022 |
6.7.0 | 470 | 7/10/2022 |
6.6.9 | 465 | 7/4/2022 |
6.6.8 | 443 | 7/3/2022 |
6.6.7 | 428 | 6/30/2022 |
6.6.4 | 477 | 6/26/2022 |
6.6.2 | 444 | 6/9/2022 |
6.6.1 | 452 | 6/9/2022 |
6.6.0 | 438 | 6/6/2022 |
6.5.15 | 437 | 5/31/2022 |
6.5.14 | 443 | 5/14/2022 |
6.5.13 | 435 | 5/12/2022 |
6.5.12 | 440 | 5/10/2022 |
6.5.11 | 433 | 5/9/2022 |
-