Share via


Table "Price Source"

ID 7005
Namespace: Microsoft.Pricing.Source

Properties

Name Value
TableType Temporary
DataClassification CustomerContent

Fields

Name Type Description
"Source Type" Enum Microsoft.Pricing.Source."Price Source Type"
"Source ID" Guid
"Source No." Code[20]
"Parent Source No." Code[20]
"Entry No." Integer
Level Integer
"Source Group" Enum Microsoft.Pricing.Source."Price Source Group"
"Price Type" Enum Microsoft.Pricing.PriceList."Price Type"
"Currency Code" Code[10]
"Starting Date" Date
"Ending Date" Date
"Filter Source No." Code[20]
"Allow Line Disc." Boolean
"Allow Invoice Disc." Boolean
"Price Includes VAT" Boolean
"VAT Bus. Posting Gr. (Price)" Code[20]
Description Text[100]
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

NewEntry

procedure NewEntry(SourceType: Enum "Price Source Type", NewLevel: Integer)

Parameters

Name Type Description
SourceType Enum Microsoft.Pricing.Source."Price Source Type"
NewLevel Integer

GetDefaultAmountType

procedure GetDefaultAmountType(): Enum "Price Amount Type"

Returns

Type Description
Enum Microsoft.Pricing.PriceList."Price Amount Type"

InitSource

procedure InitSource()

GetGroupNo

procedure GetGroupNo(): Code[20]

Returns

Type Description
Code[20]

GetParentSourceType

procedure GetParentSourceType(): Enum "Price Source Type"

Returns

Type Description
Enum Microsoft.Pricing.Source."Price Source Type"

IsForAmountType

procedure IsForAmountType(AmountType: Enum "Price Amount Type"): Boolean

Parameters

Name Type Description
AmountType Enum Microsoft.Pricing.PriceList."Price Amount Type"

Returns

Type Description
Boolean

IsParentSourceAllowed

procedure IsParentSourceAllowed(): Boolean

Returns

Type Description
Boolean

IsSourceNoAllowed

procedure IsSourceNoAllowed(): Boolean

Returns

Type Description
Boolean

LookupNo

procedure LookupNo(): Boolean

Returns

Type Description
Boolean

FilterPriceLines

procedure FilterPriceLines(var PriceListLine: Record "Price List Line"): Boolean

Parameters

Name Type Description
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

Returns

Type Description
Boolean

VerifyAmountTypeForSourceType

procedure VerifyAmountTypeForSourceType(AmountType: Enum "Price Amount Type")

Parameters

Name Type Description
AmountType Enum Microsoft.Pricing.PriceList."Price Amount Type"

Events

OnBeforeVerifyAmountTypeForSourceType

[IntegrationEvent(False,False)]
local procedure OnBeforeVerifyAmountTypeForSourceType(PriceSource: Record "Price Source" temporary, AmountType: Enum "Price Amount Type", var IsHandled: Boolean)

Parameters

Name Type Description
PriceSource Table Microsoft.Pricing.Source."Price Source"
AmountType Enum Microsoft.Pricing.PriceList."Price Amount Type"
IsHandled Boolean

OnGetParentSourceType

[IntegrationEvent(False,False)]
local procedure OnGetParentSourceType(PriceSource: Record "Price Source" temporary, var ParentSourceType: Enum "Price Source Type")

Parameters

Name Type Description
PriceSource Table Microsoft.Pricing.Source."Price Source"
ParentSourceType Enum Microsoft.Pricing.Source."Price Source Type"

OnAfterInitSource

[IntegrationEvent(False,False)]
local procedure OnAfterInitSource(var PriceSource: Record "Price Source" temporary)

Parameters

Name Type Description
PriceSource Table Microsoft.Pricing.Source."Price Source"

OnBeforeGetDefaultAmountType

[IntegrationEvent(False,False)]
local procedure OnBeforeGetDefaultAmountType(PriceSource: Record "Price Source" temporary, var AmountType: Enum "Price Amount Type", var IsHandled: Boolean)

Parameters

Name Type Description
PriceSource Table Microsoft.Pricing.Source."Price Source"
AmountType Enum Microsoft.Pricing.PriceList."Price Amount Type"
IsHandled Boolean

OnBeforePriceSourceInterfaceVerifyDate

[IntegrationEvent(False,False)]
local procedure OnBeforePriceSourceInterfaceVerifyDate(PriceSource: Record "Price Source" temporary, var IsHandled: Boolean)

Parameters

Name Type Description
PriceSource Table Microsoft.Pricing.Source."Price Source"
IsHandled Boolean

OnAfterFilterPriceLines

[IntegrationEvent(False,False)]
local procedure OnAfterFilterPriceLines(PriceSource: Record "Price Source" temporary, var PriceListLine: Record "Price List Line")

Parameters

Name Type Description
PriceSource Table Microsoft.Pricing.Source."Price Source"
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"

See also