Specifies the base set of criteria to use when retrieving a sales document object. Only sales documents that match the specified criteria will be returned. For the best performance, create criteria that uses only the properties marked with the dagger (†). These properties correspond to indexed columns in the database.
Property |
Type |
Description |
---|---|---|
TransactionState |
A list restriction specifying the transaction state of the sales document. |
|
DocumentId† |
A string restriction specifying the ID of the sales document. |
|
Date† |
A date/time restriction specifying the date of the sales document. |
|
CustomerId† |
A string restriction specifying the customer ID for the sales document. |
|
CustomerName |
A string restriction specifying the name of the customer for the sales document. |
|
CustomerPONumber† |
A string restriction specifying the customer’s purchase order number for the sales document. |
|
BatchId† |
A string restriction specifying the batch ID for the sales document. |
|
DocumentTypeId† |
A string restriction specifying the document type ID for the sales document. |
|
SalespersonId |
A string restriction specifying the salesperson ID for the sales document. |
|
MasterNumber† |
An integer restriction specifying the master number for the sales document. |
|
ModifiedDate |
A date/time restriction specifying the date the sales document was modified. The value is in Coordinated Universal Time (UTC). Both the date and time portions of the value must be specified for the criteria. |
|
LastModifiedDate |
A date/time restriction specifying the date the sales document was modified. The value is in Coordinated Universal Time (UTC). Both the date and time portions of the value must be specified for the criteria. |
|
CreatedDate |
A date/time restriction specifying the date the sales document was created. |
|
Scope |
A property in criteria used to determine the level of filtering to be used when returning sales document data. |