Questions tagged [php-toolkit]

The PHP toolkit provides an easy way to make Force.com Web service API method calls from within PHP.

The PHP toolkit provides an easy way to make Force.com Web service API method calls from within PHP.

19 questions
11
votes
1 answer

Contact lookup via Email field

I am using Force.com Toolkit for PHP (Version 20.0) to integrate with Salesforce. I would like to lookup some Contact via the email field and print in on page if the condition is met. Here is the query I used: SELECT Name, Email,…
odedta
  • 2,430
  • 4
  • 24
  • 51
2
votes
1 answer

Netsuite Token Based Authentication (TBA) with PHPToolkit?

Does anyone have a working sample using Token Based Authentication with the Netsuite PHP Toolkit (Version 2017_1)? I have it working with User/Request based authentication using the sample files but need to move over to token based. I have generated…
2
votes
2 answers

Netsuite PHP toolkit giving error Uncaught SoapFault exception: [soapenv:Server.userException] Could not determine customer compid in

I am trying Netsuite PHP toolkit. I am working with Sandbox account. I have provided all the requirement but on adding a new customer its giving error as . PHP Fatal error: Uncaught SoapFault exception: [soapenv:Server.userException] Could not…
Logita Kurrey
  • 71
  • 1
  • 10
2
votes
1 answer

Now to structure return parameter to accept boolean values with XMLService?

I am trying to call an RPGLE service program from PHP using the PHP Toolkit. The procedure returns a data structure that includes an element of type N (indicator) and returns either *off or *on. I am trying to figure out how to structure my return…
Sarah Kemp
  • 2,670
  • 3
  • 21
  • 29
1
vote
1 answer

Is there a way of searching cases by a custom field using the netsuite php toolkit?

I am trying to pull cases based on a custom field, however whenever I try this I get the following error: SearchCustomField is an abstract type and cannot be instantiated I have already looked through a few previous posts on here and this code…
1
vote
1 answer

Add an Item Group to Sales Order in Netsuite using SuiteTalk and PHP

I am trying to add Sales Orders with items of type "Item Group" using SuiteTalk via the PHP Toolkit. When the item is of other types, e.g. "Inventory Item, Non-Inventory Item", the orders is added without problems. When the item is of type "Item…
1
vote
1 answer

Netsuite PHP Toolkit find Sale Order based on tranid

What I'm trying to do seems basic, and should be straight forward, but I'm obviously doing something wrong. I just want to return the Sales Order object based on the tranid. My code is as follows require_once…
John
  • 65
  • 2
  • 13
1
vote
1 answer

How we acess System Note Search through PHP?

I have created a System Note Search which executes successfully. Now I'm trying to access this search results in php. I'm stuck with what type of object I use for implementing this search. Below is the code- $service = new NetSuiteService(); $search…
1
vote
1 answer

How to get the content of the lists in NetSuite (ItemList, expensesList, etc) in NetSuite

I'm trying to get related lists and expenses of a vendorBill record (or any record really). When I do a basic transaction search, these two show up as NULL in the searchResponse, even though the record in question has one of each. Do these not show…
TheChaos0
  • 370
  • 4
  • 15
0
votes
0 answers

PHPToolKit 2023_1 Uncaught SoapFault exception malformed syntax

I'm trying to use the latest PHPToolKit (2023_1) to read/update some records but am having an issue right out of the gate. When trying to look up a contact with their email address, I'm getting the error: PHP Fatal error: Uncaught SoapFault…
John
  • 65
  • 2
  • 13
0
votes
1 answer

How to Create Vendor Payment record in Netsuite using NetsuiteTalk PHPToolkit

I am using Netsuite SuiteTalk PHPToolKit and trying to create vendor payment record using php soap call. Request: $vendorPayment = new VendorPayment(); $vendorPayment->entity = new…
Ranva Rahul
  • 71
  • 1
  • 1
  • 2
0
votes
0 answers

Get all notes associated with workorder using netsuite php?

Hi i am using php toolkit to obtain workorders records with notes now i am fetching only workorder records and no notes present in response here is the code $workorderId = '5504'; $request = new \GetRequest(); $request->baseRef = new…
0
votes
1 answer

Can't create custom record using Netsuite PHP Toolkit 2022_2

I'm trying to create custom record using NetSuite PHP Toolkit 2022_2. On that record I have List/Record field - Item List/Record Field - Supplier Free-Form-Text field - Special Notes Whatever I do I can't set field values of this custom record.…
Aleksandar Đokić
  • 2,118
  • 17
  • 35
0
votes
0 answers

How can I insert Sales Order Item with PC unit at Netsuite Using Phptoolkit?

I've been trying to insert Sales Order Item With Same product but with different UOM, PC and Case. The problem is, It only accept Case Unit. here's the image. In Phptoolkit to define what's the item unit to be set, would be like this. $soi = new…
VLDCNDN
  • 692
  • 1
  • 7
  • 19
0
votes
1 answer

How to update customer address in netSuite form PHP Toolkit

Hi i am working in netSuite and PHP Toolkit. I want to update customer address how can i load load customer and update address. This is the customer object but how can i load specific customer for it. $customer = new Customer();
OBAID
  • 1,299
  • 2
  • 21
  • 43
1
2