| | |
| | | TableCell QuantityObj = report.FindObject("Quantity") as TableCell; |
| | | if (QuantityObj != null) |
| | | { |
| | | QuantityObj.Text = inbound.Quantity.ToString(); |
| | | QuantityObj.Text = inbound.Quantity.ToString("0"); |
| | | } |
| | | TableCell ProductDrawingNumberObj = report.FindObject("ProductDrawingNumber") as TableCell; |
| | | if (ProductDrawingNumberObj != null) |
| | |
| | | if (WeightObj != null) |
| | | { |
| | | WeightObj.Text = inbound.Weight.ToString(); |
| | | } |
| | | TableCell DemandClassification = report.FindObject("DemandClassification") as TableCell; |
| | | if (DemandClassification != null) |
| | | { |
| | | DemandClassification.Text = inbound.DemandClassification.ToString(); |
| | | } |
| | | report.Print(); |
| | | report.Dispose(); |
| | |
| | | public class InboundOrder |
| | | { |
| | | public string OrderNo { get; set; } |
| | | public string DemandClassification { get; set; } |
| | | public string UpperOrderNo { get; set; } |
| | | public string WarehouseName { get; set; } |
| | | public string MaterialNo { get; set; } |