Skip to content

KVSFCYProdOrderSubscriber#

Events#

OnBeforeFindRecords(Record KVSKBAProdStructureBuffer, Record KVSKBAProdStructureBuffer, Code[20], Code[20], Code[20], Code[20], Code[20], Date, Boolean, Decimal, Code[10], Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeFindRecords(var TempProdStructureBuffer: Record "KVSKBAProdStructureBuffer"; var TempProdStructureBuffer2: Record "KVSKBAProdStructureBuffer"; ItemNo: Code[20]; ProdBOMNo: Code[20]; ProdBOMVersionCode: Code[20]; RoutingNo: Code[20]; RoutingVersionCode: Code[20]; CalculationDate: Date; CalcRouting: Boolean; Quantity: Decimal; UomCode: Code[10]; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYProdOrderSubscriber", 'OnBeforeFindRecords', '', false, false)]
local procedure DoSomethingOnBeforeFindRecords(var TempProdStructureBuffer: Record "KVSKBAProdStructureBuffer"; var TempProdStructureBuffer2: Record "KVSKBAProdStructureBuffer"; ItemNo: Code[20]; ProdBOMNo: Code[20]; ProdBOMVersionCode: Code[20]; RoutingNo: Code[20]; RoutingVersionCode: Code[20]; CalculationDate: Date; CalcRouting: Boolean; Quantity: Decimal; UomCode: Code[10]; var Handled: Boolean)
begin
end;

OnBeforeAssignSalesHeader(Record Production Order, Record Sales Header) :#

Obsolete

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

[Obsolete('Event not triggered', '21.2')]
[IntegrationEvent(false, false)]
local procedure OnBeforeAssignSalesHeader(var ProdOrder: Record "Production Order"; var SalesHeader: Record "Sales Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSFCYProdOrderSubscriber", 'OnBeforeAssignSalesHeader', '', false, false)]
local procedure DoSomethingOnBeforeAssignSalesHeader(var ProdOrder: Record "Production Order"; var SalesHeader: Record "Sales Header")
begin
end;