Skip to content

KVSMEDTechEquipmentInbound#

Events#

OnBeforeExecuteActionAccessory(Code[20], Code[10], Code[50], Record KVSMEDAccessory, Boolean) :#

Summary: Integration event raised before the accessory action is executed. Set IsHandled to true to skip the default behavior of opening the accessory card.

[IntegrationEvent(false, false)]
local procedure OnBeforeExecuteActionAccessory(ItemNo: Code[20]; VariantCode: Code[10]; SerialNo: Code[50]; var TempKVSMEDAccessory: Record "KVSMEDAccessory"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Page, Page::"KVSMEDTechEquipmentInbound", 'OnBeforeExecuteActionAccessory', '', false, false)]
local procedure DoSomethingOnBeforeExecuteActionAccessory(ItemNo: Code[20]; VariantCode: Code[10]; SerialNo: Code[50]; var TempKVSMEDAccessory: Record "KVSMEDAccessory"; var IsHandled: Boolean)
begin
end;

Parameters:

  • ItemNo: The item number of the technical equipment device.
  • VariantCode: The variant code of the technical equipment device.
  • SerialNo: The serial number of the technical equipment device.
  • TempKVSMEDAccessory: Temporary accessory table used to manage the accessory entries.
  • IsHandled: Set to true to skip the default behavior of opening the accessory card.

OnAfterActionPost(Record KVSMEDAccessory) :#

Summary: Integration event raised after the Post action has been completed successfully. Allows subscribers to perform additional processing based on the confirmed accessories.

[IntegrationEvent(false, false)]
local procedure OnAfterActionPost(var TempAccessoryVar: Record "KVSMEDAccessory" temporary): 
[EventSubscriber(ObjectType::Page, Page::"KVSMEDTechEquipmentInbound", 'OnAfterActionPost', '', false, false)]
local procedure DoSomethingOnAfterActionPost(var TempAccessoryVar: Record "KVSMEDAccessory" temporary)
begin
end;

Parameters:

  • TempAccessoryVar: Temporary table containing the confirmed accessories of the inbound registration.