extranet/includes/giant/GiantCommandeRapport.php
2011-04-06 13:13:14 +00:00

13 lines
552 B
PHP

<?php
/**
* Gestion des commandes de Giant.
*/
require_once 'giant/Config.php';
require_once 'giant/Client.php';
$soap_client = getClient($_GET['pays'], 'RetrieveOptions', SOAP_USE_XSI_ARRAY_TYPE + SOAP_SINGLE_ELEMENT_ARRAYS);
$AdevencedSearch = new SearchPortType();
$params = $AdevencedSearch->AdvencedSearch();
$params->AdvencedSearch->CompanyId = $_GET['company'];
$informations = SwitchWSDLFunction('RetrieveOptions', $params->AdvencedSearch, $soap_client);
$DataSetOptions = $informations->DataSetOptions;
?>