My Stuff
Comments
-
Hi Ravi, whether the text field has opportunity 'tranid' value??? use this, var filter=new nlobjSearchFilter('tranid',null,'is',opid); . . . nlapiSetFieldValue('customrecord86', 'custrecord23', opp_id);
-
Hi Ravi, Just try this, var filter=new nlobjSearchFilter('tranid',null,'anyof',opid); var searchresult=nalpiSearchRecord('opportunity',null,filter,null); if(searchresult!=null) { var opp_id=searchresult[0].getId(); } nlapiSetFieldValue('customrecord86', 'custrecord21', opp_id); ----------- Pradeep
-
Hi Liam, Add value for amount and try... B'coz without amount we cannot add item in Purchase order.... Pradeep
-
I tried a small piece of code on Assembly item Component Sublist. But It didnt worked. function validateInsert(type){ if(type =='member'){ alert('hi'); return false; } } Hi Madhur, Could you tell me what you selected in Script Deployments 'Applies to'. I can't found 'Build/Assembly item' in script deployment applies to.
-
Your code is working for me..... Im getting 'Hi' alert....
-
Hi Shrinivas, Instead of adding URL field you just add a text field and use href attribute in the field value. Try the below code. var col = sublist.addField('custpage_sublist_url', 'text', 'URL'); var URL = "http://www.netsuite.com"; for(var k=1;k<5;k++) { var link = '<a target="_blank" href="' + URL + '">' + k ;…
-
Hi jwenzer, In view mode try to load the record and get the value. i.e var recordload=nlapiLoadRecord(nlapiGetRecordType(),nlapiGetRecordId()); var formvalue=recordload.getFieldValue('customform');
-
yes you need to customize and add new fields to the form, if there is no out of box field.
-
Hi DB, There is no NetSuite Standard PDF print for Vendor Bill. So, you have to create PDF file using nlapiXMLToPDF() and attach the file in nlapiSendEmail().
-
Hi Jarrod, Refer the below links. https://netsuite.custhelp.com/app/answers/detail/a_id/30748/kw/Mass%20Update%20on%20a%20custom%20field https://netsuite.custhelp.com/app/answers/detail/a_id/25373/kw/Mass%20Update%20on%20a%20custom%20field
-
Cheers!!!!!!!! scottr
-
Hi Scottr, I solved this by adding a column field in the transaction and deployed a client script which will sum the QOH of all locations and displays in the column field on item field change. function clientPostSourcingInvoice(type, name) { if(name == 'item' && type == 'item') { var itemID =…
-
Setup >> Import/ Export >> View CSV Import Status. then there will be the list of things u imported. Click on 'CSV Response' on right side of the list then you can save the excel that u imported in ur local drive.... Regards, Pradeep.
-
Hi Dbablu, you can do this in beforeload userevent script... create a custbody list field lists sales order no and apply that field in sales order form and use the below code. function userEventBeforeLoad(type, form, request) { if(type=='create') { var id=request.getParameter('memdoc'); if(id==0) { var…
-
Add some text in ELSE eg. 'No'. CASE WHEN {item.lastpurchaseprice} = 0 THEN 'Yes' ELSE 'No' END
-
Hi eleran, Simply add "/ {anotherfieldid}" after the case. Case WHEN {transaction.account} like '%6000%' and TO_CHAR({today}, 'YYYY') = TO_CHAR({transaction.trandate}, 'YYYY') then (Case when {transaction.type} in ('Invoice', 'Cash Sale') then {transaction.amount} else 0 end ) else 0 end / {anotherfieldid}
-
Hey man add company in event 'related records' tab.. then its showing in report. Note: If the above fails add the attendees.
-
Last try Vj..... add company in attendees then change the event date to yesterday.....
-
Hi Vj, If u add company in attendees then only its showing in report. No need to add in 'related records' tab. Kindly check this.
-
Have u selected sales role field value as Sales rep in Employee Record >> Human Resources Subtab???
-
Hi Kent, Have you installed the bundle "SuiteLabs File Drag and Drop BETA" id-41309
-
Check whether the suitelet script deployment status is released and it is released to your role or employee. If the script deployment status is in testing or not released to roles and employees this error will occur.
-
Hi Jarrod, Could you share the formula. so that i can check.
-
Hi Jarrod, Whether the custom field you created was a body field or column field? you can get reference of that field in saved search as field name(custom).
-
Hi Josh, U can deploy User event script Beforeload function to disable amount field in SO line. function userEventBeforeLoad(type, form, request) { if(type=='create') { form.getSubList('item').getField('amount').setDisplayType('disabled'); } } _____________ Pradeep
-
Hi Josh, U can deploy an user event script beforeload function to disable the amount field. function userEventBeforeLoad(type, form, request) { if(type=='create') { form.getSubList('item').getField('amount').setDisplayType('disabled'); } } ____________ Pradeep R
-
Hi josh, 1. Copy the code in notepad, save as to anyname.js in to desktop. 2. Go To, SetUp>> Customization>> Scripts >> New .It will list the type, click on "user event". 3. Enter name for ur script. click on script file list field in scripts subtab >> new. A window pops up, enter the anyname.js in file name field and…
-
Thanks a lot Tristan.... I will try ur code... _____________ Pradeep.
-
Hi tmargot, I don't know how to read the excel column and rows after decoding excel file using the above function. I just added three columns and 2 rows in excel and uploaded in file cabinet. ___________ Pradeep
-
Hi, I tried the same code im getting symbols. Could someone help me out. __________ Pradeep