Skip to content

KVSQME - Integration Mgt.#

Events#

OnBeforeAllowIspectionOrderCreation(Record Item Journal Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeAllowIspectionOrderCreation(var ItemJournalLine: Record "Item Journal Line"; var RefuseInspectionOrder: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - Integration Mgt.", 'OnBeforeAllowIspectionOrderCreation', '', false, false)]
local procedure DoSomethingOnBeforeAllowIspectionOrderCreation(var ItemJournalLine: Record "Item Journal Line"; var RefuseInspectionOrder: Boolean)
begin
end;

OnAfterPostingItemJnlLineConsideringInspectionCreation(Record Item Journal Line, Record Tracking Specification, Boolean, Boolean, Record KVSQME - Insp. Order Header) :#

Summary: This integration event is running during QME processing of standard 'OnAfterPostSplitJnlLine' eve3nt in codeunit "Item Jnl.-Post Line". It contains the standard parameter of the event 'OnAfterPostSplitJnlLine' and enhance them with the QME parameters for creation of inspection orders.

[IntegrationEvent(false, false)]
local procedure OnAfterPostingItemJnlLineConsideringInspectionCreation(var ItemJournalLine: Record "Item Journal Line"; var TempTrackingSpecification: Record "Tracking Specification" temporary; InspectionRelevant: Boolean; InspectionCreated: Boolean; KVSQMEInspOrderHeader: Record "KVSQME - Insp. Order Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - Integration Mgt.", 'OnAfterPostingItemJnlLineConsideringInspectionCreation', '', false, false)]
local procedure DoSomethingOnAfterPostingItemJnlLineConsideringInspectionCreation(var ItemJournalLine: Record "Item Journal Line"; var TempTrackingSpecification: Record "Tracking Specification" temporary; InspectionRelevant: Boolean; InspectionCreated: Boolean; KVSQMEInspOrderHeader: Record "KVSQME - Insp. Order Header")
begin
end;

Parameters:

  • ItemJournalLine: var ItemJournalLine: Record "Item Journal Line", standard parameter form 'OnAfterPostSplitJnlLine' event in codeunit "Item Jnl.-Post Line"
  • TempTrackingSpecification: var TempTrackingSpecification: Record "Tracking Specification" temporary, standard parameter form 'OnAfterPostSplitJnlLine' event in codeunit "Item Jnl.-Post Line"
  • InspectionRelevant: InspectionRelevant: Boolean, defines if this posting is relevant for QME processing
  • InspectionCreated: InspectionCreated: Boolean, defines if a QME inspection order was created in a QME relevant process
  • KVSQMEInspOrderHeader: KVSQMEInspOrderHeader: Record "KVSQME - Insp. Order Header", gives the record of created inspection order or init value of this record

OnBeforeCreateInspectionOrder(Record Item Journal Line, Record Tracking Specification, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCreateInspectionOrder(var ItemJournalLine: Record "Item Journal Line"; var TempTrackingSpecification: Record "Tracking Specification" temporary; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - Integration Mgt.", 'OnBeforeCreateInspectionOrder', '', false, false)]
local procedure DoSomethingOnBeforeCreateInspectionOrder(var ItemJournalLine: Record "Item Journal Line"; var TempTrackingSpecification: Record "Tracking Specification" temporary; var IsHandled: Boolean)
begin
end;

OnBeforeCheckDirectedPutAwayAndPick(Record Location, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDirectedPutAwayAndPick(var Location: Record "Location"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - Integration Mgt.", 'OnBeforeCheckDirectedPutAwayAndPick', '', false, false)]
local procedure DoSomethingOnBeforeCheckDirectedPutAwayAndPick(var Location: Record "Location"; var IsHandled: Boolean)
begin
end;

OnBeforeCheckLocationSetup(Record Location, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckLocationSetup(var Location: Record "Location"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - Integration Mgt.", 'OnBeforeCheckLocationSetup', '', false, false)]
local procedure DoSomethingOnBeforeCheckLocationSetup(var Location: Record "Location"; var IsHandled: Boolean)
begin
end;

OnBeforeUndoPurchaseReceiptLineOnAfterCopyItemJnlLineFromPurchRcpt(Record Item Journal Line, Record Purch. Rcpt. Header, Record Purch. Rcpt. Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeUndoPurchaseReceiptLineOnAfterCopyItemJnlLineFromPurchRcpt(var ItemJournalLine: Record "Item Journal Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; PurchRcptLine: Record "Purch. Rcpt. Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSQME - Integration Mgt.", 'OnBeforeUndoPurchaseReceiptLineOnAfterCopyItemJnlLineFromPurchRcpt', '', false, false)]
local procedure DoSomethingOnBeforeUndoPurchaseReceiptLineOnAfterCopyItemJnlLineFromPurchRcpt(var ItemJournalLine: Record "Item Journal Line"; PurchRcptHeader: Record "Purch. Rcpt. Header"; PurchRcptLine: Record "Purch. Rcpt. Line"; var IsHandled: Boolean)
begin
end;