編輯

共用方式為


Package History (packagehistory) table/entity reference

Messages

The following table lists the messages for the Package History (packagehistory) table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Create
Event: False
POST /packagehistories
See Create
Create records
Delete
Event: False
DELETE /packagehistories(packagehistoryid)
See Delete
Delete records
IsValidStateTransition
Event: False
IsValidStateTransition IsValidStateTransitionRequest
Retrieve
Event: True
GET /packagehistories(packagehistoryid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: True
GET /packagehistories
See Query data
Query data
SetState
Event: True
PATCH /packagehistories(packagehistoryid)
Update the statecode and statuscode properties.
SetStateRequest
Update
Event: False
PATCH /packagehistories(packagehistoryid)
See Update
Update records
Upsert
Event: False
PATCH /packagehistories(packagehistoryid)
See Upsert a table row
UpsertRequest

Properties

The following table lists selected properties for the Package History (packagehistory) table.

Property Value
DisplayName Package History
DisplayCollectionName Package Histories
SchemaName packagehistory
CollectionSchemaName packagehistories
EntitySetName packagehistories
LogicalName packagehistory
LogicalCollectionName packagehistories
PrimaryIdAttribute packagehistoryid
PrimaryNameAttribute executionname
TableType Standard
OwnershipType OrganizationOwned

Writable columns/attributes

These columns/attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

ApplicationId

Property Value
Description Unique identifier for the application installed
DisplayName Application Id
IsValidForForm True
IsValidForRead True
LogicalName applicationid
RequiredLevel None
Type Uniqueidentifier

ApplicationName

Property Value
Description The application name of the target for installation
DisplayName Application Name
IsValidForForm True
IsValidForRead True
LogicalName applicationname
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

CatalogId

Property Value
Description The catalog that acted as the source for the artifact
DisplayName Catalog Id
IsValidForForm True
IsValidForRead True
LogicalName catalogid
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

CorrelationId

Property Value
Description The correlationId for this process
DisplayName Correlation Id
IsValidForForm True
IsValidForRead True
LogicalName correlationid
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 200

ExecutionName

Property Value
Description The display name for this operation
DisplayName Execution Name
IsValidForForm True
IsValidForRead True
LogicalName executionname
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

ImportSequenceNumber

Property Value
Description Sequence number of the import that created this record.
DisplayName Import Sequence Number
IsValidForForm False
IsValidForRead True
LogicalName importsequencenumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -2147483648

OperationId

Property Value
Description OperationId
DisplayName OperationId
IsValidForForm True
IsValidForRead True
LogicalName operationid
RequiredLevel None
Type Uniqueidentifier

OverriddenCreatedOn

Property Value
Description Date and time that the record was migrated.
DisplayName Record Created On
IsValidForForm False
IsValidForRead True
LogicalName overriddencreatedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

packagehistoryId

Property Value
Description Unique identifier for a single package history execution
DisplayName Package History
IsValidForForm False
IsValidForRead True
LogicalName packagehistoryid
RequiredLevel SystemRequired
Type Uniqueidentifier

PackageId

Property Value
Description Unique identifier for the package to install
DisplayName Package Id
IsValidForForm True
IsValidForRead True
LogicalName packageid
RequiredLevel None
Type Uniqueidentifier

PackageInstanceId

Property Value
Description
DisplayName PackageInstanceId
IsValidForForm True
IsValidForRead True
LogicalName packageinstanceid
RequiredLevel None
Type Uniqueidentifier

PublisherId

Property Value
Description
DisplayName Publisher Id
IsValidForForm True
IsValidForRead True
LogicalName publisherid
RequiredLevel None
Type Uniqueidentifier

PublisherName

Property Value
Description The publisher name of the target for installation
DisplayName Publisher Name
IsValidForForm True
IsValidForRead True
LogicalName publishername
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

Settings

Property Value
Description Deployment Package settings value.
DisplayName Settings
IsValidForForm True
IsValidForRead True
LogicalName settings
RequiredLevel None
Type Memo
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 400000

StageValue

Property Value
Description Stage of the operation
DisplayName Stage
IsValidForForm True
IsValidForRead True
LogicalName stagevalue
RequiredLevel SystemRequired
Type Picklist
DefaultFormValue 0
GlobalChoiceName packagehistories_stagevalue

StageValue Choices/Options

Value Label
0 PackageProcessing
1 Solutions
2 Configuration
3 PackageInit
4 CustomCode
5 DataImport
6 FnO

statecode

Property Value
Description Status of the operation
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State
DefaultFormValue
GlobalChoiceName packagehistory_statecode

statecode Choices/Options

Value Details
0 Label: Active
DefaultStatus: 526430000
InvariantName: Active
1 Label: Inactive
DefaultStatus: 526430003
InvariantName: Inactive

statuscode

Property Value
Description Reason for the status of the operation
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel None
Type Status
DefaultFormValue
GlobalChoiceName packagehistory_statuscode

statuscode Choices/Options

Value Details
526430000 Label: Requested
State:0
TransitionData: None
526430001 Label: Scheduled
State:0
TransitionData: None
526430002 Label: In Process
State:0
TransitionData: None
526430003 Label: Completed
State:1
TransitionData: None
526430004 Label: Failed
State:1
TransitionData: None
526430005 Label: Uninstalled
State:1
TransitionData: None

StatusMessage

Property Value
Description Status for the orchestration
DisplayName Status Message
IsValidForForm True
IsValidForRead True
LogicalName statusmessage
RequiredLevel None
Type String
Format TextArea
FormatName TextArea
ImeMode Auto
IsLocalizable False
MaxLength 4000

TimeZoneRuleVersionNumber

Property Value
Description For internal use only.
DisplayName Time Zone Rule Version Number
IsValidForForm False
IsValidForRead True
LogicalName timezoneruleversionnumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

UniqueName

Property Value
Description The unique name of the target for installation
DisplayName Unique Name
IsValidForForm True
IsValidForRead True
LogicalName uniquename
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

UTCConversionTimeZoneCode

Property Value
Description Time zone code that was in use when the record was created.
DisplayName UTC Conversion Time Zone Code
IsValidForForm False
IsValidForRead True
LogicalName utcconversiontimezonecode
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -1

Version

Property Value
Description The version of the target for installation
DisplayName Version
IsValidForForm True
IsValidForRead True
LogicalName version
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

CreatedBy

Property Value
Description Unique identifier of the user who created the record.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel None
Type Lookup
Targets systemuser

CreatedOn

Property Value
Description Date and time when the record was created.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

CreatedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who created the record.
DisplayName Created By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

DeploymentLog

Property Value
Description Stores the package deployment logs for an installation
DisplayName Deployment Log
IsValidForForm True
IsValidForRead True
LogicalName deploymentlog
RequiredLevel None
Type File
MaxSizeInKB 256000

DeploymentLog_Name

Property Value
Description
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName deploymentlog_name
RequiredLevel None
Type String
Format Text
FormatName Text
ImeMode Disabled
IsLocalizable False
MaxLength 200

ModifiedBy

Property Value
Description Unique identifier of the user who modified the record.
DisplayName Modified By
IsValidForForm True
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Type Lookup
Targets systemuser

ModifiedOn

Property Value
Description Date and time when the record was modified.
DisplayName Modified On
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

ModifiedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who modified the record.
DisplayName Modified By (Delegate)
IsValidForForm True
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Type Lookup
Targets systemuser

OrganizationId

Property Value
Description Unique identifier for the organization
DisplayName Organization Id
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel None
Type Lookup
Targets organization

VersionNumber

Property Value
Description Version Number
DisplayName Version Number
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

FileAttachment_packagehistory_DeploymentLog

One-To-Many Relationship: fileattachment FileAttachment_packagehistory_DeploymentLog

Property Value
ReferencedEntity fileattachment
ReferencedAttribute fileattachmentid
ReferencingAttribute deploymentlog
ReferencingEntityNavigationPropertyName deploymentlog
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: RemoveLink
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_packagehistory_createdby

One-To-Many Relationship: systemuser lk_packagehistory_createdby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdby
ReferencingEntityNavigationPropertyName createdby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_packagehistory_createdonbehalfby

One-To-Many Relationship: systemuser lk_packagehistory_createdonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdonbehalfby
ReferencingEntityNavigationPropertyName createdonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_packagehistory_modifiedby

One-To-Many Relationship: systemuser lk_packagehistory_modifiedby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedby
ReferencingEntityNavigationPropertyName modifiedby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_packagehistory_modifiedonbehalfby

One-To-Many Relationship: systemuser lk_packagehistory_modifiedonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedonbehalfby
ReferencingEntityNavigationPropertyName modifiedonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

organization_packagehistory

One-To-Many Relationship: organization organization_packagehistory

Property Value
ReferencedEntity organization
ReferencedAttribute organizationid
ReferencingAttribute organizationid
ReferencingEntityNavigationPropertyName organizationid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

packagehistory_AsyncOperations

Many-To-One Relationship: asyncoperation packagehistory_AsyncOperations

Property Value
ReferencingEntity asyncoperation
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName packagehistory_AsyncOperations
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

packagehistory_BulkDeleteFailures

Many-To-One Relationship: bulkdeletefailure packagehistory_BulkDeleteFailures

Property Value
ReferencingEntity bulkdeletefailure
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName packagehistory_BulkDeleteFailures
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

packagehistory_DuplicateBaseRecord

Many-To-One Relationship: duplicaterecord packagehistory_DuplicateBaseRecord

Property Value
ReferencingEntity duplicaterecord
ReferencingAttribute baserecordid
ReferencedEntityNavigationPropertyName packagehistory_DuplicateBaseRecord
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

packagehistory_DuplicateMatchingRecord

Many-To-One Relationship: duplicaterecord packagehistory_DuplicateMatchingRecord

Property Value
ReferencingEntity duplicaterecord
ReferencingAttribute duplicaterecordid
ReferencedEntityNavigationPropertyName packagehistory_DuplicateMatchingRecord
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

packagehistory_FileAttachments

Many-To-One Relationship: fileattachment packagehistory_FileAttachments

Property Value
ReferencingEntity fileattachment
ReferencingAttribute objectid
ReferencedEntityNavigationPropertyName packagehistory_FileAttachments
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

packagehistory_MailboxTrackingFolders

Many-To-One Relationship: mailboxtrackingfolder packagehistory_MailboxTrackingFolders

Property Value
ReferencingEntity mailboxtrackingfolder
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName packagehistory_MailboxTrackingFolders
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

packagehistory_PrincipalObjectAttributeAccesses

Many-To-One Relationship: principalobjectattributeaccess packagehistory_PrincipalObjectAttributeAccesses

Property Value
ReferencingEntity principalobjectattributeaccess
ReferencingAttribute objectid
ReferencedEntityNavigationPropertyName packagehistory_PrincipalObjectAttributeAccesses
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

packagehistory_ProcessSession

Many-To-One Relationship: processsession packagehistory_ProcessSession

Property Value
ReferencingEntity processsession
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName packagehistory_ProcessSession
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

packagehistory_SyncErrors

Many-To-One Relationship: syncerror packagehistory_SyncErrors

Property Value
ReferencingEntity syncerror
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName packagehistory_SyncErrors
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference
packagehistory