My Stuff
Comments
-
Hi Ben, I have tried your formula in customer search after changing the field id and it is working fine. Please verify the returning value of your custom field. Thanks, Zeeshan
-
Hi Ben, You could remove New button by writing the following code in before load userevent on parent record like below: list = form.getSubList(sublistId); list.removeButton(btnId); You can find btnId by viewing page source . form: It is a standard object, you can find in before event script. sublistId: E.g.…
-
Hi ryanw, nsrole is basically the internal of role which is assigned to the entity. You can find the role ids here: Setup->Users/Roles->Manage Roles FYI: '3' is the internal id of Administrator role. nsaccount is the ID of your account. You can find your account id here: Setup->Integration->Web Services Preferences Thanks,…
-
Hi Rich, Try like this: var filtersItems = [['upccode', 'is', '8032698541017'], 'OR',['upccode', 'is','8032698541018']]; var searchItems = nlapiSearchRecord('item', null, filtersItems, null); Note: upccode is a text field. anyof is use for select/multiselect fields. Thanks, Zeeshan
-
There is a way to get the available quantity for kit/package items: var fils = [], cols = [], onHandQtyCol; fils.push(new nlobjSearchFilter('type', null,'anyof', 'Kit')); cols.push(new nlobjSearchColumn('itemid',null,'GROUP')); onHandQtyCol = new nlobjSearchColumn('formulanumeric',null,'MIN');…
-
I did not fulfill the SO. Yes, I want to make an Invoice before Fulfillment.
-
Try this one: /* html template: 8371 <html> <head> <title>Welcome!</title> </head> <body> <b>Dear ${customer.entityId},</b> This is a test email. Your email id is ${customer.email}. Thanks. </body> </html> */ var f = nlapiLoadFile(8371); var newRec = nlapiLoadRecord('customer',1);// customer id: 1 var senderInfo =…
-
Thanks Mark and rudler.
-
There is one way to change the field label for locked bundle which is to deploy userevent script on the particular record and in before load event change the field label as mentioned in the following code: function usereventBeforeLoad(type, form, req) { if (nlapiGetContext().getExecutionContext() === 'userinterface') { var…
-
Folio3 has also built NetSuite connectors for eBay and Magento and they work pretty well. I know a couple of their customers and they seem to be very happy with their integration.
-
Hi Chanarbon, I have resolved the issue with the help of NetSuite support representative. The issue was that Sublist fields should be added immediately after the sublist is added. Otherwise, NetSuite throws an error. Perhaps it's an issue with SuiteScript 2.0 However, I am unable to disable a line item field (in…
-
Thanks Olivier and Ibudimir.
-
Good work Creece!!