Export Stockpile and Despatch Stockpile States
A ProcessEvents message with a NotifyPerformanceTrackedEvent node can be used to export basic stockpile states when stockpiles are modified in MineMarket.
Only changes related to bulk materials trigger the export, including transactions, surveys, samples and downstreaming. Despatch stockpiles; that is, the 'stockpile' of material that is loaded onto a despatch, are included as well as mine sources and standard stockpiles such as WAG stockpiles. Changes related to discrete units do not trigger the export. Stockpiles without a transaction are excluded from the export.
When the state of one or more stockpiles is changed in MineMarket and those changes are saved, a ProcessEvents message with a NotifyPerformanceTrackedEvent node is generated.
The Exported Message Types option selected on the MineMarket Export Settings screen controls whether stockpile state changes are exported as a single message or multiple messages. See Export Data to Third-party Systems. Only one of the following options should be selected:
- NotifyPerformanceTracked—A single message is generated that may include the state of many stockpiles: all stockpiles that have changed since the last save are included in the one message.
- NotifyPerformanceTrackedPerStockpile— A message is generated per stockpile and each message includes the changes for one stockpile only. Each message includes its sequence number in the transaction state order.
Note: Words in coloured text refer to node names in the XML file. Words in bold refer to field names or data in MineMarket, or required text strings. Words in italics refer to field values in MineMarket.
Subscriber Name
The subscriber name must be NotifyPerformanceTracked.
Class Name
The class name is MsmqIntForIhub.Subscriber.
XML Example
Note: The following simplified example includes the destination train rake and source stockpile of a train loading transaction and the deletion of a stockpile survey.
<?xml version="1.0" encoding="utf-8"?>
<NotifyPerformanceTrackedEvent xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.mesa.org/xml/B2MML">
<ApplicationArea>
<Sender>
<LogicalID>IMS</LogicalID>
<ComponentID>MineMarket</ComponentID>
</Sender>
<CreationDateTime>2022-09-27T09:59:10.0141145Z</CreationDateTime>
</ApplicationArea>
<DataArea>
<Notify />
<PerformanceTrackedEvent>
<ID>e961c36d-ddc5-4380-8a75-7475ea0bbafe</ID>
<EventTimestamp>2022-09-27T09:59:10.0141145Z</EventTimestamp>
<EventEffectiveTime>2022-09-27T09:59:11.0544575Z</EventEffectiveTime>
<ChangedMaterialLotRecord recordTimestamp="2022-09-27T09:59:04Z" effectiveTimestamp="2022-12-03T04:00:00Z">
<MaterialLot>
<ID>RakeAlias1</ID>
<HierarchyScope>
<EquipmentID>BusinessAreaAlias1Segment</EquipmentID>
<EquipmentElementLevel>Enterprise</EquipmentElementLevel>
<HierarchyScopeChild>
<EquipmentID>BusinessAreaAlias1Segment</EquipmentID>
<EquipmentElementLevel>Site</EquipmentElementLevel>
<HierarchyScopeChild>
<EquipmentID>LocationAlias1Segment</EquipmentID>
<EquipmentElementLevel>Area</EquipmentElementLevel>
<HierarchyScopeChild>
<EquipmentID>DespatchAlias1</EquipmentID>
<EquipmentElementLevel>StorageUnit</EquipmentElementLevel>
</HierarchyScopeChild>
</HierarchyScopeChild>
</HierarchyScopeChild>
</HierarchyScope>
<MaterialDefinitionID>ProductAlias1</MaterialDefinitionID>
<MaterialLotProperty>
<ID>StockpileStateID</ID>
<Value>
<ValueString>StockpileStateAlias1</ValueString>
<DataType>string</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>Opening Date</ID>
<Value>
<ValueString>2022-09-27T09:55:27.0000000Z</ValueString>
<DataType>DateTime</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>AnalyteAlias1</ID>
<Value>
<ValueString>6.5</ValueString>
<DataType>Numeric</DataType>
<UnitOfMeasure>%</UnitOfMeasure>
<Key>WAG</Key>
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>BulkTransactionMass</ID>
<Value>
<ValueString>123.45</ValueString>
<DataType>Numeric</DataType>
<UnitOfMeasure>t</UnitOfMeasure>
<Key>TransactionAlias1</Key>
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>Operation</ID>
<Value>
<ValueString>Loading</ValueString>
<DataType>string</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>AnalyteAlias1 Final</ID>
<Value>
<ValueString>6.5</ValueString>
<DataType>Numeric</DataType>
<UnitOfMeasure>%</UnitOfMeasure>
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>SampleTemplateName SampleID</ID>
<Value>
<ValueString>SampleName</ValueString>
<DataType>string</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>SampleTemplateName Sample Date</ID>
<Value>
<ValueString>2022-12-03T04:00:00.0000000Z</ValueString>
<DataType>DateTime</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>SampleTemplateName Date Assayed</ID>
<Value>
<ValueString>2022-04-30T04:00:00.0000000Z</ValueString>
<DataType>DateTime</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>SampleTemplateName Sample LIMS Date</ID>
<Value>
<ValueString>2022-04-30T04:00:00.0000000Z</ValueString>
<DataType>DateTime</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>Despatch State</ID>
<Value>
<ValueString>Loading</ValueString>
<DataType>string</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>Load State</ID>
<Value>
<ValueString>Loaded</ValueString>
<DataType>string</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>Loading Arrival Date</ID>
<Value>
<ValueString>2022-12-03T04:00:00.0000000Z</ValueString>
<DataType>DateTime</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>Start Loading Date</ID>
<Value>
<ValueString>2022-12-03T04:00:00.0000000Z</ValueString>
<DataType>DateTime</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>End Loading Date</ID>
<Value>
<ValueString>2022-12-03T04:00:00.0000000Z</ValueString>
<DataType>DateTime</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<Quantity>
<QuantityString>123.45</QuantityString>
<DataType>Numeric</DataType>
<UnitOfMeasure>t</UnitOfMeasure>
<Key>mass</Key>
</Quantity>
</MaterialLot>
</ChangedMaterialLotRecord>
<ChangedMaterialLotRecord recordTimestamp="2022-09-27T09:59:04Z" effectiveTimestamp="2022-12-03T04:00:00Z">
<MaterialLot>
<ID>StockpileAlias1</ID>
<HierarchyScope>
<EquipmentID>BusinessAreaAlias1Segment</EquipmentID>
<EquipmentElementLevel>Enterprise</EquipmentElementLevel>
<HierarchyScopeChild>
<EquipmentID>BusinessAreaAlias1Segment</EquipmentID>
<EquipmentElementLevel>Site</EquipmentElementLevel>
<HierarchyScopeChild>
<EquipmentID>LocationAlias1Segment</EquipmentID>
<EquipmentElementLevel>Area</EquipmentElementLevel>
<HierarchyScopeChild>
<EquipmentID>StockpileCategoryAlias1Segment</EquipmentID>
<EquipmentElementLevel>StorageUnit</EquipmentElementLevel>
</HierarchyScopeChild>
</HierarchyScopeChild>
</HierarchyScopeChild>
</HierarchyScope>
<MaterialLotProperty>
<ID>StockpileStateID</ID>
<Value>
<ValueString>StockpileStateAlias1</ValueString>
<DataType>string</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>Opening Date</ID>
<Value>
<ValueString>2022-12-02T03:59:59.0000000Z</ValueString>
<DataType>DateTime</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>BulkTransactionMass</ID>
<Value>
<ValueString>123.45</ValueString>
<DataType>Numeric</DataType>
<UnitOfMeasure>t</UnitOfMeasure>
<Key>TransactionAlias1</Key>
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>Operation</ID>
<Value>
<ValueString>Unloading</ValueString>
<DataType>string</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>AnalyteAlias1 Final</ID>
<Value>
<ValueString>6.5</ValueString>
<DataType>Numeric</DataType>
<UnitOfMeasure>%</UnitOfMeasure>
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>SampleID</ID>
<Value>
<ValueString>OnlineSamp</ValueString>
<DataType>string</DataType>
<UnitOfMeasure xsi:nil="true" />
<Key>SampleTemplateName</Key>
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>Sample Date</ID>
<Value>
<ValueString>2022-12-03T04:00:00.0000000Z</ValueString>
<DataType>DateTime</DataType>
<UnitOfMeasure xsi:nil="true" />
<Key>SampleTemplateName</Key>
</Value>
</MaterialLotProperty>
<MaterialLotProperty>
<ID>Date Assayed</ID>
<Value>
<ValueString>2022-04-30T04:00:00.0000000Z</ValueString>
<DataType>DateTime</DataType>
<UnitOfMeasure xsi:nil="true" />
<Key>SampleTemplateName</Key>
</Value>
</MaterialLotProperty>
<Quantity>
<QuantityString>876.55</QuantityString>
<DataType>Numeric</DataType>
<UnitOfMeasure>t</UnitOfMeasure>
<Key>mass</Key>
</Quantity>
</MaterialLot>
</ChangedMaterialLotRecord>
<DeletedMaterialLotRecord recordTimestamp="2022-09-20T07:11:53Z" effectiveTimestamp="2022-08-31T14:00:00Z">
<MaterialLot>
<ID>StockpileAlias1</ID>
<MaterialLotProperty>
<ID>StockpileStateID</ID>
<Value>
<ValueString>StockpileStateDatabaseID</ValueString>
<DataType>string</DataType>
<UnitOfMeasure xsi:nil="true" />
</Value>
</MaterialLotProperty>
</MaterialLot>
</DeletedMaterialLotRecord>
</PerformanceTrackedEvent>
</DataArea>
</NotifyPerformanceTrackedEvent>
XML Nodes
Node and Path |
Notes |
---|---|
ApplicationArea » Sender » LogicalID |
A text string that is always the word "IMS". |
ApplicationArea » Sender » ComponentID |
A text string that is always the word "MineMarket". |
ApplicationArea » CreationDateTime |
The creation time of the XML file. |
DataArea » PerformanceTrackedEvent » ID |
A unique identifier that is generated automatically. |
DataArea » PerformanceTrackedEvent » EventTimeStamp |
The creation time of the XML file. |
DataArea » PerformanceTrackedEvent » EventEffectiveTime |
The creation time of the XML file. |
PerformanceTrackedEvent » ChangedMaterialLotRecord |
The start node for an individual stockpile. The recordTimestamp is the time of the latest modification date (DateLastModified) of the stockpile state or of any of the stockpile's analytes. The effectiveTimestamp is the applicability date (AsAtDate) of the stockpile state. |
ChangedMaterialLotRecord » MaterialLot » ID |
Stockpile: The Alias1 of the stockpile. Train: The Alias1 of the train rake. Service trip: Concatenation of the Alias1 of the service trip and the final Alias1 segment of the barge hold. Shipment: Concatenation of the Alias1 of the shipment and the final Alias1 segment of the vessel hold. |
MaterialLot » HierarchyScope » EquipmentID |
The Alias1 of the parent business area of the business area of the location of the stockpile(s). See notes below about Alias1 segments. |
MaterialLot » HierarchyScope » EquipmentElementLevel |
A text string that is always the word "Enterprise". |
MaterialLot » HierarchyScope » HierarchyScopeChild » EquipmentID |
The Alias1 of the business area of the location of the stockpile(s). See notes below about Alias1 segments. |
MaterialLot » HierarchyScope » HierarchyScopeChild » EquipmentElementLevel |
A text string that is always the word "Site". |
MaterialLot » HierarchyScope » HierarchyScopeChild » HierarchyScopeChild » EquipmentID |
For a stockpile, the Alias1 of the location of the stockpile(s). For a despatch, the Alias1 of the loading or unloading location. See notes below about Alias1 segments. |
MaterialLot » HierarchyScope » HierarchyScopeChild » HierarchyScopeChild » EquipmentElementLevel |
A text string that is always the word "Area". |
MaterialLot » HierarchyScope » HierarchyScopeChild » HierarchyScopeChild » HierarchyScopeChild » EquipmentID |
For a stockpile, the Alias1 segment of the stockpile category of the stockpile(s). See notes below about Alias1 segments. For a despatch, the Alias1 of the despatch. |
MaterialLot » HierarchyScope » HierarchyScopeChild » HierarchyScopeChild » HierarchyScopeChild » EquipmentElementLevel |
A text string that is always the word "StorageUnit". |
MaterialLot » MaterialDefinitionID |
For a stockpile, the Alias1 of the product on the stockpile. For a shipment, for the product with an Alias1 of "Product On Ship" (or "Bauxite Shipped" for backwards compatibility), the value of the export mapping called ShipmentNotifyPerformanceTracked is used. If the product with an Alias1 of "Product On Ship" does not have this export mapping, the text string "Product On Ship" is used. For a train or barge, the Alias1 of the default product for the despatch type. That is, the product with an Alias1 of "Product On Rail" or "Product On Barge", as applicable to the despatch type. |
MaterialLot » Status |
The status of the stockpile at the time of the stockpile state, selected from the Stockpile Status text list items. Not applicable to despatch stockpiles. |
MaterialLot » MaterialLotProperty |
Many possible nodes as described below. |
MaterialLot » Quantity |
The start node for quantity information for the stockpile as a result of the change to the stockpile state. |
MaterialLot » Quantity » QuantityString |
The mass of the stockpile in wet metric tonnes. |
MaterialLot » Quantity » DataType |
A text string that is always the word "Numeric". |
MaterialLot » Quantity » UnitOfMeasure |
A text string that is always the word "t". |
MaterialLot » Quantity » Key |
A text string that is always the word "mass". |
PerformanceTrackedEvent » DeletedMaterialLotRecord |
The start node for the deletion of an individual stockpile state. The recordTimestamp is the time of the latest modification date (DateLastModified) of the stockpile state. The effectiveTimestamp is the applicability date (AsAtDate) of the stockpile state. |
DeletedMaterialLotRecord » MaterialLot » ID |
Stockpile: The Alias1 of the stockpile. Train: The Alias1 of the train rake. Service trip: Concatenation of the Alias1 of the service trip and the final Alias1 segment of the barge hold. Shipment: Concatenation of the Alias1 of the shipment and the final Alias1 segment of the vessel hold. |
DeletedMaterialLotRecord » MaterialLot » MaterialLotProperty » ID |
A text string that is always the word "StockpileStateID". |
DeletedMaterialLotRecord » MaterialLot » MaterialLotProperty » Value » ValueString |
The database ID of the stockpile state. |
DeletedMaterialLotRecord » MaterialLot » MaterialLotProperty » Value » DataType |
A text string that is always the word "string". |
MaterialLotProperty Nodes
There are many possible MaterialLotProperty nodes. No stockpile state includes all of the following nodes; however, the nodes that are applicable are in the following order. For the purpose of this B2MML adaptor, a transaction in the stockpile state is either a bulk transaction or a survey. That means that survey nodes are mutually exclusive with bulk transaction nodes.
Values enclosed in double quotes refer to constant text strings. Properties with the "string" or "DateTime" data types also have a <UnitOfMeasure xsi:nil="true" /> sub-node.
MaterialLotProperty » ID—"StockpileStateID"
- ValueString—The database ID of the stockpile state.
- DataType—"string"
MaterialLotProperty » ID—"Opening Date"
- ValueString—The opening date of the stockpile. For a despatch stockpile, the time the transaction is saved minus 1 minute.
- DataType—"DateTime"
MaterialLotProperty » ID—"Closing Date"—Only applicable to stockpiles that have a closing date.
- ValueString—The closing date of the stockpile.
- DataType—"DateTime"
Note: If a transaction date or survey date included in the B2MML message is earlier than the opening date or later than the closing date of the stockpile, the B2MML adaptor updates the opening or closing date of the stockpile.
(Multiple) MaterialLotProperty » ID—The Alias1 of each analyte in the stockpile state—Only applicable for analytes that have a value.
- ValueString—The value of the analyte.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the unit of measure.
- Key—"WAG"
MaterialLotProperty Nodes for Bulk Transactions
MaterialLotProperty » ID—"BulkTransactionMass"
- ValueString—The mass of the bulk transaction in metric tonnes.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the metric tonnes unit of measure.
- Key—The Alias1 of the transaction.
MaterialLotProperty » ID—"BulkTransactionVolume"—Only applicable for transactions with an extended data value for Double1.
- ValueString—The extended data value for Double1 on the transaction.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the BCM unit of measure.
- Key—The Alias1 of the transaction.
(Multiple) MaterialLotProperty » ID—Concatenation of the Alias1 of each base analyte in the transaction state and " Base" and the best assumption (that is, the Value Source) of the analyte value—Only applicable for analytes that have a value and are in loading transactions; or in unloading transactions and the best known result is not Assume Source.
- ValueString—The value of the analyte.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the unit of measure.
MaterialLotProperty Nodes for Bulk Transaction Composite Samples
MaterialLotProperty » ID—Concatenation of the name of the sample template, " " and "SampleID".
- ValueString—The 10-character name of the sample. Sample names with less than 10 characters are prefixed with zeros.
- DataType—"string"
MaterialLotProperty » ID—Concatenation of the name of the sample template, " " and "Sample Date".
- ValueString—The Sample Date of the sample.
- DataType—"DateTime"
MaterialLotProperty » ID—Concatenation of the name of the sample template, " " and "Date Assayed".—Only applicable if there is a results requested date for the sample.
- ValueString—The Results Requested date for the sample.
- DataType—"DateTime"
MaterialLotProperty » ID—Concatenation of the name of the sample template, " " and "Sample LIMS Date".
- ValueString—The extended data value for Date1 on the sample.
- DataType—"DateTime"
(Multiple) MaterialLotProperty » ID—Concatenation of the Alias1, " " and the Result Type of each sample analyte—Only applicable for analytes that have a value.
- ValueString—The value of the analyte.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the unit of measure.
MaterialLotProperty Nodes for Stockpile Surveys
MaterialLotProperty » ID—"Survey"
- ValueString—The Alias1 of the stockpile survey.
- DataType—"string"
MaterialLotProperty » ID—"Survey Date"
- ValueString—The Date Surveyed of the survey.
- DataType—"DateTime"
MaterialLotProperty » ID—"Survey Quantity"—Only applicable for surveys with a quantity.
- ValueString—The Quantity of the survey in metric tonnes.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the metric tonnes unit of measure.
- Key—"Surveyed"
MaterialLotProperty » ID—"Survey Reason"—Only applicable for surveys with a reason code.
- ValueString—The Reason Code for the survey, selected from the Survey Reason Code text list items.
- DataType—"string"
- Key—"Surveyed"
MaterialLotProperty » ID—"Survey Comment"—Only applicable for surveys with a comment.
- ValueString—The Comment for the survey.
- DataType—"string"
- Key—"Surveyed"
MaterialLotProperty » ID—"User Name"
- ValueString—The Alias1 of the user who modified the survey.
- DataType—"string"
- Key—"Surveyed"
(Multiple) MaterialLotProperty » ID—Concatenation of the Alias1 of each survey analyte and " BaseSurveyed"—Only applicable for analytes that have a value.
- ValueString—The value of the analyte.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the unit of measure.
MaterialLotProperty Nodes for Contributors
(Multiple) MaterialLotProperty » ID—"Contributor Groups"—Only applicable for stockpile states with contributors.
- ValueString— The Alias1 of the contributor group in the stockpile state.
- DataType—"string"
- Key—"Contributor Group"
Contributor information is nested as MaterialLotPropertyChild nodes under the MaterialLotProperty node for a contributor group.
(Multiple) MaterialLotPropertyChild » ID —The Alias1 of the contributor.
- ValueString—The contributor tonnage value.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the unit of measure.
- Key—"Contributor"
Contributor analyte information is nested as MaterialLotPropertyChild nodes under the MaterialLotPropertyChild node for a contributor.
(Multiple) MaterialLotPropertyChild » ID —The Alias1 of the analyte definition.
- ValueString—The value of the analyte.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the unit of measure.
- Key—"WAG"
MaterialLotProperty Nodes for Train Tonnage Corrections and Barge/Ship Draft Surveys
MaterialLotProperty » ID—"Tonnage Correction"
- ValueString—The Alias1 of the tonnage correction or draft survey.
- DataType—"string"
- Key—The Alias1 of the bulk transaction on the despatch.
MaterialLotProperty » ID—"Original Mass"
- ValueString—The original mass before the tonnage correction or draft survey.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the unit of measure.
- Key—The Alias1 of the bulk transaction on the despatch.
MaterialLotProperty » ID—"Original Balance"
- ValueString The corrected mass (for a loading transaction)—The stockpile balance minus the transaction mass plus the transaction original mass.
- ValueString The corrected mass (for an unloading transaction)—The stockpile balance plus the transaction mass minus the transaction original mass.
- DataType—"Numeric"
- UnitOfMeasure—The Alias1 of the metric tonnes unit of measure.
- Key—The Alias1 of the bulk transaction on the despatch.
MaterialLotProperty Node for All Transactions
MaterialLotProperty » ID—"Operation"
- ValueString (for a loading transaction)—"Loading"
- ValueString (for an unloading transaction)—"Unloading"
- DataType—"string"
MaterialLotProperty Nodes for Despatches
MaterialLotProperty » ID—"Despatch State"
- ValueString—The despatch state of the despatch. Possible despatch states are "None", "Waiting At None", "Waiting At Loading", "Loading", "Loaded Transit", "Waiting At Unloading", "Unloading", "Unloaded Transit" and "Complete".
- DataType—"string"
MaterialLotProperty » ID—"Load State"
- ValueString—The load state of the despatch. Possible load states are "Empty", "Loaded", "Unloaded" and "Fully Unloaded".
- DataType—"string"
MaterialLotProperty » ID—"Loading Arrival Date"—Only applicable if there is an actual time of arrival.
- ValueString—Actual Arrival Date at the loading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"Loading Berth Date"—Only applicable to shipments and service trips with an actual berthing date.
- ValueString—Actual Berth Date at the loading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"Start Loading Date"—Only applicable if there is an actual start loading date.
- ValueString—Actual Start Loading date at the loading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"End Loading Date"—Only applicable if there is an actual end loading date.
- ValueString—Actual End Loading date at the loading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"Loading Unberth Date"—Only applicable to shipments and service trips with an actual unberthing date.
- ValueString—Actual Unberth Date at the loading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"Loading Departure Date"—Only applicable if there is an actual departure date.
- ValueString—Actual Departure Date at the loading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"Unloading Arrival Date"—Only applicable if there is an actual time of arrival.
- ValueString—Actual Arrival Date at the unloading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"Unloading Berth Date"—Only applicable to shipments and service trips with an actual berthing date.
- ValueString—Actual Berth Date at the unloading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"Start Unloading Date"—Only applicable if there is an actual start unloading date.
- ValueString—Actual Start Unloading date at the unloading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"End Unloading Date"—Only applicable if there is an actual end unloading date.
- ValueString—Actual End Unloading date at the unloading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"Unloading Unberth Date"—Only applicable to shipments and service trips with an actual unberthing date.
- ValueString—Actual Unberth Date at the unloading route point.
- DataType—"DateTime"
MaterialLotProperty » ID—"Unloading Departure Date"—Only applicable if there is an actual departure date.
- ValueString—Actual Departure Date at the unloading route point.
- DataType—"DateTime"
Notes and Troubleshooting
Multiple ChangedMaterialLotRecord nodes (with their sub-nodes) can exist within the one file if changes to more than one stockpile or despatch stockpile are saved in MineMarket at the same time.
Alias1 Segments
The Alias1 segments in the XML file are derived from concatenated Alias1 values in MineMarket.
For example, in the definition of the business areas, note the Alias1 concatenation:
<p:HierarchyScope>
<p:EquipmentID>Company</p:EquipmentID> (Alias1: Company)
<p:EquipmentElementLevel>Enterprise</p:EquipmentElementLevel>
<p:HierarchyScopeChild>
<p:EquipmentID>Orminejo Mine</p:EquipmentID> (Alias1: Company_Orminejo Mine)
<p:EquipmentElementLevel>Site</p:EquipmentElementLevel>
<p:HierarchyScopeChild>
<p:EquipmentID>Product Stockyard</p:EquipmentID> (Alias1: Company_Orminejo Mine_Product Stockyard)
<p:EquipmentElementLevel>Area</p:EquipmentElementLevel>
<p:HierarchyScopeChild>
<p:EquipmentID>Post Crusher</p:EquipmentID> (Alias1: Company_Orminejo Mine_Product Stockyard_Post Crusher)
<p:EquipmentElementLevel>StorageUnit</p:EquipmentElementLevel>
In this simplest scenario, the Site is the business area of the location of the stockpile(s). The Enterprise is the site's parent business area. The Area is the location of the stockpile(s). The StorageUnit is the stockpile category.
Other possible scenarios:
- If only one business area is configured in MineMarket, that business area is the Site.
- If the XML file includes information about multiple stockpiles, and those stockpiles have different locations, Site is excluded from the XML file. If the locations have a common parent business area, Enterprise is included. If the locations do not have a common parent business area, Enterprise is excluded.
- StorageUnit is only included if all stockpiles have the same stockpile category.
- For a despatch, only Area and StorageUnit are included, and StorageUnit is not concatenated.