RE: Transform a salesrecord to invoice through clientscript
Im trying to transform salesorder record to invoice,but Im getting Invalid Initilize error and invalid refernce.but I have given form Id as internalId y Im getting this error can Any one help me
function saveRecord(context) {
var objRecord = record.transform({
fromType: record.Type.SALES_ORDER,
fromId:22367,
toType: record.Type.INVOICE,
isDynamic: true,
});
}
We attempted this method to link a vendor to a customer and could not get it to work.
We worked around the issue by first creating a brand new customer and then using the entity deduplication task to merge the vendor and customer records.