IntegrationEvent: OnBeforeGetReportIds

OnBeforeGetReportIds(Parcel: Record "Parcel SCNVN"; ShipmentHeader: Record "Shipment Header SCNVN"; var ReportIds: Dictionary of [Integer, Code[20]]; var IsHandled: Boolean);

This event triggers just before collecting report IDs and layout codes for printing shipment documents.

Parameters:

  • Parcel - The parcel for which we are printing shipment documents
  • ShipmentHeader - The Sendcloud shipment header for this parcel
  • ReportIds - A dictionary containing report IDs and layout codes
  • IsHandled - Used to override the standard process


IntegrationEvent: OnAfterGetReportIds

OnAfterGetReportIds(Parcel: Record "Parcel SCNVN"; ShipmentHeader: Record "Shipment Header SCNVN"; var ReportIds: Dictionary of [Integer, Code[20]]);

This event triggers directly after collecting report IDs and layout codes for printing shipment documents.

Parameters:

  • Parcel - The parcel for which we are printing shipment documents
  • ShipmentHeader - The Sendcloud shipment header for this parcel
  • ReportIds - A dictionary containing report IDs and layout codes