My Stuff
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Comments
-
Have you tried to use getLineItemCount? In which way you discriminates the line you want to update? I always did everything i need using getLineItemCount, than looping for the lines and when founded line i need to update (this is the reason of my previous question) i update the line.
-
parent is current record -> current value
-
First you need to put in order the theorical concepts that are influencing your implementation... But: i try to go "technically" without knowledge of your accounting needs. Filter for Account Field -> Type = COGS Filter for Item Field -> Type = Discount Discount line Item Applies in a lot of different ways (i work in a VAT…
-
Yes, implement yourself a saved search that do what you need. Filter for all the transations with posting = true, with posting period from beginning to the date you need to check balance, filter for the count(s) you need to see the balance, the subsidiary you need and enjoy the result. Remember also that you can after use…
-
Absolutely not. You should consider which "thing" have to do user through suitelet and then you have 2 possibilities: - Customize the permissions of the role who users use to access that suitelet (you said you have multiple role so i think second is your solution) - Create an "ad hoc" role with the needed permissions and…
-
You should use the suggested API for each dynamic data not only for that field.
-
I developed a full rest client server service for an external custom GUI: "Let's get the positive things out of the way first. RESTlets are great from the point of view of they're a web standard." Not completely, you cannot manage the HTTP status (that are foundamental in REST) For the login, we use SSO (single sign on)…
-
We dinamically load Html templates in hosted rest app and we had the same problem. We solved the problem (we use a build process) converting file in txt... is not a pretty solution but it work fine. BUT i repeat, during our build process we auto convert extension...
-
Look at the custom record ID in the custom record and use that. Ensure that the "Include In Global Search " flag is checked. Use the same code you used in your example and it will surely works; if not, answer again..
-
I confirm what said by hyukkwon... In details, the difference between the same conceptual implementation developed in suitelet VS restlet is the execution point, the first call (due to the login), the implementation of management of virtual (i suggest a custom header) verb PUT and DELETE (For the suitelet that just support…
-
Yes, that is obvious, but if you want to work on record with REAL users, how could you do with a unique login access??
-
I developed a full external custom vendor portal, i have to suggest you to check before how many users will use the restlet because is a big issue that comes to mind in retrospect. You cannot "inpersonate" a restlet, so if you need to access records, you probably need a lot of license. You should use suitelets that wrap…
-
Or another method is to oper in Firefox the (i dont remember the name in english of the menu but is SHIFT + F4) load the record, JSON.parsify the record and inspect the object...
-
I never tried this with reports BUT: I used suitelets for other custom html output implementation with problems very similar to yours which i solved in this way: Add a SCRIPT tag in the html before response the html output in where you refer to a client script: Suitelet Example sPageHtml = <your html code> sPageHtml +=…
-
DId lot of try (also using a lot the console and sniffing the NS code execution) but... nothing to do, cant read the ship items
-
And... (probably i really didn't understood what you need): if customer didn't exist, why you cannot import them with CSV import? If you need to import them into Netsuite: You can do it via CSV import
-
Sorry if a put a question instead an answer, i didnt understood what you mean when you talk about "catch all account". I neither understood this: "think the time it takes to setup a customer"; is this a difficult operation for you? You can always save data in an excel and import every customer with a simple import…
-
Why you didn't import the customers with csv import?
-
We have 2 different website, the discrimination for the different payment processor is that while we save the web sales order via the web form (custom with 1 additional parameter that discriminates the 2 site) we store the information and we read that information in the thank you page (where the redirect occurs). If you…
-
If the customer is a customer of a parent company: company 1 in the user event after submit of the web order we create the value for the url (that is custom for each credit card payment processor). The url is usually composed from the vendor email, the order id etc etc + the hash (created from the secret key). In the setup…
-
If you prefer you can as well use a user event after submit script deployed for the desired items type. In your specific case, i probably would do this: -Create a custom wizard item import in a suitelet: -Step 1: upload the csv -Step 2: get the item listed with preview -Step 3:check the items you want to import with a…
-
If i understood what you mean, i think its not possible in "standard" ways. In a different scenario (we dont use PayFlow Pro but only paypal and "custom" credit card payment not supported by Netsuite) we create some parameter on the user event after submit on the web purchase order and then we redirect (testing the…
-
We integrated a script that, according to some parameters created after submit of a web order, prepare and call different urls for the payment. But for launching the script in the right moment, we used a trick exploiting the "google analytics conversion push".
-
I think that in that case he would receive e PERMISSION error... Anyway, let me know if you solve or not your problem, i developed a full rest client server app in NS
-
P.S: Another GREAT suggestion is tu setup a POSTMAN app (1 min req ) in your chrome browser and use it for test you communications... I ONLY USE POSTMAN for the tests.. I directly use client app (using backbone) just for test the REAL operation when the tests in postman works well. I remember you that, if you use LOT of…
-
go to Setup -> Users/Roles and customize (or edit if the role is custom) the role giving he the required permission. Probably, the edit on Fulfill Sales Order is needed for fullfill the order (in this new release) but not for edit the fullfillment. Have you tried that?
-
Yes, work on user before submit (or after submit if you also want to prevent the insertion). Check for the state of the SO and if is already fulfilled and you have another item to add show alert AND prevent the insert of item.
-
Hi YHendeles everything could be done except point 1 (if you mean you would like to do it via script). It's possible only via UI or using the SDF (suite development framework). If you need an estimation of efforts for what you need to do, just contact me (more than 5 years as head of customization and tech head of Italian…
-
I've developed a solution for get the value of N multiselect fields and save it into an another in a mass update without problems: I write just a portion of code that i think you need: HAVING THE CURRENT RECORD (as mass updates works) oRec = nlapiLoadRecord(sRecType, sRecId); saSelected =…
-
New Record is not always availble. If you are keeping synced other record related to the record in which UE is acting, you have also to consider the delete event management which is not triggering the aftersubmit record. In this case, you have to manage it in a before Submit event and use OLD record for get values. For…