GetObjectsDetailsForNewlyAllocatedAndUpdated Method - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

A more heavy weight version of the method above, this method provides the additional functionality of being able to query on last updated date, in addition to or instead of, creation date. Data can be returned in simple format or in full format depending on the parameter.

Using the Full return takes longer because it has to retrieve all the interfaces and attributes.

Inputs

  • ClassDef

  • Name – with wildcard criteria (% not *)

  • CreatedSinceDate – YYYYMMDD-HHMMSS – if not set then just uses the classdef and name criteria.

  • UpdatedSinceDate – YYYYMMDD-HHMMSS – if not set then just uses the classdef and name criteria.

  • IncludeHistorical – returns terminated items

  • MaxNumber – If the user knows there are only 3 rows and wants to only return them, then this is used to instruct the RDBMS to return that many rows, making the query much faster.

  • ReturnFullDetails – option to return all properties rather than the simple ones.

Outputs

Transfer object using the simple list as defined above or the full list.