Property SectionDefinitions
SectionDefinitions
Gets the section definitions.
public SectionDefinitionCrudHelperComponent SectionDefinitions { get; }
Property Value
- SectionDefinitionCrudHelperComponent
The section definitions.
Remarks
Make sure to adhere to the following restrictions:
- Create, Delete: The DefaultJobSectionDefinition cannot ever be created or deleted, it always exists on a system.
- Update: For StaticSectionDefinitions only the name of the section definition and the name of its field descriptors may be updated.
- Delete: A SectionDefinition can only be deleted if no jobs are using it.
- Update: No FieldDescriptors can be removed from a SectionDefinition if any jobs are using it.
- Update: The BookingElement in the ReservationLinkInfo cannot be changed if there are jobs using it.
-
Update: If jobs are using the SectionDefinition, the FieldDescriptors can only be updated in a safe way:
- The IsOptional flag must stay the same.
- The FieldType must stay the same.
- The validators must stay the same.
- (AutoIncrementFieldDescriptor) The referenced AutoIncrementerID must stay the same.
- (AutoIncrementFieldDescriptor) The IDFormat must stay the same.
- (GenericEnumFieldDescriptor) Only GenericEnum display <->key pairs can be added, no pairs should be deleted. The IsHidden tag can be changed freely.
- (RecordFieldDescriptor) The referenced RecordDefinitionID must stay the same.
- The kind of FieldDescriptor must stay the same (AutoIncrementFieldDescriptor, GenericEnumFieldDescriptor, etc.).
- Create, Update: The specific field value type in the descriptor must be a supported type by the kind of FieldDescriptor.