Skip to content

KVSQME - General#

Events#

OnBeforeInsertReservEntryOnCreateItemTrackingFromInspItemTracking(Record Reservation Entry, Record KVSQME - Insp. Item Tracking) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertReservEntryOnCreateItemTrackingFromInspItemTracking(var ReservationEntryVar: Record "Reservation Entry"; InspItemTrackingPar: Record "KVSQME - Insp. Item Tracking"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - General", 'OnBeforeInsertReservEntryOnCreateItemTrackingFromInspItemTracking', '', false, false)]
local procedure DoSomethingOnBeforeInsertReservEntryOnCreateItemTrackingFromInspItemTracking(var ReservationEntryVar: Record "Reservation Entry"; InspItemTrackingPar: Record "KVSQME - Insp. Item Tracking")
begin
end;

OnBeforeInsertReservEntryOnCreateItemTrackingFromILE(Record Reservation Entry, Record Item Ledger Entry) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertReservEntryOnCreateItemTrackingFromILE(var ReservationEntryVar: Record "Reservation Entry"; ItemLedgerEntryPar: Record "Item Ledger Entry"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - General", 'OnBeforeInsertReservEntryOnCreateItemTrackingFromILE', '', false, false)]
local procedure DoSomethingOnBeforeInsertReservEntryOnCreateItemTrackingFromILE(var ReservationEntryVar: Record "Reservation Entry"; ItemLedgerEntryPar: Record "Item Ledger Entry")
begin
end;

OnFinishProdOrderBeforePushErrorForExistingInspectionOrder(Record Production Order, Record KVSQME - Insp. Order Header, Boolean) :#

Summary: Publisher event on changing prod. order status to finsh and pushing error caused on existing open inspection orders

[IntegrationEvent(false, false)]
local procedure OnFinishProdOrderBeforePushErrorForExistingInspectionOrder(var ProductionOrder: Record "Production Order"; var KVSQMEInspOrderHeader: Record "KVSQME - Insp. Order Header"; var Handled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - General", 'OnFinishProdOrderBeforePushErrorForExistingInspectionOrder', '', false, false)]
local procedure DoSomethingOnFinishProdOrderBeforePushErrorForExistingInspectionOrder(var ProductionOrder: Record "Production Order"; var KVSQMEInspOrderHeader: Record "KVSQME - Insp. Order Header"; var Handled: Boolean)
begin
end;

Parameters:

  • ProductionOrder: Record: Production Order
  • KVSQMEInspOrderHeader: Record: Inspection Order Header
  • Handled: Boolean: Gives back information if process was already handled by other functionality

OnBeforeGetDefaultBinQME(Record Location, Code[20], Code[10], Code[20], Boolean, Boolean) :#

Summary: This publisher is running before get default bin considering the qme setup in location card

[IntegrationEvent(false, false)]
local procedure OnBeforeGetDefaultBinQME(Location: Record "Location"; ItemNo: Code[20]; VariantCode: Code[10]; var BinCode: Code[20]; var Result: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - General", 'OnBeforeGetDefaultBinQME', '', false, false)]
local procedure DoSomethingOnBeforeGetDefaultBinQME(Location: Record "Location"; ItemNo: Code[20]; VariantCode: Code[10]; var BinCode: Code[20]; var Result: Boolean; var IsHandled: Boolean)
begin
end;

Parameters:

  • Location: Record Location
  • ItemNo: Code[20]
  • VariantCode: Code[10]
  • BinCode: Code[20]
  • Result: Boolean
  • IsHandled: Boolean: Gives back information if process was already handled by other functionality

OnBeforeCheckBinSelectionInDocument(RecordRef, Code[10], Code[20], Boolean) :#

Summary: This publisher is running before checking the bin selection in a document / document line considering qme setup in location card

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckBinSelectionInDocument(RecordRefDocument: RecordRef; LocationCode: Code[10]; BinCode: Code[20]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - General", 'OnBeforeCheckBinSelectionInDocument', '', false, false)]
local procedure DoSomethingOnBeforeCheckBinSelectionInDocument(RecordRefDocument: RecordRef; LocationCode: Code[10]; BinCode: Code[20]; var IsHandled: Boolean)
begin
end;

Parameters:

  • RecordRefDocument: RecordRef, refers to the given document / document line
  • LocationCode: Code[10]
  • BinCode: Code[20]
  • IsHandled: Boolean: Gives back information if process was already handled by other functionality

OnBeforeCheckBinSelectionInWhseActivityLine(Record Warehouse Activity Line, Boolean) :#

Summary: This publisher is running before checking the bin selection in a warehouse activity line considering qme setup in location card

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckBinSelectionInWhseActivityLine(WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - General", 'OnBeforeCheckBinSelectionInWhseActivityLine', '', false, false)]
local procedure DoSomethingOnBeforeCheckBinSelectionInWhseActivityLine(WarehouseActivityLine: Record "Warehouse Activity Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • WarehouseActivityLine: Record "Warehouse Activity Line"
  • IsHandled: Boolean: Gives back information if process was already handled by other functionality

OnBeforeCheckQmeBinsOnDocumentPosting(RecordRef, Code[10], Code[20], Decimal, Boolean) :#

Summary: This publisher is running before checking the qme bins on posting of a document / document line

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckQmeBinsOnDocumentPosting(RecordRefDocument: RecordRef; LocationCode: Code[10]; BinCode: Code[20]; MovementQty: Decimal; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - General", 'OnBeforeCheckQmeBinsOnDocumentPosting', '', false, false)]
local procedure DoSomethingOnBeforeCheckQmeBinsOnDocumentPosting(RecordRefDocument: RecordRef; LocationCode: Code[10]; BinCode: Code[20]; MovementQty: Decimal; var IsHandled: Boolean)
begin
end;

Parameters:

  • RecordRefDocument: RecordRef, refers to the given document / document line
  • LocationCode: Code[10]
  • BinCode: Code[20]
  • MovementQty: Decimal, qty. to receipt or qty. to ship in related document line
  • IsHandled: Boolean: Gives back information if process was already handled by other functionality

OnBeforeCollectInspOrdersForAutoPrinting(Record KVSQME - Insp. Order Header, Boolean) :#

Summary: This publisher is running before collecting an inspection order for auto. printing. Auto. print is processed in a following step

[IntegrationEvent(false, false)]
local procedure OnBeforeCollectInspOrdersForAutoPrinting(InspOrderHeader: Record "KVSQME - Insp. Order Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - General", 'OnBeforeCollectInspOrdersForAutoPrinting', '', false, false)]
local procedure DoSomethingOnBeforeCollectInspOrdersForAutoPrinting(InspOrderHeader: Record "KVSQME - Insp. Order Header"; var IsHandled: Boolean)
begin
end;

Parameters:

  • InspOrderHeader: Record "KVSQME - Insp. Order Header"
  • IsHandled: Boolean: Gives feedback if process was already handled by other functionality

OnBeforeAutoPrintInspectionOrders(Record KVSQME - Insp. Order Header, Boolean) :#

Summary: This publisher is running before printing the collected inspection orders for auto. print

[IntegrationEvent(false, false)]
local procedure OnBeforeAutoPrintInspectionOrders(var TempInspOrderHeader: Record "KVSQME - Insp. Order Header" temporary; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - General", 'OnBeforeAutoPrintInspectionOrders', '', false, false)]
local procedure DoSomethingOnBeforeAutoPrintInspectionOrders(var TempInspOrderHeader: Record "KVSQME - Insp. Order Header" temporary; var IsHandled: Boolean)
begin
end;

Parameters:

  • TempInspOrderHeader: Record "KVSQME - Insp. Order Header" temporary: All collected inspection orders for printing
  • IsHandled: Boolean: Gives feedback if process was already handled by other functionality