Add, Update, and Remove work steps for Components - Intergraph Smart Construction - 8 - Reference - Hexagon PPM

Intergraph Smart Construction Retired Feature Reference

Language
English
Product
Intergraph Smart Construction
Search by Category
Reference
Smart Construction Version
8

If you have configured rules of credit for this plant in this site, you cannot use the following APIs since we do not create work steps for components.

Create manual Work Step for Component Object

You can add manual work steps for components and can add a Standard Installation Detail (SID) as a work step using the Web APIs.

POST {{url}}/ SPCCreateManualWorkStep

Content

{

WorkStepCreateInfo:

{

"IWPID":"[Work Package ID of the IWP]",

"ComponentID":"[Component ID]",

"WorkStepName":"[Name of the manual work step]",

"Notes":"[Notes for the work step]",

"Sequence":"[Sequence number for work step]",

"PlannedManHours":"[Planned man hours for the work step]",

"QuantityCompleted":"[Quantity completed]",

"sidID":"[SID ID]"

},

}

Required information

  • Work Package ID of the IWP in which the component exits.

  • Component ID of the component for which you are creating the work step.

  • Name of the work step if you are creating a manual work step.

  • SID ID is required if you are trying to add a SID to the component.

Notes

  • Adjustment Factor cannot be updated.

For example,

{

"WorkStepCreateInfo":

{

"IWPD":"6GKO000A",

"ComponentID": "6GGF231A",

"WorkStepName": "ManualStep-001",

"Notes": "Created the Manual Work step",

"Sequence": "2",

"PlannedManHours": "9",

"QuantityCompleted": "5",

}

}

Update manual Work Step for Component Object

You can update some properties of the manual work steps for components using the Web APIs.

POST {{url}}/ SPCUpdateWorkStep

Content

{

"ID": "[Component ID]",

WorkStepUpdateInfo:

{

"Name": "XXXX",

"Description": "XXXX",

"Sequence": "XXXX",

"PlannedManHours": "XX",

"ActualManHours": "XX",

"ActualQuantity": "XX",

"AdjustmentFactor": "XX",

"ActualDateComplete": "XX-XX-XXXX",

"IsMaterialConsumed": "XXXX",

"Notes": "XXXX",

"Progress": {"ProgressType": "CompletedQuantity/

PercentageComplete/ IsCompleted", "ProgressValue": "XX"}

},

}

Required information

  • Component ID of the component for which you are creating the work step.

  • WorkStepUpdateInfo

Notes

  • Adjustment Factor cannot be updated.

For example,

{

"ID": "6GGQ9LRA",

"WorkStepUpdateInfo":

{

"Sequence": "5",

"ActualDateComplete": "06-14-2018",

"Notes": "Updating the WorkStep"

}

}

Remove Work step

You can update delete work steps for components using the Web APIs.

POST {{url}}/SPCRemoveWorkStepFromInstallationWorkPackage

Content

{

"ID": "[Work step ID]"

}

Required information

  • Work step ID of the work step which you want to remove.

Notes

None

For example,

{

"WorkstepID": "6I1B000A"

}