While creating scripts for NetSuite OneWorld and Mid-market accounts, we can make use of the feature runtime.isFeatureInEffect(‘SUBSIDIARIES’)) returns true if Subsidiary is present and thereby denoting One World account. returns false if Subsidiary is absent and thereby denoting Mid-market account. runtime.isFeatureInEffect(‘MULTISUBSIDIARYCUSTOMER’)) returns true if Subsidiary is present and thereby denoting One World account. returns false… Continue reading Differentiate OneWorld and Mid-market accounts for Scripts
Tag: Suitescript
SALES REP CONTRIBUTION BASED ON THE BRAND.
This proposal covers the scope of displaying the sales rep contribution based on the brand. Requirement The client sells many types of brands. The sales reps are responsible for selling these brands, the sales rep can sell more than one brand. A customer can have multiple sales reps if they buy different brands. On a… Continue reading SALES REP CONTRIBUTION BASED ON THE BRAND.
Map Reduce Error Handling
Jira Code: TRS-579 The main use of map-reduce script to process bulk data and update NetSuite. We can trigger Map-reduce by submitting the task inside the script, but it will never return any data or error message once it completed.If any of the reduce(stage in map-reduce script) becomes fails we can create a text/CSV in… Continue reading Map Reduce Error Handling