NetSuite Connector Product Sync Triggers

If you properly set up the product sync, the following events trigger NetSuite Connector to retrieve items from NetSuite, and sync each item to the storefront.

Items will sync when either a primary or a secondary trigger occurs. The following section describes each trigger type.

Primary Triggers

Primary triggers are changes to the item attributes that trigger the product sync. When a primary trigger occurs, NetSuite Connector retrieves the item data and syncs it to the storefront.

A primary trigger occurs when one of the following scenarios takes place:

  • The lastModifiedDate or Updated At field changes on the item record in NetSuite to a date that is later than the last date NetSuite Connector checked for changed items.

  • The inventory for the item changes in one of the NetSuite locations.

Secondary Triggers

Secondary triggers happen when an item associated with another item receives a primary trigger. Secondary triggers cause items to re-sync to the storefront, but do not cause NetSuite Connector to get the item data from NetSuite. Retrieving item data from NetSuite is unnecessary because there are no changes to the item record itself. Only the item record that created the secondary trigger has changes, and NetSuite Connector only needs to update the data for that item.

A secondary trigger occurs when one of the following scenarios takes place:

  • An item in the same family (either a parent of the children SKUs or one of the child SKUs) receives a primary trigger

  • A component of a syncing Kit or Assembly Item receives a primary trigger

The following table provides examples of how primary and secondary triggers occur:

Action

Result

When the Class field on an item changes

When NetSuite saves the item record, a primary trigger occurs for the item and updates the lastModifiedDate field.

When the inventory in Location 1 for an inventory item changes

When NetSuite Connector detects an inventory change on a location assigned to the item, a primary trigger occurs.

When the Department field on a child item SKU Shirt-Red in a matrix family changes

When NetSuite saves the item record, a primary trigger occurs for SKU Shirt-Red and updates the lastModifiedDate field.

When NetSuite saves the item record, a secondary trigger occurs for the parent SKU Shirt-Red and any other child SKU in that same family (Shirt-White and Shirt-Blue).

When the SKU CMP1 item has an inventory change in Location 1. This item is a component of SKU MyKit, which is a Kit item set to sync.

When NetSuite saves the item record, a primary trigger occurs for SKU CMP1 and updates the lastModifiedDate field.

Note that even if CMP1 is not set to sync, NetSuite Connector still retrieves the item record for the SKU because it is a component of SKU MyKit, which is set to sync.

When NetSuite saves the item record, a secondary trigger occurs for the parent SKU Shirt-Red and any other child SKU in that same family (Shirt-White and Shirt-Blue).

Related Topics

NetSuite Connector Product Sync
Product Sync Types
Product Sync Mechanisms
Product Mapping Types
NetSuite Connector Product Sync for Items
NetSuite Connector Storefront Flag Fields
NetSuite Connector Product Categories
Syncing Quantity Updates
NetSuite Connector Push Item Update Scripts in NetSuite
Buffered Quantity
NetSuite Connector Product Image Handling

General Notices