Function GetMaterialStatus - Intergraph Smart Construction - 8 - Customization & Programming - Hexagon PPM

Intergraph Smart Construction API and Programming Reference

Language
English
Product
Intergraph Smart Construction
Search by Category
Customization & Programming
Smart Construction Version
8

Function GetMaterialStatus

Arguments:

ByVal projectID As String

ByVal materialStatusRequest As MaterialStatusRequest

Result:

List of MaterialStatusItem

Details:

This method returns the latest material status request for the given "projectID" and "materialStatusRequest".

MaterialStatusRequest

Property

Type

Example Value

MatStatus

FilterMatStatus

MatStatus1

FilterMatStatus

Property

Type

Example Value

TimePeriod

Integer

365(days)

bomNodes

List(Of BomNode)

bomNode1, bomNode2

BomNode

Property

Type

Example Value

DrawingNumber

String

Pipe

TagNumber

String

411-SP-1947A

FahCode

String

65291 (Forecast ID in SMAT)

FahCode is generally left blank, unless you want a specific forecast result.

MaterialStatusItem

Property

Type

Example Value

DrawingNumber

String

Pipe

FahId

String

65291

LpId

String

157773953

ListPosition

String

1

CommodityCode

String

411-SP-1947A

CommodityCodeShortDesc

String

Inhibitor Filter

Size1

String

0

Size2

String

0

Size3

String

0

Size4

String

0

IdentCode

String

411-SP-1947A

TagNumber

String

411-SP-1947A

BOMPath

Integer

/Pipe

BOMQuantity

Integer

150

IssuedQuantity

Integer

3

UnitId

String

5181

UnitCode

String

PC

Alert

String

Not Available

ForecastResult

List(Of ForecastStatusItem)

Forecast1, Forecast2

MIRDetails

List(Of MIRDetailItem)

MIRDetail1, MIRDetail2

ForecastStatusItem

Property

Type

Example Value

ETADate

DateTime

21-03-2019

ROSDate

DateTime

15-03-2019

OnhandQty

Integer

9

ActualReservedQty

Integer

9

ForecastShortQty

Integer

133

Whld

String

12028

WhCode

String

PB_WH1

Locld

String

6478

LocCode

String

A-A

MIRDetailItem

Property

Type

Example Value

MIRNumber

String

MIR-PB-00002

MIRType

String

I

MIRQuantity

Integer

3