using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.LotDetail { public class LotDetailPendingPicklistDTO { private int lotpicklistid; //Id private string lotpicklistnumber; //LotNumber private int lotpicklistpackid; //PackId private string lotpicklistpackname="NONE"; //PackName private DateTime lotpicklistdate; //LotDate private DateTime lotpicklistexpirydate; //LotExpiryDate private double lotdetailpicklistquantity; private double lotdetailpicklistpackquantity; private decimal goodquantity; private decimal otherquantity; private int skuid = -1; private int itemid = -1; private int ouid = -1; private decimal markedgoodquantity; private decimal availablelotquantity; public int LotPicklistId { get { return lotpicklistid; } set { lotpicklistid = value; } } public string LotPicklistNumber { get { return lotpicklistnumber; } set { lotpicklistnumber = value; } } public int LotPicklistPackId { get { return lotpicklistpackid; } set { lotpicklistpackid = value; } } public string LotPicklistPackName { get { return lotpicklistpackname; } set { lotpicklistpackname = value; } } public DateTime LotPicklistDate { get { return lotpicklistdate; } set { lotpicklistdate = value; } } public DateTime LotPicklistExpiryDate { get { return lotpicklistexpirydate; } set { lotpicklistexpirydate = value; } } public double LotDetailPicklistQuantity { get { return lotdetailpicklistquantity; } set { lotdetailpicklistquantity = value; } } public double LotDetailPicklistPackQuantity { get { return lotdetailpicklistpackquantity; } set { lotdetailpicklistpackquantity = value; } } public decimal GoodQuantity { get { return goodquantity; } set { goodquantity = value; } } public int SkuId { get { return skuid; } set { skuid = value; } } public int ItemId { get { return itemid; } set { itemid = value; } } public int OUId { get { return ouid; } set { ouid = value; } } public decimal OtherQuantity { get { return otherquantity; } set { otherquantity = value; } } public decimal MarkedGoodQuantity { get { return markedgoodquantity; } set { markedgoodquantity = value; } } public decimal AvailableLotQuantity { get { return availablelotquantity; } set { availablelotquantity = value; } } private decimal mrprate; public decimal MRPRate { get { return mrprate; } set { mrprate = value; } } private decimal lotpostedcost; public decimal LotPostedCost { get { return lotpostedcost; } set { lotpostedcost = value; } } // ── TLOTINFO ───────────────────────────────────────────────────────── // Populated by the LotDetail select list from the LEFT JOIN on TLOTINFO. // GB4 also returned Engine / Alternater / CPNL here, but those are per-client // add-on columns (MADDONFIELDS) rather than standard schema, so they are not // selected in GB5 — see LotDetailQB. public string ProductCode { get; set; } = ""; public string DGSETSLNO { get; set; } = ""; public string KRM { get; set; } = ""; } }