Discussions
nlapiDeleteRecord() not respecting type
I have just filed a Case (#1379723) for this and I assume it will be addressed as a high priority, but because the repercussion are potentially so bad, I think all coders need to be aware right away, until it is fixed.
Let's say I have a Credit Memo whose internal Id is 1010.
If I do nlapiDeleteRecord('expensereport',1010)
Netsuite WILL delete the Credit Memo instead of giving me an error concerning type mismatch.
This was tested specifically with the types mentionned above, on 2011.2. I do not know if this is true for any type or for 2011.1