The following FAQs are helpful if you encounter any issues while running the Salesforce opportunities to NetSuite subscriptions and sales orders flow in the configured template.
Why the Import NetSuite subscription (update) is throwing different errors in different scenarios while running the flow.
- Error 1. Failed to save record because you cannot save this subscription as one or more lines do not have a price
- Error 2. Failed to create, update/transform record because intervals of the same subscription line have to have different start dates
- Error 3. Price Plan step not working after some customizations
- Error 4. You cannot save a subscription because one or more lines do not have a price although we are passing the price plan ID
Error 1. Failed to save record because you cannot save this subscription as one or more lines do not have a price
A. This error occurs when you hardcoded the price plan field. Every subscription line has a unique price plan ID and you cannot use the existing price plan ID (details) that is used in other subscription lines.
Error 2. Failed to create, update/transform record because intervals of the same subscription line have to have different start dates
A. This error occurs when the mapping is missing a couple of mandatory fields. Also, the order of the fields is not maintained and the line number value should be a string.
Error 3. Price Plan step not working after some customizations
A. While adding the add-on items in the NetSuite subscription, the Lines: Line Number (Field ID: linenumber), and Pricing: Line Number (Field ID: linenumber) fields are mandatory. The subscription line number should be in sequence "1,2,3.." and should be a string (ex: Line number: "1").
- Make sure to follow the sequence while adding subscription plans. For example, if a subscription plan has two line items, then the line number would be 1, 2. The next added lines should start from 3; that is, the sequence should be continued.
- The subscription start date and subscription lines start date should be the same.
- The sequence of mappings in the flow should be followed as-is: Salesforce opportunities to NetSuite customers, billing accounts, subscriptions, and sales orders > Import name > Import NetSuite subscription (update). It shouldn't be shuffled.
Error 4. You cannot save a subscription because one or more lines do not have a price although we are passing the price plan ID
A. This error occurs when the pricing sublist is trying to add data in the new line, instead of updating the existing line that was entered in the lines subset. To resolve this, find the line match and update it.
To update, remove Pricing: Create Line, Pricing: Item (InternalID), Pricing: Line Number (field Id: Line number), and add Pricing: Line Number (field ID: Linenum) and check the Use as a key field to find existing line box. This mapping will find the match Index based on linenum and update those lines.
Comments
Please sign in to leave a comment.