Table
RetailCDXUploadSession
Upload sessions
Holds one record for each upload session from a channel database. The key is the session number plus the channel database. It stores the status, dates, file details, rerun information and error code, and links to the database profile, the distribution schedule and the scheduler job.
- Table name
RetailCDXUploadSession- Module
Commerce channel management- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
None- Replacement key
UploadSessionIdIdx- Key fields
UploadSessionId, DataStore- Model
Foundation
Fields (30)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
UploadSessionIdNumber that identifies the upload session. | Int64RetailCDXSessionNumber | Yes | None | |
DataStorePoints to the database connection profile of the channel database. | Int64RetailCDXDataStoreRefRecId | Yes | RetailConnDatabaseProfile.RecId | None |
BatchJobIdID of the batch job linked to the session. | Int64RefRecId | No | None | |
CheckSumChecksum value for the upload file. | String (64)RetailCDXCheckSum | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataGroupID of the channel database group. | Int64RetailCDXDataGroupRefRecId | No | None | |
DateCreatedDate and time the upload was created. | UtcDateTimeRetailCDXDateCreated | No | None | |
DateUploadedDate and time the upload was done. | UtcDateTimeRetailCDXDateUploaded | No | None | |
ErrorIdCode of the error that occurred, if any. | String (80)RetailCDXErrorId | No | None | |
FileSizeTotal size of the upload file. | Int64RetailCDXFileSize | No | None | |
IsReverseSeedPackagePurpose not clear from the metadata.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
IsWorkloadSessionStatusCommunicatedBackPurpose not clear from the metadata.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
JobIdName of the scheduler job linked to the session. | String (20)RetailConnJobId | Yes | RetailConnSchedulerJobTable.jobId | None |
LocalUploadSessionIdID of the local upload session. | Int64RetailCdxLocalUploadSessionId | No | None | |
MessageFree text message about the session. | String (-1)RetailCDXMonDataSyncMessage | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OriginDownloadSessionRecIdRecord ID of the download session that this upload is linked to. | Int64RetailCDXDownloadSessionRefRecId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RerunRerun state of the session: none, marked or executed. | EnumRetailCDXUploadSessionRerun (enum) | No | None | |
RerunForNumber of the session that this session reruns. | Int64RetailCDXSessionNumber | No | None | |
RowsAffectedNumber of rows affected by the session. | IntegerRetailCDXRowsAffected | No | None | |
SchedulePoints to the distribution schedule for the session. | Int64RetailCDXScheduleRefRecId | No | RetailConnSchedule.RecId | None |
SkipAffectedRowsValidationPurpose not clear from the metadata.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
StatusCurrent stage of the upload, such as started, uploaded, applied or a failure state. | EnumRetailCDXUploadSessionStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TryCountNumber of attempts made. | IntegerRetailCDXTryCount | No | None | |
UploadPathPath of the temporary files used for the upload. | String (1024)RetailCDXPacketFilePath | No | None | |
UploadSessionRerunTypeType of rerun: subsequent or selected. | EnumRetailCDXUploadSessionRerunType (enum) | No | None |
Indexes (8)
UploadSessionIdIdxReplacement keyUnique, alternate key.
ModifiedDateTimeIdxNot unique.
DataStoreIdxNot unique.
UploadSessionRerunIdxDataStore,JobId,Rerun,LocalUploadSessionIdNot unique.
LocalUploadSessionIdIdxDataStore,LocalUploadSessionId,StatusNot unique.
UploadSessionJobRerunLocalSessionIdxDataStore,JobId,Rerun,LocalUploadSessionIdNot unique.
StatusCreatedDateTimeIdxNot unique.
StatusJobIdModifiedDateTimeIdxModifiedDateTime,JobId,StatusNot unique.
Relations (3)
Each relation joins RetailCDXUploadSession to another table on the fields shown.
DataStore→RetailConnDatabaseProfileJoin on
DataStore = RetailConnDatabaseProfile.RecIdMany RetailCDXUploadSession records → exactly one RetailConnDatabaseProfile record
JobNumber→RetailConnSchedulerJobTableJoin on
JobId = RetailConnSchedulerJobTable.jobIdMany RetailCDXUploadSession records → exactly one RetailConnSchedulerJobTable record
RetailConnSchedule→RetailConnScheduleJoin on
Schedule = RetailConnSchedule.RecIdMany RetailCDXUploadSession records → exactly one RetailConnSchedule record
Get this data out
No public entity reads from RetailCDXUploadSession. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailCDXUploadSession in a report, an integration or a migration? Talk to Dr Dynamics.