tempstr+=GetSpaceStr(ctn.CTNNUM.ToString(),6,"0");//6 //No of packages/Containers//M//9(6)//19 //24 //Number of Containers for the cargo line
tempstr+=GetSpaceStr(ctn.TEU.ToString(),4,"0");//7 //TEU Utilisation//C//9(4)//25 //28 //Actual TEU utilised, eg. OOG's slot kill or Flatrack bundled units
tempstr+=GetSpaceStr((ctn.KGS*1000).ToString(),11,"0");//8 //Cargo Gross Weight//C//9(8)v999//29 //39 //Mandatory, except for Empties
tempstr+=GetSpaceStr((ctn.KGS*1000).ToString(),11,"0");//9 //Cargo Nett Weight//C//9(8)v999//40 //50 //Mandatory, except for Empties
tempstr+=GetSpaceStr("0",11,"0");//9 //Cargo Nett Weight//C//9(8)v999//40 //50 //Mandatory, except for Empties
tempstr+=GetSpaceStr((ctn.CBM*1000).ToString(),10,"0");//10 //Cargo Gross Measurement//C//9(7)v999//51 //60 //Mandatory, except for Empties
tempstr+=GetSpaceStr("",10,"0");//11 //Cargo Nett Measurement//C//9(7)v999//61 //70 //Mandatory, except for Empties
tempstr+=GetSpaceStr(ctn.CTNNUM.ToString(),6,"0");//6 //No of packages/Containers//M//9(6)//19 //24 //Number of Containers for the cargo line
tempstr+=GetSpaceStr(ctn.TEU.ToString(),4,"0");//7 //TEU Utilisation//C//9(4)//25 //28 //Actual TEU utilised, eg. OOG's slot kill or Flatrack bundled units
tempstr+=GetSpaceStr((ctn.KGS*1000).ToString(),11,"0");//8 //Cargo Gross Weight//C//9(8)v999//29 //39 //Mandatory, except for Empties
tempstr+=GetSpaceStr((ctn.KGS*1000).ToString(),11,"0");//9 //Cargo Nett Weight//C//9(8)v999//40 //50 //Mandatory, except for Empties
tempstr+=GetSpaceStr("0",11,"0");//9 //Cargo Nett Weight//C//9(8)v999//40 //50 //Mandatory, except for Empties
tempstr+=GetSpaceStr((ctn.CBM*1000).ToString(),10,"0");//10 //Cargo Gross Measurement//C//9(7)v999//51 //60 //Mandatory, except for Empties
tempstr+=GetSpaceStr((ctn.CBM*1000).ToString(),10,"0");//11 //Cargo Nett Measurement//C//9(7)v999//61 //70 //Mandatory, except for Empties