Table of Contents

Table "Billing Line"

ID 8061
Namespace: Microsoft.SubscriptionBilling

Properties

Name Value
DataClassification CustomerContent
LookupPageId Page Microsoft.SubscriptionBilling."Billing Lines"
DrillDownPageId Page Microsoft.SubscriptionBilling."Billing Lines"
Caption Billing Line

Fields

Name Type Description
"Entry No." Integer
"User ID" Code[50]
"Partner No." Code[20]
"Subscription Contract No." Code[20]
"Subscription Contract Line No." Integer
"Subscription Header No." Code[20]
"Subscription Line Entry No." Integer
"Subscription Description" Text[100]
"Subscription Line Description" Text[100]
"Subscription Line Start Date" Date
"Subscription Line End Date" Date
Partner Enum Microsoft.SubscriptionBilling."Service Partner"
Discount Boolean
"Service Object Quantity" Decimal
"Billing from" Date
"Billing to" Date
Amount Decimal
"Billing Rhythm" DateFormula
"Update Required" Boolean
"Document Type" Enum Microsoft.SubscriptionBilling."Rec. Billing Document Type"
"Document No." Code[20]
"Unit Price" Decimal
"Discount %" Decimal
"Correction Document Type" Enum Microsoft.SubscriptionBilling."Rec. Billing Document Type"
"Correction Document No." Code[20]
"Document Line No." Integer
"Billing Reference Date Changed" Boolean

Specifies whether the billing period has been adjusted manually. This is taken into account by the period calculation and may have an effect on the creation of future billing proposals.

"Billing Error Log Entry No." Integer

Specifies the entry number of the related billing error log, if any.

"Billing Template Code" Code[20]
"Currency Code" Code[20]
"Unit Cost" Decimal
"Unit Cost (LCY)" Decimal
Indent Integer
"Detail Overview" Enum Microsoft.SubscriptionBilling."Contract Detail Overview"
Rebilling Boolean
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

ResetServiceCommitmentNextBillingDate

procedure ResetServiceCommitmentNextBillingDate()

GetSalesDocumentTypeFromBillingDocumentType

procedure GetSalesDocumentTypeFromBillingDocumentType()

GetPurchaseDocumentTypeFromBillingDocumentType

procedure GetPurchaseDocumentTypeFromBillingDocumentType()

GetBillingDocumentTypeFromSalesDocumentType

procedure GetBillingDocumentTypeFromSalesDocumentType(SalesDocumentType: __MissingTypeSymbol__): Enum "Rec. Billing Document Type"

Parameters

Name Type Description
SalesDocumentType __MissingTypeSymbol__

Returns

Type Description
Enum Microsoft.SubscriptionBilling."Rec. Billing Document Type"

GetBillingDocumentTypeFromPurchaseDocumentType

procedure GetBillingDocumentTypeFromPurchaseDocumentType(PurchaseDocumentType: __MissingTypeSymbol__): Enum "Rec. Billing Document Type"

Parameters

Name Type Description
PurchaseDocumentType __MissingTypeSymbol__

Returns

Type Description
Enum Microsoft.SubscriptionBilling."Rec. Billing Document Type"

FilterBillingLineOnContract

procedure FilterBillingLineOnContract(ServicePartner: Enum "Service Partner"; ContractNo: Code[20])

Parameters

Name Type Description
ServicePartner Enum Microsoft.SubscriptionBilling."Service Partner"
ContractNo Code[20]

FilterBillingLineOnContractLine

procedure FilterBillingLineOnContractLine(ServicePartner: Enum "Service Partner"; ContractNo: Code[20]; ContractLineNo: Integer)

Parameters

Name Type Description
ServicePartner Enum Microsoft.SubscriptionBilling."Service Partner"
ContractNo Code[20]
ContractLineNo Integer

IsPartnerVendor

procedure IsPartnerVendor(): Boolean

Returns

Type Description
Boolean

FilterBillingLineOnDocumentLine

procedure FilterBillingLineOnDocumentLine(DocumentType: Enum "Rec. Billing Document Type"; DocumentNo: Code[20]; DocumentLineNo: Integer)

Parameters

Name Type Description
DocumentType Enum Microsoft.SubscriptionBilling."Rec. Billing Document Type"
DocumentNo Code[20]
DocumentLineNo Integer

Events

OnBeforeUpdateNextBillingDateInResetSubscriptionLineNextBillingDate

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateNextBillingDateInResetSubscriptionLineNextBillingDate(var SubscriptionLine: Record "Subscription Line")

Parameters

Name Type Description
SubscriptionLine Table Microsoft.SubscriptionBilling."Subscription Line"

OnBeforeOpenSalesDocumentCard

[IntegrationEvent(False,False)]
local procedure OnBeforeOpenSalesDocumentCard(BillingLine: Record "Billing Line"; var IsHandled: Boolean)

Parameters

Name Type Description
BillingLine Table Microsoft.SubscriptionBilling."Billing Line"
IsHandled Boolean

See also