Use inventory totals to keep track of the items on hand that are available for sale. Sage Intacct is preconfigured with nine inventory totals for tracking inventory that's damaged, in transit, on hand, on hold, on order, requisitioned, or is scrap and spoilage. You can also create your own inventory totals as needed.
An inventory total can be assigned to a transaction definition so that the specified total is affected when a transaction with that definition template is saved. For more information and a detailed example, see Inventory totals in the Sage Intacct Help Center.
Returns a collection with a key, ID, and link for each inventory total. 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 | Inventory Control |
---|---|
User type | Business, Employee, Warehouse |
Permissions | List, View Inventory totals |
OK
Bad Request
{- "ia::result": [
- {
- "key": "51",
- "id": "ONORDER",
- "href": "/objects/inventory-control/total/51"
}, - {
- "key": "52",
- "id": "ONHAND",
- "href": "/objects/inventory-control/total/52"
}, - {
- "key": "53",
- "id": "ONHOLD",
- "href": "/objects/inventory-control/total/53"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": 101,
- "previous": null
}
}
Creates a new inventory total.
Subscription | Inventory Control |
---|---|
Configuration | Advanced workflows must be enabled to add inventory totals |
User type | Business |
Permissions | List, View, Add Inventory totals |
id required | string <= 30 characters ID of inventory total. This should be a unique value. Example: "SHIPPED" |
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
Created
Bad Request
{- "id": "SHIPPED",
- "status": "active"
}
{- "ia::result": {
- "key": "60",
- "id": "SHIPPED",
- "href": "/objects/inventory-control/total/60"
}, - "ia::meta": {
- "totalCount": 1
}
}
Returns detailed information for a specified inventory total.
Subscription | Inventory Control |
---|---|
User type | Business, Employee, Warehouse |
Permissions | List, View Inventory totals |
key required | string System-assigned unique key for the inventory total. Example: 99 |
OK
Bad Request
{- "ia::result": {
- "key": "60",
- "id": "SHIPPED",
- "status": "active",
- "updateType": "accumulative",
- "href": "/objects/inventory-control/total/60"
}, - "ia::meta": {
- "totalCount": 1
}
}
Updates an existing inventory total by setting field values. Any fields not provided remain unchanged.
User-defined totals can be edited, but only the status of preset inventory totals can be edited. To prevent a preset inventory total from being selected in a transaction definition, change its status to inactive
.
Subscription | Inventory Control |
---|---|
Configuration | Advanced workflows must be enabled to edit inventory totals |
User type | Business |
Permissions | List, View, Edit Inventory totals |
key required | string System-assigned unique key for the inventory total. Example: 99 |
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" |
OK
Bad Request
{- "status": "inactive"
}
{- "ia::result": {
- "key": "60",
- "id": "SHIPPED",
- "href": "/objects/inventory-control/total/1"
}, - "ia::meta": {
- "totalCount": 1
}
}
Deletes an inventory total. Only user-defined inventory totals can be deleted.
Subscription | Inventory Control |
---|---|
Configuration | Advanced workflows must be enabled to delete inventory totals |
User type | Business |
Permissions | List, View, Delete Inventory totals |
key required | string System-assigned unique key for the inventory total. Example: 99 |
No Content
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
}
}
Queries an object for filtered data.
object | string Object type to query, in the form Example: "inventory-control/total" | ||||||||
fields | Array of strings List of fields to include in the response. Can be any combination of these:
Example: ["key","id","max:vendor.creditLimit"] | ||||||||
Array of equal (object) or not equal (object) or less than (object) or (less than or equal (object)) or greater than (object) or (greater than or equal (object)) or in (object) or not in (object) or between (object) or not between (object) or contains (object) or does not contain (object) or has (object) or starts with (object) or does not start with (object) or ends with (object) or does not end with (object) Filter conditions to select the objects to return based on their field values. You use operators and conditions to build your filter, such as Example: [{"$eq":{"status":"active"}},{"$gt":{"totalDue":"1000"}},{"$contains":{"name":"Acme"}}] | |||||||||
Array Any of: Field value must be equal to this specified value. For date fields, you can use these macro values that are relative to the current date or the
These are most useful for queries that you want to save and use repeatedly, such as for views or reports. Just change the For example,
| |||||||||
filterExpression | string Default: "and" Logical operators to apply when there are multiple filter conditions. The conditions in the Shortcuts:
Example: "(1 and 2) or 3" | ||||||||
| |||||||||
Array of objects Set the order of the results by specifying field names to sort by and whether they should be in ascending or descending order. Example: [{"totalDue":"asc"},{"lastPaymentMadeDate":"desc"}] | |||||||||
Array
| |||||||||
start | integer First record of the result set to include in the response. Example: 1 | ||||||||
size | integer Number of records to include in the result set, 4000 maximum. Example: 100 |
OK
Bad Request
{- "object": "inventory-control/total",
- "filters": [
- {
- "$eq": {
- "status": "active"
}
}
], - "fields": [
- "id",
- "updateType",
- "href"
], - "orderBy": [
- {
- "id": "asc"
}
]
}
{- "ia::result": [
- {
- "id": "DAMAGED",
- "updateType": "accumulative",
- "href": "/objects/inventory-control/total/91"
}, - {
- "id": "INTRANSIT",
- "updateType": "accumulative",
- "href": "/objects/inventory-control/total/93"
}, - {
- "id": "ONHAND",
- "updateType": "accumulative",
- "href": "/objects/inventory-control/total/2"
}, - {
- "id": "ONHOLD",
- "updateType": "accumulative",
- "href": "/objects/inventory-control/total/3"
}, - {
- "id": "ONORDER",
- "updateType": "accumulative",
- "href": "/objects/inventory-control/total/1"
}, - {
- "id": "REQUESITIONED",
- "updateType": "accumulative",
- "href": "/objects/inventory-control/total/40"
}, - {
- "id": "RESERVED",
- "updateType": "continuous",
- "href": "/objects/inventory-control/total/97"
}, - {
- "id": "SCRAP OR SPOILAGE",
- "updateType": "accumulative",
- "href": "/objects/inventory-control/total/92"
}
], - "ia::meta": {
- "totalCount": 8,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}