PartPurchaseArrivalModel
Version: v1.0.0
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
PartPurchaseArrivalModel model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
part_purchase_id | str | ✅ | — | — |
line_items | List[LineItem] | ✅ | — | — |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
LineItem — v1.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
line_item_id | str | ❌ | — | — |
part_id | str | ✅ | — | — |
tag_id | str | ✅ | — | — |
arrival_status | bool | ❌ | False | — |
quantity | int | ✅ | — | — |
unit_cost | float | ✅ | — | — |
tax_type | str | ✅ | — | — |
tax_amount | float | ✅ | — | — |
expenses | float | ✅ | — | — |
actual_unit_cost | float | ✅ | — | — |
actual_total | float | ✅ | — | — |
line_amount | float | ✅ | — | — |
part_type | str | ✅ | — | — |
part_type_id | str | ✅ | — | — |
part_number | str | ❌ | — | — |
Change history
v1.0.0· 2025-04-22 · Cian (shared account) · Initial version. (71ac3af7c)
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| API | PUT /newpartPurchases/processArrival | — | src/purchases/part_purchases_process_arrival.py |
Change history
v1.0.0 · 2025-04-22 · Cian (shared account) · 71ac3af7c
detatch
- Initial version.
Generated from
dismantly-backend/Microservices/PartPurchases/dependencies/models.py. Do not edit by hand.