Table
SubBillDeferralScheduleCreditApply
Subscription billing deferral schedule credit apply
Records where a credit has been applied to a deferral schedule, linked to a customer invoice line. The key is the deferral schedule number plus the invoice line record. Each row stores the amount, date and user of the application.
- Table name
SubBillDeferralScheduleCreditApply- Module
Subscription billing- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
Schedule- Replacement key
Schedule- Key fields
SubBillDeferralScheduleNumber, CustInvoiceTransRecId- Model
SubscriptionBilling
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubBillDeferralScheduleNumberNumber of the deferral schedule that the credit is applied to. | String (20)SubBillDeferralScheduleNumber | Yes | SubBillDeferralScheduleTable.SubBillDeferralScheduleNumber | None |
CustInvoiceTransRecIdSystem record ID of the customer invoice line the credit relates to. | Int64RefRecId | Yes | CustInvoiceTrans.RecId | None |
AppliedAmountAmount of credit applied; the currency is not stated in the metadata. | RealAmountCur | No | None | |
AppliedDateDate on which the credit was applied. | DateTransDate | No | None | |
AppliedUserName of the user who applied the credit. | String (60)PersonName | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LineNumLine number of this application row. | RealLineNum | 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 | |
SubBillDeferralCreditScheduleNumberNumber of the deferral schedule that belongs to the credit document. | String (20)SubBillDeferralCreditScheduleNumber | No | SubBillDeferralScheduleTable.SubBillDeferralScheduleNumber | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
SchedulePrimary indexReplacement keySubBillDeferralScheduleNumber,CustInvoiceTransRecIdUnique, alternate key.
CustInvoiceTransCustInvoiceTransRecId,SubBillDeferralScheduleNumberUnique, alternate key.
Relations (3)
Each relation joins SubBillDeferralScheduleCreditApply to another table on the fields shown.
SubBillDeferralScheduleTable→SubBillDeferralScheduleTableJoin on
SubBillDeferralScheduleNumber = SubBillDeferralScheduleTable.SubBillDeferralScheduleNumberMany SubBillDeferralScheduleCreditApply records → zero or one SubBillDeferralScheduleTable record
CustInvoiceTrans→CustInvoiceTransJoin on
CustInvoiceTransRecId = CustInvoiceTrans.RecIdMany SubBillDeferralScheduleCreditApply records → zero or one CustInvoiceTrans record
ScheduleApply→SubBillDeferralScheduleTableJoin on
SubBillDeferralCreditScheduleNumber = SubBillDeferralScheduleTable.SubBillDeferralScheduleNumberMany SubBillDeferralScheduleCreditApply records → zero or one SubBillDeferralScheduleTable record
Get this data out
No public entity reads from SubBillDeferralScheduleCreditApply. Its data is only reachable through the application, a custom entity or a database export.
Need help with SubBillDeferralScheduleCreditApply in a report, an integration or a migration? Talk to Dr Dynamics.