Table of Contents

Table "Customer Subscription Contract"

ID 8052
Namespace: Microsoft.SubscriptionBilling

Properties

Name Value
Caption Customer Subscription Contract
DataClassification CustomerContent
DataCaptionFields 3,79
LookupPageId Page Microsoft.SubscriptionBilling."Customer Contracts"
DrillDownPageId Page Microsoft.SubscriptionBilling."Customer Contracts"

Fields

Name Type Description
"Sell-to Customer No." Code[20]
"No." Code[20]
"Bill-to Customer No." Code[20]
"Bill-to Name" Text[100]
"Bill-to Name 2" Text[50]
"Bill-to Address" Text[100]
"Bill-to Address 2" Text[50]
"Bill-to City" Text[30]
"Bill-to Contact" Text[100]
"Your Reference" Text[35]
"Ship-to Code" Code[10]
"Ship-to Name" Text[100]
"Ship-to Name 2" Text[50]
"Ship-to Address" Text[100]
"Ship-to Address 2" Text[50]
"Ship-to City" Text[30]
"Ship-to Contact" Text[100]
"Payment Terms Code" Code[10]
"Shortcut Dimension 1 Code" Code[20]
"Shortcut Dimension 2 Code" Code[20]
"Currency Code" Code[10]
DefaultExcludeFromPriceUpdate Boolean
"Customer Price Group" Code[10]
"Salesperson Code" Code[20]
"Sell-to Customer Name" Text[100]
"Sell-to Customer Name 2" Text[50]
"Sell-to Address" Text[100]
"Sell-to Address 2" Text[50]
"Sell-to City" Text[30]
"Sell-to Contact" Text[100]
"Bill-to Post Code" Code[20]
"Bill-to County" Text[30]
"Bill-to Country/Region Code" Code[10]
"Sell-to Post Code" Code[20]
"Sell-to County" Text[30]
"Sell-to Country/Region Code" Code[10]
"Ship-to Post Code" Code[20]
"Ship-to County" Text[30]
"Ship-to Country/Region Code" Code[10]
"Payment Method Code" Code[10]
"No. Series" Code[20]
"Sell-to Phone No." Text[30]
"Sell-to E-Mail" Text[80]
Description Blob
"Dimension Set ID" Integer
"Sell-to Contact No." Code[20]
"Bill-to Contact No." Code[20]
"Create Contract Deferrals" Boolean
"Without Contract Deferrals" Boolean
"Detail Overview" Enum Microsoft.SubscriptionBilling."Contract Detail Overview"
"Billing Rhythm Filter" DateFormula
"Dimension from Job No." Code[20]
"Billing Base Date" Date
"Default Billing Rhythm" DateFormula
"Next Billing From" Date
"Next Billing To" Date
"Contractor Name in coll. Inv." Boolean
"Recipient Name in coll. Inv." Boolean
"Assigned User ID" Code[50]
Active Boolean
"Contract Type" Code[10]
"Description Preview" Text[100]
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

ValidateShortcutDimCode

procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
FieldNumber Integer
ShortcutDimCode Code[20]

CreateCustomerContractLinesFromServiceCommitments

Creates customer subscription contract line from subscription line which are not already assigned to a customer subscription contract line.

procedure CreateCustomerContractLinesFromServiceCommitments(var TempServiceCommitment: Record "Subscription Line" temporary)

Parameters

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

Temporary VAR Record "Subscription Line".

CreateCustomerContractLineFromServiceCommitment

procedure CreateCustomerContractLineFromServiceCommitment(TempServiceCommitment: Record "Subscription Line" temporary; ContractNo: Code[20])

Parameters

Name Type Description
TempServiceCommitment Table Microsoft.SubscriptionBilling."Subscription Line"
ContractNo Code[20]

CreateCustomerContractLineFromServiceCommitment

procedure CreateCustomerContractLineFromServiceCommitment(var ServiceCommitment: Record "Subscription Line"; ContractNo: Code[20]; var CustomerContractLine: Record "Cust. Sub. Contract Line")

Parameters

Name Type Description
ServiceCommitment Table Microsoft.SubscriptionBilling."Subscription Line"
ContractNo Code[20]
CustomerContractLine Table Microsoft.SubscriptionBilling."Cust. Sub. Contract Line"

Events

OnAfterIsShipToAddressEqualToSellToAddress

[IntegrationEvent(False,False)]
local procedure OnAfterIsShipToAddressEqualToSellToAddress(SellToCustomerSubscriptionContract: Record "Customer Subscription Contract"; ShipToCustomerSubscriptionContract: Record "Customer Subscription Contract"; var Result: Boolean)

Parameters

Name Type Description
SellToCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
ShipToCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Result Boolean

