Skip to content

KVSFCYWhereUsedManagement#

Procedures#

FindRecord(Text, Record Where-Used Line) : Boolean#

procedure FindRecord(Which: Text; var WhereUsedList2: Record "Where-Used Line"): Boolean

NextRecord(Integer, Record Where-Used Line) : Integer#

procedure NextRecord(Steps: Integer; var WhereUsedList2: Record "Where-Used Line"): Integer

WhereUsedFromItem(Record Item, Date, Boolean) :#

procedure WhereUsedFromItem(Item: Record "Item"; CalcDate: Date; NewMultiLevel: Boolean): 

WhereUsedFromProdBOM(Record Production BOM Header, Date, Boolean) :#

procedure WhereUsedFromProdBOM(ProdBOM: Record "Production BOM Header"; CalcDate: Date; NewMultiLevel: Boolean): 

Events#

OnBeforeWhereUsedListInsert(Record Where-Used Line, Record Item, Date, Decimal) :#

Obsolete

This Element will be removed or changed with a future Version of the App.

[Obsolete('Event is no longer used, never triggered!', '23.1')]
[IntegrationEvent(false, false)]
local procedure OnBeforeWhereUsedListInsert(var WhereUsedLine: Record "Where-Used Line"; var ItemAssembly: Record "Item"; var CalcDate: Date; var Quantity: Decimal): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYWhereUsedManagement", 'OnBeforeWhereUsedListInsert', '', false, false)]
local procedure DoSomethingOnBeforeWhereUsedListInsert(var WhereUsedLine: Record "Where-Used Line"; var ItemAssembly: Record "Item"; var CalcDate: Date; var Quantity: Decimal)
begin
end;

OnBuildWhereUsedListOnLoopProdBomComponent(Record Production BOM Line) :#

[IntegrationEvent(false, false)]
local procedure OnBuildWhereUsedListOnLoopProdBomComponent(var ProductionBOMLine: Record "Production BOM Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYWhereUsedManagement", 'OnBuildWhereUsedListOnLoopProdBomComponent', '', false, false)]
local procedure DoSomethingOnBuildWhereUsedListOnLoopProdBomComponent(var ProductionBOMLine: Record "Production BOM Line")
begin
end;