IntegrationEvent: OnBeforeSync

OnBeforeSync(NC365Location: Record "NC365 Location"; var MageLocation: JsonObject; var SyncResult: Enum "NC365 Sync Result")

This event is triggered just before a item data object is sent to Magento.If you want to manipulate any data on the item object then this is the event to use.

Parameters:

  • NC365Location - The original web item record involved in this sync task
  • MageLocation - The JSON data object that is sent to Magento
  • SyncResult - Set this to SyncResult::Skip if you want to prevent this object from being synchronized