KVSFCYWhsePurchDelScheduleLib#
Events#
OnInitSourceDocLinesWhsePostRcptOnBeforeModifyPurchaseLine(Record Purchase Line, Record KVSFCYActPurchDelSchedEntry) :#
Summary: This event is triggered before modifying a new Purchase Line that is inserted by posting a Warehouse Receipt
[IntegrationEvent(false, false)]
local procedure OnInitSourceDocLinesWhsePostRcptOnBeforeModifyPurchaseLine(var PurchaseLineLoc: Record "Purchase Line"; ActPurchDelSchedEntryLoc: Record "KVSFCYActPurchDelSchedEntry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYWhsePurchDelScheduleLib", 'OnInitSourceDocLinesWhsePostRcptOnBeforeModifyPurchaseLine', '', false, false)]
local procedure DoSomethingOnInitSourceDocLinesWhsePostRcptOnBeforeModifyPurchaseLine(var PurchaseLineLoc: Record "Purchase Line"; ActPurchDelSchedEntryLoc: Record "KVSFCYActPurchDelSchedEntry")
begin
end;
Parameters:
PurchaseLineLoc
: The Purchase Line that will be modifiedActPurchDelSchedEntryLoc
: The related Active Purchase Delivery Schedule Entry
OnCreateWhseRqstLinesForPurchDelSchedOnBeforeInsertWarehouseRequestLine(Record KVSKBAWarehouseRequestLine, Record Warehouse Request, Record KVSFCYPurchDelSchedLineBuffer) :#
Summary: This event is triggered before inserting the Warehouse Request Line for a Purchase Delivery Schedule Line Buffer
[IntegrationEvent(false, false)]
local procedure OnCreateWhseRqstLinesForPurchDelSchedOnBeforeInsertWarehouseRequestLine(var LocalKVSKBAWarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; whseRqstPar: Record "Warehouse Request"; var TempPurchDelSchedLineBufferVar: Record "KVSFCYPurchDelSchedLineBuffer" temporary):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYWhsePurchDelScheduleLib", 'OnCreateWhseRqstLinesForPurchDelSchedOnBeforeInsertWarehouseRequestLine', '', false, false)]
local procedure DoSomethingOnCreateWhseRqstLinesForPurchDelSchedOnBeforeInsertWarehouseRequestLine(var LocalKVSKBAWarehouseRequestLine: Record "KVSKBAWarehouseRequestLine"; whseRqstPar: Record "Warehouse Request"; var TempPurchDelSchedLineBufferVar: Record "KVSFCYPurchDelSchedLineBuffer" temporary)
begin
end;
Parameters:
LocalKVSKBAWarehouseRequestLine
: The Warehouse Request Line that will be insertedwhseRqstPar
: The according Warehouse Request for the Warehouse Request LineTempPurchDelSchedLineBufferVar
: The related Purchase Delivery Schedule Line Buffer for which the Warehouse Request Line will be created
OnInitPurchOrderForPurchDeliveryScheduleOnBeforeModifyPurchaseHeaderAndLine(Record Purchase Line, Record Purchase Header, Record KVSFCYActPurchDelSchedEntry, Record KVSFCYPurchDelScheduleHeader, Record Warehouse Activity Line) :#
Summary: This event is triggered before modifying Purchase Line and Purchase Header when inserting an Purchase Order for Purchase Delivery Schedule Header
[IntegrationEvent(false, false)]
local procedure OnInitPurchOrderForPurchDeliveryScheduleOnBeforeModifyPurchaseHeaderAndLine(var PurchaseLineLoc: Record "Purchase Line"; var GlobalPurchaseHeader: Record "Purchase Header"; LocalKVSFCYActPurchDelSchedEntry: Record "KVSFCYActPurchDelSchedEntry"; PurchDelScheduleHeader: Record "KVSFCYPurchDelScheduleHeader"; var WarehouseActivityLine: Record "Warehouse Activity Line"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYWhsePurchDelScheduleLib", 'OnInitPurchOrderForPurchDeliveryScheduleOnBeforeModifyPurchaseHeaderAndLine', '', false, false)]
local procedure DoSomethingOnInitPurchOrderForPurchDeliveryScheduleOnBeforeModifyPurchaseHeaderAndLine(var PurchaseLineLoc: Record "Purchase Line"; var GlobalPurchaseHeader: Record "Purchase Header"; LocalKVSFCYActPurchDelSchedEntry: Record "KVSFCYActPurchDelSchedEntry"; PurchDelScheduleHeader: Record "KVSFCYPurchDelScheduleHeader"; var WarehouseActivityLine: Record "Warehouse Activity Line")
begin
end;
Parameters:
PurchaseLineLoc
: The Purchase Line that will be modifiedGlobalPurchaseHeader
: The Purchase Header that will be modifiedLocalKVSFCYActPurchDelSchedEntry
: The related Active Purchase Delivery Schedule EntryPurchDelScheduleHeader
: The related Purchase Delivery Schedule HeaderWarehouseActivityLine
: The Warehouse Activity Line which will be modified later on