Adds the company tables of SPEC 11.1 behind one generic service so that every table gets the same rules, history, cache and CSV import/export, plus the company profile, fiscal years with monthly lock and the base-data seeder. - 26 coded tables, exchange rates, company profile, fiscal years and periods: entities, maps and migrations 010-014 - TableService + TableCatalog: unique codes, per-table rules (VAT codes are checked by the fiscal pack), delete or disable when in use, single default, CSV export/import all-or-nothing, cache with cross-instance invalidation - CompanyProfileService (Italian identifiers through the pack), FiscalYearService with the date check used by every dated record - EcbRatesClient and the ECB rates system task; CsvReader - ISeeder/SeedRunner with the data version in company settings; base tables from the pack (IBaseTablesTemplate) and an embedded ISO country list Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
25f8a7ad30
commit
34e196424f
33 files changed
+6049
-3
No files matched your search
@@ -68,7 +68,7 @@ public sealed class CompanyIsolationTests
|
||||
|
||||
var scheduler = services.GetRequiredService<JobScheduler>();
|
||||
await scheduler.EnsureSystemTasksAsync();
|
||||
foreach (var task in JobScheduler.SystemTasks)
|
||||
foreach (var task in JobScheduler.SystemTasks.Where(t => !t.UsesNetwork))
|
||||
{
|
||||
Assert.AreEqual(JobOutcome.Succeeded, await scheduler.RunAsync(task.Code), task.Code);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user