Function PerformStatusRequest |
|
---|---|
Arguments: |
ByVal projectID As String |
ByVal materialRequest As IMaterialRequest |
|
ByVal returnDataContainer As IObjectDictionary |
|
Result: |
Boolean value – True if success, False if failure |
Details: |
This method performs a status request against the materials system configured for the given "projectID". The "materialRequest" parameter contains the different information related to the request and is described below. The results should honor the formats specified in the following data format section. |
IMaterialRequest |
||
---|---|---|
Property |
Type |
Example Value |
RequestType |
MaterialsRequestType |
MaterialsRequestType.Forecast |
WorkPackageName |
String |
My WorkPackage |
DrawingNumbers |
List(Of String) |
P-176, P-177, P-176 |
MaterialItems |
List(Of IMaterialItem) |
Material1, Material2 |
FilterParameters |
Dictionary(Of String, String) |
"MatStatusEntry_IdentCode", "I0506845" |
IMaterialItem |
||
---|---|---|
Property |
Type |
Example Value |
ID |
String |
002HESA |
Tag |
String |
GATE VALVE-0415 |
CommodityCode |
String |
Commodity Code 12345 |
Sizes |
List(Of String) |
2 in, 0 in |
Data Format
Arranged by data types
SPC_MatStatusRequest |
||
---|---|---|
Property |
Type |
Example Value |
ID |
Unique Identifier |
037a7b51-902c-4dd5-8c65-7083772452f7 |
Name |
String |
My Forecast |
MatStatus_RequestDate |
String |
4/23/2009 10:19:16 AM |
MatStatus_RequestType |
String |
"Forecast" "Reservation" or "Both" |
SPC_MatStatusRequest_Entry |
||
---|---|---|
Property |
Type |
Example Value |
ID |
Unique Identifier |
{A39B36D3-567D-4213-BA87-D99EFB8E2AF0} |
Name |
String |
Commodity Code 12345 |
MatStatusEntry_DrawingNumber |
String |
P-176 |
MatStatusEntry_BOM |
String |
/PIPING/SULPHER RECOVERY AREA/RECOVERY STAGE |
MatStatusEntry_Ident Code |
String |
I0506845 |
MatStatusEntry_Tag |
String |
GATE VALVE-0415 |
MatStatusEntry_LPQuantity |
String |
1 |
MatStatusEntry_OnHandQuantity |
String |
0 |
MatStatusEntry_ReserveQuantity |
String |
1 |
MatStatusEntry_UnitCode |
String |
each |
MatStatusEntry_Warehouse |
String |
WH-100 |
MatStatusEntry_LocationCode |
String |
BIN1 |
MatStatusEntry_IIS |
String |
IVI |
MatStatusEntry_IISType |
String |
I0506845 |
MatStatusEntry_Size1 |
String |
2 |
MatStatusEntry_Size2 |
String |
0 |
MatStatusEntry_Size3 |
String |
0 |
MatStatusEntry_Size4 |
String |
0 |
MatStatusEntry_Size5 |
String |
0 |
MatStatusEntry_CommodityCode |
String |
VGRAAADRFAFACDAAEA1A |
MatStatusEntry_CommodityCodeShortDesc |
String |
Gate Vlv , B16.10 , CL150 , RF , Bltd Bonnet , Handwheel Operator , A 216 Gr. WCB , 1 to API 594, 602 Trim , ASME B16.5 , 125 - 250 Ra Finish , OS&Y Rising Stem Non Rising Op. , Solid Wedge |
MatStatusEntry_RequiredOnSiteDate |
DateTime |
5/5/2009 8:00:00 AM |
MatStatusEntry_ETADate |
DateTime |
05/03/2013 |
Data Relationships
-
SPC_MatStatusRequest_Entries
-
End 1 : SPC_MatStatusRequest
-
End2 : SPC_MatStatusRequest_Entry
-