using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.BOM { public class BOMItemDetailDTO //:ReportPaginationDTO ---->DEVADMIN { #region PrivateMembers private int bomid; private string bomversionname; private DateTime fromdate; private DateTime todate; private Decimal productionqty; private double productionquaty; private decimal productionquantity; #region Item private int itemid; private string itemcode; private string itemname; private string thumbnail; #endregion private int itemuomid; private string itemuomname; private Int16 slno; private string productionstage; private string bomdetailproductionstage; private string productionstep; #region Process private int processid; private string processname; #endregion #region DetailItem private int detailitemid; private string detailitemcode; private string detailitemname; private string detailthumbnail; private byte itemisbatchstock; private byte detailitemtollerancetype; private double detailitemtollerancevalue; private byte detailitemisfreeapplicable; private double detailitemweight; #endregion private double detailitemlowlevelcode; private byte detailitemmakeorbuy; private byte detailitemortemplate; #region SKU private int skuid = -1; private string skucode = ""; private string skuname; private int bomdetailskuid = -1; private string bomdetailskucode = ""; private string bomdetailskuname; #endregion private string materialtype; #region Category private int categoryid; private string categorycode; private string categoryname; #endregion #region SubCategory private int subcategoryid; private string subcategorycode; private string subcategoryname; #endregion #region ItemGroup private int itemgroupid; private string itemgroupcode; private string itemgroupname; #endregion #region UOM private int uomid; private string uomname; private byte uomdecimals; #endregion private string iotypename; private double bomquantity; private double bomdetailitemquantity; private double requiredquantity; private int stage; private string code; private double stockquantity = -1; private int bomdetailid; #endregion private string parent; private int parentitemid; private string parentitemcode; private string parentitemname; private string parentthumbnail; private string bomdetailparentproductionstage; private double bomdetailparentitemquntity; private string makeorbuy; private string itemortemplate; #region Item private int templateitemid; private string templateitemcode; private string templateitemname; #endregion private decimal quantity; private string detailiort; private string childitemortemplate; private string levelcode; private int mainslno; private int detailslno; private int level; private string childmakeorbuy; private decimal perproductionquantity; private decimal requiredproductionquantity; private decimal wastepercentage; private decimal netquantity; private decimal adjustquantity; private decimal finalproductionquantity; private string parentuomname; private string versionname; private decimal bomcost; private decimal bomvalue; private int fromitemid = -1; private string fromitemcode; private string fromitemname; private byte itembomtype = 0; private string salesorder; private string location; private string bomcode; private string bomname; private string partycode; private string partyname; private string referencenumber; private byte defaultlocationtype; private decimal bomproductionvalue; private decimal bomproductionqty; private int uomnoofdecimal; private double pendinginspection; private double rate; private double stockvalue; private int itempackid; private string itempackcode; private string itempackname; private decimal d1; private decimal d2; private decimal d3; private decimal d4; private decimal d5; private string partnumber; private string partname; private decimal bomdetailproductionquantity; private decimal bomproductionquantity; private decimal soh; private string remarks; public decimal BOMProductionQuantity { get { return bomproductionquantity; } set { bomproductionquantity = value; } } public decimal BOMDetailProductionQuantity { get { return bomdetailproductionquantity; } set { bomdetailproductionquantity = value; } } public decimal SOH { get { return soh; } set { soh = value; } } public string Remarks { get { return remarks; } set { remarks = value; } } public decimal D1 { get { return d1; } set { d1 = value; } } public decimal D2 { get { return d2; } set { d2 = value; } } public decimal D3 { get { return d3; } set { d3 = value; } } public decimal D4 { get { return d4; } set { d4 = value; } } public decimal D5 { get { return d5; } set { d5 = value; } } public string PartNumber { get { return partnumber; } set { partnumber = value; } } public string PartName { get { return partname; } set { partname = value; } } public decimal BomProductionValue { get { return bomproductionvalue; } set { bomproductionvalue = value; } } public decimal BOMProductionQty { get { return bomproductionqty; } set { bomproductionqty = value; } } #region PublicMembers public int BOMId { get { return bomid; } set { bomid = value; } } public string BOMVersionName { get { return bomversionname; } set { bomversionname = value; } } public DateTime FromDate { get { return fromdate; } set { fromdate = value; } } public DateTime ToDate { get { return todate; } set { todate = value; } } public Decimal ProductionQty { get { return productionqty; } set { productionqty = value; } } public double ProductionQuaty { get { return productionquaty; } set { productionquaty = value; } } public decimal ProductionQuantity { get { return productionquantity; } set { productionquantity = value; } } #region Item public int ItemId { get { return itemid; } set { itemid = value; } } public string ItemCode { get { return itemcode; } set { itemcode = value; } } public string ItemName { get { return itemname; } set { itemname = value; } } public string ThumbNail { get { return thumbnail; } set { thumbnail = value; } } public int ItemUOMId { get { return itemuomid; } set { itemuomid = value; } } public string ItemUOMName { get { return itemuomname; } set { itemuomname = value; } } #endregion public Int16 SlNo { get { return slno; } set { slno = value; } } public string BomDetailProductionStage { get { return bomdetailproductionstage; } set { bomdetailproductionstage = value; } } public string ProductionStage { get { return productionstage; } set { productionstage = value; } } public string ProductionStep { get { return productionstep; } set { productionstep = value; } } #region Process public int ProcessId { get { return processid; } set { processid = value; } } public string ProcessName { get { return processname; } set { processname = value; } } #endregion #region DetailItem public int DetailItemId { get { return detailitemid; } set { detailitemid = value; } } public string DetailItemCode { get { return detailitemcode; } set { detailitemcode = value; } } public string DetailItemName { get { return detailitemname; } set { detailitemname = value; } } public string DetailThumbNail { get { return detailthumbnail; } set { detailthumbnail = value; } } public byte ItemIsBatchStock { get { return itemisbatchstock; } set { itemisbatchstock = value; } } public byte DetailItemTolleranceType { get { return detailitemtollerancetype; } set { detailitemtollerancetype = value; } } public double DetailItemTolleranceValue { get { return detailitemtollerancevalue; } set { detailitemtollerancevalue = value; } } public byte DetailItemIsFreeApplicable { get { return detailitemisfreeapplicable; } set { detailitemisfreeapplicable = value; } } public double DetailItemWeight { get { return detailitemweight; } set { detailitemweight = value; } } #endregion public double DetailItemLowLevelCode { get { return detailitemlowlevelcode; } set { detailitemlowlevelcode = value; } } public byte DetailItemMakeOrBuy { get { return detailitemmakeorbuy; } set { detailitemmakeorbuy = value; } } public byte DetailItemOrTemplate { get { return detailitemortemplate; } set { detailitemortemplate = value; } } #region SKU public int SKUId { get { return skuid; } set { skuid = value; } } public string SKUCode { get { return skucode; } set { skucode = value; } } public string SKUName { get { return skuname; } set { skuname = value; } } public int BomDetailSKUId { get { return bomdetailskuid; } set { bomdetailskuid = value; } } public string BomDetailSKUCode { get { return bomdetailskucode; } set { bomdetailskucode = value; } } public string BomDetailSKUName { get { return bomdetailskuname; } set { bomdetailskuname = value; } } #endregion public string MaterialType { get { return materialtype; } set { materialtype = value; } } #region Category public int CategoryId { get { return categoryid; } set { categoryid = value; } } public string CategoryCode { get { return categorycode; } set { categorycode = value; } } public string CategoryName { get { return categoryname; } set { categoryname = value; } } #endregion #region SubCategory public int SubCategoryId { get { return subcategoryid; } set { subcategoryid = value; } } public string SubCategoryCode { get { return subcategorycode; } set { subcategorycode = value; } } public string SubCategoryName { get { return subcategoryname; } set { subcategoryname = value; } } #endregion #region ItemGroup public int ItemGroupId { get { return itemgroupid; } set { itemgroupid = value; } } public string ItemGroupCode { get { return itemgroupcode; } set { itemgroupcode = value; } } public string ItemGroupName { get { return itemgroupname; } set { itemgroupname = value; } } #endregion #region UOM public int UOMId { get { return uomid; } set { uomid = value; } } public string UOMName { get { return uomname; } set { uomname = value; } } public byte UOMDecimals { get { return uomdecimals; } set { uomdecimals = value; } } #endregion public string IOTypeName { get { return iotypename; } set { iotypename = value; } } public double BOMQuantity { get { return bomquantity; } set { bomquantity = value; } } public double BOMDetailItemQuantity { get { return bomdetailitemquantity; } set { bomdetailitemquantity = value; } } public double RequiredQuantity { get { return requiredquantity; } set { requiredquantity = value; } } public int Stage { get { return stage; } set { stage = value; } } public string Code { get { return code; } set { code = value; } } public double StockQuantity { get { return stockquantity; } set { stockquantity = value; } } public int BOMDetailId { get { return bomdetailid; } set { bomdetailid = value; } } public string Parent { get { return parent; } set { parent = value; } } public int ParentItemId { get { return parentitemid; } set { parentitemid = value; } } public string ParentItemCode { get { return parentitemcode; } set { parentitemcode = value; } } public string ParentItemName { get { return parentitemname; } set { parentitemname = value; } } public string ParentThumbNail { get { return parentthumbnail; } set { parentthumbnail = value; } } public string BomDetailParentProductionStage { get { return bomdetailparentproductionstage; } set { bomdetailparentproductionstage = value; } } public double BOMDetailParentItemQuantity { get { return bomdetailparentitemquntity; } set { bomdetailparentitemquntity = value; } } #endregion public decimal PerProductionQuantity { get { return perproductionquantity; } set { perproductionquantity = value; } } public decimal RequiredProductionQuantity { get { return requiredproductionquantity; } set { requiredproductionquantity = value; } } public decimal WastePercentage { get { return wastepercentage; } set { wastepercentage = value; } } public decimal NetQuantity { get { return netquantity; } set { netquantity = value; } } public decimal AdjustQuantity { get { return adjustquantity; } set { adjustquantity = value; } } public decimal FinalProductionQuantity { get { return finalproductionquantity; } set { finalproductionquantity = value; } } public string MakeOrBuy { get { return makeorbuy; } set { makeorbuy = value; } } public string ItemOrTemplate { get { return itemortemplate; } set { itemortemplate = value; } } public int TemplateItemId { get { return templateitemid; } set { templateitemid = value; } } public string TemplateItemCode { get { return templateitemcode; } set { templateitemcode = value; } } public string TemplateItemName { get { return templateitemname; } set { templateitemname = value; } } public decimal Quantity { get { return quantity; } set { quantity = value; } } public string DetailIorT { get { return detailiort; } set { detailiort = value; } } public string ChildItemOrTemplate { get { return childitemortemplate; } set { childitemortemplate = value; } } public string LevelCode { get { return levelcode; } set { levelcode = value; } } public int MainSlno { get { return mainslno; } set { mainslno = value; } } public int DetailSlno { get { return detailslno; } set { detailslno = value; } } public int Level { get { return level; } set { level = value; } } public string ChildMakeOrBuy { get { return childmakeorbuy; } set { childmakeorbuy = value; } } public string ParentUomName { get { return parentuomname; } set { parentuomname = value; } } public string VersionName { get { return versionname; } set { versionname = value; } } private Int64 numberofreocrds; public Int64 NumberOfReocrds { get { return numberofreocrds; } set { numberofreocrds = value; } } public decimal BomCost { get { return bomcost; } set { bomcost = value; } } public decimal BomValue { get { return bomvalue; } set { bomvalue = value; } } public int FromItemId { get { return fromitemid; } set { fromitemid = value; } } public string FromItemCode { get { return fromitemcode; } set { fromitemcode = value; } } public string FromItemName { get { return fromitemname; } set { fromitemname = value; } } public byte ItemBomType { get { return itembomtype; } set { itembomtype = value; } } public string Location { get { return location; } set { location = value; } } public string SalesOrder { get { return salesorder; } set { salesorder = value; } } public string BOMName { get { return bomname; } set { bomname = value; } } public string BOMCode { get { return bomcode; } set { bomcode = value; } } public byte DefaultLocationType { get { return defaultlocationtype; } set { defaultlocationtype = value; } } public string PartyCode { get { return partycode; } set { partycode = value; } } public string PartyName { get { return partyname; } set { partyname = value; } } public string ReferenceNumber { get { return referencenumber; } set { referencenumber = value; } } public int UomNoOfDecimal { get { return uomnoofdecimal; } set { uomnoofdecimal = value; } } private decimal totalfinalquantity; private decimal bomheadquantity; public decimal TotalFinalQuantity { get { return totalfinalquantity; } set { totalfinalquantity = value; } } public decimal BomHeadQuantity { get { return bomheadquantity; } set { bomheadquantity = value; } } private decimal maxprod; public decimal MaxProd { get { return maxprod; } set { maxprod = value; } } public double PendingInspection { get { return pendinginspection; } set { pendinginspection = value; } } public double Rate { get { return rate; } set { rate = value; } } public double StockValue { get { return stockvalue; } set { stockvalue = value; } } public int ItemPackId { get { return itempackid; } set { itempackid = value; } } public string ItemPackCode { get { return itempackcode; } set { itempackcode = value; } } public string ItemPackName { get { return itempackname; } set { itempackname = value; } } private int l1id = -1; private string l1name; private int l2id = -1; private string l2name; private int l3id = -1; private string l3name; private int l4id = -1; private string l4name; private int l5id = -1; private string l5name; public int L1Id { get { return l1id; } set { l1id = value; } } public string L1Name { get { return l1name; } set { l1name = value; } } public int L2Id { get { return l2id; } set { l2id = value; } } public string L2Name { get { return l2name; } set { l2name = value; } } public int L3Id { get { return l3id; } set { l3id = value; } } public string L3Name { get { return l3name; } set { l3name = value; } } public int L4Id { get { return l4id; } set { l4id = value; } } public string L4Name { get { return l4name; } set { l4name = value; } } public int L5Id { get { return l5id; } set { l5id = value; } } public string L5Name { get { return l5name; } set { l5name = value; } } } public class BOMItemDetailNewDTO { #region PrivateMembers private int bomid; private string bomversionname; private DateTime fromdate; private DateTime todate; private decimal productionqty; private decimal productionquaty; private decimal productionquantity; #region Item private int itemid; private string itemcode; private string itemname; private string thumbnail; #endregion private int itemuomid; private string itemuomname; private int slno; private string productionstage; private string bomdetailproductionstage; private string productionstep; #region Process private int processid; private string processname; #endregion #region DetailItem private int detailitemid; private string detailitemcode; private string detailitemname; private string detailthumbnail; private int detailitemtollerancetype; private decimal detailitemtollerancevalue; private int detailitemisfreeapplicable; private decimal detailitemweight; #endregion private int detailitemlowlevelcode; private int detailitemmakeorbuy; private int detailitemortemplate; #region SKU private int skuid = -1; private string skucode = ""; private string skuname; private int bomdetailskuid = -1; private string bomdetailskucode = ""; private string bomdetailskuname; #endregion private string materialtype; #region Category private int categoryid; private string categorycode; private string categoryname; #endregion #region SubCategory private int subcategoryid; private string subcategorycode; private string subcategoryname; #endregion #region ItemGroup private int itemgroupid; private string itemgroupcode; private string itemgroupname; #endregion #region UOM private int uomid; private string uomname; private int uomdecimals; #endregion private string iotypename; private decimal bomquantity; private decimal bomdetailitemquantity; private decimal requiredquantity; private int stage; private string code; private decimal stockquantity = -1; private int bomdetailid; #endregion private string parent; private int parentitemid; private string parentitemcode; private string parentitemname; private string parentthumbnail; private string bomdetailparentproductionstage; private decimal bomdetailparentitemquntity; private string makeorbuy; private string itemortemplate; #region Item private int templateitemid; private string templateitemcode; private string templateitemname; #endregion private decimal quantity; private string detailiort; private string childitemortemplate; private string levelcode; private int mainslno; private int detailslno; private int level; private string childmakeorbuy; private decimal perproductionquantity; private decimal requiredproductionquantity; private decimal wastepercentage; private decimal netquantity; private decimal adjustquantity; private decimal finalproductionquantity; private string parentuomname; private string versionname; private decimal bomcost; private decimal bomvalue; private int fromitemid = -1; private string fromitemcode; private string fromitemname; private int itembomtype = 0; private string salesorder; private string location; private string bomcode; private string bomname; private string partycode; private string partyname; private string referencenumber; private int defaultlocationtype; private decimal bomproductionvalue; private decimal bomproductionqty; private int uomnoofdecimal; private decimal pendinginspection; private decimal rate; private decimal stockvalue; #region PublicMembers public decimal BomProductionValue { get { return bomproductionvalue; } set { bomproductionvalue = value; } } public decimal BOMProductionQty { get { return bomproductionqty; } set { bomproductionqty = value; } } public int BOMId { get { return bomid; } set { bomid = value; } } public string BOMVersionName { get { return bomversionname; } set { bomversionname = value; } } public DateTime FromDate { get { return fromdate; } set { fromdate = value; } } public DateTime ToDate { get { return todate; } set { todate = value; } } public Decimal ProductionQty { get { return productionqty; } set { productionqty = value; } } public decimal ProductionQuaty { get { return productionquaty; } set { productionquaty = value; } } public decimal ProductionQuantity { get { return productionquantity; } set { productionquantity = value; } } #region Item public int ItemId { get { return itemid; } set { itemid = value; } } public string ItemCode { get { return itemcode; } set { itemcode = value; } } public string ItemName { get { return itemname; } set { itemname = value; } } public string ThumbNail { get { return thumbnail; } set { thumbnail = value; } } public int ItemUOMId { get { return itemuomid; } set { itemuomid = value; } } public string ItemUOMName { get { return itemuomname; } set { itemuomname = value; } } #endregion public int SlNo { get { return slno; } set { slno = value; } } public string BomDetailProductionStage { get { return bomdetailproductionstage; } set { bomdetailproductionstage = value; } } public string ProductionStage { get { return productionstage; } set { productionstage = value; } } public string ProductionStep { get { return productionstep; } set { productionstep = value; } } #region Process public int ProcessId { get { return processid; } set { processid = value; } } public string ProcessName { get { return processname; } set { processname = value; } } #endregion #region DetailItem public int DetailItemId { get { return detailitemid; } set { detailitemid = value; } } public string DetailItemCode { get { return detailitemcode; } set { detailitemcode = value; } } public string DetailItemName { get { return detailitemname; } set { detailitemname = value; } } public string DetailThumbNail { get { return detailthumbnail; } set { detailthumbnail = value; } } public int DetailItemTolleranceType { get { return detailitemtollerancetype; } set { detailitemtollerancetype = value; } } public decimal DetailItemTolleranceValue { get { return detailitemtollerancevalue; } set { detailitemtollerancevalue = value; } } public int DetailItemIsFreeApplicable { get { return detailitemisfreeapplicable; } set { detailitemisfreeapplicable = value; } } public decimal DetailItemWeight { get { return detailitemweight; } set { detailitemweight = value; } } #endregion public int DetailItemLowLevelCode { get { return detailitemlowlevelcode; } set { detailitemlowlevelcode = value; } } public int DetailItemMakeOrBuy { get { return detailitemmakeorbuy; } set { detailitemmakeorbuy = value; } } public int DetailItemOrTemplate { get { return detailitemortemplate; } set { detailitemortemplate = value; } } #region SKU public int SKUId { get { return skuid; } set { skuid = value; } } public string SKUCode { get { return skucode; } set { skucode = value; } } public string SKUName { get { return skuname; } set { skuname = value; } } public int BomDetailSKUId { get { return bomdetailskuid; } set { bomdetailskuid = value; } } public string BomDetailSKUCode { get { return bomdetailskucode; } set { bomdetailskucode = value; } } public string BomDetailSKUName { get { return bomdetailskuname; } set { bomdetailskuname = value; } } public string MaterialType { get { return materialtype; } set { materialtype = value; } } #endregion #region Category public int CategoryId { get { return categoryid; } set { categoryid = value; } } public string CategoryCode { get { return categorycode; } set { categorycode = value; } } public string CategoryName { get { return categoryname; } set { categoryname = value; } } #endregion #region SubCategory public int SubCategoryId { get { return subcategoryid; } set { subcategoryid = value; } } public string SubCategoryCode { get { return subcategorycode; } set { subcategorycode = value; } } public string SubCategoryName { get { return subcategoryname; } set { subcategoryname = value; } } #endregion #region ItemGroup public int ItemGroupId { get { return itemgroupid; } set { itemgroupid = value; } } public string ItemGroupCode { get { return itemgroupcode; } set { itemgroupcode = value; } } public string ItemGroupName { get { return itemgroupname; } set { itemgroupname = value; } } #endregion #region UOM public int UOMId { get { return uomid; } set { uomid = value; } } public string UOMName { get { return uomname; } set { uomname = value; } } public int UOMDecimals { get { return uomdecimals; } set { uomdecimals = value; } } #endregion public string IOTypeName { get { return iotypename; } set { iotypename = value; } } public decimal BOMQuantity { get { return bomquantity; } set { bomquantity = value; } } public decimal BOMDetailItemQuantity { get { return bomdetailitemquantity; } set { bomdetailitemquantity = value; } } public decimal RequiredQuantity { get { return requiredquantity; } set { requiredquantity = value; } } public int Stage { get { return stage; } set { stage = value; } } public string Code { get { return code; } set { code = value; } } public decimal StockQuantity { get { return stockquantity; } set { stockquantity = value; } } public int BOMDetailId { get { return bomdetailid; } set { bomdetailid = value; } } public string Parent { get { return parent; } set { parent = value; } } public int ParentItemId { get { return parentitemid; } set { parentitemid = value; } } public string ParentItemCode { get { return parentitemcode; } set { parentitemcode = value; } } public string ParentItemName { get { return parentitemname; } set { parentitemname = value; } } public string ParentThumbNail { get { return parentthumbnail; } set { parentthumbnail = value; } } public decimal BOMDetailParentItemQuantity { get { return bomdetailparentitemquntity; } set { bomdetailparentitemquntity = value; } } public string BomDetailParentProductionStage { get { return bomdetailparentproductionstage; } set { bomdetailparentproductionstage = value; } } #endregion public decimal PerProductionQuantity { get { return perproductionquantity; } set { perproductionquantity = value; } } public decimal RequiredProductionQuantity { get { return requiredproductionquantity; } set { requiredproductionquantity = value; } } public decimal WastePercentage { get { return wastepercentage; } set { wastepercentage = value; } } public decimal NetQuantity { get { return netquantity; } set { netquantity = value; } } public decimal AdjustQuantity { get { return adjustquantity; } set { adjustquantity = value; } } public decimal FinalProductionQuantity { get { return finalproductionquantity; } set { finalproductionquantity = value; } } public string MakeOrBuy { get { return makeorbuy; } set { makeorbuy = value; } } public string ItemOrTemplate { get { return itemortemplate; } set { itemortemplate = value; } } public int TemplateItemId { get { return templateitemid; } set { templateitemid = value; } } public string TemplateItemCode { get { return templateitemcode; } set { templateitemcode = value; } } public string TemplateItemName { get { return templateitemname; } set { templateitemname = value; } } public decimal Quantity { get { return quantity; } set { quantity = value; } } public string DetailIorT { get { return detailiort; } set { detailiort = value; } } public string ChildItemOrTemplate { get { return childitemortemplate; } set { childitemortemplate = value; } } public string LevelCode { get { return levelcode; } set { levelcode = value; } } public int MainSlno { get { return mainslno; } set { mainslno = value; } } public int DetailSlno { get { return detailslno; } set { detailslno = value; } } public int Level { get { return level; } set { level = value; } } public string ChildMakeOrBuy { get { return childmakeorbuy; } set { childmakeorbuy = value; } } public string ParentUomName { get { return parentuomname; } set { parentuomname = value; } } public string VersionName { get { return versionname; } set { versionname = value; } } private Int64 numberofreocrds; public Int64 NumberOfReocrds { get { return numberofreocrds; } set { numberofreocrds = value; } } public decimal BomCost { get { return bomcost; } set { bomcost = value; } } public decimal BomValue { get { return bomvalue; } set { bomvalue = value; } } public int FromItemId { get { return fromitemid; } set { fromitemid = value; } } public string FromItemCode { get { return fromitemcode; } set { fromitemcode = value; } } public string FromItemName { get { return fromitemname; } set { fromitemname = value; } } public int ItemBomType { get { return itembomtype; } set { itembomtype = value; } } public string Location { get { return location; } set { location = value; } } public string SalesOrder { get { return salesorder; } set { salesorder = value; } } public string BOMName { get { return bomname; } set { bomname = value; } } public string BOMCode { get { return bomcode; } set { bomcode = value; } } public int DefaultLocationType { get { return defaultlocationtype; } set { defaultlocationtype = value; } } public string PartyCode { get { return partycode; } set { partycode = value; } } public string PartyName { get { return partyname; } set { partyname = value; } } public string ReferenceNumber { get { return referencenumber; } set { referencenumber = value; } } public int UomNoOfDecimal { get { return uomnoofdecimal; } set { uomnoofdecimal = value; } } private decimal totalfinalquantity; private decimal bomheadquantity; public decimal TotalFinalQuantity { get { return totalfinalquantity; } set { totalfinalquantity = value; } } public decimal BomHeadQuantity { get { return bomheadquantity; } set { bomheadquantity = value; } } private decimal maxprod; public decimal MaxProd { get { return maxprod; } set { maxprod = value; } } public decimal PendingInspection { get { return pendinginspection; } set { pendinginspection = value; } } public decimal Rate { get { return rate; } set { rate = value; } } public decimal StockValue { get { return stockvalue; } set { stockvalue = value; } } } }