Table "Customer Subscription Contract"
ID 8052
Namespace: Microsoft.SubscriptionBilling
Properties
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
CreateCustomerContractLineFromServiceCommitment
procedure CreateCustomerContractLineFromServiceCommitment(TempServiceCommitment: Record "Subscription Line" temporary; ContractNo: Code[20])
Parameters
CreateCustomerContractLineFromServiceCommitment
procedure CreateCustomerContractLineFromServiceCommitment(var ServiceCommitment: Record "Subscription Line"; ContractNo: Code[20]; var CustomerContractLine: Record "Cust. Sub. Contract Line")
Parameters
Events
OnAfterIsShipToAddressEqualToSellToAddress
[IntegrationEvent(False,False)]
local procedure OnAfterIsShipToAddressEqualToSellToAddress(SellToCustomerSubscriptionContract: Record "Customer Subscription Contract"; ShipToCustomerSubscriptionContract: Record "Customer Subscription Contract"; var Result: Boolean)
Parameters
OnAfterIsShipToAddressEqualToSubscriptionHeaderShipToAddress
[IntegrationEvent(False,False)]
local procedure OnAfterIsShipToAddressEqualToSubscriptionHeaderShipToAddress(CustomerSubscriptionContract: Record "Customer Subscription Contract"; SubscriptionHeader: Record "Subscription Header"; var Result: Boolean)
Parameters
OnAfterGetSubscriptionContractSetup
[IntegrationEvent(False,False)]
local procedure OnAfterGetSubscriptionContractSetup(CustomerSubscriptionContract: Record "Customer Subscription Contract"; var SubscriptionContractSetup: Record "Subscription Contract Setup"; CalledByFieldNo: Integer)
Parameters
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
OnAfterSetFieldsBilltoCustomer
[IntegrationEvent(False,False)]
local procedure OnAfterSetFieldsBilltoCustomer(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__)
Parameters
OnAfterCopySellToAddressToShipToAddress
[IntegrationEvent(False,False)]
local procedure OnAfterCopySellToAddressToShipToAddress(var CustomerSubscriptionContract: Record "Customer Subscription Contract")
Parameters
OnAfterCopySellToAddressToBillToAddress
[IntegrationEvent(False,False)]
local procedure OnAfterCopySellToAddressToBillToAddress(var CustomerSubscriptionContract: Record "Customer Subscription Contract")
Parameters
OnAfterCopyShipToCustomerAddressFieldsFromCustomer
[IntegrationEvent(False,False)]
local procedure OnAfterCopyShipToCustomerAddressFieldsFromCustomer(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; SellToCustomer: __MissingTypeSymbol__)
Parameters
OnAfterCopyShipToCustomerAddressFieldsFromShipToAddr
[IntegrationEvent(False,False)]
local procedure OnAfterCopyShipToCustomerAddressFieldsFromShipToAddr(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; ShipToAddress: __MissingTypeSymbol__)
Parameters
OnAfterCopySellToCustomerAddressFieldsFromCustomer
[IntegrationEvent(False,False)]
local procedure OnAfterCopySellToCustomerAddressFieldsFromCustomer(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; SellToCustomer: __MissingTypeSymbol__; CurrentFieldNo: Integer)
Parameters
OnBeforeAssistEdit
[IntegrationEvent(False,False)]
local procedure OnBeforeAssistEdit(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; OldCustomerSubscriptionContract: Record "Customer Subscription Contract"; var IsHandled: Boolean)
Parameters
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
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
OnBeforeInitInsert
[IntegrationEvent(False,False)]
local procedure OnBeforeInitInsert(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; xCustomerSubscriptionContract: Record "Customer Subscription Contract"; var IsHandled: Boolean)
Parameters
OnBeforeCopyShipToCustomerAddressFieldsFromCustomer
[IntegrationEvent(False,False)]
local procedure OnBeforeCopyShipToCustomerAddressFieldsFromCustomer(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__; var IsHandled: Boolean)
Parameters
OnBeforeCopyShipToCustomerAddressFieldsFromShipToAddr
[IntegrationEvent(False,False)]
local procedure OnBeforeCopyShipToCustomerAddressFieldsFromShipToAddr(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; ShipToAddress: __MissingTypeSymbol__; var IsHandled: Boolean)
Parameters
OnBeforeCreateDim
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateDim(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; var IsHandled: Boolean)
Parameters
OnBeforeLookupBillToPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeLookupBillToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)
Parameters
OnBeforeLookupSellToPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeLookupSellToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)
Parameters
OnBeforeLookupShipToPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeLookupShipToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)
Parameters
OnBeforeValidateBillToPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateBillToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)
Parameters
OnBeforeValidateSellToPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateSellToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)
Parameters
OnBeforeValidateShipToPostCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShipToPostCode(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; PostCodeRec: __MissingTypeSymbol__)
Parameters
OnBeforeUpdateSellToCust
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateSellToCust(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Contact: __MissingTypeSymbol__; Customer: __MissingTypeSymbol__; ContactNo: Code[20])
Parameters
OnCreateDimOnBeforeModify
[IntegrationEvent(False,False)]
local procedure OnCreateDimOnBeforeModify(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; xCustomerSubscriptionContract: Record "Customer Subscription Contract"; CurrentFieldNo: Integer)
Parameters
OnInitFromContactOnAfterInitNoSeries
[IntegrationEvent(False,False)]
local procedure OnInitFromContactOnAfterInitNoSeries(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; var xCustomerSubscriptionContract: Record "Customer Subscription Contract")
Parameters
OnValidateSellToCustomerNoAfterInit
[IntegrationEvent(False,False)]
local procedure OnValidateSellToCustomerNoAfterInit(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; var xCustomerSubscriptionContract: Record "Customer Subscription Contract")
Parameters
OnAfterUpdateBillToCont
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateBillToCont(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__; Contact: __MissingTypeSymbol__)
Parameters
OnAfterUpdateBillToCust
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateBillToCust(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Contact: __MissingTypeSymbol__)
Parameters
OnAfterUpdateSellToCont
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateSellToCont(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__; Contact: __MissingTypeSymbol__)
Parameters
OnAfterUpdateSellToCust
[IntegrationEvent(False,False)]
local procedure OnAfterUpdateSellToCust(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Contact: __MissingTypeSymbol__)
Parameters
OnBeforeValidateBillToCustomerName
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateBillToCustomerName(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__)
Parameters
OnBeforeValidateSellToCustomerName
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateSellToCustomerName(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Customer: __MissingTypeSymbol__)
Parameters
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
OnUpdateBillToCustOnBeforeContactIsNotRelatedToAnyCustomerErr
[IntegrationEvent(False,False)]
local procedure OnUpdateBillToCustOnBeforeContactIsNotRelatedToAnyCustomerErr(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; Contact: __MissingTypeSymbol__; ContactBusinessRelation: __MissingTypeSymbol__; var IsHandled: Boolean)
Parameters
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
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
OnBeforeUpdateBillToCust
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateBillToCust(var CustomerSubscriptionContract: Record "Customer Subscription Contract"; ContactNo: Code[20]; var IsHandled: Boolean)
Parameters
OnBeforeCheckContactRelatedToCustomerCompany
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckContactRelatedToCustomerCompany(CustomerSubscriptionContract: Record "Customer Subscription Contract"; CurrFieldNo: Integer; var IsHandled: Boolean)
Parameters
OnBeforeCreateCustomerContractLineFromSubscriptionLine
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateCustomerContractLineFromSubscriptionLine(var SubscriptionLine: Record "Subscription Line"; ContractNo: Code[20]; var CustSubContractLine: Record "Cust. Sub. Contract Line")
Parameters
OnAfterCreateCustomerContractLineFromSubscriptionLine
[IntegrationEvent(False,False)]
local procedure OnAfterCreateCustomerContractLineFromSubscriptionLine(SubscriptionLine: Record "Subscription Line"; var CustSubContractLine: Record "Cust. Sub. Contract Line")
Parameters
OnBeforeModifySubscriptionLineOnCreateCustomerContractLineFromSubscriptionLine
[IntegrationEvent(False,False)]
local procedure OnBeforeModifySubscriptionLineOnCreateCustomerContractLineFromSubscriptionLine(var SubscriptionLine: Record "Subscription Line"; CustSubContractLine: Record "Cust. Sub. Contract Line")
Parameters
OnAfterCreateDimDimSource
[IntegrationEvent(False,False)]
local procedure OnAfterCreateDimDimSource(CustomerSubscriptionContract: Record "Customer Subscription Contract"; CurrFieldNo: Integer; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
OnAfterUpdateHarmonizedBillingFields
[IntegrationEvent(True,False)]
local procedure OnAfterUpdateHarmonizedBillingFields(var CustomerSubscriptionContract: Record "Customer Subscription Contract")
Parameters
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
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
OnBeforeCreateCustomerContractLineFromTempSubscriptionLine
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateCustomerContractLineFromTempSubscriptionLine(var TempSubscriptionLine: Record "Subscription Line" temporary; CustomerSubscriptionContract: Record "Customer Subscription Contract"; var IsHandled: Boolean)
Parameters
OnBeforeUpdateServicesDates
[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateServicesDates(CustomerSubscriptionContract: Record "Customer Subscription Contract"; var CustSubContractLine: Record "Cust. Sub. Contract Line")
Parameters
See also