KVSTRDSubcontrTransferEventMgt#
Events#
KVSTRDOnAfterIsTypeOfPartProvidedVendor(Record Production BOM Line, Boolean) :#
Summary: This event is raised after checking if the Type of "Part Provided" is Vendor.
[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterIsTypeOfPartProvidedVendor(ProductionBOMLine: Record "Production BOM Line"; var Result: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDSubcontrTransferEventMgt", 'KVSTRDOnAfterIsTypeOfPartProvidedVendor', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterIsTypeOfPartProvidedVendor(ProductionBOMLine: Record "Production BOM Line"; var Result: Boolean)
begin
end;
Parameters:
ProductionBOMLine: The Production BOM Line record being checked.Result: The result of the check, true if the Type of "Part Provided" is Vendor, otherwise false.
KVSTRDOnBeforeExcludeVendorTypeOfPartProvidedInProductionBOMLine(Record Production BOM Line, Boolean) :#
Summary: This event is raised before setting a filter to the field "Part Provided" to all types except Vendor.
[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeExcludeVendorTypeOfPartProvidedInProductionBOMLine(var ProductionBOMLine: Record "Production BOM Line"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDSubcontrTransferEventMgt", 'KVSTRDOnBeforeExcludeVendorTypeOfPartProvidedInProductionBOMLine', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeExcludeVendorTypeOfPartProvidedInProductionBOMLine(var ProductionBOMLine: Record "Production BOM Line"; var IsHandled: Boolean)
begin
end;
Parameters:
ProductionBOMLine: The Production BOM Line record to be filtered.isHandled: Specifies if the event has been handled. If set to true, the default logic will not be executed.