Phase 3: AR/AP aging buckets, PO seeder, Bills vendor fix
- Bills.cs: replace aceHardware/fastenal lookups with grainger/harbor/localSupply to match Phase 1 vendor renames; update all vendor invoice number prefixes - Bills.cs: add 3 AP aging-bucket bills (30-60, 61-90, 90+ days overdue) so all four AP aging buckets are populated for report demos - Invoices.cs: add 3 more overdue invoices (31-60, 61-90, 90+ day AR buckets) alongside the existing 21-day overdue; total now 29 invoices - New SeedDataService.PurchaseOrders.cs: 7 POs — 3 Received (historical), 2 Submitted (in-flight), 2 Draft (pending approval); links to inventory items where available - SeedDataService.cs: wire SeedPurchaseOrdersAsync after Vendors seeder - Remove.cs: add PO + POItem cleanup inside Bills removal block (two-step ID fetch to avoid nested LINQ translation issues) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -416,6 +416,7 @@ public partial class SeedDataService : ISeedDataService
|
||||
await RunSeeder("Equipment", details, errors, result, () => SeedEquipmentAsync(company));
|
||||
await RunSeeder("Maintenance", details, errors, result, () => SeedMaintenanceRecordsAsync(company));
|
||||
await RunSeeder("Vendors", details, errors, result, () => SeedVendorsAsync(company));
|
||||
await RunSeeder("Purchase orders", details, errors, result, () => SeedPurchaseOrdersAsync(company));
|
||||
await RunSeeder("Named ovens", details, errors, result, () => SeedOvenCostsAsync(company));
|
||||
await RunSeeder("Catalog", details, errors, result, () => SeedCatalogAsync(company));
|
||||
await RunSeeder("Quotes", details, errors, result, () => SeedQuotesAsync(company));
|
||||
|
||||
Reference in New Issue
Block a user