Page "Purchase Quote Subform"

ID 97
Namespace: Microsoft.Purchases.Document

Properties

Name Value
AutoSplitKey True
Caption Lines
DelayedInsert True
LinksAllowed False
MultipleNewLines True
PageType ListPart
SourceTable Table Microsoft.Purchases.Document."Purchase Line"
SourceTableView where("Document Type" = filter(Quote))

Methods

ApproveCalcInvDisc

procedure ApproveCalcInvDisc()

InsertExtendedText

procedure InsertExtendedText(Unconditionally: Boolean)

Parameters

Name Type Description
Unconditionally Boolean

UpdateForm

procedure UpdateForm(SetSaveRecord: Boolean)

Parameters

Name Type Description
SetSaveRecord Boolean

NoOnAfterValidate

procedure NoOnAfterValidate()

RedistributeTotalsOnAfterValidate

procedure RedistributeTotalsOnAfterValidate()

ClearTotalPurchaseHeader

procedure ClearTotalPurchaseHeader()

CalculateTotals

procedure CalculateTotals()

DeltaUpdateTotals

procedure DeltaUpdateTotals()

ForceTotalsCalculation

procedure ForceTotalsCalculation()

UpdateEditableOnRow

procedure UpdateEditableOnRow()

UpdateTypeText

procedure UpdateTypeText()

Events

OnAfterNoOnAfterValidate

[IntegrationEvent(True,False)]
local procedure OnAfterNoOnAfterValidate(var PurchaseLine: Record "Purchase Line", var xPurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
xPurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

OnAfterUpdateEditableOnRow

[IntegrationEvent(True,False)]
local procedure OnAfterUpdateEditableOnRow(PurchaseLine: Record "Purchase Line", var IsCommentLine: Boolean, var IsBlankNumber: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsCommentLine Boolean
IsBlankNumber Boolean

OnAfterValidateShortcutDimCode

[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var PurchaseLine: Record "Purchase Line", var ShortcutDimCode: array[8] of Code[20], DimIndex: Integer)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ShortcutDimCode array[8] of Code[20]
DimIndex Integer

OnBeforeInsertExtendedText

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertExtendedText(var PurchaseLine: Record "Purchase Line", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsHandled Boolean

OnBeforeCheckSendLineInvoiceDiscountResetNotification

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckSendLineInvoiceDiscountResetNotification(var PurchaseLine: Record "Purchase Line", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsHandled Boolean

OnBeforeSetDefaultType

[IntegrationEvent(False,False)]
local procedure OnBeforeSetDefaultType(var PurchaseLine: Record "Purchase Line", var xPurchaseLine: Record "Purchase Line", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
xPurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsHandled Boolean

OnBeforeUpdateTypeText

[IntegrationEvent(False,False)]
local procedure OnBeforeUpdateTypeText(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

OnItemReferenceNoOnLookup

[IntegrationEvent(False,False)]
local procedure OnItemReferenceNoOnLookup(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

OnBeforeSetOpenPage

[IntegrationEvent(True,False)]
local procedure OnBeforeSetOpenPage()

OnAfterSetDimensionsVisibility

[IntegrationEvent(True,False)]
local procedure OnAfterSetDimensionsVisibility()

OnBeforeDeltaUpdateTotals

[IntegrationEvent(True,False)]
local procedure OnBeforeDeltaUpdateTotals(var PurchaseLine: Record "Purchase Line", xPurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
xPurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

OnBeforeDeleteReservationEntries

[IntegrationEvent(True,False)]
local procedure OnBeforeDeleteReservationEntries(var PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

See also