Version: eXtendESP 1.0.4 and above
Audience: Administrator

To make an item inactive in ESP, update the eXtendESP Inactivate Item[B] in NetSuite and add criteria of how user will specify if an item is to be marked inactive in ESP i.e. do you want to mark an inactive in ESP when user unchecked Is ESP Item or when Inactive field is checked on Item. This workflow will then automatically mark an item inactive once the user updates item in NetSuite.




Workflow Configuration

1. Navigate to Customization > Workflow > Workflows > eXtendESP Inactivate Item[B]

2. Create a copy of this workflow and mark the bundle workflow as suspended. We always recommend users to use the cloned version of the bundled workflows since on bundle update any customization done by you in the bundle workflow gets overridden.

3. Now, add any other criteria required as per your use-case in this workflow and mark it as release.




Workflow Overview

When this workflow is executed it will clear ESP Item Sync Error & ESP Item Synced On field's value present on the item record.



After that a workflow action script "eXtendESP Inactivate Item in ESP" will be executed to inactivate the item in ESP.



Note: You can use "eXtendESP Inactivate Item in ESP" workflow action script to create your own workflows with your own logic based on your use-cases if required.