Post Return Events SCNVN (71312659)

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

IntegrationEvent: OnBeforePostReturns

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

This event is fired before posting returns for a shipment.

Parameters:

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


IntegrationEvent: OnAfterPostReturns

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

This event is fired after posting returns for a shipment.

Parameters:

  • ShipmentHeader - Sendcloud Shipment Header record


IntegrationEvent: OnBeforeCreateParcelJson

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

This event is fired before creating parcel JSON for a return shipment.

Parameters:

  • ParcelRec - Sendcloud Parcel record
  • ReturnShipmentMethodId - Specifies the return shipment method identifier
  • 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 a return shipment.

Parameters:

  • ParcelRec - Sendcloud Parcel record
  • Parcel - JSON object containing parcel 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