Faraz Ahmed
04/08/2025, 9:40 AMCeligo AI
04/08/2025, 9:40 AMAI generated answer (using internal Slack threads):It seems like you are facing an issue with the NetSuite CPQ module where items created from Item creation records are missing base and online prices even though you have defined them in field mapping. From the conversations, it appears that the issue might be related to the way you are setting the base price in your client script. One of the users suggested not to use
ignoreFieldChange
when setting the base price. This is because ignoreFieldChange
prevents the triggering of field change scripts and workflows, which might be necessary for the base price to be properly set and sourced.
Here is the suggested code snippet:
javascript
curRec.setCurrentSublistValue({sublistId: 'item', fieldId: 'item', value: itemObj.properties[2].mCaseId});
curRec.setCurrentSublistValue({sublistId: 'item', fieldId: 'quantity', value: mCase});
curRec.setCurrentSublistValue({sublistId: 'item', fieldId: 'price', value: 1});
curRec.commitLine({sublistId:'item'});
Another user suggested using forceSyncSourcing
to ensure that the base price is properly sourced. However, this didn't seem to work in their case.
In another conversation, a user mentioned that they have custom item fields for each trading currency and set them via a script (user event). This might be a workaround for your issue if you are dealing with multiple currencies.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
04/08/2025, 9:40 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837603629
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820845783
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816638708
Celigo AI
04/08/2025, 9:40 AM