Skip to content

KVSPSARelease ZDE Card#

Procedures#

OnRun#

procedure OnRun(Rec: Record "KVSPSAZDE-Header")

Events#

KVSPSAOnAfterReleaseZDEHeader(Record KVSPSAZDE-Header) :#

Summary: Event fired after a ZDE (Zeit-Daten-Erfassung/Time Data Entry) header has been successfully released. Allows extensions to perform additional processing after the release. This event enables custom post-processing actions after time data entry cards have been released and validated, such as notifications or additional business logic execution.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterReleaseZDEHeader(var ZDEHeader: Record "KVSPSAZDE-Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARelease ZDE Card", 'KVSPSAOnAfterReleaseZDEHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterReleaseZDEHeader(var ZDEHeader: Record "KVSPSAZDE-Header")
begin
end;

Parameters:

  • ZDEHeader: The ZDE header that has been successfully released.

KVSPSAOnBeforeReleaseZDEHeader(Record KVSPSAZDE-Header) :#

Summary: Event fired before a ZDE (Zeit-Daten-Erfassung/Time Data Entry) header is released. Allows extensions to perform custom validation or processing before release. This event enables extensions to implement additional validation rules or business logic before time data entry cards are released and processed.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeReleaseZDEHeader(var ZDEHeader: Record "KVSPSAZDE-Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARelease ZDE Card", 'KVSPSAOnBeforeReleaseZDEHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeReleaseZDEHeader(var ZDEHeader: Record "KVSPSAZDE-Header")
begin
end;

Parameters:

  • ZDEHeader: The ZDE header about to be released. Can be modified by extensions.

KVSPSAOnBeforeTestNegativeQuantity(Record KVSPSAZDE-Line, Boolean) :#

Summary: Event fired before testing negative quantity validation for ZDE lines. Allows extensions to customize or bypass negative quantity validation logic. This event enables extensions to implement custom validation rules for negative quantities or skip standard validation when negative quantities are acceptable.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestNegativeQuantity(ZDELine: Record "KVSPSAZDE-Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARelease ZDE Card", 'KVSPSAOnBeforeTestNegativeQuantity', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeTestNegativeQuantity(ZDELine: Record "KVSPSAZDE-Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ZDELine: The ZDE line being tested for negative quantity validation.
  • IsHandled: Set to true to skip the standard negative quantity validation process.

KVSPSAOnBeforeTestQuantity(Record KVSPSAZDE-Line, Boolean) :#

Summary: Event fired before testing quantity validation for ZDE lines. Allows extensions to customize or bypass quantity validation logic. This event enables extensions to implement custom validation rules for quantities or skip standard validation when specific business scenarios require it.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestQuantity(ZDELine: Record "KVSPSAZDE-Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARelease ZDE Card", 'KVSPSAOnBeforeTestQuantity', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeTestQuantity(ZDELine: Record "KVSPSAZDE-Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ZDELine: The ZDE line being tested for quantity validation.
  • IsHandled: Set to true to skip the standard quantity validation process.

KVSPSAOnTestCTCLine(Record KVSPSAZDE-Line, Record KVSPSAZDE-Header) :#

Summary: Event fired during CTC (Chronological Time Capture) line testing. Allows extensions to perform additional validation or processing for individual ZDE lines. This event enables custom validation logic or additional checks to be performed on ZDE lines during the release and validation process.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnTestCTCLine(var ZDELine: Record "KVSPSAZDE-Line"; var ZDEHeader: Record "KVSPSAZDE-Header"): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSARelease ZDE Card", 'KVSPSAOnTestCTCLine', '', false, false)]
local procedure DoSomethingKVSPSAOnTestCTCLine(var ZDELine: Record "KVSPSAZDE-Line"; var ZDEHeader: Record "KVSPSAZDE-Header")
begin
end;

Parameters:

  • ZDELine: The ZDE line being tested. Can be modified by extensions.
  • ZDEHeader: The parent ZDE header for context and validation references.