Architecture Overview
The correlated and related items architecture functions in the following way:
-
The
Item.Details.View.jsfile contains two child views, one for correlated items and one for related items. -
The
ItemRelations.Correlated.View.jsandItemRelations.Related.View.jschild views invoke fetch requests to the corresponding collection files. -
The
ItemRelations.Correlated.Collection.jsand theItemRelations.Related.Collection.jsfiles call the Search API for correlated and related items respectively. -
The Search API syncs with data stored in NetSuite.
-
The
ItemRelation.Correlated.View.jsandItemRelation.Related.View.jsfiles receive the correlated or related items from the Search API.