How beboatef/dyehouse-rep- works
DyeHouseERP is a dye-house ERP spanning customer and supplier records, purchasing and receipts, raw-stock tracking, production, delivery, accounting, HR/payroll, approvals, and reporting. The typical interaction enters through the ASP.NET API, dispatches an application request, and reads or changes domain data through the application database abstraction. Sampled controller and query evidence supports the purchasing and inventory paths; other listed business areas are represented from the source tree, but their internal calls were not sampled, so those links are omitted.
Main entry points: IApplicationDbContext.cs Application DB contract · Program.cs HTTP API · App.tsx Web client · PurchasesController.cs Purchasing endpoints
Components 30
User interface and API
- Web client
DyeHouseERP/src/DyeHouseERP.Web/src/App.tsx - HTTP API
DyeHouseERP/src/DyeHouseERP.API/Program.cs - Purchasing endpoints
DyeHouseERP/src/DyeHouseERP.API/Controllers/PurchasesController.cs - Inventory endpoints
DyeHouseERP/src/DyeHouseERP.API/Controllers/InventoryTraceabilityController.cs
Production and inventory
- Production orders
DyeHouseERP/src/DyeHouseERP.Application/ProductionOrders - Formation requests
DyeHouseERP/src/DyeHouseERP.Application/FormationRequests - Production stages
DyeHouseERP/src/DyeHouseERP.Application/ProductionStages - Raw receipts
DyeHouseERP/src/DyeHouseERP.Application/RawReceipts - Materials
DyeHouseERP/src/DyeHouseERP.Application/Materials - Stock traceability
DyeHouseERP/src/DyeHouseERP.Application/Inventory/Queries/GetStockTraceabilityQuery.cs - Deliveries
DyeHouseERP/src/DyeHouseERP.Application/Deliveries - Ready goods
DyeHouseERP/src/DyeHouseERP.Application/ReadyGoods
Commercial operations
- Purchasing
DyeHouseERP/src/DyeHouseERP.Application/Purchases - Customers
DyeHouseERP/src/DyeHouseERP.Application/Customers - Invoicing
DyeHouseERP/src/DyeHouseERP.Application/Invoices - Customer returns
DyeHouseERP/src/DyeHouseERP.Application/CustomerReturns
Finance and governance
- Treasury
DyeHouseERP/src/DyeHouseERP.Application/Treasury - HR and payroll
DyeHouseERP/src/DyeHouseERP.Application/Payroll - Cost accounting
DyeHouseERP/src/DyeHouseERP.Application/CostAccounting - Approvals
DyeHouseERP/src/DyeHouseERP.Application/Approvals - Reports and dashboard
DyeHouseERP/src/DyeHouseERP.Application/Reports - Dashboard summary
DyeHouseERP/src/DyeHouseERP.Application/Dashboard/Queries/GetDashboardSummaryQuery.cs
Application and domain core
- Application DB contract
DyeHouseERP/src/DyeHouseERP.Application/Common/Interfaces/IApplicationDbContext.cs - Domain entities
DyeHouseERP/src/DyeHouseERP.Domain/Entities - Customer rules
DyeHouseERP/src/DyeHouseERP.Domain/Entities/Customer.cs - Delivery rules
DyeHouseERP/src/DyeHouseERP.Domain/Entities/Delivery.cs - Formation rules
DyeHouseERP/src/DyeHouseERP.Domain/Entities/FormationRequest.cs - Production rules
DyeHouseERP/src/DyeHouseERP.Domain/Entities/ProductionOrder.cs - Material rules
DyeHouseERP/src/DyeHouseERP.Domain/Entities/Material.cs
Other components
- ERP user
Connections 15
- ERP user → Web client: uses
- Web client → HTTP API: requests
- HTTP API → Purchasing endpoints: hosts
- HTTP API → Inventory endpoints: hosts
- Purchasing endpoints → Purchasing: dispatches
DyeHouseERP/src/DyeHouseERP.API/Controllers/PurchasesController.cs - Inventory endpoints → Stock traceability: dispatches
DyeHouseERP/src/DyeHouseERP.API/Controllers/InventoryTraceabilityController.cs - Stock traceability → Application DB contract: queries
DyeHouseERP/src/DyeHouseERP.Application/Inventory/Queries/GetStockTraceabilityQuery.cs - Purchasing → Application DB contract: uses
- Dashboard summary → Application DB contract: queries
DyeHouseERP/src/DyeHouseERP.Application/Dashboard/Queries/GetDashboardSummaryQuery.cs - Approvals → Application DB contract: queries
DyeHouseERP/src/DyeHouseERP.Application/Approvals/Queries/GetApprovalCenterQuery.cs - Customers → Customer rules: uses
- Deliveries → Delivery rules: uses
DyeHouseERP/src/DyeHouseERP.Application/Deliveries/Queries/GetDeliveryStatementQuery.cs - Formation requests → Formation rules: uses
DyeHouseERP/src/DyeHouseERP.Application/FormationRequests/Queries/GetFormationRequestsQuery.cs - Production orders → Production rules: uses
- Materials → Material rules: uses