Codeunit "Purchase Line Invt. Profile"

ID 99000864
Namespace: Microsoft.Purchases.Document

Methods

TransferInventoryProfileFromPurchaseLine

procedure TransferInventoryProfileFromPurchaseLine(var InventoryProfile: Record "Inventory Profile", var PurchaseLine: Record "Purchase Line", var TrackingReservationEntry: Record "Reservation Entry")

Parameters

Name Type Description
InventoryProfile Table Microsoft.Inventory.Tracking."Inventory Profile"
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"
TrackingReservationEntry Table Microsoft.Inventory.Tracking."Reservation Entry"

Events

OnAfterTransferInventoryProfileFromPurchaseLine

[IntegrationEvent(False,False)]
local procedure OnAfterTransferInventoryProfileFromPurchaseLine(var InventoryProfile: Record "Inventory Profile", PurchaseLine: Record "Purchase Line")

Parameters

Name Type Description
InventoryProfile Table Microsoft.Inventory.Tracking."Inventory Profile"
PurchaseLine Table Microsoft.Purchases.Document."Purchase Line"

OnBeforeTransPurchLineToProfile

[IntegrationEvent(False,False)]
local procedure OnBeforeTransPurchLineToProfile(var InventoryProfile: Record "Inventory Profile", var Item: Record Item, ToDate: Date)

Parameters

Name Type Description
InventoryProfile Table Microsoft.Inventory.Tracking."Inventory Profile"
Item Table Microsoft.Inventory.Item.Item
ToDate Date

OnBeforeCheckInsertPurchLineToProfile

[IntegrationEvent(False,False)]
local procedure OnBeforeCheckInsertPurchLineToProfile(var InventoryProfile: Record "Inventory Profile", var PurchLine: Record "Purchase Line", ToDate: Date, var IsHandled: Boolean)

Parameters

Name Type Description
InventoryProfile Table Microsoft.Inventory.Tracking."Inventory Profile"
PurchLine Table Microsoft.Purchases.Document."Purchase Line"
ToDate Date
IsHandled Boolean

See also