OptionalallowedIf specified, child writes are permitted ONLY when the parent's status is in this list.
OptionalallowDefault true: skip parent lookup when foreignKeyField is null/empty. Set false to refuse orphans.
OptionalerrorOptional custom refusal message.
OptionalexemptServer operation keys (via ServerOperationScopeManager) exempted from this parent lock.
OptionalforbiddenIf specified, child writes are refused when the parent's status is in this list.
Foreign-key column on THIS child entity (e.g. 'OrderHeaderID', 'JournalEntryID', 'ElectionID').
OptionalkindOptionaloperationsWhich child operations this lock governs. Defaults to ['Create', 'Update', 'Delete'].
Target parent entity name (e.g. 'Orders', 'Journal Entries', 'Elections').
OptionalparentPrimary-key column on the parent entity. Defaults to 'ID'.
Status column on the parent entity (e.g. 'Status').
Optionalpolicy
Declarative cross-entity policy locking child creates/updates/deletes based on a parent record's status. Configured in
EntityInfo.Settings('CrossEntityPolicies') orIEntityConfiguration.CrossEntityPolicies.