Example #1
0
 internal void SetBO(Indico.DAL.IndicoCIFPriceView obj)
 {
     // set the Indico.BusinessObjects.IndicoCIFPriceViewBO properties
     this.CostSheetId      = obj.CostSheetId;
     this.CoreCategory     = obj.CoreCategory;
     this.ItemCategory     = obj.ItemCategory;
     this.PatternId        = obj.PatternId;
     this.PatternCode      = obj.PatternCode;
     this.PatternNickName  = obj.PatternNickName;
     this.FabricId         = obj.FabricId;
     this.FabricCode       = obj.FabricCode;
     this.FabricName       = obj.FabricName;
     this.FabricPrice      = obj.FabricPrice;
     this.ConversionFactor = obj.ConversionFactor;
     this.IndimanPrice     = obj.IndimanPrice;
     this.QuotedFOBPrice   = obj.QuotedFOBPrice;
     this.FOBCost          = obj.FOBCost;
     this.LastModifier     = obj.LastModifier;
     this.ModifiedDate     = obj.ModifiedDate;
     this.Remarks          = obj.Remarks;
     this.ActMgn           = obj.ActMgn;
     this.QuotedMp         = obj.QuotedMp;
 }
Example #2
0
 internal void SetDAL(Indico.DAL.IndicoCIFPriceView obj, IndicoEntities context)
 {
     // set the Indico.DAL.IndicoCIFPriceView properties
     obj.CostSheetId      = Convert.ToInt32(CostSheetId);
     obj.CoreCategory     = CoreCategory;
     obj.ItemCategory     = ItemCategory;
     obj.PatternId        = Convert.ToInt32(PatternId);
     obj.PatternCode      = PatternCode;
     obj.PatternNickName  = PatternNickName;
     obj.FabricId         = Convert.ToInt32(FabricId);
     obj.FabricCode       = FabricCode;
     obj.FabricName       = FabricName;
     obj.FabricPrice      = Convert.ToDecimal(FabricPrice);
     obj.ConversionFactor = Convert.ToDecimal(ConversionFactor);
     obj.IndimanPrice     = Convert.ToDecimal(IndimanPrice);
     obj.QuotedFOBPrice   = Convert.ToDecimal(QuotedFOBPrice);
     obj.FOBCost          = Convert.ToDecimal(FOBCost);
     obj.LastModifier     = LastModifier;
     obj.ModifiedDate     = Convert.ToDateTime(ModifiedDate);
     obj.Remarks          = Remarks;
     obj.ActMgn           = Convert.ToDecimal(ActMgn);
     obj.QuotedMp         = Convert.ToDecimal(QuotedMp);
 }