For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

ParentChildFieldDefinition

Type reference for ParentChildFieldDefinition in the Rippling SDK, including its public shape and related types.

Use with AI:Rippling AI ChatGPT Claude Cursor

Type-level shape produced by {@link parentChild }.

Type definition​

export interface ParentChildFieldDefinition<TTarget extends CustomObjectIdentity = CustomObjectIdentity, TSectionKey extends string | undefined = string | undefined> extends FieldDefinitionBase<'parent-child', LookupReference<TargetApiName<TTarget>>, true, true, TSectionKey, TargetApiName<TTarget>> {
    readonly target: TTarget;
    readonly relatedDataLabel?: string;
    readonly parentChildType?: 'PRIMARY' | 'SECONDARY';
    readonly enableParentOwnerInheritance?: boolean;
}