KVSPSAREAllocationMgt#
Events#
KVSPSAREOnAfterSetFilterJobFlatsForBudgetLines(Record KVSPSAJobPSPLine, Enum KVSPSAREAllocationKeyFlatType, Record KVSPSAREJobFlat)#
Summary: Use this event fo filter the job flats which will be added to a WBS line as budget lines
[IntegrationEvent(false, false)]
local procedure KVSPSAREOnAfterSetFilterJobFlatsForBudgetLines(KVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"; SelectedFlatAllocationKey: Enum "KVSPSAREAllocationKeyFlatType"; var JobFlats: Record "KVSPSAREJobFlat")
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAREAllocationMgt", 'KVSPSAREOnAfterSetFilterJobFlatsForBudgetLines', '', false, false)]
local procedure DoSomethingKVSPSAREOnAfterSetFilterJobFlatsForBudgetLines(KVSPSAJobPSPLine: Record "KVSPSAJobPSPLine"; SelectedFlatAllocationKey: Enum "KVSPSAREAllocationKeyFlatType"; var JobFlats: Record "KVSPSAREJobFlat")
begin
end;
Parameters:
KVSPSAJobPSPLine
: The WBS line the budget lines will be added toSelectedFlatAllocationKey
: The allocation key selected to limit te job flatsJobFlats
: The filtered list of Job Flats which will afterwards be added as budget lines
Last update: May 16, 2023