Skip to content

KVSMTCCreateStockkeepingUnit#

Events#

OnBeforeCreateSKU(Record Item, Code[10], Code[10], Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateSKU(var Item: Record "Item"; LocationCode: Code[10]; VariantCode: Code[10]; ItemInInventoryOnly: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSMTCCreateStockkeepingUnit", 'OnBeforeCreateSKU', '', false, false)]
local procedure DoSomethingOnBeforeCreateSKU(var Item: Record "Item"; LocationCode: Code[10]; VariantCode: Code[10]; ItemInInventoryOnly: Boolean; var IsHandled: Boolean)
begin
end;

OnBeforeStockkeepingUnitInsert(Record Stockkeeping Unit, Record Item) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeStockkeepingUnitInsert(var StockkeepingUnit: Record "Stockkeeping Unit"; Item: Record "Item"): 
[EventSubscriber(ObjectType::Report, Report::"KVSMTCCreateStockkeepingUnit", 'OnBeforeStockkeepingUnitInsert', '', false, false)]
local procedure DoSomethingOnBeforeStockkeepingUnitInsert(var StockkeepingUnit: Record "Stockkeeping Unit"; Item: Record "Item")
begin
end;

OnBeforeItemOnPreDataItem(Record Item) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeItemOnPreDataItem(var Item: Record "Item"): 
[EventSubscriber(ObjectType::Report, Report::"KVSMTCCreateStockkeepingUnit", 'OnBeforeItemOnPreDataItem', '', false, false)]
local procedure DoSomethingOnBeforeItemOnPreDataItem(var Item: Record "Item")
begin
end;

OnBeforeItemOnAfterGetRecord(Record Item, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeItemOnAfterGetRecord(var Item: Record "Item"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSMTCCreateStockkeepingUnit", 'OnBeforeItemOnAfterGetRecord', '', false, false)]
local procedure DoSomethingOnBeforeItemOnAfterGetRecord(var Item: Record "Item"; var IsHandled: Boolean)
begin
end;

OnItemOnAfterGetRecordOnAfterSetLocationFilter(Record Location, Record Item) :#

[IntegrationEvent(false, false)]
local procedure OnItemOnAfterGetRecordOnAfterSetLocationFilter(var Location: Record "Location"; var Item: Record "Item"): 
[EventSubscriber(ObjectType::Report, Report::"KVSMTCCreateStockkeepingUnit", 'OnItemOnAfterGetRecordOnAfterSetLocationFilter', '', false, false)]
local procedure DoSomethingOnItemOnAfterGetRecordOnAfterSetLocationFilter(var Location: Record "Location"; var Item: Record "Item")
begin
end;