Table

CustomerInvoiceDocumentLifecycleStageTransition

CustomerInvoiceDocumentLifecycleStageTransition table

Records the lifecycle stage and status of a customer invoice document, such as a free text invoice or an order invoice. It also holds parameter, batch job and line count details. It links to free text invoices and sales orders by record ID.

Table name
CustomerInvoiceDocumentLifecycleStageTransition
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustomerInvoiceBatchJobIdSystem record ID of the batch job.Int64
RefRecId
NoNone
CustomerInvoiceBatchTaskHistoryIdSystem record ID of the batch task history entry.Int64
RefRecId
NoNone
CustomerInvoiceDocumentHeaderRecIdSystem record ID of the invoice document header, pointing to a free text invoice or sales order.Int64
RefRecId
NoCustInvoiceTable.RecIdSalesTable.RecIdNone
CustomerInvoiceDocumentLifecycleStageLifecycle stage of the document, such as Created, Validation, Approval, Post or Finished.Enum
DocumentLifecycleStage (enum)
NoNone
CustomerInvoiceDocumentLifecycleStatusStatus within the lifecycle stage, such as Validated, Warning, Failed or Approved.Enum
DocumentLifecycleExecutionStatus (enum)
NoNone
CustomerInvoiceDocumentLifecycleTimestampDate and time when the stage started.UtcDateTime
StartDateTime
NoNone
CustomerInvoiceDocumentLineCountNumber of lines in the document. The metadata gives no label.low confidenceIntegerNoNone
CustomerInvoiceDocumentLineRecIdSystem record ID of the invoice document line.Int64
RefRecId
NoNone
CustomerInvoiceDocumentParmIdParameter ID of the document.String (20)
ParmId
NoNone
CustomerInvoiceDocumentSummaryUpdateYes/No flag. The name suggests a summary update, but the metadata does not confirm it.low confidenceEnum
NoYes (enum)
NoNone
CustomerInvoiceDocumentTypeType of document: None, Ledger adjustment, Free text invoice or Order invoice.Enum
DocumentType (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UniqueGuidUnique ID (GUID) of the transition record.low confidenceGuidNoNone

Relations (2)

Each relation joins CustomerInvoiceDocumentLifecycleStageTransition to another table on the fields shown.

  • SalesTable → SalesTable

    Join on CustomerInvoiceDocumentHeaderRecId = SalesTable.RecId

    One or more CustomerInvoiceDocumentLifecycleStageTransition records → exactly one SalesTable record

  • CustInvoiceTable → CustInvoiceTable

    Join on CustomerInvoiceDocumentHeaderRecId = CustInvoiceTable.RecId

    One or more CustomerInvoiceDocumentLifecycleStageTransition records → exactly one CustInvoiceTable record

Get this data out

No public entity reads from CustomerInvoiceDocumentLifecycleStageTransition. Its data is only reachable through the application, a custom entity or a database export.

Need help with CustomerInvoiceDocumentLifecycleStageTransition in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk