InventoryLocation
                                            IMPORTANT The SOAP API entered a limited enhancement phase in Q4 2020. Access to version 1.6 will eventually be deactivated. At this time, there is no end-of-lifecycle date.
This entity describes an Autotask Inventory location, that is, a physical or virtual place where your company stores or assigns inventory items. For example, an Inventory location can be an actual warehouse or retail outlet, or a virtual holding place such as "Lost Items" or "Returned Items." Every Inventory Item must be associated with an Inventory Location. You assign a Location to Inventory Items when you add the items to inventory or to a purchase order.
Entity details
You can also retrieve this information with the Web Services API call The getEntityInfo() SOAP API call.
| Entity Name: | InventoryLocation | 
| Can Create: | 
                                                         | 
                                                
| Can Update: | 
                                                         | 
                                                
| Can Query: | 
                                                         | 
                                                
| Can Delete: | |
| Can Have UDFs: | 
Conditions and requirements
General
- Inventory Manage Locations permission is required to create, update, or query an Inventory Location.
 - To query, you must have View permission and Inventory access (site installed module access and security level feature/section access)
 - To create/update, you must have View and Create permission and Inventory access (site installed module access and security level feature/section access)
 
Special field attributes
| Field | Conditions and Requirements | 
|---|---|
| InventoryLocation | The InventoryLocation where IsDefault = True cannot be inactivated. | 
| LocationName | LocationName must be unique. | 
| ResourceID | If ResourceID has a value, IsDefault cannot = True. | 
Field definitions
The following table describes the standard Autotask field objects for this entity.
- To retrieve more detailed information specific to a particular Autotask implementation, use the Web Services API call The getFieldInfo() SOAP API call.
 - For information on entity UDFs, use getUDFInfo().
 - For String datatypes, the number in parentheses ( ) indicates the maximum number of characters allowed.
 - LT indicates Local Term.
 
For more information about fields marked as picklists, review our Understanding picklists article.
| Field Name | Label | Datatype | Read Only | Is Required | Reference Name | Picklist | 
|---|---|---|---|---|---|---|
| Active | Active | boolean | 
                                                             | 
                                                        |||
| id | LocationID | long | 
                                                             | 
                                                        
                                                             | 
                                                        ||
| ImpersonatorCreatorResourceID | Impersonator Creator Resource ID | integer | 
                                                             | 
                                                        Resource | 
                                                             
  | 
                                                    |
| IsDefault | IsDefault | boolean | 
                                                             | 
                                                        |||
| LocationName | Location Name | string (50) | 
                                                             | 
                                                        |||
| ResourceID | Resource ID | integer | 
                                                             | 
                                                        Resource |