xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField SalesCRMRewardsClaimsInventoryProcurementWarehouse ManagementField ServiceServiceSupportTelephony & MessagingFinance & AccountingPayrollExpense ManagementCommercePortalsAnalytics & ReportingData StudioMobile AppSee all products →
PLATFORM
Platform overviewApp BuilderAutomationIntegrationsSecurity & GovernanceChange ManagementDevelopers
SENSE AI
Sense AI overviewSense AssistSense ControlSense VisionAI StudioTrust & governanceIn Claude & ChatGPTUse cases
SOLUTIONS
FMCG & DistributionManufacturing & Dealer NetworksAutomotive & DealershipsPharma & HealthcareConsumer DurablesAgri-InputsBuilding MaterialsService NetworksWarehousing & 3PLFinancial AccountingERP SoftwareIndia GST ComplianceUAE VAT & e-InvoicingSaudi ZATCA & VATAll solutions →
RESOURCES
Knowledge CenterDeveloper & CLIBlogGuidesWhat is xMatix?Company facts
COMPANY
AboutCareersPartnersEventsContactAuthorsLegal
Sign in Request demo
Home/Docs/Entity Reference/Conversion Batch — entity reference
REFERENCE · Last reviewed

Conversion Batch — entity reference

A staged document conversion (Order → Invoice, Requisition → Purchase Order, …). Created by the batch engine and executed by the scheduler.

Fields

FieldLabelTypeRequiredWhat it does
ActionNameActionTextServer action that staged the batch.
AttemptCountAttemptsNumberExecution attempts consumed.
BatchIdBatchIdLookup → ConversionBatchLine
CancelledLinesCancelled LinesNumberLines cancelled before they ran.
ChunkSizeChunk SizeNumberLines per execution transaction. Bounds lock duration and the work a crash discards.
CompletedUtcCompletedDateAndTimeWhen it reached a terminal status.
ConversionKeyConversionTextRegistered conversion key, e.g. sales.order-to-invoice. The discriminator that lets one table serve every conversion.
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated OnDateAndTimeYes
ErrorMessageErrorLongMultiLineTextWhy the last attempt failed.
FailedLinesFailed LinesNumberLines that failed and exhausted their attempts.
FromDateFrom DateDateStart of the document-date window the submission used.
IdIdGuidYes
IdempotencyKeySubmission KeyTextClient submission key. The first call creates the batch and later calls append to it, so one submission is one batch however many records it covers.
JobRunIdJob RunGuidTenant-jobs run that executed the batch.
LabelLabelTextDisplay label, defaulted to the conversion display name.
LeaseExpiryUtcLease ExpiryDateAndTimeClaim expiry. Past this any worker may reclaim the batch — how a dead worker is recovered from.
LeaseOwnerLease OwnerTextWorker holding the claim, as machine:pid.
MaxAttemptsMax AttemptsNumberAttempts allowed before the batch fails terminally.
ModifiedByIdModified ByLookup → UserAccountYes
NameNameTextYes
NextAttemptUtcNext AttemptDateAndTimeEarliest the scheduler may retry, after backoff.
OptionsJsonOptionsLongMultiLineTextConversion options as supplied.
OwnerIdOwnerLookup → UserAccountYes
PayloadJsonPayloadLongMultiLineTextThe staging action arguments verbatim, for replay and forensics.
PendingLinesPending LinesNumberLines still to convert.
PendingQuantityFieldPending Quantity FieldTextField read off the source line as the pool supply.
PriorityPriorityNumberLower runs earlier — lets a stuck queue be jumped without a code change.
ProcessingModeProcessing ModePickListRecordLevel (every eligible line) or LineLevel (only the lines the user picked).
QuantityPoolQuantity PoolTextPool the batch holds quantity against. Conversions sharing a pending-quantity field share a pool, so they cannot promise the same units twice.
QueuedUtcQueuedDateAndTimeWhen the batch was staged.
RecordTypeIdRecord TypeGuid, hidden
RequestedByIdRequested ByLookupUser who submitted the batch.
RequestedByNameRequested By NameTextDisplay name of the submitter.
ScopeAccountIdAccountLookupAccount the submission was scoped to.
ScopeBranchIdBranchLookupBranch the submission was scoped to.
ScopePartnerAccountIdPartner AccountLookupCompany the submission was scoped to.
SkippedLinesSkipped LinesNumberLines with nothing left to convert, or no available quantity.
SourceEntityNameSource EntityTextEntity the batch converts from. Denormalized so a historical batch still renders after its module is removed.
SourceLineEntityNameSource Line EntityTextLine entity of the source document.
StartedUtcStartedDateAndTimeWhen a worker first claimed it.
StatusStatusPickListDraft, Queued, Processing, Cancelling, Completed, CompletedWithErrors, Failed or Cancelled.
SubscriptionKeySubscription KeyGuid, hiddenYes
SucceededLinesSucceeded LinesNumberLines that produced a target document.
TargetEntityNameTarget EntityTextEntity the batch creates.
ToDateTo DateDateEnd of the document-date window the submission used.
TotalLinesTotal LinesNumberLines staged in the batch.
TotalProcessedQuantityProcessed QuantityDecimalTotal quantity actually converted.
TotalRequestedQuantityRequested QuantityDecimalTotal quantity accepted at staging.
UpdatedDateTimeUpdated OnDateAndTimeYes
ValidationMessageValidation MessageLongMultiLineTextWhy the batch as a whole was rejected.

Actions

ActionLabelTypeWhat it does
CancelBatchCancel BatchServerAction (CancelBatch)Cancels a queued batch outright, or asks a running one to stop at its next chunk.
GetConversionsGet ConversionsServerAction (GetConversions)Record-less. Returns the registered conversion descriptors.
GetHeldQuantitiesGet Held QuantitiesServerAction (GetHeldQuantities)Record-less. Returns quantity held per source line.
RetryFailedLinesRetry Failed LinesServerAction (RetryFailedLines)Returns parked failed lines to pending and re-queues the batch.