Skip to content

KVSTRDDelivSchedAdherenceMgt#

Events#

KVSTRDOnAfterDelivSchedAdhceEntryInsert(Record KVSTRDDelivSchedAdherenceEntry, Record Purch. Rcpt. Line, Record Purchase Line) :#

Summary: This event is raised after a delivery schedule adherence entry has been inserted.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterDelivSchedAdhceEntryInsert(var DelivSchedAdherenceEntry: Record "KVSTRDDelivSchedAdherenceEntry"; PurchRcptLine: Record "Purch. Rcpt. Line"; PurchaseLine: Record "Purchase Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDDelivSchedAdherenceMgt", 'KVSTRDOnAfterDelivSchedAdhceEntryInsert', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterDelivSchedAdhceEntryInsert(var DelivSchedAdherenceEntry: Record "KVSTRDDelivSchedAdherenceEntry"; PurchRcptLine: Record "Purch. Rcpt. Line"; PurchaseLine: Record "Purchase Line")
begin
end;

Parameters:

  • DelivSchedAdherenceEntry: The delivery schedule adherence entry that has been inserted.
  • PurchRcptLine: The purchase receipt line related to the entry.
  • PurchaseLine: The purchase line related to the entry.

KVSTRDOnBeforeDelivSchedAdhceEntryInsert(Record KVSTRDDelivSchedAdherenceEntry, Record Purch. Rcpt. Line, Record Purchase Line) :#

Summary: This event is raised before a delivery schedule adherence entry is inserted.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnBeforeDelivSchedAdhceEntryInsert(var DelivSchedAdherenceEntry: Record "KVSTRDDelivSchedAdherenceEntry"; PurchRcptLine: Record "Purch. Rcpt. Line"; PurchaseLine: Record "Purchase Line"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSTRDDelivSchedAdherenceMgt", 'KVSTRDOnBeforeDelivSchedAdhceEntryInsert', '', false, false)]
local procedure DoSomethingKVSTRDOnBeforeDelivSchedAdhceEntryInsert(var DelivSchedAdherenceEntry: Record "KVSTRDDelivSchedAdherenceEntry"; PurchRcptLine: Record "Purch. Rcpt. Line"; PurchaseLine: Record "Purchase Line")
begin
end;

Parameters:

  • DelivSchedAdherenceEntry: The delivery schedule adherence entry that is about to be inserted.
  • PurchRcptLine: The purchase receipt line related to the entry.
  • PurchaseLine: The purchase line related to the entry.