function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abhilash Mishra 13Abhilash Mishra 13 

Not getting all the order fields by SOAP call

Hi,
I am using phptool kit. I am trying to get orderid and order number by SOAP call but  call only return orderID I dont know what is the issue. Here is the code.
 
<?php
			define("USERNAME", "abhilash@dev.org");
			define("PASSWORD", "dCEm96uPgRHJ");
			define("SECURITY_TOKEN", "AdTdD3hPtVYr1RNbt6re4OnqO");
			require_once ("Force.com-Toolkit-for-PHP-master/soapclient/SforceEnterpriseClient.php");
			$mySforceConnection = new SforceEnterpriseClient();
			$mySforceConnection->createConnection("Force.com-Toolkit-for-PHP-master/soapclient/enterprise27.wsdl");
		
			
			$response=$mySforceConnection->login(USERNAME, PASSWORD.SECURITY_TOKEN);
			echo "<pre>";
			print_r($mySforceConnection->query("select id,ordernumber from order"));
			echo "</pre>";
				
									
?>

This is what comes out as out put
https://qas-shared-assets.s3.amazonaws.com/snaps/4uz5infz2gldi

Here is the WSDL
https://raw.githubusercontent.com/developerforce/Force.com-Toolkit-for-PHP/master/soapclient/enterprise.wsdl.xml



 
Abhilash Mishra 13Abhilash Mishra 13
Issue is That my WSDL is not able to return any of object or customfield created due to installation of manage packages.