Lukasz Formela
11/17/2020, 12:09 PMCustInvc
or SalesOrd
on type
column. Do you know if there's a way to search by transaction type internal id instead? Or is there a way to map transaction type id/full name to abbreviated version?burkybang
11/17/2020, 1:21 PMLukasz Formela
11/17/2020, 1:27 PMburkybang
11/17/2020, 1:28 PMburkybang
11/17/2020, 1:33 PMburkybang
11/17/2020, 1:37 PMsearch.create({
type: search.Type.TRANSACTION,
columns: [
search.createColumn({
name: 'recordtype',
summary: 'GROUP',
}),
search.createColumn({
name: 'formulatext',
summary: 'GROUP',
formula: '{type.id}',
}),
],
});
burkybang
11/17/2020, 1:37 PMnlapiSearchRecord('transaction', null,
[],
[
new nlobjSearchColumn('recordtype', null, 'GROUP'),
new nlobjSearchColumn('formulatext', null, 'GROUP').setFormula('{type.id}')
]
);
battk
11/17/2020, 1:42 PMbattk
11/17/2020, 1:43 PMbattk
11/17/2020, 1:43 PMLukasz Formela
11/17/2020, 2:51 PM