limj
2023-09-21 89c96171bb971dcaed7cf289b58ef44ca689523c
_Main/BL/Type_MacroPlan/Method_MappingUnitData.qbl
@@ -22,6 +22,7 @@
    
    //Set the Default values
    unitofmeasurename := "PCS";
    infinite := "Infinite";
    capacitytype := "Transport quantity";
    
    // Get the root data
@@ -29,7 +30,7 @@
                          "天马集团", 
                          "天马集团", 
                          "", 
                          capacitytype,
                          infinite,
                          unitofmeasurename );
    
    // Get the sub root data
@@ -37,14 +38,14 @@
                          "生产", 
                          "生产", 
                          "天马集团", 
                          capacitytype,
                          infinite,
                          unitofmeasurename );
    
    Unit::CreateOrUpdate( this, 
                          "供应商", 
                          "供应商", 
                          "天马集团", 
                          capacitytype,
                          infinite,
                          unitofmeasurename );
    
    Unit::CreateOrUpdate( this, 
@@ -65,7 +66,7 @@
                            item.OrganCode(), 
                            OrgName, 
                            "生产", 
                            capacitytype,
                            infinite,
                            unitofmeasurename );
                           
      //Get the second level unit
@@ -74,7 +75,7 @@
                            secondlevelid, 
                            secondlevelid, 
                            item.OrganCode(), 
                            capacitytype,
                            infinite,
                            unitofmeasurename );
        
      //Get the third level unit