Materials service - Intergraph Smart Construction - 2018 (6.0) - Configuration - Hexagon PPM

Intergraph Smart Construction API and Programming Reference (2018)

PPMProduct
Intergraph Smart Construction
PPMCategory_custom
Administration & Configuration
SPCVersion_custom
2018 (6.0)

By default, the Materials service delivered with Smart Construction communicates with Smart Materials. If you use a different materials system, then you can create your own version of the Materials service to communicate with your materials system. In order to do this, you must implement the IMaterialsService WCF service contract.

<ServiceContract()> _

Public Interface IMaterialsService

Inherits IExternalService

<OperationContract()> _

Function PerformStatusRequest( _

ByVal projectID As String, _

ByVal statusRequestName As String, _

ByVal drawingNumbers As List(Of String), _

ByVal requestType As MaterialsRequestType, _

ByVal returnDataContainer As IObjectDictionary) As Boolean

<OperationContract()> _

Function PerformStatusRequest( _

ByVal projectID As String, _

ByVal materialRequest As IMaterialRequest, _

ByVal returnDataContainer As IObjectDictionary) As Boolean

<OperationContract()> _

Function GetLatestStatusRequest( _

ByVal projectID As String, _

ByVal statusRequestName As String, _

ByVal requestType As MaterialsRequestType, _

ByVal returnDataContainer As IObjectDictionary) _

As Boolean

<OperationContract()> _

Function SearchLatestStatusRequest( _

ByVal projectID As String, _

ByVal statusRequestName As String, _

ByVal requestType As MaterialsRequestType, _

ByVal searchParameters As Dictionary(Of String, String), _

ByVal returnDataContainer As IObjectDictionary) _

As Boolean

<OperationContract()> _

Function UndoStatusRequest( _

ByVal projectID As String, _

ByVal statusRequestName As String, _

ByVal requestType As MaterialsRequestType, _

ByVal returnDataContainer As IObjectDictionary) _

As Boolean

<OperationContract()> _

Function GetLatestStatusRequestForFiltering( _

ByVal projectID As String, _

ByVal statusRequestName As String, _

ByVal requestType As MaterialsRequestType, _

ByRef results As Xml.XmlDocument) _

As Boolean

<OperationContract()> _

Function SearchLatestStatusRequestForFiltering( _

ByVal projectID As String, _

ByVal statusRequestName As String, _

ByVal requestType As MaterialsRequestType, _

ByVal searchParameters As Dictionary(Of String, String), _

ByRef results As Xml.XmlDocument) _

As Boolean

<OperationContract()> _

Function GetExistingMaterialStatus( _

ByVal projectID As String, _

ByVal materialRequest As IMaterialRequest) _

As MaterialsRequestType

End Interface

In addition to implementing this service contract, you must honor the data formats that Smart Construction expects. These data formats are defined in the SmartPlant Foundation Engineering Framework schema that is delivered with Smart Construction. These data formats are specified with the method details.