My Stuff
Comments
-
You'd can do an ItemSearch and specify the parent item. If you can delete those children, you can probably delete the parent. You are correct though about transactions. Wouldn't deleting an item that exists in transactions mess up your income statement, etc? So you'd have to delete those transactions too. -John
-
I'm not 100% sure what you are asking - but I think you want to look at the internalId attribute. -John
-
Does the following work for you? In one addList Add Customer, setting externalId to <Cu1> Add Contact, setting company externalId to <Cu1> Since you are using an external database, you probably have a unique key for Customer - you can use that for externalId in place of <Cu1> -John
-
You can add both the customer and the contact in the same list if you set the externalId of the customer and refer to it on the contact. However, to do an Attach() is a separate operation. -John
-
Promotion Codes will be exposed in the second half of 2008 release. sohail is correct about GetSelectValue, if the field is dependant on another field you will not get results. Mike's workaround is a good one - find a different record with the same field that might not have the dependency. -John
-
SupportCase / Task / Event / Phone Call as parents can be set via the "activity" field. Opportunity and all the other transactions can be set as parent via the "transaction" field. -John
-
Does it work for smaller documents? IE has it succeeded with fewer items/smaller size? I don't have Ruby setup, so can you try with maybe a contact (1 address vs 100 addresses) and send me the SOAP if the latter fails and the former succeeds? Thanks, -John
-
Do you have any mandatory custom fields without labels - it could be that? Otherwise you'd have to file a case with support and we would investigate. -John
-
Expressions are not currently supported in Web Services. In the second half of 2008 we plan to expose saved searches, so if you build a saved search in the I you can get the results in WS. -John
-
Last modified should be time searchable, so can you file a case with support including the SOAP and we'll investigate. -John
-
I'm looking for the complete SOAP so we can reproduce. Can you file a case with the soap and post the number? -John
-
I'm afraid not. You may want to cache your custom lists on the client, since they are only name value pairs I can't imagine they are very large in RAM. -John
-
You want xsi:type instead of xmlns:type, so <platformMsgs:get> <platformMsgs:baseRef internalId="12" type="employee" xsi:type="platformCore:RecordRef"> <platformCore:name/> </platformMsgs:baseRef> </platformMsgs:get> This and other samples can be found in the NetSuite Application under…
-
ODBC is going to be faster than WebServices. If there are simple fields (eg date modified) that are missing from the ODBC views, please file an enhancement. -John
-
You need to know the internalId of "BDCN Member" - you have to find this either using a search() or a getSelectValue(). -John
-
If you are searching custom records you can use the notes and messages joins. You can also use the customFieldList which can often give you one side of a join (via searchCustomMultiSelect fields). However, what I imagine you want to do is search one custom record type based on criteria in another, related, custom record…
-
You get back a listOrRecordRef field from the get (custrecord123), it would be in the name field of that listOrRecordRef. -John
-
I believe you want to post in the E-Commerce forums https://usergroup.netsuite.com/users/forumdisplay.php?f=20 -John
-
I think if you set UseConditionalDefaults to False in your Soap Preferences the behavior shouldn't happen. Otherwise update the customer with salesRep in the NullFieldList as soon as you create it. -John
-
I basically just posted from the help. Copying your original post... <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:platformMsgs="platformMsgs:messages_2_5.platform.webservices.netsuite.com" xmlns:platformCore="platformCore:core_2_5.platform .webservices.netsuite.com">…
-
What is the error you are getting? -John
-
Great suggestions. nsLib / searchMap is the sample. It's very sparse (to be generous). We're looking at providing a toolkit that takes care of the namespacing, session management, and hopefully provides a convenient way to code against proxy objects rather than name/value pairs. Adding specific business operations like…
-
you can get the WSDL from https://webservices.netsuite.com/wsdl/v2008_1_0/netsuite.wsdl Then change the endpoint url to https://webservices.beta.netsuite.com/services/NetSuitePort_2008_1 in your code. -John
-
File and Folder are fully exposed in the 2_6 wsdl, specifically FolderSearch and FileSearch as well as the underlying records. https://webservices.netsuite.com/xsd/documents/v2_6_0/fileCabinet.xsd -John
-
What is the exact message? Can you make sure that your http request includes the JSESSIONID cookie? It may be that you are not sending it back since you getting an NS_VER cookie as well. -John
-
Note that there is a company level preference for this. Go to Setup->Customization->Web Services and you will see checkboxes for disable client suite script and disable server suite script. If the latter is *unchecked*, user event scripts will be triggered. -John
-
I think you want to add a namespace to the xsi:type. <customField xsi:type="platformCore:SearchBooleanCustomField" internalId="custentitydisplayonwebsite" operator="true" /> If we were going to re-write the PHP samples, what functionality would be useful to demonstrate? -John
-
Have you tried using a joined CustomerSearch using the contact email address (in ContactSearchBasic) as a criteria? -John
-
Which wsdl/endpoint are you using? It's probably in the 2008_1 endpoint. Make sure you check the 2008 Records Guide for it. If not, file a support case and post the number. -John
-
What does the SOAP look like? HTML characters must be escaped, otherwise they will be interpreted as XML tags and thus be illegal. -John