Melissa
11/02/2022, 1:12 PMname: "INVALID_RCRD_TRANSFRM",
message: "That is not a valid record transformation.",
on this code:
record.transform({
fromType: record.Type.SALES_ORDER,
fromId: data.salesId,
toType: record.Type.INVOICE,
isDynamic: false
});
battk
11/02/2022, 2:27 PMMelissa
11/02/2022, 2:48 PMbattk
11/02/2022, 2:49 PMMelissa
11/02/2022, 3:18 PM/custinvc.nl?id=45490017&e=T&transform=salesord&memdoc=0&whence=
jen
11/02/2022, 3:31 PMjen
11/02/2022, 3:34 PMvar invoice = record.transform({
fromType: record.Type.SALES_ORDER,
fromId: bo_id,
toType: record.Type.INVOICE,
isDynamic: true
});
Melissa
11/02/2022, 3:35 PMcreece
11/02/2022, 3:46 PMbattk
11/02/2022, 3:47 PMbattk
11/02/2022, 3:47 PMbattk
11/02/2022, 3:47 PMcreece
11/02/2022, 3:48 PMMelissa
11/02/2022, 3:48 PMMelissa
11/02/2022, 3:48 PMcreece
11/02/2022, 3:48 PMMelissa
11/02/2022, 3:54 PMMelissa
11/02/2022, 3:55 PMbattk
11/02/2022, 4:00 PMMelissa
11/02/2022, 4:11 PMvar salesorderSearchObj = search.create({
type: "salesorder",
filters:
[
["type","anyof","SalesOrd"],
"AND",
["status","anyof","SalesOrd:F","SalesOrd:E"],
"AND",
["mainline","is","T"],
"AND",
["department","anyof","35", "37"]
],
columns:
[
search.createColumn({
name: "internalid",
sort: search.Sort.ASC,
label: "Sales Order Internal Id"
}),
search.createColumn({name: "total", label: "Total"}),
search.createColumn({name: "tranid", label: "SO"}),
search.createColumn({name: "status", label: "status"}),
search.createColumn({name: "paymentmethod", label: "Payment Meth"})
]
});
Melissa
11/02/2022, 4:12 PMbattk
11/02/2022, 4:20 PMbattk
11/02/2022, 4:20 PMbattk
11/02/2022, 4:20 PMMelissa
11/07/2022, 4:26 PM