Details of subtotals, taxes, discounts, charges, and more for an Order Entry transaction.
Returns a collection with a key, ID, and link for each Order Entry document subtotal. This operation is mostly for use in testing; use query to find objects that meet certain criteria and to specify properties that are returned.
Subscription | Order Entry |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Order Entry documents |
OK
Bad Request
{- "ia::result": [
- {
- "key": "13",
- "id": "13",
- "href": "/objects/order-entry/document-subtotal/13"
}, - {
- "key": "14",
- "id": "14",
- "href": "/objects/order-entry/document-subtotal/14"
}, - {
- "key": "15",
- "id": "15",
- "href": "/objects/order-entry/document-subtotal/15"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100
}
}
Returns detailed information for a specified Order Entry document subtotal.
Subscription | Order Entry |
---|---|
User type | Business, Employee, Project Manager, Warehouse |
Permissions | List, View Order Entry documents |
key required | string System-assigned unique key for the document subtotal. Example: 15 |
OK
Bad Request
{- "ia::result": {
- "id": "307",
- "key": "307",
- "description": "Sales Discount",
- "absoluteValue": "14.5",
- "percentValue": "1.45",
- "total": "-14.5",
- "dimensions": {
- "location": {
- "key": "36",
- "id": "YNK",
- "href": "/objects/company-config/location/36"
}, - "department": {
- "key": "38",
- "id": "Accounting",
- "href": "/objects/company-config/department/38"
}, - "customer": {
- "key": "1",
- "id": "1",
- "name": "Power Aerospace Materials",
- "href": "/objects/accounts-receivable/customer/1"
}
}, - "txnAbsoluteValue": "14.5",
- "txnTotal": "-14.5",
- "documentLine": {
- "id": "233",
- "key": "233",
- "documentType": "Sales Invoice",
- "href": "/objects/order-entry-document-line::Sales%20Invoice/233"
}, - "documentHeader": {
- "key": "21",
- "id": "Sales Invoice-SUBINV#0100#doc",
- "documentType": "Sales Invoice",
- "href": "/objects/order-entry-document::Sales%20Invoice/21"
}, - "audit": {
- "createdDateTime": "2024-07-11T04:58:20Z",
- "modifiedDateTime": "2024-07-11T04:58:20Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "href": "/objects/order-entry/document-subtotal/307"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Use the query service to find document subtotals that meet certain criteria and to specify the properties that are returned.
OK
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}