Page "Available - Purchase Lines"

ID 501
Namespace: Microsoft.Purchases.Document

Properties

Name Value
Caption Available - Purchase Lines
DataCaptionExpression CaptionText
DeleteAllowed False
Editable False
InsertAllowed False
LinksAllowed False
ModifyAllowed False
PageType List
Permissions TableData "Purchase Line" = rm
SourceTable Table Microsoft.Purchases.Document."Purchase Line"
SourceTableView sorting("Document Type", Type, "No.", "Variant Code", "Drop Shipment", "Location Code", "Expected Receipt Date")

Methods

SetSource

procedure SetSource(CurrentSourceRecRef: RecordRef, CurrentReservEntry: Record "Reservation Entry")

Parameters

Name Type Description
CurrentSourceRecRef RecordRef
CurrentReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

SetSource

procedure SetSource(CurrentSourceRecRef: RecordRef, CurrentReservEntry: Record "Reservation Entry", Direction: Enum "Transfer Direction")

Parameters

Name Type Description
CurrentSourceRecRef RecordRef
CurrentReservEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
Direction Enum Microsoft.Foundation.Enums."Transfer Direction"

SetCurrentSubType

procedure SetCurrentSubType(SubType: Option)

Parameters

Name Type Description
SubType Option

Events

OnAfterOpenPage

[IntegrationEvent(False,False)]
local procedure OnAfterOpenPage(var PurchaseLine: Record "Purchase Line", var ReservationEntry: Record "Reservation Entry", var ReservMgt: Codeunit "Reservation Management", var ReservEngineMgt: Codeunit "Reservation Engine Mgt.", var CaptionText: Text)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
ReservMgt Codeunit Microsoft.Inventory.Tracking."Reservation Management"
ReservEngineMgt Codeunit Microsoft.Inventory.Tracking."Reservation Engine Mgt."
CaptionText Text

OnAfterUpdateReservFrom

[IntegrationEvent(True,False)]
local procedure OnAfterUpdateReservFrom(var ReservationEntry: Record "Reservation Entry")

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

OnAfterUpdateReservMgt

[IntegrationEvent(True,False)]
local procedure OnAfterUpdateReservMgt(var ReservationEntry: Record "Reservation Entry")

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

OnBeforeFilterReservEntry

[IntegrationEvent(False,False)]
local procedure OnBeforeFilterReservEntry(var ReservationEntry: Record "Reservation Entry", Direction: Enum "Transfer Direction")

Parameters

Name Type Description
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
Direction Enum Microsoft.Foundation.Enums."Transfer Direction"

OnCreateReservationOnBeforeTestFields

[IntegrationEvent(False,False)]
local procedure OnCreateReservationOnBeforeTestFields(PurchaseLine: Record "Purchase Line", ReservationEntry: Record "Reservation Entry", var IsHandled: Boolean)

Parameters

Name Type Description
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
ReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"
IsHandled Boolean

See also