Does anyone know if it is possible to EDIT a Plann...
# suitescript
m
Does anyone know if it is possible to EDIT a Planned Standard Cost record via SuiteScript (or any other automated fashion). I didn't see anything in the documentation, but wondering if I missed something.
b
the quick check to see if its possible is to load an existing record and make a change
m
ok. Dumb follow up question. What Record Type do I use?
b
usually you can guess the id
if you want to inspect's netsuite's internal list, you can use
Copy code
nsapiInitRecords();
console.log(nsRecordTypes);
in the console of a page that supports suitescript
m
ok, I'll give that a whirl. Thanks.
plannedstandardcost: Object { id: "plannedstandardcost", type: "OTHER", scriptable: false, … } So, if scriptable is false, I'm out of luck I take it?
b
that object is what is used by client script to see if a record is supported or not
server side script uses a different list, which is not as available
the ids will be the same, so you should be able to do what i originally suggested and try loading an existing record to make an edit
👍 1