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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BatchJobIdSystem record ID of the batch job. Points to the batch job record. | Int64RefRecId | No | BatchJob.RecId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryNameName of the delivery recipient. | String (100)LogisticsDeliveryName | No | None | |
ItemIdItem number. | String (20)ItemIdSmall | 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 | |
SalesLineAmountNet amount of the line. | RealSalesLineAmount | No | None | |
SalesOrderedQtyQuantity. | RealSalesOrderedQty | No | None | |
SubBillBillingScheduleNumberNumber of the billing schedule. | String (20)SubBillBillingScheduleNumber | Yes | None | |
SubBillEndDateEnd date of the billing period. | DateSubBillEndDate | Yes | None | |
SubBillInvTransTypeType of invoice transaction: sales order, free text invoice or project fee journal. | EnumSubBillInvTransType (enum) | No | None | |
SubBillPostSalesOrderOptionPosting option chosen for the run, for example create a sales order or post the invoice automatically. | EnumSubBillPostSalesOrderOption (enum) | No | None | |
SubBillStartDateStart date of the billing period. | DateSubBillStartDate | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
BatchRefRecIdNot unique.
Relations (2)
Each relation joins SubBillGenerateInvoiceAuditTrail to another table on the fields shown.
BatchJobHistoryRelation→BatchJobHistoryJoin on
BatchJobId = BatchJobHistory.BatchJobIdMany SubBillGenerateInvoiceAuditTrail records → exactly one BatchJobHistory record
BatchJobRelation→BatchJobJoin on
BatchJobId = BatchJob.RecIdMany 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.