|
dolibarr 18.0.8
|
File that is entry point to call Dolibarr WebServices. More...
Go to the source code of this file.
Functions | |
| getOrder ($authentication, $id='', $ref='', $ref_ext='') | |
| Get order from id, ref or ref_ext. | |
| getOrdersForThirdParty ($authentication, $idthirdparty) | |
| Get list of orders for third party. | |
| createOrder ($authentication, $order) | |
| Create order. | |
| validOrder ($authentication, $id='', $id_warehouse=0) | |
| Valid an order. | |
| updateOrder ($authentication, $order) | |
| Update an order. | |
File that is entry point to call Dolibarr WebServices.
Definition in file server_order.php.
| createOrder | ( | $authentication, | |
| $order ) |
Create order.
| array | $authentication | Array of authentication information |
| array | $order | Order info |
Definition at line 678 of file server_order.php.
References check_authentication(), dol_now(), dol_stringtotime(), dol_syslog(), and Commande\STATUS_DRAFT.
| getOrder | ( | $authentication, | |
| $id = '', | |||
| $ref = '', | |||
| $ref_ext = '' ) |
Get order from id, ref or ref_ext.
| array | $authentication | Array of authentication information |
| int | $id | Id |
| string | $ref | Ref |
| string | $ref_ext | Ref_ext |
Definition at line 380 of file server_order.php.
References check_authentication(), dol_print_date(), and dol_syslog().
| getOrdersForThirdParty | ( | $authentication, | |
| $idthirdparty ) |
Get list of orders for third party.
| array | $authentication | Array of authentication information |
| int | $idthirdparty | Id of thirdparty |
Definition at line 524 of file server_order.php.
References check_authentication(), dol_print_date(), and dol_syslog().
| updateOrder | ( | $authentication, | |
| $order ) |
Update an order.
| array | $authentication | Array of authentication information |
| array | $order | Order info |
Definition at line 889 of file server_order.php.
References check_authentication(), and dol_syslog().
| validOrder | ( | $authentication, | |
| $id = '', | |||
| $id_warehouse = 0 ) |
Valid an order.
| array | $authentication | Array of authentication information |
| int | $id | Id of order to validate |
| int | $id_warehouse | Id of warehouse to use for stock decrease |
Definition at line 820 of file server_order.php.
References check_authentication(), and dol_syslog().