NewLogicalFacilityInput
input type
Create-input for a LogicalFacility. The tenant (org group) is derived SERVER-SIDE from the principal; physicalFacilityId (the parent PF) is tenant-scoped server-side and must be active (STRICT — a child may not be born under a non-active parent); a supplied geographicDivisionId is gated in-tenant + ACTIVE + geographic-type + selection-held (the gate).
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the merchant code when given, else 'Logical Facility'; when supplied it must be non-blank. |
physicalFacilityId | ID ID! | yes | The parent PhysicalFacility id. |
classification | String String! | yes | The operating character: store/showroom | warehouse — immutable after birth. |
geographicDivisionId | ID | no | Optional geographic-Division membership — gated in-tenant + ACTIVE + geographic-type + an ACTIVE OrgDivision selection by the LF org (the gate, else CONFLICT/UNSELECTED). |
code | String | no | No further notes. |