Prefix BOM file with job number and drawing number.
This commit is contained in:
@@ -322,7 +322,9 @@ namespace ExportDXF.Forms
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var bomFile = Path.Combine(savePath, "BOM.xlsx");
|
var drawingInfo = DrawingInfo.Parse(prefix);
|
||||||
|
var bomName = drawingInfo != null ? string.Format("{0} {1} BOM", drawingInfo.JobNo, drawingInfo.DrawingNo) : "BOM";
|
||||||
|
var bomFile = Path.Combine(savePath, bomName + ".xlsx");
|
||||||
CreateBOMExcelFile(bomFile, items.ToList());
|
CreateBOMExcelFile(bomFile, items.ToList());
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
Reference in New Issue
Block a user