Broker Stock
Represents a broker's stock record for a specific vehicle (VIN) under a specific brand. Tracks the vehicle's quantity at the broker, service dates, transfers, invoices, and related vehicle entries.
| Property | Summary |
|---|---|
BrokerID long |
The broker ID (second partition key). |
VIN string |
The Vehicle Identification Number (third partition key). |
Quantity int |
The calculated stock quantity for this vehicle at the broker. Derived from vehicle entries, invoices, and transfers. |
OneKOrFiveKServieDate DateTime? |
The date of the 1K or 5K service performed on this vehicle. |
FirstServieDate DateTime? |
The date of the first service performed on this vehicle. |
Broker TBP_BrokerModel? |
The broker that holds this stock. |
Vehicle BrokerVehicleModel? |
The vehicle details for this stock record. |
Transfers IEnumerable<TBP_VehicleTransferModel> |
The transfers involving this vehicle at this broker. |
Invoices IEnumerable<TBP_Invoice> |
The invoices for this vehicle at this broker. |
VehilceEntries IEnumerable<TBP_VehicleEntryModel> |
The vehicle entries from the dealer system for this vehicle. |
IsAtStock bool |