Codeunit "Purchases Info-Pane Management"

ID 7181
Namespace: Microsoft.Purchases.Document

Methods

CalcAvailability

procedure CalcAvailability(var PurchLine: Record "Purchase Line"): Decimal

Parameters

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

Returns

Type Description
Decimal

CalcNoOfPurchasePrices

procedure CalcNoOfPurchasePrices(var PurchLine: Record "Purchase Line"): Integer

Parameters

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

Returns

Type Description
Integer

CalcNoOfPurchLineDisc

procedure CalcNoOfPurchLineDisc(var PurchLine: Record "Purchase Line"): Integer

Parameters

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

Returns

Type Description
Integer

Events

OnBeforeCalcAvailability

[IntegrationEvent(False,False)]
local procedure OnBeforeCalcAvailability(var Item: Record Item, PurchaseLine: Record "Purchase Line", var AvailableQuantity: Decimal, var IsHandled: Boolean)

Parameters

Name Type Description
Item Table Microsoft.Inventory.Item.Item
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
AvailableQuantity Decimal
IsHandled Boolean

OnBeforeGetItemOnPurchasesInfoPaneManagement

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

Parameters

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

See also