My Stuff
Comments
-
Hello, [PHP] $customer = new Customer(); $customer->internalId = 1234; $customStringField1 = new StringCustomFieldRef(); $customStringField1->internalId = "custentity_1"; $customStringField1->value = "My Value Here1"; $customStringField2 = new StringCustomFieldRef(); $customStringField2->internalId = "custentity_2";…
-
SuiteAnswers allows you to search either by the article Title or the Answer Id. Thank you.
-
Hello, shipAddress may be the field you are looking for. Thank you.
-
Hello, This is logged as Defect 230382 - WS > getAll for salesTaxItem returns LOGIN_REQD error. Please submit a case with NetSuite Support to be attached to the defect. Thank you.
-
Hello, There is a 'samples' folder included with the PHP Toolkit. Have a look at the sample codes there and that should get you started. You don't have to manually reference the WSDL yourself, start your code off with: [CODE]require_once '../PHPToolkit/NetSuiteService.php'; $service = new NetSuiteService();[/CODE] Thanks.
-
Hello Nelliott, NetSuite does not support hosting of PHP files. Any integration you have with the PHP Toolkit would require you to have the code running on a separate server. The PHP Toolkit uses Web Services to allow you to send/receive data from your NetSuite instance. Thank you,
-
Hello, This is discussed in SuiteAnswer 25742. In your NSPHPClient.php file add: [PHP] public function setPreferences($warnerror, $mandavalid, $custnotes, $readonly) { $this->preferences = new Preferences(); $this->preferences->warningAsError = $warnerror; $this->preferences->disableMandatoryCustomFieldValidation =…
-
They were acquired by www.aurea.com a few months ago. I opened a ticket a while ago regarding the Actional Diagnostics activation server not working for new installs of the software. Their response was that they are not going to be activating new installs at this point. I have heard of some developers using SOAPUI, however…
-
You can associate it with a customer, vendor, etc record. The Customer record has a field indicating if the customer is a company or individual. Thanks.
-
Hello, If there is no data in the fields, they will not be returned. Ensure you are doing a get or search against a record with the fields populated. Thanks,
-
Hi, The data of the file is returned in the 'content' element of the response (in base64 I believe) You need to convert that data, then save it to a file. You can see some similar code that is doing this in SuiteAnswer 'Decoding Base64 String in Java and C#' Answer Id: 28284 Thank you,
-
Hello, Try: $record->basic->companyName[0]->searchValue Thank you,
-
Hello, No, not directly. However, you could deploy an after submit script to the quote record, which does the following: -Call nlapiPrintRecord() -Sets the folder on the returned nlobjFile using .setFolder() -Saves the file to the file cabinet using nlapiSubmitFile() -Stores the internal id of the file in a custom field on…
-
Hello, I don't believe you can retrieve what fields are mandatory via Web Services. If you are building a generic SuiteTalk application, in order to ensure that your applications are account independent, NetSuite recommends that you create custom “Web-services-only” forms. Use custom forms for Web services requests by…
-
Hello, You can create Case search in the UI, in the results tab, include 'Internal Id' and sort by Internal Id in Descending order. You can then perform a SupportCaseSearchAdvanced referencing the internal id of that search. The results will then be returned by internal ID in descending order (the same sort order as the UI…
-
Hello, Can you create a initializeRequest and pass that instead? $initializeRecord = new InitializeRecord(); $initializeRecord->type = 'itemFulfillment'; $initializeRecord->reference = new InitializeRef(); $initializeRecord->reference->internalId = '1234'; $initializeRecord->reference->type = 'salesOrder'; $request = new…
-
Hello, You will need to perform a get or search operation https://usergroup.netsuite.com/users/showthread.php?t=32571 has a sample of a CustomRecordSearchBasic Thank you.
-
Please be aware that if the WS user role has the View Unencrypted Credit Cards permission, automating the password reset via scheduled script may violate your PCI compliance. If you do have this enabled on your account, please review https://www.pcisecuritystandards.org to verify. Thanks.
-
Hello, Please open a NetSuite support case regarding this. Per the documentation 'update' is a supported operation on the Message record. This may be related to not being able to edit Message records via the UI. However, as you mentioned, it appears they are editable via scripting. Thank you,
-
Hello Mandar, You will need to specify 'includeInactives' or you will get an exception. [PHP]$request = new GetCustomizationIdRequest(); $request->customizationType->getCustomizationType = "entityCustomField"; $request->includeInactives = "true"; $getResponse = $service->getCustomizationId($request);[/PHP] Hope that helps,…
-
Hello, I have noticed in the past that if you do a CustomerSearchAdvanced referencing a saved UI search, the result are returned in the same sort order as the UI search. So, creating a UI search and sorting by Internal Id descending may work for you. If you want to specify the sorting on the fly in your Web Services…
-
Hello, Yes, it contains everything defined in the class from the NetSuiteService.php file. However, the SOAP data returned from NetSuite only contains the specified columns. You can confirm this by viewing the response xml in the PHP Toolkit 'nslog' folder. In which case, the data size of the response is not being affected…
-
I would start by reviewing the SOAP logs, and the specific request/response files that failed. Setup > Integration > Web Services Usage Log. 'Invalid terms reference key 4' is self explanatory. If 'The line total amount is not equal to the item price times the quantity. Is this correct?.' is preventing the record from…
-
You would likely need to specify a customFieldList SuiteAnswer 'PHP Toolkit 2012.2: Sample Code to Perform Search using Custom Field as Filter' Answer Id: 25066, shows a search that specifies customFieldList Thank you,
-
Hello, Depending on the platform you are developing in, in your code are you specifying tranDateSpecified = true ? customerPayment.tranDateSpecified = true Thank you,
-
The soap.wsdl_cache_ttl setting does not relate to data returned in your request responses. It relates to caching the WSDL itself. I.e. https://webservices.netsuite.com/wsdl/v2012_2_0/netsuite.wsdl Thank you,
-
You may instead want to just do a 'get' on a contact record. And pull the field Ids that way since type is also returned. <listRel:customFieldList > <platformCore:customField internalId="custentity_cb_cust" xsi:type="platformCore:BooleanCustomFieldRef"> <platformCore:value>false</platformCore:value>…
-
You can do this by making a REST call to: https://rest.netsuite.com/rest/roles With the following in the 'Authorization' header: NLAuth nlauth_email=user@email.com, nlauth_signature=password This is discussed further in SuiteAnswer 'Using the REST roles Service to Get User Accounts, Roles, and Domains' Answer Id: 24424…
-
Hello, This has been logged under defect Defect 241597 - Web Services> Search Inventory Item > Filters does not work and SOAP response returns all item records. Thank you.
-
If specifying savedSearchId you need to use the numeric internal id of the saved search. If you want to reference the search by the text id, you would need to specify savedSearchScriptId So: [PHP]$search->savedSearchScriptId = "customsearch125";[/PHP] OR [PHP]$search->savedSearchId = "125";[/PHP] Thanks,