IntegrationEvent: OnBeforeUpdate

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

This event is fired before updating a shipment.

Parameters:

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


IntegrationEvent: OnAfterUpdate

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

This event is fired after updating a shipment.

Parameters:

  • ShipmentHeader - Sendcloud Shipment Header record


IntegrationEvent: OnBeforeSelectParcelShipmentMethod

OnBeforeSelectParcelShipmentMethod(var Parcel: Record "Parcel SCNVN"; var IsHandled: Boolean);

This event is fired before selecting a parcel shipment method.

Parameters:

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


IntegrationEvent: OnAfterSelectParcelShipmentMethod

OnAfterSelectParcelShipmentMethod(var Parcel: Record "Parcel SCNVN"; var ShipmentMethod: Record "Shipment Method SCNVN");

This event is fired after selecting a parcel shipment method.

Parameters:

  • Parcel - Sendcloud Parcel record
  • ShipmentMethod - Sendcloud Shipment Method record


IntegrationEvent: OnBeforeSelectSalesHeaderShipmentMethod

OnBeforeSelectSalesHeaderShipmentMethod(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean);

This event is fired before selecting a shipment method from a sales header.

Parameters:

  • SalesHeader - Sales Header record
  • IsHandled - Use this parameter if you want to completely override the standard process


IntegrationEvent: OnAfterSelectSalesHeaderShipmentMethod

OnAfterSelectSalesHeaderShipmentMethod(var SalesHeader: Record "Sales Header"; var ShipmentMethod: Record "Shipment Method SCNVN");

This event is fired after selecting a shipment method from a sales header.

Parameters:

  • SalesHeader - Sales Header record
  • ShipmentMethod - Sendcloud Shipment Method record


IntegrationEvent: OnBeforeValidateEmail

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

This event is fired before validating shipment email information.

Parameters:

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


IntegrationEvent: OnBeforeStartTrackingSite

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

This event is fired before starting shipment tracking site logic.

Parameters:

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


IntegrationEvent: OnBeforeCreateShipmentHeader

OnBeforeCreateShipmentHeader(ShipToType: Enum "Ship-to Type SCNVN"; ShipToNo: Code[20]; ShipToName: Text; ShipToContact: Text; ShipToAddress: Text; ShipToAddress2: Text; ShipToCity: Text; ShipToPostCode: Text; ShipToCounty: Text[30]; ShipToCountryRegionCode: Code[10]; ShipToEMail: Text; ShipToPhoneNo: Text; OrderNo: Text; ExternalDocumentNo: Code[35]; Source: Variant; SenderAddressId: Integer; ServicePointId: Integer; Reference: Text[35]; var ShipmentHeader: Record "Shipment Header SCNVN"; var IsHandled: Boolean)

Parameters:

  • ShipToContact - Specifies the ship-to contact
  • ShipToAddress - Specifies the ship-to address
  • ShipToAddress2 - Specifies the ship-to address line 2
  • ShipToCity - Specifies the ship-to city
  • ShipToPostCode - Specifies the ship-to postal code
  • ShipToCounty - Specifies the ship-to county
  • ShipToCountryRegionCode - Specifies the ship-to country or region code
  • ShipToEMail - Specifies the ship-to email address
  • ShipToPhoneNo - Specifies the ship-to phone number
  • OrderNo - Specifies the source order number
  • ExternalDocumentNo - Specifies the external document number
  • Source - Specifies the source document variant
  • SenderAddressId - Specifies the sender address identifier
  • ServicePointId - Specifies the service point identifier
  • Reference - Specifies the shipment reference
  • ShipmentHeader - Sendcloud Shipment Header record
  • IsHandled - Use this parameter if you want to completely override the standard process


IntegrationEvent: OnAfterCreateShipmentHeader

OnAfterCreateShipmentHeader(ShipToType: Enum "Ship-to Type SCNVN"; ShipToNo: Code[20]; ShipToName: Text; ShipToContact: Text; ShipToAddress: Text; ShipToAddress2: Text; ShipToCity: Text; ShipToPostCode: Text; ShipToCounty: Text[30]; ShipToCountryRegionCode: Code[10]; ShipToEMail: Text; ShipToPhoneNo: Text; OrderNo: Text; ExternalDocumentNo: Code[35]; Source: Variant; SenderAddressId: Integer; ServicePointId: Integer; Reference: Text[35]; var ShipmentHeader: Record "Shipment Header SCNVN")

Parameters:

  • ShipToName - Specifies the ship-to name
  • ShipToContact - Specifies the ship-to contact
  • ShipToAddress - Specifies the ship-to address
  • ShipToAddress2 - Specifies the ship-to address line 2
  • ShipToCity - Specifies the ship-to city
  • ShipToPostCode - Specifies the ship-to postal code
  • ShipToCounty - Specifies the ship-to county
  • ShipToCountryRegionCode - Specifies the ship-to country or region code
  • ShipToEMail - Specifies the ship-to email address
  • ShipToPhoneNo - Specifies the ship-to phone number
  • OrderNo - Specifies the source order number
  • ExternalDocumentNo - Specifies the external document number
  • Source - Specifies the source document variant
  • SenderAddressId - Specifies the sender address identifier
  • ServicePointId - Specifies the service point identifier
  • Reference - Specifies the shipment reference
  • ShipmentHeader - Sendcloud Shipment Header record


IntegrationEvent: OnAfterCreateParcel

OnAfterCreateParcel(Source: Variant; Description: Text[100]; LocationCode: Code[10]; ActualWeight: Decimal; ShipmentMethodCode: Code[10]; ShippingAgentCode: Code[10]; ShippingAgentServiceCode: Code[10]; var ShipmentHeader: Record "Shipment Header SCNVN"; var Parcel: Record "Parcel SCNVN")

This event is fired after creating a parcel for a shipment.

Parameters:

  • Source - Specifies the source document variant
  • Description - Specifies the parcel description
  • LocationCode - Specifies the location code
  • ActualWeight - Specifies the actual parcel weight
  • ShipmentMethodCode - Specifies the shipment method code
  • ShippingAgentCode - Specifies the shipping agent code
  • ShippingAgentServiceCode - Specifies the shipping agent service code
  • ShipmentHeader - Sendcloud Shipment Header record
  • Parcel - Sendcloud Parcel record


IntegrationEvent: OnAfterCreateParcelItem

OnAfterCreateParcelItem(Source: Variant; SourceType: Enum "Parcel Source Type SCNVN"; SourceNo: Code[20]; SourceLineNo: Integer; VariantCode: Code[10]; Quantity: Decimal; Weight: Decimal; ShipmentMethodCode: Code[10]; ShippingAgentCode: Code[10]; ShippingAgentServiceCode: Code[10]; var ShipmentHeader: Record "Shipment Header SCNVN"; var Parcel: Record "Parcel SCNVN"; var ParcelItem: Record "Parcel Item SCNVN")

This event is fired after creating a parcel item for a shipment.

Parameters:

  • Source - Specifies the source document variant
  • SourceType - Specifies the parcel source type
  • SourceNo - Specifies the source number
  • SourceLineNo - Specifies the source line number
  • VariantCode - Specifies the variant code
  • Quantity - Specifies the quantity
  • Weight - Specifies the parcel item weight
  • ShipmentMethodCode - Specifies the shipment method code
  • ShippingAgentCode - Specifies the shipping agent code
  • ShippingAgentServiceCode - Specifies the shipping agent service code
  • ShipmentHeader - Sendcloud Shipment Header record
  • Parcel - Sendcloud Parcel record
  • ParcelItem - Sendcloud Parcel Item record