Page "Purch. Invoice Subform"

ID 55
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(Invoice))

Methods

ApproveCalcInvDisc

procedure ApproveCalcInvDisc()

GetReceipt

procedure GetReceipt()

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()

UpdateEditableOnRow

procedure UpdateEditableOnRow()

RedistributeTotalsOnAfterValidate

procedure RedistributeTotalsOnAfterValidate()

ClearTotalPurchaseHeader

procedure ClearTotalPurchaseHeader()

CalculateTotals

procedure CalculateTotals()

DeltaUpdateTotals

procedure DeltaUpdateTotals()

ForceTotalsCalculation

procedure ForceTotalsCalculation()

UpdateTypeText

procedure UpdateTypeText()

SetItemChargeFieldsStyle

procedure SetItemChargeFieldsStyle()

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(False,False)]
local procedure OnAfterUpdateEditableOnRow(PurchaseLine: Record "Purchase Line", var IsCommentLine: Boolean, var IsBlankNumber: Boolean, var InvDiscAmountEditable: Boolean, CurrPageIsEditable: Boolean, TotalPurchaseHeader: Record "Purchase Header")

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsCommentLine Boolean
IsBlankNumber Boolean
InvDiscAmountEditable Boolean
CurrPageIsEditable Boolean
TotalPurchaseHeader Table Microsoft.Purchases.Document."Purchase Header"

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

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

OnBeforeDeleteRecord

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

Parameters

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

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

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"

OnBeforeValidateDescription

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

Parameters

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

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"

See also