KevinJ of Kansas
05/27/2020, 3:17 PMKevinJ of Kansas
05/27/2020, 3:18 PMAmber Thompson
05/27/2020, 3:45 PMAmber Thompson
05/27/2020, 3:45 PMAmber Thompson
05/27/2020, 4:06 PMSalesSuite
05/28/2020, 6:11 PMAria Ghahari
05/29/2020, 8:57 PMKris Wood
05/29/2020, 9:11 PMsadak_aboobacker
05/31/2020, 12:05 PMBrian
06/01/2020, 3:10 PMTim Pilgrim
06/02/2020, 12:32 PMThe value of attribute "src" associated with an element type "img" must not contain the '<' character.
Tim Pilgrim
06/02/2020, 1:09 PM<#assign tmpImg=hyperlinfield[(hyperlinfield?index_of('>')+1)..(hyperlinfield?index_of('/a>')-2)] />
<img src="${tmpImg}" height="50" width="50"/>
mattb
06/04/2020, 12:48 AMKevin
06/04/2020, 4:04 AMBJBJJJ-8789-BV : HKBKJBK-XL-009
then how can I split and get ``BJBJJJ-8789-BV` from mentioned sku`Kevin
06/04/2020, 4:08 AMLuis
06/04/2020, 8:37 AMZareen
06/04/2020, 3:31 PMANHE
06/04/2020, 9:02 PMManuel Toniato
06/08/2020, 5:30 PMrenderer.addSearchResults()
.
If the search is simple everything works as expected: I define the <#list>
tag and I retrieve the fields correctly
The problems arise when I use joined fields and/or multiple formula fields.
If I use joined fields, I cannot find a way to retrieve the field within the template.
If I define more than one formulatext for example, it seems that the latter overwrite the former and only the last defined formula field is available in the template. Take this code for example.
var filters= [];
filters.push(new nlobjSearchFilter("internalid",null,"is", 40556971));
filters.push(new nlobjSearchFilter("mainline",null,"is", "F"));
filters.push(new nlobjSearchFilter("shipping",null,"is", "F"));
filters.push(new nlobjSearchFilter("taxline",null,"is", "F"));
filters.push(new nlobjSearchFilter("accounttype",null,"anyof","COGS"));
var columns=[];
columns.push(new nlobjSearchColumn("externalid", "item"));
column=new nlobjSearchColumn("formulatext");
column.setFormula("{item.custitem_flb_santoni_colore}");
column.setLabel("color");
columns.push(column);
column=new nlobjSearchColumn("formulatext");
column.setFormula("{item.custitem_flb_santoni_taglia}");
columns.push(column);
columns.push(new nlobjSearchColumn("accounttype"));
columns.push(new nlobjSearchColumn("quantity"));
var searchresult = nlapiSearchRecord("transaction", null, filters, columns );
var renderer = nlapiCreateTemplateRenderer();
var f = nlapiLoadFile(doc_config.template_id);
var template = f.getValue();
renderer.setTemplate(template);
renderer.addSearchResults('template_rows', template_rows);
Could anybody help me?
Thanks in advance.KnotKnick
06/08/2020, 6:53 PMKevinJ of Kansas
06/08/2020, 6:54 PMKevinJ of Kansas
06/08/2020, 6:54 PMKnotKnick
06/08/2020, 7:41 PMKevin
06/10/2020, 1:04 AMKevin
06/10/2020, 1:04 AMKevin
06/10/2020, 1:05 AMMitisha Jain
06/11/2020, 12:32 PMFAgudelo
06/11/2020, 1:42 PMMitisha Jain
06/12/2020, 2:09 PMsuryaprakash598
06/12/2020, 4:05 PM