| | |
| | | currencyid := "CNY"; |
| | | startdate := Date::Date( 1900, 1, 1 ); |
| | | enddate := Date::Date( 9999, 12, 31 ); |
| | | capacitytype := "Infinite"; |
| | | capacitytype := "Transport quantity"; |
| | | |
| | | if( isnull( Unit::FindById( this, "空运" ) ) ){ |
| | | this.Unit( relnew, |
| | |
| | | ProductLevel_MP::Create( "2", isproductcatagory, this, isfromdb ); |
| | | ProductLevel_MP::Create( "3", isproductcatagory, this, isfromdb ); |
| | | } |
| | | |
| | | existsalestlevel := SalesLevel_MP::FindSalesLevelTypeIndex( "2") |
| | | if( isnull( existsalestlevel ) ){ |
| | | SalesLevel_MP::Create( "1",this,isfromdb); |
| | | SalesLevel_MP::Create( "2",this,isfromdb); |
| | | } |
| | | *] |
| | | } |