Table

SubBillDeferralScheduleCreditApplyProject

Subscription billing deferral schedule credit apply

Records where a credit has been applied to a deferral schedule, linked to a project invoice item line. It mirrors the customer invoice version of this table but uses project invoice items. The key is the project invoice item record plus the deferral schedule number.

Table name
SubBillDeferralScheduleCreditApplyProject
Module
Subscription billing
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
DeferralScheduleWithProject
Replacement key
DeferralScheduleWithProject
Key fields
ProjInvoiceItemRecId, SubBillDeferralScheduleNumber
Model
SubscriptionBilling

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ProjInvoiceItemRecIdSystem record ID of the project invoice item line the credit relates to.Int64
RefRecId
YesProjInvoiceItem.RecIdNone
SubBillDeferralScheduleNumberNumber of the deferral schedule that the credit is applied to.String (20)
SubBillDeferralScheduleNumber
YesSubBillDeferralScheduleTable.SubBillDeferralScheduleNumberNone
AppliedAmountAmount of credit applied; the currency is not stated in the metadata.Real
AmountCur
NoNone
AppliedDateDate on which the credit was applied.Date
TransDate
NoNone
AppliedUserName of the user who applied the credit.String (60)
PersonName
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LineNumLine number of this application row.Real
LineNum
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
SubBillDeferralCreditScheduleNumberNumber of the deferral schedule that belongs to the credit document.String (20)
SubBillDeferralCreditScheduleNumber
NoSubBillDeferralScheduleTable.SubBillDeferralScheduleNumberNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • SubBillDeferralScheduleTable → SubBillDeferralScheduleTable

    Join on SubBillDeferralScheduleNumber = SubBillDeferralScheduleTable.SubBillDeferralScheduleNumber

    Many SubBillDeferralScheduleCreditApplyProject records → zero or one SubBillDeferralScheduleTable record

  • ProjInvoiceItem → ProjInvoiceItem

    Join on ProjInvoiceItemRecId = ProjInvoiceItem.RecId

    Many SubBillDeferralScheduleCreditApplyProject records → zero or one ProjInvoiceItem record

  • ScheduleApply → SubBillDeferralScheduleTable

    Join on SubBillDeferralCreditScheduleNumber = SubBillDeferralScheduleTable.SubBillDeferralScheduleNumber

    Many SubBillDeferralScheduleCreditApplyProject records → zero or one SubBillDeferralScheduleTable record

Get this data out

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

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

Email sales@drdynamics.co.uk