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