update the vehicle used , also sharh hardcoded

This commit is contained in:
2026-11-09 18:34:57 +03:30
parent f33eabeb4f
commit cc0d69dcb2
4 changed files with 217 additions and 10 deletions
+7
View File
@@ -51,6 +51,13 @@ source: fanavaran-module-docs
| Store | `claimId`, `claimNo`, `fanavaranSync.baseClaim.*`, history |
| Consumers | Damage/expertise soft-ensure; UI claim detail |
Hull base claims always GET the selected hull policy, then GET its `VehicleId`
at `VehicleVersionNo`. `AccidentVehicleUsedId` is that vehicle response's
`UsedId`. This path does not substitute a guilty-party VIN, cached use id,
expert override, tenant default, or a generic lookup row. Missing `UsedId`
produces `FANAVARAN_HULL_VEHICLE_USE_UNRESOLVED` in preview and blocks submit.
Debug preview exposes `accidentVehicleUsedId` and `accidentVehicleUsedSource`.
#### Staff source for ClaimExpertId across request flows
The flows in `docs/Yara724 flows.pdf` share the same base-claim resolver.