Skip to content

KVSMTCWizzardEquipInbSerialNo#

Events#

OnExecuteActionAccessory(Code[20], Code[10], Code[50], Record KVSMTCAccessory) :#

Summary: This event is called in the trigger onaction(Accessory) to open the Accessory Card for this Serialno.

[IntegrationEvent(false, false)]
local procedure OnExecuteActionAccessory(ItemNoPar: Code[20]; VariantCodePar: Code[10]; SerialNoPar: Code[50]; var TempAccessoryVar: Record "KVSMTCAccessory"): 
[EventSubscriber(ObjectType::Page, Page::"KVSMTCWizzardEquipInbSerialNo", 'OnExecuteActionAccessory', '', false, false)]
local procedure DoSomethingOnExecuteActionAccessory(ItemNoPar: Code[20]; VariantCodePar: Code[10]; SerialNoPar: Code[50]; var TempAccessoryVar: Record "KVSMTCAccessory")
begin
end;

Parameters:

  • ItemNoPar: current Item No.
  • VariantCodePar: current Varianten Code
  • SerialNoPar: current Serial No.
  • TempAccessoryVar: The Result of Accessory for this parameter

OnAfterActionPost(Record KVSMTCAccessory) :#

Summary: This event is called in the trigger OnQueryClosePage to Post(Transfer) from Temporary to Database

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

Parameters:

  • TempAccessoryVar: The Result of Accessory that have to move from Temp to Database