Skip to content

KVSTRDCleanUpWhseShipments#

Events#

KVSTRDOnAfterGetRecordWarehouseShipmentHeader(Record Warehouse Shipment Header, Boolean) :#

Summary: This event is raised after the record of type "Warehouse Shipment Header" has been retrieved. It allows custom logic to be executed before processing the record.

[IntegrationEvent(false, false)]
local procedure KVSTRDOnAfterGetRecordWarehouseShipmentHeader(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var SkipRecord: Boolean): 
[EventSubscriber(ObjectType::Report, Report::"KVSTRDCleanUpWhseShipments", 'KVSTRDOnAfterGetRecordWarehouseShipmentHeader', '', false, false)]
local procedure DoSomethingKVSTRDOnAfterGetRecordWarehouseShipmentHeader(var WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var SkipRecord: Boolean)
begin
end;

Parameters:

  • WarehouseShipmentHeader: The Warehouse Shipment Header record that has been retrieved to be deleted.
  • SkipRecord: A boolean variable to specify whether to skip the current record or continue with deletition. If set to True, the current record will be skipped.