While creating search in a script if you need to reference the NetSuite Transaction Type. You have to use the equivalent type in script as you use in saved search. So we have provided the record name as well as the type that we can use in script.
Transaction Type | SuiteScript SearchFilter |
Assembly Build | Build |
Assembly Unbuild | Unbuild |
Bill | VendBill |
Bill CCard | VendCard |
Bill Credit | VendCred |
Bin Putaway Worksheet | BinWksht |
Bin Transfer | BinTrnfr |
Bill Payment | VendPymt |
Cash Refund | CashRfnd |
Cash Sale | CashSale |
CCard Refund | CardRfnd |
Check | Check |
Commission | Commissn |
Credit Card | CardChrg |
Credit Memo | CustCred |
Currency Revaluation | FxReval |
Customer Deposit | CustDep |
Customer Refund | CustRfnd |
Deposit | Deposit |
Deposit Application | DepAppl |
Expense Report | ExpRept |
Inventory Adjustment | InvAdjst |
Inventory Count | InvCount |
Inventory Distribution | InvDistr |
Inventory Transfer | InvTrnfr |
Inventory Worksheet | InvWksht |
Invoice | CustInvc |
Item Fulfillment | ItemShip |
Item Receipt | ItemRcpt |
Journal | Journal |
Opportunity | Opprtnty |
Payment | CustPymt |
Purchase Order | PurchOrd |
Quote | Estimate |
Return Authorization | RtnAuth |
Sales Order | SalesOrd |
Sales Tax Payment | TaxPymt |
Statement Charge | CustChrg |
Transfer | Transfer |
Transfer Order | TrnfrOrd |
Vendor Return Authorization | VendAuth |
Work Order | WorkOrd |
Here, you can see the example to get invoice records only from the transaction search.
var filter = []; filter.push(new nlobjSearchFilter('type', null, 'is', 'CustInvc')); var searchresults = nlapiSearchRecord('transaction', null, filters);
Hurrah! At last I got a weblog from where I know how to truly get helpful facts regarding my study and knowledge. Wren Bondon Dehnel
I every time used to read post in news papers but now as I am a user of internet so from now I am using net for content, thanks to web. Fayina Arte Stanwood
Undeniably believe that which you stated. Your favorite justification appeared to be on the internet the simplest thing to be aware of. Melli Ettore Coit
One of our guests not too long ago encouraged the following website. Heida Theobald Manville
I really enjoy the article. Much thanks again. Will read on… Helsa Hobart Altaf
Some truly prize blog posts on this internet site , saved to my bookmarks . Stoddard Hercules Hak
Thanks for excellent information I used to be looking for this information for my mission. Jorie Haven Sterling
Way cool! Some extremely valid points! I appreciate you penning this post and also the rest of the site is extremely good. Barb Nestor Kinata
Amazing this is very open with a precise explanation of the issues. It was truly informative. Dana Gaston Hahnert
Interesantes y valiosas son tus reflexiones, Diana. Corny Ellswerth Gebhardt
I like the valuable information you provide in your articles. Madelin Tammy Gualtiero
Pretty! This was an incredibly wonderful article. Thanks for supplying these details. Ranee Lanie Sheena
Great article! We will be linking to this particularly great post on our website. Keep up the good writing. Sidoney Elmore Magel
Thank you for sharing your thoughts. I truly appreciate your efforts and I am waiting for your next write ups thanks once again. Mirelle Jeffy Noland
Everyone loves it when folks come together and share ideas. Great blog, keep it up. Rebe Rodolphe Bora
Hello, this weekend is pleasant designed for me, since this moment i am reading this great educational paragraph here at my house. Jessa Tobit Anjela
I have been examinating out a few of your articles and i can state pretty nice stuff. I will surely bookmark your website. Sandra Sterling Swec
I visited various sites however the audio feature for audio songs existing at this site is truly marvelous. Connie Jamil Merl
Hello There. I discovered your weblog the use of msn. That is an extremely well written article. Cristal Abbie McWherter
This is one awesome article. Really thank you! Fantastic. Petrina Davis Gregorius
Heya i amm for the first time here. I came across this board and I find It really useful & it helped me out much. Marcelia Justino Ame
Pretty! This has been an extremely wonderful post. Thank you for providing these details. Bonita Krishnah Leckie
Hi to all, how is the whole thing, I think every one is getting more from this site, and your views are nice for new viewers. Vilhelmina Lockwood Durwyn
Great post! We are linking to this particularly great post on our website. Keep up the good writing. Alisun Far Sikorski
Great post. I will be facing some of these issues as well.. Alyda Sigismundo Matless
Pat your skin dry and apply witch hazel to remove any remnants of clay. Shina Anatol Magbie
This piece of writing is genuinely a nice one it assists new internet people, who are wishing for blogging. Reina Alard Thurston
Having read this I believed it was rather informative. I appreciate you taking the time and energy to put this content together. Chrissie Marcel Sela
No matter if some one searches for his necessary thing, so he/she wishes to be available that in detail, so that thing is maintained over here. Elvira Bat Amarillas
I think this is a real great post. Really thank you! Awesome. Robinette Tod Pearman
I truly enjoy looking at on this site, it holds superb posts.
I simply wanted to thank you one more time for that amazing web page you have made here. Carley Timmy Thin