My Stuff
Comments
-
Hello, Your code looks correct. You may want to confirm the field name internal id is indeed custbody_pricecustom. Also, in the custom transaction body field setup, look to see if 'store value' is checked or unchecked. (this should be checked) Thank you.
-
Quantity is missing from the price with value 9. I would dump your $newItem right before the add to see what it looks like. I don't think it likes $pricingmatrix being defined as an array. Perhaps comment out the line $pricingmatrix = array(); and remove the [] on the line $pricingmatrix[] = array ( ...
-
Hello, The direcotory_v2....php file has: "PricingMatrix" => "urn:accounting_2011_1.lists.webservices.netsuite.com", "PricingMatrix/pricing" => "Pricing", "PricingMatrix/replaceAll" And no PricingMatrix/priceList There is the following in the directory: "Pricing/priceList" => "PriceList" So perhaps it is how you are…
-
Hello, You should be able to perform a getSelectValue operation against the recordType inventoryItem on the fields costingmethod and costestimatetype. Thank you.
-
Hello, You can try specifying 'siteCategory' as follows: [PHP] $newItem = array ( "itemId" => $itemId, "siteCategoryList" => array ( "siteCategory" => array ( "website" => new nsRecordRef ( array ( "internalId" => "1" ) ), "category" => new nsRecordRef ( array ( "internalId" => "78" ) ), "isDefault" => true) ) );[/PHP] For…
-
Hi John, 1. Try getting rid of the first surrounding array() in $customFields. 2. In customFields internalId should be the internal id of the custom field, so 'custitem_purch_unit_divisor' instead of "100". i.e. [PHP]$customFields = array ( "internalId" => "custitem_purch_unit_divisor", "value" =>…
-
Hello, Within the itemList you should be able to specify replaceAll = 'false' in order to preserve the existing line items. Thank you replaceAll = FALSE: Lines in the existing sublist are selectively updated with lines in the sublist submitted in the Web services request. The newly submitted sublist need only include…
-
I believe in this case there should only be one pricingMatrix, then set up a pricing array. This sets base price and online price: "itemId" => "My New Item", "pricingMatrix" => array ( "pricing" => array ( array ( "currency" => new nsRecordRef(array('internalId' => '1')), "priceLevel" => new…
-
Hello John, I may need to see the code. If you do not wish to post it here, you can PM it to me. Thank you.
-
Hello Rocco, I am able to see this field in the 2012.1 wsdl. Note that the 2012.1 wsdl is not officially released yet. I do not have a tentative date to provide you, however, once officially released it will be updated on the Developer Resources portal here:…
-
I haven't been able to test for this specific scenario, but perhaps something similar to below may work. [PHP]$vendor->getField('companyName')->getField('searchValue')[/PHP] or [PHP]$vendor->getField('basic')->getField('companyName')->getField('searchValue')[/PHP] Thanks.
-
Hello Robert, I just tried setting the externalid on a Customer and Salesorder record and the maximum characters it would allow me to set for externalid was 255 characters. Thank you.
-
Hello, You can try: [PHP] $customFieldList1->setFields ( array ( "internalId" => "custitem_purch_unit_divisor", "value" => $_POST['custitem_purch_unit_divisor'] ) ); $customFieldList2->setFields ( array ( "internalId" => "custitem_shipping_days_max", "value" => $_POST['custitem_shipping_days_max'] ) ); $customItemFields =…
-
Hello John, This should be fixed for you when your account is upgraded to 2012.1 this weekend. The reason it is intermittent when you choose random internalid values for items, is that it seems to be related to custom fields of type 'long text'. If the custom field on the inventory item record has data, the error is…
-
Hello, 'T' should be capitalized in the type ('type' instead of 'name'). And you will need to specify the internalID number of the unitsType record. You can try: [PHP]$uom_values = array( "type" => "unitsType", "internalId" => 1 ); $uom_obj = new nsRecordRef ($uom_values); $uom_response = $myNSclient->get($uom_obj);[/PHP]…
-
Hello Jose, This is the same behaviour seen in the User Interface when not using auto-generated numbers. You can overcome this by specifying 'entityId' in your WS request. Thank you.
-
There is also a permission under Lists specifically called 'Departments' that you could try. Thank you.
-
Since those are individual records, you would likely need to search for all the unit type records. Using the search operation with UnitsTypeSearch.
-
Hello, This is possibly related to Defect: 216385 Web Services > http://www.netsuite.com/page_not_found.jsp. Please feel free to open a case with support in order to verify. Thank you.
-
Hello, In the UI, are you able to modify the saved search being referenced, and under the results tab add 'Internal Id' to see if that then returns Internal ID via your Web Services call. Thank you.
-
Hello, Can you check in the UI if invoice with internal ID 736822 is valid for that customer? If you create a customer payment in the UI, select the same customer, the apply > invoices sublist should populate with the available invoices. Thank you.
-
http://www.php.net/manual/en/exception.getcode.php says getCode returns an integer. And I am not 100% sure, but I think this may be thrown as a SoapFault and not an Exception. See http://www.php.net/manual/en/class.soapfault.php (one of the comments mentions getCode not working) In which case you may have to get the code…
-
Alternatively, since the field is on the item record, you can use the getSelectValue operation against the field to get the list of available select options. [PHP].... $myFields = array ( 'recordType' => 'inventoryItem', 'field' => 'unitstype' ); $myGet = new nsComplexObject('GetSelectValueFieldDescription');…
-
Something similar to this may work for you. [PHP]$salesorderid = $_POST['salesorderid']; $id = 'customsearch2126'; $searchItem = array('savedSearchScriptId' => $id); $searchAdvanced = new nsComplexObject('TransactionSearchAdvanced'); $searchAdvanced->setFields($searchItem); $search = new…
-
Hello, Defect 209929: WS > add sales order request > Getting Insufficient Permission Error on 'currencyName' has been filed for this. Thank you.
-
Hello Mahi, We currently have enhancement 96238: Lists > Relationships > Customers : Ability to mask Customer fields. As an alternate solution, if you want to remove the data, you could perform a mass update on the fields to remove/replace the data with *****. You could also create custom forms to not show the specific…
-
Hello Ben, I have been able to reproduce this issue. We have filed the following defect for you. Defect 209884 WS > PHP Toolkit > Search > Item Search Advanced > If the saved search contains the 'Other Prices' field, the 'otherPrices' array in the response will over write an existing field. Thank you.
-
Hello Shannon, For the actual Custom List record, you can try: [PHP]$myGet = new nsRecordRef(array("type" => "customList","internalId" => 17)); $getResponse = $myNSclient->get($myGet);[/PHP] If you just want the available list values, you can try deploying to a record a custom field sourcing your custom list, then use the…
-
Hello Ben, You can use the getSelectValue operation to retrieve a list of the price level names and their internal id values. For example: [PHP] $myFields = array ( 'recordType' => 'customer', 'field' => 'pricelevel' ); $myGet = new nsComplexObject('GetSelectValueFieldDescription'); $myGet->setFields($myFields);…
-
If you add the field 'store description' twice in your saved search, it will then output twice in the same array with the Other Prices array. Which at least displays the store description for you instead of it not displaying at all when the field is in the results of the saved search once. Also, it doesn't appear to be…