AlmondTill/G3N API

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

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the merchant code when given, else 'Logical Facility'; when supplied it must be non-blank.
physicalFacilityIdID ID!yesThe parent PhysicalFacility id.
classificationString String!yesThe operating character: store/showroom | warehouse — immutable after birth.
geographicDivisionIdIDnoOptional geographic-Division membership — gated in-tenant + ACTIVE + geographic-type + an ACTIVE OrgDivision selection by the LF org (the gate, else CONFLICT/UNSELECTED).
codeStringnoNo further notes.

Used by