public override void BeforeCreation(MaximoOperationExecutionContext maximoTemplateData) { base.BeforeCreation(maximoTemplateData); var jsonObject = (CrudOperationData)maximoTemplateData.OperationData; var webServiceObject = (ServiceIncident)maximoTemplateData.IntegrationObject; PopulateAssets(jsonObject, webServiceObject); ISMAttachmentHandler.HandleAttachmentsForCreation(jsonObject, webServiceObject); }
public override void BeforeCreation(MaximoOperationExecutionContext maximoTemplateData) { base.BeforeCreation(maximoTemplateData); var jsonObject = (CrudOperationData)maximoTemplateData.OperationData; var webServiceObject = (ServiceIncident)maximoTemplateData.IntegrationObject; PopulateAssets(jsonObject, webServiceObject, maximoTemplateData.ApplicationMetadata.Schema.SchemaId); SetClassification(jsonObject, webServiceObject, maximoTemplateData.ApplicationMetadata.Schema.SchemaId); HandleBusinessMatrix(webServiceObject, jsonObject, maximoTemplateData.ApplicationMetadata.Schema.SchemaId); ISMAttachmentHandler.HandleAttachmentsForCreation(jsonObject, webServiceObject); var schemaId = maximoTemplateData.OperationData.ApplicationMetadata.Schema.SchemaId; }