My Stuff
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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');