mass delete landed cost template mappings, how wit...
# ask-stanley-ai
m
mass delete landed cost template mappings, how without script?
c
AI generated answer (using internal Slack threads):
To mass delete landed cost template mappings without using a script, unfortunately, there is no built-in functionality in NetSuite to do this. You would have to manually delete each record one by one. However, if you are open to using scripts, you can use a Map/Reduce script or a Suitelet script to delete the records in bulk. Here is an example of how you might use the Delete Record API in a Map/Reduce script:
Copy code
code
var salesOrderRecord = record.delete({type:record.Type.SALES_ORDER,id: 88});
Please note that you would need to replace
record.Type.SALES_ORDER
and
id: 88
with the appropriate record type and id for your landed cost template mappings. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824756324
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81661725
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816167653
Please provide your feedback on this answer.