Service Orders Service
The `ServiceOrdersService` is a sub-service designed to retrieve `ServiceOrder` records from Acumatica.
Please Note: This service is currently untested due to limitations in the development environment. If you encounter any issues, please report them on the project's GitHub page.
Importing Helpers
To build queries for retrieving service orders, you will need to import `QueryOptions` and the `F` filter factory.
from easy_acumatica.models.query_builder import QueryOptions
from easy_acumatica.filters import F
Service Method
get_service_orders(api_version, options=None)
This method retrieves a list of service orders. You can use `QueryOptions` to filter the results, select specific fields, or expand related entities.
# Create a filter for open service orders
opts = QueryOptions(
filter=F.Status == 'Open',
select='OrderNbr,CustomerID,Description',
expand='Customer'
)
# Fetch the open service orders
open_service_orders = client.service_orders.get_service_orders(
"24.200.001",
options=opts
)
ON THIS PAGE
Introduction
Importing Helpers
Service Method
- get_service_orders