KVSKBAInventorySummaryMgt#
Events#
OnAfterCreateInventorySummaryParameterFromWarehouseEntry(Record KVSKBAInventorySummaryParam, Record Warehouse Entry) :#
Summary: Integration event that fires after creating inventory summary parameter from warehouse entry.
[IntegrationEvent(false, false)]
local procedure OnAfterCreateInventorySummaryParameterFromWarehouseEntry(var InventorySummaryParam: Record "KVSKBAInventorySummaryParam"; WarehouseEntry: Record "Warehouse Entry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInventorySummaryMgt", 'OnAfterCreateInventorySummaryParameterFromWarehouseEntry', '', false, false)]
local procedure DoSomethingOnAfterCreateInventorySummaryParameterFromWarehouseEntry(var InventorySummaryParam: Record "KVSKBAInventorySummaryParam"; WarehouseEntry: Record "Warehouse Entry")
begin
end;
Parameters:
InventorySummaryParam: Inventory summary parameter that was createdWarehouseEntry: Source warehouse entry record
Remarks: Use this event to modify or extend the inventory summary parameter with additional data from the warehouse entry
OnAfterCreateInventorySummaryParameterFromItemLedgerEntry(Record KVSKBAInventorySummaryParam, Record Item Ledger Entry) :#
Summary: Integration event that fires after creating inventory summary parameter from item ledger entry.
[IntegrationEvent(false, false)]
local procedure OnAfterCreateInventorySummaryParameterFromItemLedgerEntry(var InventorySummaryParam: Record "KVSKBAInventorySummaryParam"; ItemLedgerEntry: Record "Item Ledger Entry"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInventorySummaryMgt", 'OnAfterCreateInventorySummaryParameterFromItemLedgerEntry', '', false, false)]
local procedure DoSomethingOnAfterCreateInventorySummaryParameterFromItemLedgerEntry(var InventorySummaryParam: Record "KVSKBAInventorySummaryParam"; ItemLedgerEntry: Record "Item Ledger Entry")
begin
end;
Parameters:
InventorySummaryParam: Inventory summary parameter that was createdItemLedgerEntry: Source item ledger entry record
Remarks: Use this event to modify or extend the inventory summary parameter with additional data from the item ledger entry
OnBeforeSetQuantityIntoInventorySummary(Record KVSKBAInventorySummary, Record KVSKBAInventorySummaryParam, Boolean) :#
Summary: Integration event that allows customization before setting quantity into inventory summary.
[IntegrationEvent(false, false)]
local procedure OnBeforeSetQuantityIntoInventorySummary(var InventorySummary: Record "KVSKBAInventorySummary"; InventorySummaryParam: Record "KVSKBAInventorySummaryParam"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInventorySummaryMgt", 'OnBeforeSetQuantityIntoInventorySummary', '', false, false)]
local procedure DoSomethingOnBeforeSetQuantityIntoInventorySummary(var InventorySummary: Record "KVSKBAInventorySummary"; InventorySummaryParam: Record "KVSKBAInventorySummaryParam"; var IsHandled: Boolean)
begin
end;
Parameters:
InventorySummary: Inventory summary record to be updatedInventorySummaryParam: Parameter record with filter criteriaIsHandled: Variable indicating whether a subscriber has handled the quantity setting (set to true to skip default logic)
Remarks: Use this event to implement custom quantity calculation logic or modify the standard behavior
OnElseUpdateAdditionalTrackingInformation(Variant) :#
Summary: Integration event that handles additional tracking information updates for unsupported source record types.
[IntegrationEvent(false, false)]
local procedure OnElseUpdateAdditionalTrackingInformation(SourceRecord: Variant):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInventorySummaryMgt", 'OnElseUpdateAdditionalTrackingInformation', '', false, false)]
local procedure DoSomethingOnElseUpdateAdditionalTrackingInformation(SourceRecord: Variant)
begin
end;
Parameters:
SourceRecord: Source record variant that wasn't handled by the standard logic
Remarks: Use this event to handle custom source record types for additional tracking information updates
OnBeforeExitFindInventorySummaryEntry(Record KVSKBAInventorySummary, Record KVSKBAInventorySummaryParam) :#
Summary: Integration event that fires before finding inventory summary entry.
[IntegrationEvent(false, false)]
local procedure OnBeforeExitFindInventorySummaryEntry(var InventorySummary: Record "KVSKBAInventorySummary"; InventorySummaryParam: Record "KVSKBAInventorySummaryParam"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInventorySummaryMgt", 'OnBeforeExitFindInventorySummaryEntry', '', false, false)]
local procedure DoSomethingOnBeforeExitFindInventorySummaryEntry(var InventorySummary: Record "KVSKBAInventorySummary"; InventorySummaryParam: Record "KVSKBAInventorySummaryParam")
begin
end;
Parameters:
InventorySummary: The inventory summary record being searchedInventorySummaryParam: The parameter record with filter criteria
Remarks: Use this event to modify search criteria or implement custom search logic before the standard find operation
OnBeforeFindsetInventorySummary(Record KVSKBAInventorySummary, Record KVSKBAInventorySummaryParam) :#
Summary: Integration event that fires before finding inventory summary set.
[IntegrationEvent(false, false)]
local procedure OnBeforeFindsetInventorySummary(var InventorySummary: Record "KVSKBAInventorySummary"; InventorySummaryParam: Record "KVSKBAInventorySummaryParam"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAInventorySummaryMgt", 'OnBeforeFindsetInventorySummary', '', false, false)]
local procedure DoSomethingOnBeforeFindsetInventorySummary(var InventorySummary: Record "KVSKBAInventorySummary"; InventorySummaryParam: Record "KVSKBAInventorySummaryParam")
begin
end;
Parameters:
InventorySummary: The inventory summary record being processedInventorySummaryParam: The parameter record with filter criteria
Remarks: Use this event to modify the inventory summary record or parameters before processing the find set operation