Coflyr · Backend model field catalog

MaterialPartRequest

public.MaterialPartRequests.

28 mapped fields7 field groupsGenerated 2026-10-08
Model class
coflyr.features.materialmanagement.partrequests.models.MaterialPartRequest
Source
Features/MaterialManagement/PartRequests/Models/MaterialPartRequest.cs
Table
public.MaterialPartRequests
Review
Under development · marked 2026-10-08 · Material fulfillment links the planned WorkStepMaterialDemand by ID. Planned quantity/part/reference baseline cannot be rewritten through fulfillment CRUD. Migration is deferred.

Every mapped scalar field appears once. Types and nullability come from current backend EF metadata; migration is deferred. Navigation properties and unmapped DTO fields are outside this page. Purpose text is inferred from names and should be checked against the feature workflow.

← All model classes · AMOS Workpackage example

Backend updated · DB pending. Common maintenance reporting and adoption status.

Identity and naming

4 fields
#FieldModel / EF typeStorageBusiness purpose
1IdGuidRequiredStable identifier for this record.
2EventNumberstringNullableRecords event number for this material part request.
3EventPerformanceNumberstringNullableRecords event performance number for this material part request.
4PartRequestNumberstringRequiredRecords part request number for this material part request.

Relationships and references

8 fields
#FieldModel / EF typeStorageBusiness purpose
1ComponentMaintenancePartitionIdGuid?NullableSelects the related component maintenance partition record.
2ComponentMaintenanceWorkScopeIdGuid?NullableSelects the related component maintenance work scope record.
3ExternalServiceDefinitionIdGuid?NullableSelects the related external service definition record.
4IpcReferencestringNullableRecords ipc reference for this material part request.
5PartIdGuidRequiredSelects the related part record.
6WorkStepIdGuid?NullableSelects the related work step record.
7WorkStepMaterialDemandIdGuid?NullableOriginal planned spare/consumable demand stored as a child in Maintenance.WorkStep. This row manages fulfillment.
8WorkorderIdGuid?NullableSelects the related workorder record.

Status and controls

5 fields
#FieldModel / EF typeStorageBusiness purpose
1ExternallyProvisionedboolRequiredIndicates whether externally provisioned applies to this material part request.
2IsToolboolRequiredIndicates whether tool applies to this material part request.
3PartRequestStatusMaterialPartRequestStatus { Open, Allocated, Ordered, Serviced, Closed, Cancelled }
EF: MaterialPartRequestStatus
RequiredTracks the part request status of this material part request.
4PreStepCloseStatusMaterialPartRequestStatus? { Open, Allocated, Ordered, Serviced, Closed, Cancelled }
EF: MaterialPartRequestStatus?
NullableTracks the pre step close status of this material part request.
5RequiredProbabilityPercentdecimalRequiredStores the required probability percent used by this material part request.

Amounts and measurements

2 fields
#FieldModel / EF typeStorageBusiness purpose
1PriceBookCodestringNullableRecords price book code for this material part request.
2QuantitydecimalRequiredStores the quantity used by this material part request.

Descriptions and details

2 fields
#FieldModel / EF typeStorageBusiness purpose
1EventDescriptionstringNullableRecords event description for this material part request.
2RequestRemarksstringNullableRecords request remarks for this material part request.

Audit and revision

2 fields
#FieldModel / EF typeStorageBusiness purpose
1SystemAuditIdGuid?NullableLinks to system audit history when this model stores the reference.
2UpdateIdGuid?NullableLinks to the preceding revision or update record.

Other fields

5 fields
#FieldModel / EF typeStorageBusiness purpose
1AdditionalInfostringNullableRecords additional info for this material part request.
2AircraftLocationCodestringNullableRecords aircraft location code for this material part request.
3ClosedAtDateTime?NullableRecords the closed at for this material part request.
4CreatedAtDateTimeRequiredRecords the created at for this material part request.
5EventTypeCodestringNullableRecords event type code for this material part request.