limj
2023-09-21 89c96171bb971dcaed7cf289b58ef44ca689523c
_Main/BL/Type_GlobalDTOTable/Method_InitTestData.qbl
@@ -16,52 +16,5 @@
    MatAttrSettingAndPlanStrategyDetail::CreateIfNotExist( mat2, "PROD_2", 1777.0, "PROD_2_DESC" );
    MatAttrSettingAndPlanStrategy::CreateIfNotExist( this, 3, "手机事业部", "MAT_3", "MAT_3", "TYPE_1", 233.0, "通用", "短周期" );
    MatAttrSettingAndPlanStrategy::CreateIfNotExist( this, 4, "手机事业部", "MAT_4", "MAT_4", "TYPE_2", 233.0, "专用", "短周期" );
    // yypsybs Sep-15-2023 (created)
    info( "CapacityAndSaleBudge::InitTestData" )
    this.CapacityAndSaleBudge( relflush );
    for( i := 1; i < 100; i := i + 1 ) {
      this.CapacityAndSaleBudge( relnew,
                                 PlaceOfProductionOfArray := "面板基地" + [String]Number::Random( 1, 10 ),
                                 OrgCode := "事业部" + [String]Number::Random( 1, 10 ),
                                 CapacityInPCSInMonth1 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth2 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth3 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth4 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth5 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth6 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth7 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth8 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth9 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth10 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth11 := Number::Random( 1, 10000 ),
                                 CapacityInPCSInMonth12 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth1 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth2 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth3 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth4 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth5 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth6 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth7 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth8 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth9 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth10 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth11 := Number::Random( 1, 10000 ),
                                 CapacityInSheetInMonth12 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth1 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth2 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth3 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth4 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth5 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth6 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth7 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth8 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth9 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth10 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth11 := Number::Random( 1, 10000 ),
                                 SaleAmountInMonth12 := Number::Random( 1, 10000 )
                               );
    }
  *]
}