Member Junction
    Preparing search index...

    Interface MJRecordChangeEntity_IRecordChangeCloneContext

    Structured provenance context for RecordChange rows.

    Stored as JSON in MJ: Record Changes.ChangeContext. CodeGen emits a typed ChangeContextObject accessor on MJRecordChangeEntity that returns MJRecordChangeEntity_IRecordChangeContext | null.

    plans/record-cloning/README.md §10.2

    interface MJRecordChangeEntity_IRecordChangeCloneContext {
        CloneLogID: string;
        Depth: number;
        FieldChangeSummary: { Fields: string[]; Kind: string }[];
        Reason?: string;
        RootEntityName: string;
        RootSourceRecordID: string;
        RootTargetRecordID: string;
        Route: "Collection" | "Embedded" | "IsAChain" | "RootSave" | "Sidecar";
        SourceEntityName: string;
        SourceRecordID: string;
    }
    Index

    Properties

    CloneLogID: string

    ID of the RecordCloneLog row coordinating this clone operation.

    Depth: number

    Depth within the record graph (0 for root).

    FieldChangeSummary: { Fields: string[]; Kind: string }[]

    Kinds and field names only. Values are already in FullRecordJSON and are subject to FLS projection there.

    Reason?: string

    Optional explanation entered at clone time.

    RootEntityName: string

    Entity name of the root record of the clone graph.

    RootSourceRecordID: string

    Source key of the root record.

    RootTargetRecordID: string

    Target key of the root record after insertion.

    Route: "Collection" | "Embedded" | "IsAChain" | "RootSave" | "Sidecar"

    Relationship route traversed to reach this record.

    SourceEntityName: string

    Entity name of the record being cloned.

    SourceRecordID: string

    Compact URL segment of the source key (bare value for single-column keys).