namespace QMSDAL.DTO { // ───────────────────────────────────────────────────────────────────────── // ExplodeBOMInputDTO — BOM Explosion: Input / Component Lines // // Columns returned by EXPLODE_BOM_FOR_ITEM (BOMLEVEL != 0): // ItemId, ItemCode, ItemName, // SkuId, SkuCode, SkuName, // RequiredQty (SUM of FINALQUANTITY × PlannedQty), // UomCode (from MUOM via MITEM.STOCKUOMID) // ───────────────────────────────────────────────────────────────────────── public class ExplodeBOMInputDTO { public int ItemId { get; set; } public string? ItemCode { get; set; } public string? ItemName { get; set; } public int SkuId { get; set; } public string? SkuCode { get; set; } public string? SkuName { get; set; } /// SUM(FINALQUANTITY × PlannedQty) — total required quantity for the set range public decimal RequiredQty { get; set; } public string? UomCode { get; set; } public decimal AllocatedQuantity { get; set; } public int Batch { get; set; } public int SlNo { get; set; } } }