My Stuff
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
Comments
-
Hi , Got this code from help center. Thought it would help / Creating a landed cost subrecord var purchaseOrder = nlapiCreateRecord('purchaseorder'); purchaseOrder.setFieldText('entity', 'Acme Medical Supply'); purchaseOrder.setLineItemValue('item', 'item', 1, inventoryItemId); var purchaseOrderId =…
-
Hi brandon, you can use nlapiSetRedirectURL to open a new window. for your requirement below should work var param = new Array(); params['id'] = purchaseorderid; params['transform'] = 'purchord'; nlapiSetRedirectURL ('RECORD','transferorder',null,true,param)
-
Hi Vandite, you can try below code on post section of the suitelet var html = '<html>'; html += ' <body>'; html += ' <script language="JavaScript">'; html += ' if (window.opener) {'; html += ' window.opener.nlapiSetFieldValue(\'' + fieldname+ '\', \'' + fieldvalue+ '\');'; html += ' }'; html += ' window.close();'; html +=…
-
Hi Aditya, var cu = request.getParameter('custparam_cu'); var record = nlapiLoadRecord('customer', cu,{recordmode: 'dynamic'}); record.selectLineItem('addressbook', 1); var subrecord = record.viewCurrentLineItemSubrecord('addressbook', 'addressbookaddress'); var country = subrecord.getFieldValue('custrecord14');