| Quintiq file version 2.0 | 
| #parent: #root | 
| Method ExecutePostponementSpecAndFulfillmentRestrictionBrokers ( | 
|   Boolean isexcel, | 
|   BinaryValues binarydatas, | 
|   Strings brokers | 
| ) | 
| { | 
|   Description: 'Execute brokers that are associated with objects in SalesDemand ObjectGroup' | 
|   TextBody: | 
|   [* | 
|     if( not isexcel ) | 
|     { | 
|       this.MPSync().MPSync_ImportForecastsFromDBBroker().Execute(); | 
|     } | 
|     else | 
|     { | 
|       brokername :=""; | 
|       try | 
|       { | 
|         // Postponement and fulfillment restriction | 
|         brokername := typeof( MPSync_ImportPostponementAndFulfillmentRestrictionFromExcelBroker ).ShortName(); | 
|         binaryvalue := this.GetBinaryData( binarydatas, brokers, brokername ); | 
|         this.ValidateBroker( brokername, | 
|                              this.MPSync().MPSync_ImportPostponementAndFulfillmentRestrictionFromExcelBroker().Source(), | 
|                              binaryvalue ); | 
|         this.MPSync().MPSync_ImportPostponementAndFulfillmentRestrictionFromExcelBroker().ExecuteFromXLS( binaryvalue.AsBinaryData(), true ); | 
|       } | 
|       onfailure | 
|       { | 
|         this.UpdateLastExecutedImportObjectGroupErrorMessage( brokername + ":" + e.GeneralInformation() ); | 
|       }        | 
|     } | 
|   *] | 
|   InterfaceProperties { Accessibility: 'Module' } | 
| } |