Member Junction
Preparing search index...
@memberjunction/record-cloning-base
RecordCloneResult
Interface RecordCloneResult
Result returned upon clone plan creation or execution.
interface
RecordCloneResult
{
CloneLogID
?:
string
;
Counts
?:
{
ByEntity
:
Record
<
string
,
{
Create
:
number
;
Reference
:
number
;
Skip
:
number
}
,
>
;
Create
:
number
;
Total
:
number
;
}
;
Created
?:
{
Depth
:
number
;
EntityName
:
string
;
SourceKey
:
CompositeKeyLike
;
TargetKey
:
CompositeKeyLike
;
}
[]
;
ErrorMessage
?:
string
;
Plan
?:
ClonePlan
;
RecordsCloned
?:
number
;
ResultCode
?:
|
"PLAN_CHANGED"
|
"FORBIDDEN"
|
"SUCCESS"
|
"BLOCKED"
|
"EXECUTION_ERROR"
;
RootRecordKey
?:
string
;
Roots
?:
{
EntityName
:
string
;
SourceKey
:
CompositeKeyLike
;
TargetKey
:
CompositeKeyLike
;
}
[]
;
Skipped
?:
{
EntityName
:
string
;
Reason
:
string
;
SourceKey
:
CompositeKeyLike
;
}
[]
;
Success
:
boolean
;
Warnings
:
CloneWarning
[]
;
}
Index
Properties
Clone
Log
ID?
Counts?
Created?
Error
Message?
Plan?
Records
Cloned?
Result
Code?
Root
Record
Key?
Roots?
Skipped?
Success
Warnings
Properties
Optional
Clone
Log
ID
CloneLogID
?:
string
Optional
Counts
Counts
?:
{
ByEntity
:
Record
<
string
,
{
Create
:
number
;
Reference
:
number
;
Skip
:
number
}
,
>
;
Create
:
number
;
Total
:
number
;
}
Optional
Created
Created
?:
{
Depth
:
number
;
EntityName
:
string
;
SourceKey
:
CompositeKeyLike
;
TargetKey
:
CompositeKeyLike
;
}
[]
Optional
Error
Message
ErrorMessage
?:
string
Optional
Plan
Plan
?:
ClonePlan
Optional
Records
Cloned
RecordsCloned
?:
number
Optional
Result
Code
ResultCode
?:
|
"PLAN_CHANGED"
|
"FORBIDDEN"
|
"SUCCESS"
|
"BLOCKED"
|
"EXECUTION_ERROR"
Optional
Root
Record
Key
RootRecordKey
?:
string
Optional
Roots
Roots
?:
{
EntityName
:
string
;
SourceKey
:
CompositeKeyLike
;
TargetKey
:
CompositeKeyLike
;
}
[]
Optional
Skipped
Skipped
?:
{
EntityName
:
string
;
Reason
:
string
;
SourceKey
:
CompositeKeyLike
}
[]
Success
Success
:
boolean
Warnings
Warnings
:
CloneWarning
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
Clone
Log
ID
Counts
Created
Error
Message
Plan
Records
Cloned
Result
Code
Root
Record
Key
Roots
Skipped
Success
Warnings
Member Junction
Loading...
Result returned upon clone plan creation or execution.