I feel like I really have a case of the Mondays to...
# suitescript
n
I feel like I really have a case of the Mondays today; but......is there an easy way to get the internal ID of the current Record Type or listing of all record types and their ID? We have found that for some reason some customers have different internal IDs for transactions. e.g. salesOrder is almost always -102 but sometimes it is different. I need to know the Internal ID of the current record type to compare it to the scripted record ID on a custom record.
b
if the custom record already exists, and has the scripted record type field set,
then you want to add another field that uses sourcing to default the script id, then lookup that field instead