Return Value:

The list of sales document summary objects
that match the specified criteria.

Interfaces

Dynamics GP

Sales

Examples

The following C# example retrieves the list of
sales document summary objects where the CustomerId property equals
“AARONFIT0001“ and the TransactionState property is equal to
“Work”. The list includes sales orders, sales invoices, sales
returns, and sales backorders for the specified customer. The Type
and TotalAmount property from each sales document summary object is
displayed in a message box.