Status: Accepted (in force). Reconstructed.
Most operational data in PaidHR lives in a per-tenant TenantDb scoped by CompanyId — people, payroll, assets, requests. EWA could plausibly have followed that pattern: it concerns employees, and employees are tenant data.
Put the EWA entities in MembershipDb, keyed by OrganisationId:
EwaConfigSetting · EwaConfigSettingStatus · EwaApprover · EwaInitialization · EwaWithdrawal
EWA is a commercial arrangement between an organisation and a finance provider, not operational HR data:
EwaId), issued by the provider.padeParentCompanyId, so a parent organisation's arrangement can span child companies.MembershipDb is already the home for org-level, cross-tenant concerns (identity, organisations, reference data — see Identity RFD), which is exactly the shape of an EWA contract.
Good:
EwaId lives alongside other cross-system identity.Bad / costs:
CompanyId tenant query and find nothing. This is the most common EWA orientation mistake.