| Hull base `AccidentVehicleUsedId` | Hull policy `VehicleId` + `VehicleVersionNo` → vehicle GET `UsedId` | Missing inquiry warns / blocks submit; active lookup/group compatibility is not independently revalidated here |
| Third-party base `AccidentVehicleUsedId` | Guilty VIN inquiry, then policy vehicle, with generic lookup selection; cache/expert review can take precedence | Can choose personal/first group row or tenant default rather than preserve the actual inquiry value |
| Damage-case `AccidentVehicleUsedId` | Approved expert vehicle use, matched damaged vehicle, group lookup, then tenant default | Still permits guessed/default codes |
| Damage-case `VehicleKindId` | Expert selection → matched vehicle GET → caption keyword search from broad local `carType` | Final fallback can select an arbitrary vehicle model from the correct broad category |
| `DriverId`, `OwnerId` | Person national code + birthday inquiry, accepted roles 161/166; GEN.44 creation on submit | Reused person references need client provenance; these are person record IDs, not generic lookup values |
| Hull `AccidentCulpritId` | Driver/person inquiry; fallback hull policy `CustomerId` | Driver and policy customer may differ; fallback is not proof of driver identity |
| Hull `VehicleCurrentValue` | Local/reviewed value, then hull policy `VehicleValue` | Policy insured value is the fallback, not an independent market valuation |
| Damage-case plaque coding | Matched Fanavaran vehicle fields | `PlaqueKindId`/`PlaqueSampleId` still fall back to national-plate 8/10; plate-letter map is static |
| Hull `ColorId` | Exact policy vehicle GET | Already inquiry-derived when the API returns it |
| VIN, motor/chassis, plate text, model year, policy number/CI/dates | Vehicle/policy inquiries and stored provider-mapped fields | These are identity/data values; provider-local numeric codes must not be treated as Fanavaran lookup IDs |
| `InsuranceCorpId` | Environment caption matched against client's `insurance-corp` | Resolved scalar cache is not tied to caption changes; localhost fallback uses deployment's active tenant, which can differ from an explicit client route |
## Base-claim codebooks
| Field | Codebook / correct source | Actual current behavior |
|---|---|---|
| `AccidentCityId` | `cities`, based on accident location / explicit selection | Tenant default 701 unless reviewed |
| Third-party expertise `InspectionPlaceId` | `inspection-place` | Reviewed choice, else 282; lookup is fetched but fallback not selected from it |
| Third-party expertise `DropAmountStatus` | `drop-amount-status` | Hardcoded 5458 even though lookup is fetched |
| Third-party `DmgSections[].DmgSectionId` | Client `car-components` | Saved local `partId`; catalog can fall back to a shared static snapshot; no outbound membership check |
| Hull `VehicleHullAccessoryId` | **Policy**`GET car/vehicle-hull-policies/{policyId}/dmg-accessories` | **Hardcoded 3043330 for every section**; existing lookup API/helper is not wired into builder |
| GEN.44 `IsIranian`, `NationalityId`, `MaritalStatus` | Client `ans`, `countries`, `marital-status` plus actual person data | Yes/no fallbacks 1/0; marital status unset; nationality not inferred reliably for foreign people |
| Call-center agent | None of the four product/stage codes |
@@ -53,7 +53,7 @@ Common optional properties are `branchId`, `phone`, `mobile`, `email`, `city`, `
All four codes are optional, editable and clearable for blame, claim and field experts. FileMaker accounts accept only the first two, FileReviewer accounts accept only the last two, and call-center accounts reject all four through the API. The panel presents these four named fields rather than the legacy generic `expertCode` input; existing `expertCode` values are preserved.
`locations` is an editable array of `{id, name}`. Both properties must be nonempty, and IDs must be unique within the array. These are Fanavaran location IDs, rather than branch codes. Shared locations participate in the existing FileMaker/FileReviewer matching; management does not alter that matching logic.
`locations` is an editable array of `{id, name}`. Both properties must be nonempty, and IDs must be unique within the array. These are Fanavaran OpBUId / HTTP `Location` values, rather than branch codes. On every Fanavaran business call for a claim, the integration prefers the assigned staff member's primary `locations[].id` (file-maker, file-reviewer, field, blame, or damage expert) for all tenants; the tenant auth `location` is only a fallback. Shared locations still participate in Parsian FileMaker/FileReviewer matching; management does not alter that matching logic.
Branches require `code`, `name`, `city`, `state`, and `address`. `fullName`, `phoneNumber`, `isActive` (default true) and `activityStartDate` are optional and editable. Branch codes remain unique within an insurer. Insurer login accounts support name, email, password and optional contact/address fields; their role and tenant are assigned by the server.
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.