How to transform record in Netsuite Scripting ?
Hi All,
Transform is very useful api, this will get all data from the record from which script is transforming and there is less burden on script. No need to copy all data and then set one by one and take care of all logic.
Please use below Script to transform record in Netsuite :
Transform is very useful api, this will get all data from the record from which script is transforming and there is less burden on script. No need to copy all data and then set one by one and take care of all logic.
Please use below Script to transform record in Netsuite :
var objRecord = record.transform({
fromType: record.Type.SALES_ORDER,
fromId: salesorderid,
toType: record.Type.CASH_SALE,
isDynamic: true,
});
Thanks
Abhi
How do I use defaultvalues: {customform:89}.
ReplyDeletethis line throws errors.
Looklike V is not in Capital letter,
Deleteuse like this
defaultValues: {
customform: 89
}