Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

MES Stateful API

GetStorageLocations(Int32,String,String,Int64,Int64) Method

GetStorageLocations(Int32,String,String,Int64,Int64) Method

The GetStorageLocations() method retrieves one or more storage records from the Ent table, as specified by the filter parameters. Passing no filter parameters will retrieve all storage records from the table.

If an entity that is running a job is configured as a non-movable entity, then it returns the list of entities that are eligible to send consumable items only. Any entities that are not eligible to send consumables are discarded. Conversely, if an entity that is running a job is configured as a movable entity, then it returns all the entities that are located at this Job_Exec entity. In addition to this, if the identified Job_Bom record is marked as WIP, then the intersection of Job_Exec entities and the storage locations from the previous job that produce the same item are only returned. On the other hand, if the WIP flag is turned off for the identified Job_Bom record, then all the eligible storage entities for a Job_Exec entity and all the the storage locations from the previous job that produce the same item are returned.

If optionally filtering the results by a specific entity, overload of the method specifies the entity by its supplied input parameters.

In This Topic
TitleResults for “How to create a CRG?”Also Available in