| Quintiq file version 2.0 | 
| #parent: #root | 
| Method DataMockupGenerateAllData ( | 
|   Number nrofperiods, | 
|   Number nrofproducts, | 
|   Number nrofstockingpoints, | 
|   Number nrofroutings, | 
|   Number nrofinputsperrouting, | 
|   Number nrofoutputsperrouting, | 
|   Number nroflanelegs, | 
|   Number nrofproductsperlane | 
| ) | 
| { | 
|   Description: 'Populates dataset with dummy instances for performance testing purpose.' | 
|   TextBody: | 
|   [* | 
|     // ODE2 Feb-24-2017 (created) | 
|      | 
|     macroplan := this.MacroPlan(); | 
|      | 
|     // General | 
|     uomname := macroplan.DefaultUnitOfMeasure().Name(); | 
|     currencyname := macroplan.BaseCurrency().Name(); | 
|      | 
|     // Clean all instances | 
|     this.DataMockupCleanAllData(); | 
|        | 
|     // Generate data | 
|     this.DataMockupGeneratePeriods( nrofperiods );                                | 
|     this.DataMockupGeneratePISPs( nrofproducts, nrofstockingpoints, uomname, currencyname ); | 
|     unit := this.DataMockupGenerateUnits( uomname, currencyname ); | 
|     this.DataMockupGenerateRoutings( unit, nrofroutings, nrofinputsperrouting, nrofoutputsperrouting ); | 
|     this.DataMockupGenerateLanelegs( unit, nroflanelegs, nrofproductsperlane );                      | 
|     this.DataMockupGenerateInventorySupplies(); | 
|     this.DataMockupGenerateSalesDemands( uomname, currencyname ); | 
|   *] | 
| } |