Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Uncover the power of data with the Analytics Hub —your ultimate guide to mastering NetSuite Saved Searches and Reports. Simplify the complex and unlock your organization's true potential. Dive into the Analytics Hub now and soar to new heights!
To help you get the most out of your 2025.2 Release Preview account, review the topics outlined in the 2025.2 Release Preview Guide.
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more
Saved Transaction Search is returning three decimal places instead of two when using Formula (curren
Hello Gurus,
I have very strange problem in our multibook development account. I have created Saved Transaction Search with four Formula (Currency) fields:
On the results page on the UI I see the Formula (Currency) field values correctly - with two decimal places:
But when I get the results in the SuiteScript I see the Formula (Currency) field values with three decimal places:
Here is the Saved Search Code:
var transactionSearch = nlapiSearchRecord("transaction",null,[ [[["type","anyof","CashSale","CustInvc","CustCred","Custom100"],"AND",["custbody_type_of_document","noneof","8","9","10"],"AND",["accounttype","anyof","AcctRec"],"AND",["mainline","is","T"]],"OR",[["type","anyof","VendBill","VendCred"],"AND",["custbody_type_of_document","noneof","8","9","10"],"AND",["custbody_tax_item","noneof","1008"],"AND",["mainline","is","T"]],"OR",[["type","anyof","Journal"],"AND",["custbody_type_of_document","noneof","8","9","10"],"AND",["account","anyof","186","191","185","187"],"AND",["custbody_bg_protocol","is","T"]],"OR",[["type","anyof","VendBill","VendCred","CashSale","CustCred","CustInvc"],"AND",["custbody_type_of_document","noneof","8","9","10"],"AND",["accounttype","anyof","AcctRec"],"AND",["mainline","is","T"],"AND",["memomain","is","VOID"]],"OR",[["type","anyof","Journal"],"AND",["custbody_type_of_document","noneof","8","9","10"],"AND",["memomain","is","VOID"]]], "AND", ["memorized","is","F"], "AND", ["custbody_tax_item","noneof","1008"]], [ new nlobjSearchColumn("taxidnum","subsidiary","GROUP"), new nlobjSearchColumn("legalname","subsidiary","GROUP"), new nlobjSearchColumn("formulacurrency",null,"SUM").setFormula("{custbody_col_9_sr}"), new nlobjSearchColumn("formulacurrency",null,"SUM").setFormula("{custbody_col10_sr}"), new nlobjSearchColumn("formulacurrency",null,"SUM").setFormula("{custbody_col_11_sr}"), new nlobjSearchColumn("formulacurrency",null,"SUM").setFormula("{custbody_col_12_sr}")]
Tagged:
6