| Quintiq file version 2.0 | 
| #parent: #root | 
| Method ExportSupplySpecifications | 
| { | 
|   Description: 'Method to export supply specifications to message via QI' | 
|   TextBody: | 
|   [* | 
|     // Initiate some variables including base NVT | 
|     exportfilename := 'SupplySpecifications.xml'; | 
|     routename := 'QuintiqExportSupplySpecificationsFileRoute'; | 
|     basenvt := NamedValueTree::Create(); | 
|     basenvt.Root( GlobalParameters_MP::GetDatasetMPSync() ); | 
|     mp := this.MacroPlan(); | 
|      | 
|     supplyspecifications := selectset( mp, Unit.SupplySpecification, ss, true ); | 
|     this.ExportObjectToNVT( basenvt, supplyspecifications, typeof( IOSupplySpecification ) ); | 
|      | 
|     this.ExportNVTToQI( exportfilename, routename, basenvt ); | 
|   *] | 
| } |