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
IntegrationEvent: OnBeforePrintLabel
OnBeforePrintLabel(ParcelResponse: Record "Parcel Response SCNVN"; var IsHandled: Boolean);
This event is triggered before starting to print a label. If you want to print labels through custom code, please look for these 2 blob fields in the ParcelResponse record: "Normal Printer Label SCNVN", "Label Printer Label SCNVN".
Parameters:
- ParcelResponse - The record that holds the information that was returned by Sendcloud
- IsHandled - Used to override the standard process
IntegrationEvent: OnAfterPrintLabel
OnAfterPrintLabel(ParcelResponse: Record "Parcel Response SCNVN");
This event is triggered after printing a label
Parameters:
- ParcelResponse - The record that holds the information that was returned by Sendcloud
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article