Page "Purch. Cr. Memo Subform"

ID 98
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("Credit Memo"))

Methods

ApproveCalcInvDisc

procedure ApproveCalcInvDisc()

CalcInvDisc

procedure CalcInvDisc()

ExplodeBOM

procedure ExplodeBOM()

GetReturnShipment

procedure GetReturnShipment()

InsertExtendedText

procedure InsertExtendedText(Unconditionally: Boolean)

Parameters

Name Type Description
Unconditionally Boolean

UpdateForm

procedure UpdateForm(SetSaveRecord: Boolean)

Parameters

Name Type Description
SetSaveRecord Boolean

SetUpdateAllowed

procedure SetUpdateAllowed(UpdateAllowed: Boolean)

Parameters

Name Type Description
UpdateAllowed Boolean

UpdateAllowed

procedure UpdateAllowed(): Boolean

Returns

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

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
IsCommentLine Boolean
IsBlankNumber Boolean
InvDiscAmountEditable Boolean
CurrPageIsEditable Boolean
PurchasesPayablesSetup Table Microsoft.Purchases.Setup."Purchases & Payables Setup"
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

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