Zmiany pomiędzy wersją 1 and wersją 2 dla DeployerGuide/Others/eDokumentyApi/CreateFKDayReport
- Data i czas:
- 02/08/12 14:02:56 (13 years temu)
Legend:
- Bez zmian
- Dodane
- Usunięte
- Zmienione
-
DeployerGuide/Others/eDokumentyApi/CreateFKDayReport
v1 v2 57 57 $client->__setSoapHeaders($header); 58 58 59 $doc_id = NULL; 59 60 61 try { 62 $data = array( 63 'acorid' => 12, 64 'datedr' => date('Y-m-d H:i:s'), 65 'netto_' => 100.00, 66 'vatval' => 23.00, 67 'brutto' => 123.00, 68 'crdpay' => 60.00, 69 'clncnt' => 34, 70 ); 71 $doc_id = $client->createFKDayReport($data); 72 var_dump($doc_id); 73 } catch(SoapFault $fault) { 74 var_dump($fault); 75 76 if ($fault->faultcode < 100) { 77 trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR); 78 } 79 } 60 80 61 81 ?>