Skip to content

KVSMEDTechEquipmentInbound#

Events#

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

Summary: This is event is fired when action Accessory is invoked. You can skip the default behavior (invoking KVSMEDAccessoryLibrary.OpenAccessoryCard) if yout set IsHandled.

[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:

  • G_ItemNo:
  • G_VariantCode:
  • G_SerialNo:
  • TempKVSMEDAccessory:
  • IsHandled:

OnAfterActionPost(Record KVSMEDAccessory) :#

[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;