Hi guys,
i would like to create a debitor and an order with Laravel (PHP) and a Soapclient Wrapper https://github.com/artisaninweb/laravel-soap in Navision.
I can connect to SOAP "SalesOrder" and create a kind of order (without order positions oder items) with this code snippet in my controller:
$this->soapWrapper->add('SalesOrder', function ($service) { $service ->wsdl(env('SOAP_URL','')) ->trace(true) ->options([ 'login' => env('SOAP_USER',''), 'password' => env('SOAP_PASSWORD','') ]); }); $paramsHeader = array('SalesOrder' => array ( 'Key' => '1233', 'Sell_to_Customer_No' => '25000', 'Order_Date' => '2018-11-28', 'Customer_Order_No' => '21233572', 'Prices_Including_VAT' => 0, )); $response = $this->soapWrapper->call('SalesOrder.Create', ['SalesOrder' => $paramsHeader]);
but i have to create a new debitor and an order with a lot of sales item lines (and i have no idea how to use soap api)
Thank you for any ideas and tips.
regards
Version Microsoft Dynamics CRM 2018
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,524 Super User 2024 Season 2
Martin Dráb 228,493 Most Valuable Professional
nmaenpaa 101,148