OnAfterIsShipToAddressEqualToSubscriptionHeaderShipToAddress

[IntegrationEvent(False,False)]
local procedure OnAfterIsShipToAddressEqualToSubscriptionHeaderShipToAddress(CustomerSubscriptionContract: Record "Customer Subscription Contract"; SubscriptionHeader: Record "Subscription Header"; var Result: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
SubscriptionHeader Table Microsoft.SubscriptionBilling."Subscription Header"
Result Boolean

OnAfterGetSubscriptionContractSetup

[IntegrationEvent(False,False)]
local procedure OnAfterGetSubscriptionContractSetup(CustomerSubscriptionContract: Record "Customer Subscription Contract"; var SubscriptionContractSetup: Record "Subscription Contract Setup"; CalledByFieldNo: Integer)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
SubscriptionContractSetup Table Microsoft.SubscriptionBilling."Subscription Contract Setup"
CalledByFieldNo Integer

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; xCustomerSubscriptionContract: Record "Customer Subscription Contract"; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
xCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
FieldNumber Integer
ShortcutDimCode Code[20]

OnAfterSetFieldsBilltoCustomer

[IntegrationEvent(False,False)]
local procedure OnAfterSetFieldsBilltoCustomer(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Customer __MissingTypeSymbol__

OnAfterCopySellToAddressToShipToAddress

[IntegrationEvent(False,False)]
local procedure OnAfterCopySellToAddressToShipToAddress(var CustomerSubscriptionContract: Record "Customer Subscription Contract")

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"

OnAfterCopySellToAddressToBillToAddress

[IntegrationEvent(False,False)]
local procedure OnAfterCopySellToAddressToBillToAddress(var CustomerSubscriptionContract: Record "Customer Subscription Contract")

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"

OnAfterCopyShipToCustomerAddressFieldsFromCustomer

[IntegrationEvent(False,False)]
local procedure OnAfterCopyShipToCustomerAddressFieldsFromCustomer(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; SellToCustomer: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
SellToCustomer __MissingTypeSymbol__

OnAfterCopyShipToCustomerAddressFieldsFromShipToAddr

[IntegrationEvent(False,False)]
local procedure OnAfterCopyShipToCustomerAddressFieldsFromShipToAddr(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; ShipToAddress: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
ShipToAddress __MissingTypeSymbol__

OnAfterCopySellToCustomerAddressFieldsFromCustomer

[IntegrationEvent(False,False)]
local procedure OnAfterCopySellToCustomerAddressFieldsFromCustomer(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; SellToCustomer: __MissingTypeSymbol__; CurrentFieldNo: Integer)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
SellToCustomer __MissingTypeSymbol__
CurrentFieldNo Integer

OnBeforeAssistEdit

[IntegrationEvent(False,False)]
local procedure OnBeforeAssistEdit(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; OldCustomerSubscriptionContract: Record "Customer Subscription Contract"; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
OldCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
IsHandled Boolean

OnBeforeConfirmBillToContactNoChange

[IntegrationEvent(False,False)]
local procedure OnBeforeConfirmBillToContactNoChange(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; xCustomerSubscriptionContract: Record "Customer Subscription Contract"; CurrentFieldNo: Integer; var Confirmed: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
xCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
CurrentFieldNo Integer
Confirmed Boolean
IsHandled Boolean

OnBeforeConfirmSellToContactNoChange

[IntegrationEvent(False,False)]
local procedure OnBeforeConfirmSellToContactNoChange(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; xCustomerSubscriptionContract: Record "Customer Subscription Contract"; CurrentFieldNo: Integer; var Confirmed: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
xCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
CurrentFieldNo Integer
Confirmed Boolean
IsHandled Boolean

OnBeforeInitInsert

[IntegrationEvent(False,False)]
local procedure OnBeforeInitInsert(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; xCustomerSubscriptionContract: Record "Customer Subscription Contract"; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
xCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
IsHandled Boolean

OnBeforeCopyShipToCustomerAddressFieldsFromCustomer

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyShipToCustomerAddressFieldsFromCustomer(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Customer __MissingTypeSymbol__
IsHandled Boolean

OnBeforeCopyShipToCustomerAddressFieldsFromShipToAddr

[IntegrationEvent(False,False)]
local procedure OnBeforeCopyShipToCustomerAddressFieldsFromShipToAddr(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; ShipToAddress: __MissingTypeSymbol__; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
ShipToAddress __MissingTypeSymbol__
IsHandled Boolean

OnBeforeCreateDim

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateDim(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
IsHandled Boolean

OnBeforeLookupBillToPostCode

[IntegrationEvent(False,False)]
local procedure OnBeforeLookupBillToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
PostCodeRec __MissingTypeSymbol__

OnBeforeLookupSellToPostCode

[IntegrationEvent(False,False)]
local procedure OnBeforeLookupSellToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
PostCodeRec __MissingTypeSymbol__

OnBeforeLookupShipToPostCode

[IntegrationEvent(False,False)]
local procedure OnBeforeLookupShipToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
PostCodeRec __MissingTypeSymbol__

OnBeforeValidateBillToPostCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateBillToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
PostCodeRec __MissingTypeSymbol__

OnBeforeValidateSellToPostCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateSellToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
PostCodeRec __MissingTypeSymbol__

OnBeforeValidateShipToPostCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShipToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
PostCodeRec __MissingTypeSymbol__

OnBeforeUpdateSellToCust

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateSellToCust(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Contact: __MissingTypeSymbol__; Customer: __MissingTypeSymbol__; ContactNo: Code[20])

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Contact __MissingTypeSymbol__
Customer __MissingTypeSymbol__
ContactNo Code[20]

OnCreateDimOnBeforeModify

[IntegrationEvent(False,False)]
local procedure OnCreateDimOnBeforeModify(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; xCustomerSubscriptionContract: Record "Customer Subscription Contract"; CurrentFieldNo: Integer)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
xCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
CurrentFieldNo Integer

OnInitFromContactOnAfterInitNoSeries

[IntegrationEvent(False,False)]
local procedure OnInitFromContactOnAfterInitNoSeries(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; var xCustomerSubscriptionContract: Record "Customer Subscription Contract")

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
xCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"

OnValidateSellToCustomerNoAfterInit

[IntegrationEvent(False,False)]
local procedure OnValidateSellToCustomerNoAfterInit(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; var xCustomerSubscriptionContract: Record "Customer Subscription Contract")

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
xCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"

OnAfterUpdateBillToCont

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateBillToCont(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__; Contact: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Customer __MissingTypeSymbol__
Contact __MissingTypeSymbol__

OnAfterUpdateBillToCust

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateBillToCust(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Contact: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Contact __MissingTypeSymbol__

OnAfterUpdateSellToCont

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateSellToCont(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__; Contact: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Customer __MissingTypeSymbol__
Contact __MissingTypeSymbol__

OnAfterUpdateSellToCust

[IntegrationEvent(False,False)]
local procedure OnAfterUpdateSellToCust(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Contact: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Contact __MissingTypeSymbol__

OnBeforeValidateBillToCustomerName

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateBillToCustomerName(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Customer __MissingTypeSymbol__

OnBeforeValidateSellToCustomerName

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateSellToCustomerName(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Customer __MissingTypeSymbol__

OnBeforeValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; xCustomerSubscriptionContract: Record "Customer Subscription Contract"; FieldNumber: Integer; var ShortcutDimCode: Code[20])

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
xCustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
FieldNumber Integer
ShortcutDimCode Code[20]

OnUpdateBillToCustOnBeforeContactIsNotRelatedToAnyCustomerErr

[IntegrationEvent(False,False)]
local procedure OnUpdateBillToCustOnBeforeContactIsNotRelatedToAnyCustomerErr(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Contact: __MissingTypeSymbol__; ContactBusinessRelation: __MissingTypeSymbol__; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Contact __MissingTypeSymbol__
ContactBusinessRelation __MissingTypeSymbol__
IsHandled Boolean

OnUpdateBillToCustOnBeforeFindContactBusinessRelation

[IntegrationEvent(False,False)]
local procedure OnUpdateBillToCustOnBeforeFindContactBusinessRelation(Contact: __MissingTypeSymbol__; ContBusinessRelation: __MissingTypeSymbol__; var ContactBusinessRelationFound: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
Contact __MissingTypeSymbol__
ContBusinessRelation __MissingTypeSymbol__
ContactBusinessRelationFound Boolean
IsHandled Boolean

OnUpdateSellToCustOnBeforeContactIsNotRelatedToAnyCustomerErr

[IntegrationEvent(False,False)]
local procedure OnUpdateSellToCustOnBeforeContactIsNotRelatedToAnyCustomerErr(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Contact: __MissingTypeSymbol__; ContactBusinessRelation: __MissingTypeSymbol__; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Contact __MissingTypeSymbol__
ContactBusinessRelation __MissingTypeSymbol__
IsHandled Boolean

OnUpdateSellToCustOnBeforeFindContactBusinessRelation

[IntegrationEvent(False,False)]
local procedure OnUpdateSellToCustOnBeforeFindContactBusinessRelation(Cont: __MissingTypeSymbol__; ContBusinessRelation: __MissingTypeSymbol__; var ContactBusinessRelationFound: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
Cont __MissingTypeSymbol__
ContBusinessRelation __MissingTypeSymbol__
ContactBusinessRelationFound Boolean
IsHandled Boolean

OnValidateBillToCustomerNoOnAfterConfirmed

[IntegrationEvent(False,False)]
local procedure OnValidateBillToCustomerNoOnAfterConfirmed(var CustomerSubscriptionContract: Record "Customer Subscription Contract")

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"

OnBeforeUpdateBillToCust

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateBillToCust(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; ContactNo: Code[20]; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
ContactNo Code[20]
IsHandled Boolean

OnBeforeCheckContactRelatedToCustomerCompany

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckContactRelatedToCustomerCompany(CustomerSubscriptionContract: Record "Customer Subscription Contract"; CurrFieldNo: Integer; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
CurrFieldNo Integer
IsHandled Boolean

OnBeforeCreateCustomerContractLineFromSubscriptionLine

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateCustomerContractLineFromSubscriptionLine(var SubscriptionLine: Record "Subscription Line"; ContractNo: Code[20]; var CustSubContractLine: Record "Cust. Sub. Contract Line")

Parameters

Name Type Description
SubscriptionLine Table Microsoft.SubscriptionBilling."Subscription Line"
ContractNo Code[20]
CustSubContractLine Table Microsoft.SubscriptionBilling."Cust. Sub. Contract Line"

OnAfterCreateCustomerContractLineFromSubscriptionLine

[IntegrationEvent(False,False)]
local procedure OnAfterCreateCustomerContractLineFromSubscriptionLine(SubscriptionLine: Record "Subscription Line"; var CustSubContractLine: Record "Cust. Sub. Contract Line")

Parameters

Name Type Description
SubscriptionLine Table Microsoft.SubscriptionBilling."Subscription Line"
CustSubContractLine Table Microsoft.SubscriptionBilling."Cust. Sub. Contract Line"

OnBeforeModifySubscriptionLineOnCreateCustomerContractLineFromSubscriptionLine

[IntegrationEvent(False,False)]
local procedure OnBeforeModifySubscriptionLineOnCreateCustomerContractLineFromSubscriptionLine(var SubscriptionLine: Record "Subscription Line"; CustSubContractLine: Record "Cust. Sub. Contract Line")

Parameters

Name Type Description
SubscriptionLine Table Microsoft.SubscriptionBilling."Subscription Line"
CustSubContractLine Table Microsoft.SubscriptionBilling."Cust. Sub. Contract Line"

OnAfterCreateDimDimSource

[IntegrationEvent(False,False)]
local procedure OnAfterCreateDimDimSource(CustomerSubscriptionContract: Record "Customer Subscription Contract"; CurrFieldNo: Integer; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
CurrFieldNo Integer
DefaultDimSource List of [Dictionary of [Integer, Code[20]]]

OnAfterUpdateHarmonizedBillingFields

[IntegrationEvent(True,False)]
local procedure OnAfterUpdateHarmonizedBillingFields(var CustomerSubscriptionContract: Record "Customer Subscription Contract")

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"

OnBeforeUpdateAllLineDim

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateAllLineDim(var CustomerContract: Record "Customer Subscription Contract"; NewParentDimSetID: Integer; OldParentDimSetID: Integer; var IsHandled: Boolean; xCustomerContract: Record "Customer Subscription Contract")

Parameters

Name Type Description
CustomerContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
NewParentDimSetID Integer
OldParentDimSetID Integer
IsHandled Boolean
xCustomerContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"

OnBeforeConfirmUpdateAllLineDim

[IntegrationEvent(False,False)]
local procedure OnBeforeConfirmUpdateAllLineDim(var CustomerContract: Record "Customer Subscription Contract"; xCustomerContract: Record "Customer Subscription Contract"; var Confirmed: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
CustomerContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
xCustomerContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
Confirmed Boolean
IsHandled Boolean

OnBeforeCreateCustomerContractLineFromTempSubscriptionLine

[IntegrationEvent(False,False)]
local procedure OnBeforeCreateCustomerContractLineFromTempSubscriptionLine(var TempSubscriptionLine: Record "Subscription Line" temporary; CustomerSubscriptionContract: Record "Customer Subscription Contract"; var IsHandled: Boolean)

Parameters

Name Type Description
TempSubscriptionLine Table Microsoft.SubscriptionBilling."Subscription Line"
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
IsHandled Boolean

OnBeforeUpdateServicesDates

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateServicesDates(CustomerSubscriptionContract: Record "Customer Subscription Contract"; var CustSubContractLine: Record "Cust. Sub. Contract Line")

Parameters

Name Type Description
CustomerSubscriptionContract Table Microsoft.SubscriptionBilling."Customer Subscription Contract"
CustSubContractLine Table Microsoft.SubscriptionBilling."Cust. Sub. Contract Line"

See also