Easy-Acumatica Docs

Service Orders Service

The `ServiceOrdersService` is a sub-service designed to retrieve `ServiceOrder` records from Acumatica.

Importing Helpers

To build queries for retrieving service orders, you will need to import `QueryOptions` and the `F` filter factory.

python

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.

python

# 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
)
Easy-Acumatica v0.3.9 — Created and Developed by Matthew Hirstius (Nioron07).
Significant Contributions made by Chris Xu
Want to see the NPM version? See it here