My Stuff
Comments
-
You can't unfortunately. Since the module field is based on the product field running a getSelectValue operation on issue/case record -> module field will only return the modules for the first product in the list. Thanks.
-
In the UI on the product record, add &xml=T to the URL, you should then be able to see the id number of the module. example: https://system.netsuite.com/app/crm/support/issuedb/issueproduct.nl?id=1&xml=T Thanks.
-
Is it that you are you trying to figure out the internal id values of the modules?
-
Hello, Try workOrder I believe all the recordTypes are camel cased this way, first letter being lowercase. Thanks.
-
If you are using a Test Account or Demo account, you will need to make the following changes to your PHP toolkit files. Thank you. PHP Toolkit (pre-2012.2) -Edit your ‘PHPToolkit.php’ file. -Change the line: const live = "https://webservices.netsuite.com"; TO const live = "https://webservices.na1.netsuite.com"; PHP Toolkit…
-
Are you caching the wsdl? If not, perhaps that would help if it is possibly being caused by a connectivity issue? The default folder is /tmp in your root, which you would have to create if not there already. Look for these two entries in your php.ini file. soap.wsdl_cache_enabled=1 soap.wsdl_cache_dir="/tmp" Thanks.
-
This thread may be what you are looking for: https://usergroup.netsuite.com/users/showthread.php?t=7567 Thank you,
-
Hello, Please try isinactive and lastmodified. Thank you,
-
Hello, Yes. You can find coding comparison samples in the SuiteAnswers article 'Coding Comparison between PHP Toolkit 2012.2 and old versions' AnswerID: 24910 Thank you.
-
Hi, You can use the SuiteScript Record Browser found in the help, you can click on the field label in the UI to see the internalid of the field (provided you have show internal ids set in home > preferences), or you can nlapiLoadRecord one of the records in the debugger and view the internalids in the object. Thank you.
-
In your NetSuite account > Support Tab > SuiteAnswers > Search by article title or answer Id. Thanks.
-
Try 'after' instead of 'greaterthan' Thank you,
-
Something similar to this may work for you: employee.department = new RecordRef(); employee.department.internalId = "123"; employee.department.type = RecordType.department; employee.department.typeSpecified = true; Thank you.
-
Hello, I see, can you post your current code and any errors you are receiving? Thank you.
-
Hello, Department department = new Department(); department.name = "My Departnment"; WriteResponse writeResponose = service.add(department); SOAP: <platformMsgs:add> <platformMsgs:record xsi:type="s0:Department"> <s0:name>My Department</s0:name> </platformMsgs:record> </platformMsgs:add>…
-
Hello, That would be a server error and not an error generated by NetSuite. I suggest you check your code for an infinite loop as it looks like it is using 268MB of server memory. The 268MB limit is likely coming from the 'memory_limit' setting in your php.ini file. Thank you.
-
Hello, Please try: [PHP]$soSearch = new nsComplexObject("TransactionSearchBasic"); $soIdSearchField = new nsComplexObject("SearchDateField"); $myDate = date("c", mktime(9,0,0,12,18,2009)); $lmDate = new nsComplexObject('SearchDateField'); $lmDate->setFields(array('operator'=>'on','searchValue'=> $myDate));…
-
Hello, You would likely need to specify an 'applyList' and then reference the internal Id of the transaction in the 'doc' field. The SuiteAnswers article 'Customer Payment' (Answer Id: 10894) has a sample SOAP request that specifies an applyList. Thank you.
-
Hello, You may possibly be including the PHPtoolkit.php file more than once in your code, or you are trying to declare a function with the same name of deserializeCustomRecordCustomField(). Thank you.
-
Hello, Adding a task record via web services does not currently support sending of the email when sendemail=true. Regarding this, please vote for Enhancement 120185 "WS>trying to add a task and set 'Send email'-T will not send the email out". Thank you.
-
Hello, You would need to perform a search operation for that item, or you would need to perform a get operation against the DiscountItem record type. Both would return the itemid field (Item Name/Number). You would then need to perform an update operation on that discount item record and set the externalId field to the…
-
Hello, This is discussed in the SuiteAnswers article 'Web Service > PHP Toolkit > Add a Custom Record'. Answer ID: 14544. Thank you.
-
Here is some code based off the sample_search_item.php sample file included with the PHP Toolkit. [PHP]$parentId = 123; $itemSearch = new nsComplexObject("ItemSearchBasic"); $itemSearch->setFields(array("parent" => array("operator" => "anyOf", "searchValue" => array('internalId' => $parentId)))); $searchResponse =…
-
Hello, It is possible your default sales order form has the billing or payment tab hidden. If so, you can try specifying a different form using the element 'customform' in your request. Thank you.
-
Hello, You may want to verify in the UI that 'custentity1' is the correct internal id of the field. Thank you.
-
Hello, you can try setting your 'itemList' in the following manner: [PHP]'itemList' => array( 'item' => array( array('item' => array('internalId' => $itemIntId), 'quantity' => $quantity), array('item' => array('internalId' => 2942), 'quantity' => $quantity) )[/PHP] Thank you
-
Hello Abi, I would suggest that you create a new thread regarding your inquiry. In your new thread, please indicate the development environment you are using, a sample of the code you are using, and the SOAP request and response (with password/login information removed) Thank you kindly,
-
Hello, You may need to check for null. [PHP]<?php if ($transaction->getField('basic')->getField('quantityOnHand') != null) { echo round($transaction->getField('basic')->getField('quantityOnHand')->getField('searchValue'));} ?> <?php if ($transaction->getField('basic')->getField('quantityOnOrder') != null) { echo…
-
Hello, The internal Id should be returned in the Response after adding the sales order. Thank you.
-
The code seems relatively valid to me. I can't see what would cause the unknown error. Perhaps check your nslog folder to see if the SOAP is being formatted properly and includes actual values. Thanks.