| | |
| | | |
| | | //Set the Default values |
| | | unitofmeasurename := "PCS"; |
| | | infinite := "Infinite"; |
| | | capacitytype := "Transport quantity"; |
| | | |
| | | // Get the root data |
| | |
| | | "天马集团", |
| | | "天马集团", |
| | | "", |
| | | capacitytype, |
| | | infinite, |
| | | unitofmeasurename ); |
| | | |
| | | // Get the sub root data |
| | |
| | | "生产", |
| | | "生产", |
| | | "天马集团", |
| | | capacitytype, |
| | | infinite, |
| | | unitofmeasurename ); |
| | | |
| | | Unit::CreateOrUpdate( this, |
| | | "供应商", |
| | | "供应商", |
| | | "天马集团", |
| | | capacitytype, |
| | | infinite, |
| | | unitofmeasurename ); |
| | | |
| | | Unit::CreateOrUpdate( this, |
| | |
| | | item.OrganCode(), |
| | | OrgName, |
| | | "生产", |
| | | capacitytype, |
| | | infinite, |
| | | unitofmeasurename ); |
| | | |
| | | //Get the second level unit |
| | |
| | | secondlevelid, |
| | | secondlevelid, |
| | | item.OrganCode(), |
| | | capacitytype, |
| | | infinite, |
| | | unitofmeasurename ); |
| | | |
| | | //Get the third level unit |