Chris
05/01/2024, 4:03 PMSteve Goldberg
05/01/2024, 4:48 PMSteve Goldberg
05/01/2024, 4:50 PMApplication.on('after:Category.get', function (CategoryModel, category) {
var lookupResults = nlapiLookupField('commercecategory', category.internalid, [
'yourcustomfield'
]);
category.customfield = lookupResults.yourcustomfield
});
But you could just integrate that into your code if you’re using SCAChris
05/01/2024, 5:02 PM/api/navigation/v1/categorynavitems
. I believe the fields returned are defined in the json config file under Integrations > Categories.Chris
05/01/2024, 5:04 PMSteve Goldberg
05/01/2024, 5:16 PMChris
05/01/2024, 5:24 PM