-
Transforming Records
Prior to version 11.0.3, we were successfully using nlapiTransformRecord(...) and nlapiSubmitRecord(...) to bill out sales orders. Depending on the type of sales order we were able to "transform" it into an invoice or cash sale and the status of the sales order would go to "Billed" as a result. Now when we attempt the very…
-
Shipping options at check ot
I ship mostly LTL- pallet quantities. My hope is to do more UPS but i need to offer another option at check out other than UPS. i set up an option called "Best way" that would allow me to pick the "best way" for particular shipment. However when you click on the best way option the word "free comes up next to it. How can i…
-
smbXML handle reference same as internal id?
I was reading through the smbXML documentation and they make reference to how to point to an object through a unique handle that is assigned to the object. Is this handle the same thing as the internal id of the object?
-
Multi-Store/1 NS Instance
This might be the wrong section, so I apologize in advance. I know this is a feature request, but it is a solution that we need now, so I'm trying to figure out a way around the NS limitations. I think I read somewhere (though I can't find it now) that you can host your webstore entirely outside of NetSuite, i.e. on a…
-
E-mail templates
When will e-mail templates be supported for SuiteScript? Thanks Jan
-
Searching for Purchase Orders Pending Receipt
I am trying to write a server side script that will search for all Purchase Orders that are Pending Receipt. Any idea what is wrong with the code below. It doesn't return any results. function po_pending_receipt() { nlapiSetPortletTitle( 'Purchase Orders Pending Receipt' ); nlapiWritePortletLine('',null,0); var columns =…
-
Help Deploying My First Server SuiteScript???
Hello, I am working with a new script to copy line item names to a custom body filed so that we can see the item name in a custom transaction search using the "Status" Item Fullfillment: Picked, Item Fullfillment: Packed, Item Fullfillment: Shipped. We need to be able to see the item name being ordered in each of the…
-
cannot getAll() Account records
When I try to extract the Account object: GetAllRecord allRecord = new GetAllRecord(); allRecord.setRecordType(GetAllRecordType.fromString("account")); GetAllResult searchResult = (GetAllResult) netSuiteStub.getAll(allRecord); Status status = searchResult.getStatus(); => I get a "Failed" status. And the message is: "An…
-
Need help with getList()
OK. I promise I'm not a complete idiot (some parts are missing). Developing my first .NET C# project with Netsuite's Webservices. I've got my webservices client logged in and I'm attempting to execute my first getList() method. Writing my code based on the examples in the Webservices Operations definitions, I pass the…
-
Sample WS SOAP Code for Inventory Adjustment
As of WSDL 2.x it looks like Inventory Adjustments are now supported. Thank heavens! With over 4000 items, I can't seem to think of any other way to actually get a physical inventory entered into Netsuite. Does ANYONE have any sample SOAP code that they could share for a simple inventory adjustment? Thanks so much in…
-
Date Search
Does anyone (Wolverine10 :) ) have a snipplet for searching based on a date criteria. Below is a sample of what I'm trying to do (in VB). It seems to me that this would be simple, but the way things are going lately - nothing is simple. Dim searchCriteria As SearchDateField = Nothing searchCriteria = New SearchDateField…
-
Custom Fields
Does anyone have a code snipplet they can post demonstrating how to access the values stored in custom fields. At this point I have ran a search, populated an array, and now I'm looping through and populating variables. I'm at the last part which is to populate variables from custom fields within NetSuite and I cannot…
-
Adding cost fields to packing slip
Is there any way to add cost fields to packing slips? I am trying to find a way to get the customers order into the box showing that it is paid in full and the amount of the order with shipping, etc... without having to bill an invoice and print that in another step.
-
Best way to import cash sale using smbXML?
After thinking about the issue of importing a cash sale into NS via smbXML I couldn't figure out how you would for instance figure out how to send in who the customer was as well as which items they were purchasing unless you had all the item/customer information at hand, unless I wanted to query NS for each item, get the…
-
getCustomization
Hi, I'm trying out the new v11 API, specifically, the getCustomization() addition. I tried this; seems pretty simple, did I miss something? CustomizationType custType = new CustomizationType(); custType.setGetCustomizationType(GetCustomizationType.fromString("entityCustomField")); GetCustomizationResult custResult =…
-
Order Date & Time?? Help!
Hello All, I am trying to figure out to get a time stamp on our WebStore orders. We have a cut-off time of 12:00 Noon EST for same day shipping. I have created a few custom fields Transaction Body & Option set to Type = Time Of Day & Dynamic Default: Current/Date Time. The issue is it only works when we enter an order in…
-
Autopopulate Time Zone based on other field?
Can anyone tell me how to generate an auto-populated field for Time Zone based on a Customer's area code or state/province? Example: enter the telephone number with area code 604 and the time zone for Pacific would adjust automatically. Right now, we have to look up the location to determine the time zone. This helps for…
-
Source Code for Sample Application
Is the source code for the sample application available for us to learn from? I've downloaded the app, and it runs great, but I'd love to see the C# code that's driving it.
-
Getting Started
OK, slightly frustrated here. A week ago I had a very basic web services client running where I was able to instantiate the Netsuite service and login. I've since lost that code, and am starting fresh with the Getting Started guide. Here's my code: <%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="false"…
-
Sample SOAP Code to UPDATE InventoryItem
I'm using the following code to update an inventory record, but it's returning the ever-so-lovely Netsuite UNEXPECTED ERROR message with no further explanation. Anyone have an example SOAP snippit that works for updating an inventoryItem record? Thanks in advance, Tony <platformMsgs:update xmlns:platformMsgs =…
-
Generate License Agreement with Custom Forms?
I'd like to know if it is possible and how to use NS to generate a license agreement so that when we sell a certain product, the purchaser must agree to the license before having access to a specific registered owner's area of our web site. Example: An action triggers an auto email to the purchaser providing them with a…
-
Retreiving a list of inventoryItems
Anyone have success getting a list of inventoryItems via WS? I'm having issues managing the right syntax for it. Thanks for documentation, I am able to get customers and sales orders, but inventory items seem to be lacking in documentation.
-
Sales Orders and Server Suitescript
Hi, I'm looking to create a some custom records once our Sales Orders are approved and enter the fulfillment queue, and I want to do this when accounting approves the order. Will I be able to use a User Event script here when the Approve Sales Order button is clicked or orders are approved in the approval queue?
-
phone call completed time
is it possible to retrieve/set the "To" (time of day) field in a phone call? it seems as though "From" is possible, but, looking at the response SOAP for a phone call i created through the UI, i don't even see the 9:00 "To" value. <?xml version="1.0" encoding="utf-8" ?> - <soapenv:Envelope…
-
Any help with PHP/Curl with System to System Integration?
I have gotten my system to system integration set up to the point where I am making the connection with Netsuite via PHP/Curl but I have yet been able to send them a xml file nor an xml string to the server and have it properly import. Anyone with any suggestions of what I need to send and how to do it with Curl. The guy…
-
Search Phone Calls
Can anyone post sample code for searching for phone calls. I'm trying to search for phone calls between two dates and it's extremely hard for me without an example. Thanks.
-
Sourcing Custom Hidden Fields
I had a custom hidden transaction body field, "Sales Rep Location," in version 10.6 that sourced a sales rep's Location from Sales Reps. In version 11 that field is no longer getting sourced unless I make it visible. I don't know whether or not this is a version 11 problem with all sourced hidden fields. Anyhow I am…
-
Calculations inside fields
Is there a way to program my item fields so I can have several numbers in there, then show the total in the record display? For example, I have a field where I want to list several expenses, then have them all added: +2+3+8+1+6=20 If I could set up a chart, similar to the way the Pricing subtab looks, except with my own…
-
Display picture of product in invoice and estimate
In transaction Column Field there's no type "picture" and I can't source from List Item/Picture because the type doesn't match.
-
Record is parent Checkbox
The "Record Is Paract" checkbox is always unselectable. I have not been able to find a case where I can create a custom field and have it able to be checked. I'm also having issues in getting the sourcing fields to show when I try and select a source list field that is custom defined. Any help?