Post Shipment Events SCNVN (71312653)

Created by Tys van den Heuvel, Modified on Wed, 25 Feb at 11:24 AM by Tys van den Heuvel

IntegrationEvent: OnBeforeCheckShipment

OnBeforeCheckShipment(var ShipmentHeader: Record "Shipment Header SCNVN"; TempSendcloudError: Record "Sendcloud Error SCNVN" temporary; var IsHandled: Boolean);

This event is fired before validating a shipment before posting.

Parameters:

  • ShipmentHeader - Sendcloud Shipment Header record
  • TempSendcloudError - Temporary Sendcloud Error record
  • IsHandled - Use this parameter if you want to completely override the standard process


IntegrationEvent: OnAfterCheckShipment

OnAfterCheckShipment(var ShipmentHeader: Record "Shipment Header SCNVN"; TempSendcloudError: Record "Sendcloud Error SCNVN" temporary);

This event is fired after validating a shipment before posting.

Parameters:

  • ShipmentHeader - Sendcloud Shipment Header record
  • TempSendcloudError - Temporary Sendcloud Error record


IntegrationEvent: OnBeforePostShipment

OnBeforePostShipment(var ShipmentHeader: Record "Shipment Header SCNVN"; var IsHandled: Boolean);

This event is fired before posting a shipment.

Parameters:

  • ShipmentHeader - Sendcloud Shipment Header record
  • IsHandled - Use this parameter if you want to completely override the standard process


IntegrationEvent: OnAfterPostShipment

OnAfterPostShipment(var ShipmentHeader: Record "Shipment Header SCNVN");

This event is fired after posting a shipment.

Parameters:

  • ShipmentHeader - Sendcloud Shipment Header record


IntegrationEvent: OnBeforeCreateParcelJson

OnBeforeCreateParcelJson(var ParcelRec: Record "Parcel SCNVN"; var Parcel: JsonObject; var IsHandled: Boolean);

This event is fired before creating parcel JSON for shipment posting.

Parameters:

  • ParcelRec - Sendcloud Parcel record
  • Parcel - JSON object containing parcel data
  • IsHandled - Use this parameter if you want to completely override the standard process


IntegrationEvent: OnAfterCreateParcelJson

OnAfterCreateParcelJson(var ParcelRec: Record "Parcel SCNVN"; var Parcel: JsonObject);

This event is fired after creating parcel JSON for shipment posting.

Parameters:

  • ParcelRec - Sendcloud Parcel record
  • Parcel - JSON object containing parcel data


IntegrationEvent: OnBeforeCreateParcelItemJson

OnBeforeCreateParcelItemJson(var ParcelItemRec: Record "Parcel Item SCNVN"; var ParcelItem: JsonObject; var IsHandled: Boolean);

This event is fired before creating parcel item JSON for shipment posting.

Parameters:

  • ParcelItemRec - Sendcloud Parcel Item record
  • ParcelItem - JSON object containing parcel item data
  • IsHandled - Use this parameter if you want to completely override the standard process


IntegrationEvent: OnAfterCreateParcelItemJson

OnAfterCreateParcelItemJson(var ParcelItemRec: Record "Parcel Item SCNVN"; var ParcelItem: JsonObject);

This event is fired after creating parcel item JSON for shipment posting.

Parameters:

  • ParcelItemRec - Sendcloud Parcel Item record
  • ParcelItem - JSON object containing parcel item data


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article