Table "Price List Header"

ID 7000
Namespace: Microsoft.Pricing.PriceList

Properties

Name Value
Caption Price List
DataClassification CustomerContent

Fields

Name Type Description
Code Code[20]
Description Text[250]
"Source Group" Enum Microsoft.Pricing.Source."Price Source Group"
"Source Type" Enum Microsoft.Pricing.Source."Price Source Type"
"Source No." Code[20]
"Parent Source No." Code[20]
"Source ID" Guid
"Price Type" Enum Microsoft.Pricing.PriceList."Price Type"
"Amount Type" Enum Microsoft.Pricing.PriceList."Price Amount Type"
"Currency Code" Code[10]
"Starting Date" Date
"Ending Date" Date
"Price Includes VAT" Boolean
"VAT Bus. Posting Gr. (Price)" Code[20]
"Allow Line Disc." Boolean
"Allow Invoice Disc." Boolean
"No. Series" Code[20]
Status Enum Microsoft.Pricing.PriceList."Price Status"
"Filter Source No." Code[20]
"Allow Updating Defaults" Boolean
"Assign-to No." Code[20]
"Assign-to Parent No." Code[20]
SystemId Guid
SystemCreatedAt DateTime
SystemCreatedBy Guid
SystemModifiedAt DateTime
SystemModifiedBy Guid
SystemRowVersion BigInteger

Methods

IsEditable

procedure IsEditable(): Boolean

Returns

Type Description
Boolean

IsCRMIntegrationAllowed

procedure IsCRMIntegrationAllowed(StatusActiveFilterApplied: Boolean, AllowUpdatingDefaultsFilterApplied: Boolean): Boolean

Parameters

Name Type Description
StatusActiveFilterApplied Boolean
AllowUpdatingDefaultsFilterApplied Boolean

Returns

Type Description
Boolean

AssistEditCode

procedure AssistEditCode(xPriceListHeader: Record "Price List Header"): Boolean

Parameters

Name Type Description
xPriceListHeader Table Microsoft.Pricing.PriceList."Price List Header"

Returns

Type Description
Boolean

BlankDefaults

procedure BlankDefaults()

CheckIfLinesExist

procedure CheckIfLinesExist(Caption: Text)

Parameters

Name Type Description
Caption Text

CopyFrom

procedure CopyFrom(PriceSource: Record "Price Source" temporary)

Parameters

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

CopyTo

procedure CopyTo(var PriceSource: Record "Price Source" temporary)

Parameters

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

IsSourceNoAllowed

procedure IsSourceNoAllowed(): Boolean

Returns

Type Description
Boolean

UpdateAmountType

procedure UpdateAmountType()

SyncDropDownLookupFields

procedure SyncDropDownLookupFields()

TestStatusDraft

procedure TestStatusDraft()

HasDraftLines

procedure HasDraftLines(): Boolean

Returns

Type Description
Boolean

HasDraftLines

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

Parameters

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

Returns

Type Description
Boolean

LookupSourceNo

procedure LookupSourceNo(): Boolean

Returns

Type Description
Boolean

Events

OnAfterBlankDefaults

[IntegrationEvent(False,False)]
local procedure OnAfterBlankDefaults(var PriceListHeader: Record "Price List Header")

Parameters

Name Type Description
PriceListHeader Table Microsoft.Pricing.PriceList."Price List Header"

OnAfterCopyFromPriceSource

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

Parameters

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

OnAfterCopyToPriceSource

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

Parameters

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

OnAfterGetNoSeries

[IntegrationEvent(False,False)]
local procedure OnAfterGetNoSeries(var PriceListHeader: Record "Price List Header", var Result: Code[20])

Parameters

Name Type Description
PriceListHeader Table Microsoft.Pricing.PriceList."Price List Header"
Result Code[20]

OnBeforeHasDraftLines

[IntegrationEvent(False,False)]
local procedure OnBeforeHasDraftLines(var PriceListLine: Record "Price List Line", var Result: Boolean, var IsHandled: Boolean, var PriceListHeader: Record "Price List Header")

Parameters

Name Type Description
PriceListLine Table Microsoft.Pricing.PriceList."Price List Line"
Result Boolean
IsHandled Boolean
PriceListHeader Table Microsoft.Pricing.PriceList."Price List Header"

OnBeforeUpdateStatus

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateStatus(var PriceListHeader: Record "Price List Header", var Updated: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
PriceListHeader Table Microsoft.Pricing.PriceList."Price List Header"
Updated Boolean
IsHandled Boolean

OnUpdateStatusOnBeforeConfirmStatus

[IntegrationEvent(False,False)]
local procedure OnUpdateStatusOnBeforeConfirmStatus(PriceListHeader: Record "Price List Header", Updated: Boolean, var Confirmed: Boolean, var IsHandled: Boolean)

Parameters

Name Type Description
PriceListHeader Table Microsoft.Pricing.PriceList."Price List Header"
Updated Boolean
Confirmed Boolean
IsHandled Boolean

OnUpdateDatesInLinesOnBeforePriceListLineModifyAllEndingDate

[IntegrationEvent(False,False)]
local procedure OnUpdateDatesInLinesOnBeforePriceListLineModifyAllEndingDate(var PriceListLine: Record "Price List Line", var PriceListHeader: Record "Price List Header")

Parameters

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

See also