| Quintiq file version 2.0 | 
| #parent: #root | 
| Method SynchronizeGenerals ( | 
|   owning BinaryData uoms, | 
|   owning BinaryData currencies, | 
|   owning BinaryData priorities | 
| ) | 
| { | 
|   Description: 'Import generals to model' | 
|   TextBody: | 
|   [* | 
|     // desmondt May-20-2014 (created) | 
|     this.ValidateBroker( typeof( MP_ImportUnitOfMeasuresBroker ).ShortName(), this.MP_ImportUnitOfMeasuresBroker().Source(), uoms.AsBinaryValue() ); | 
|     this.ValidateBroker( typeof( MP_ImportCurrenciesBroker ).ShortName(), this.MP_ImportCurrenciesBroker().Source(), currencies.AsBinaryValue() ); | 
|     this.ValidateBroker( typeof( MP_ImportPrioritiesBroker ).ShortName(), this.MP_ImportPrioritiesBroker().Source(), priorities.AsBinaryValue() ); | 
|      | 
|     progress( 'Importing units of measurement', DateTime::ActualTime() ); | 
|     this.MP_ImportUnitOfMeasuresBroker().ExecuteFromXLS( &uoms, true ); | 
|        | 
|     progress( 'Importing currencies', DateTime::ActualTime() ); | 
|     this.MP_ImportCurrenciesBroker().ExecuteFromXLS( ¤cies, true ); | 
|      | 
|     progress( 'Importing priorities', DateTime::ActualTime() ); | 
|     this.MP_ImportPrioritiesBroker().ExecuteFromXLS( &priorities, true ); | 
|   *] | 
| } |