My Stuff
Comments
-
By no means complete this performs a search via NuSoap. http://sourceforge.net/project/showfiles.php?group_id=180270&package_id=208580 Look at searchMap.php for the specific searching code. -John
-
I believe you have to do the search. -John
-
The documentation is out of date for this field - it switched to a string field recently. For permission errors like this one, visit the new item page and see if the upcCode field is accessible, if you don't see the field (or it is disabled) then a feature needs to be on, or it needs to be put on the form. Many users also…
-
Can you do this in the UI, specifically is the account with internalId 125 available when choosing that entity? -John
-
bodyFieldsOnly = true will get you fewer fields with a faster search. -John
-
One workaround might be to try searching for the categories you do want, instead of those you don't. -John
-
Yes, what specific problem have your run into? Are you able to login / push the JSESSIONID into the next request? What does your SOAP look like? -John
-
Yes and no - if you know the internalId of the item you want to add - you can add it. Assembly/BOM items can not be searched for / retrieved until the 2008.1 release that is just starting to roll out. -John
-
ExternalId is not shown in the UI. '243' is the auto generated number, 'Mesa Ranch' is the name. I believe '243 Mesa Ranch' would be the entityId. For a record to have an externalId, you would have had to set it on add (or later on update). -John
-
It is in the version 2.5 schema, but not in the 2.6. Rebuild your web reference. -John
-
What's the equivalent page in NetSuite? -John
-
Make sure you can set the UPC code as the user you are logging in with via Web Services. Your code looks fine otherwise. -John
-
role is a recordRef, not a string value. You thus need to create a struct of type recordRef and assign its internalId to 31. Briefly skimming the Adobe Docs I think it would look something like stRole = structNew(); stRole.internalId = "31"; <cfinvokeargument name="role" value="#stRole#"> Or something like that... (I am…
-
Use the SiteCategory Record - here is a link to the schema browser in the help center (you must be logged in) https://system.netsuite.com/help/helpcenter/en_US/SchemaBrowser/index.html -John
-
The simplified WSDL is not in the immediate future, it's a reasonably big feature. We could use feedback on things that would be useful to include in the sample code for PHP so that other users don't have to go through what you did. Also, what are the most important features for "Scripting" (PHP, Python, Perl, Ruby)…
-
I feel your pain in terms of ease of use of the platform for PHP. We've waited 3 years for the PHP toolkits to catch up and handle the abstract data type, but they just haven't. In your post my quote is actually from a 2/15/2008 (I joined the UG in June 2006) - the point is that we are currently and actively looking for…
-
SearchStringField is in core, not common. You may need to modify the nsLib code appropriately. To build a java client. Download Apache Axis Follow the instructions to run wsdl2java http://ws.apache.org/axis/java/user-guide.html#WSDL2JavaBuildingStubsSkeletonsAndDataTypesFromWSDL It will generate a jar. Write a java…
-
Namespacing problem - <customField xmlns:ns2406="urn:core_2_6.platform.webservices.netsuite.com" --->xsi:type="DateCustomFieldRef" <-----internalId="custentitylastlogin"> Should be <customField ... ---->xsi:type="ns2406:DateCustomFieldRef" <---- ...internalId="custentitylastlogin"> Note the ns2406 prefix to…
-
Yes, you either want to write a scheduled Server SuiteScript or an onSubmit script to do this (the scheduled script would search and close, I imagine the onSubmit would just auto-close). You can get more information in the documentation or in the Custom Code / SuiteScript user group.…
-
There are a bunch of ways to do this. Probably the most performant way is to make UPC code the externalId of your items. You will have to update your existing items to make this happen (you can do this via CSV* if you like). Once UPC code is your externalid, do an itemSearch based on externalId. You can specify multiple…
-
Neil o.b.o. John, There is a bug in the nsLib code. You need to change nsSearchField class to specify that search field types are in Core, not Common. line 163 of nsLib.php should go from [CODE] $this->attributes = array('operator' => $operator, 'xsi:type' => 'nsCommon:' . ucfirst($fieldType), 'xmlns:nsCore' => $nsCore);…
-
Can you post the responses - not the actual records but the number of records, page size and total pages (should be near the top of the SOAP response). -John
-
Yes, you should be able to initialize ad PurchaseOrder into a VendorBill. -John
-
custentitycustclass is the correct internalId for the Reference type. The problem is that your value is incorrect. Do a get() on a customer with custclass set to see an example of what the soap should look like. -John
-
You can use nuSoap, but you are correct that you have to fiddle with the proxy classes a little more. I assume you've looked at the sample project - it's not complete by any means, but it can serialize a RecordRef via nsRecordRef. We are looking at ways of making things easier on PHP / Scripting developers. One suggestion…
-
What's the SOAP that the above produces? -John
-
Yes, the lastModifiedDate or dateModified fields are what you want. A field like this exists on almost all records and the accompanying searches. Such a search will get you the adds/updates. For deletes you need to use the getDeleted() operation. Finding who made the change is a little more difficult as we don't support…
-
Namespacing problem... you need to specify the namespace prefix for DateCustomFieldRef (ns2 in my case) <ns1:customFieldList xsi:type="ns2:CustomFieldList" xmlns:ns2="urn:core_2_6.platform.webservices.netsuite.com"> <ns2:customField internalId="custentitylastlogin" xsi:type="ns2:DateCustomFieldRef">…
-
There are two shortcuts for this. First, if you simply want to make a salesOrder that is an exact copy of the estimate, you can create a salesOrder with "createdFrom" set. SalesOrder so = new SalesOrder(); so.setCreatedFrom(new RecordRef(null,"746",null,null)); // 746 is the internalId of the Estimate c.add(so); If you…
-
It's a SOAP level preference only. This issue fixed the fact that we only accepted "false" and not "0" as per the spec. This has been fixed. There is no company level preference. -John