public string MasterWaybillList(string FilePH, string Dn) { MasterWaybillShipmentXmlCreator xmlCreator = null; xmlCreator = new MasterWaybillShipmentXmlCreator(); string res = null; try { xmlCreator.LoadData(Dn.ToString().Trim() + @"/" + ""); xmlCreator.WriteXml(FilePH, true); res = Dn; } catch (Exception err) { res = err.Message.ToString(); } return res; }
public string MasterWaybillList(string FilePH, string Dn) { logger.Info("MasterWaybillList begin; FilePH=" + FilePH + " , Dn=" + Dn); MasterWaybillShipmentXmlCreator xmlCreator = null; xmlCreator = new MasterWaybillShipmentXmlCreator(); string res = null; try { ChkAndCreatePath(FilePH); xmlCreator.LoadData(Dn.ToString().Trim() + @"/" + ""); xmlCreator.WriteXml(FilePH, true); res = Dn; } catch (Exception err) { res = RecordError("MasterWaybillList", ref err); } finally { logger.Info("MasterWaybillList end"); } return res; }