Table

SubBillGenerateInvoiceAuditTrail

Subscription billing generate invoice audit trail

Audit trail records for invoice generation runs in subscription billing. It has no defined key. Each record shows the billing schedule, billing period, item, quantity and net amount, together with the invoice type and posting option. It links to the batch job that ran the process.

Table name
SubBillGenerateInvoiceAuditTrail
Module
Subscription billing
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
SubscriptionBilling

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BatchJobIdSystem record ID of the batch job. Points to the batch job record.Int64
RefRecId
NoBatchJob.RecIdNone
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryNameName of the delivery recipient.String (100)
LogisticsDeliveryName
NoNone
ItemIdItem number.String (20)
ItemIdSmall
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
SalesLineAmountNet amount of the line.Real
SalesLineAmount
NoNone
SalesOrderedQtyQuantity.Real
SalesOrderedQty
NoNone
SubBillBillingScheduleNumberNumber of the billing schedule.String (20)
SubBillBillingScheduleNumber
YesNone
SubBillEndDateEnd date of the billing period.Date
SubBillEndDate
YesNone
SubBillInvTransTypeType of invoice transaction: sales order, free text invoice or project fee journal.Enum
SubBillInvTransType (enum)
NoNone
SubBillPostSalesOrderOptionPosting option chosen for the run, for example create a sales order or post the invoice automatically.Enum
SubBillPostSalesOrderOption (enum)
NoNone
SubBillStartDateStart date of the billing period.Date
SubBillStartDate
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • BatchJobHistoryRelation → BatchJobHistory

    Join on BatchJobId = BatchJobHistory.BatchJobId

    Many SubBillGenerateInvoiceAuditTrail records → exactly one BatchJobHistory record

  • BatchJobRelation → BatchJob

    Join on BatchJobId = BatchJob.RecId

    Many SubBillGenerateInvoiceAuditTrail records → exactly one BatchJob record

Get this data out

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

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

Email sales@drdynamics.co.uk