/// <summary>
 /// Constructor with Full Argument
 /// </summary>
 public ReturnUpDownLineDto(System.Int32 rowNo, UFIDA.U9.SM.SO.SO.EntityKey soID, UFIDA.U9.SM.SO.SOLine.EntityKey SoLineID, System.String ItemInfo_ItemID, System.String ItemInfo_ItemName, System.Decimal Qty, System.String Uom, System.Int32 Precision_Qty)
 {
     this.RowNo             = rowNo;
     this.SoID              = soID;
     this.SoLineID          = SoLineID;
     this.ItemInfo_ItemID   = ItemInfo_ItemID;
     this.ItemInfo_ItemName = ItemInfo_ItemName;
     this.Qty           = Qty;
     this.Uom           = Uom;
     this.Precision_Qty = Precision_Qty;
 }
 /// <summary>
 /// Constructor with Full Argument
 /// </summary>
 public ReturnUpDownAssessDTO(System.Int32 rowNo, UFIDA.U9.SM.SO.SO.EntityKey soID, UFIDA.U9.SM.SO.SOLine.EntityKey soLineID, System.String itemInfo_ItemCode, System.String itemInfo_ItemName, System.Decimal qty, System.String uom, System.Int32 Precision_Qty)
 {
     this.RowNo             = rowNo;
     this.SoID              = soID;
     this.SoLineID          = soLineID;
     this.ItemInfo_ItemCode = itemInfo_ItemCode;
     this.ItemInfo_ItemName = itemInfo_ItemName;
     this.Qty           = qty;
     this.Uom           = uom;
     this.Precision_Qty = Precision_Qty;
 }
示例#3
0
 /// <summary>
 /// Constructor with Full Argument
 /// </summary>
 public ReturnUpDownBrokerageDTO(System.Int32 rowNo, UFIDA.U9.SM.SO.SO.EntityKey soID, UFIDA.U9.SM.SO.SOLine.EntityKey soLineID, System.String itemInfo_ItemName, System.Decimal qty, System.String uom, UFIDA.U9.CBO.SCM.Item.ItemMaster.EntityKey itemInfo_Item, UFIDA.U9.CBO.SCM.Customer.Customer.EntityKey customer, System.String itemInfo_Code, System.Int32 Precision_Qty)
 {
     this.RowNo             = rowNo;
     this.SoID              = soID;
     this.SoLineID          = soLineID;
     this.ItemInfo_ItemName = itemInfo_ItemName;
     this.Qty           = qty;
     this.Uom           = uom;
     this.ItemInfo_Item = itemInfo_Item;
     this.Customer      = customer;
     this.ItemInfo_Code = itemInfo_Code;
     this.Precision_Qty = Precision_Qty;
 }
示例#4
0
 /// <summary>
 /// Constructor with Full Argument
 /// </summary>
 public ReturnCancelDTO(UFIDA.U9.SM.SO.SO.EntityKey soID, System.Int32 rowNo, System.DateTime date, UFIDA.U9.CBO.SCM.Item.ItemMaster.EntityKey itemMasterID, System.Decimal qty, System.Decimal thisCancelQty, System.Decimal notCancelQty, UFIDA.U9.Base.UOM.UOM.EntityKey uomID, System.String itemCode, System.String itemName, System.String uomCode, System.String uomName)
 {
     this.SoID          = soID;
     this.RowNo         = rowNo;
     this.Date          = date;
     this.ItemMasterID  = itemMasterID;
     this.Qty           = qty;
     this.ThisCancelQty = thisCancelQty;
     this.NotCancelQty  = notCancelQty;
     this.UomID         = uomID;
     this.ItemCode      = itemCode;
     this.ItemName      = itemName;
     this.UomCode       = uomCode;
     this.UomName       = uomName;
 }
 /// <summary>
 /// Constructor with Full Argument
 /// </summary>
 public OrderBomHeadDTO(UFIDA.U9.CBO.MFG.BOM.BOMMaster.EntityKey bomMaster, UFIDA.U9.CBO.MFG.BOM.BOMComponent.EntityKey bomCompont, UFIDA.U9.CBO.SCM.Item.ItemMaster.EntityKey parentPart, UFIDA.U9.CBO.SCM.Item.ItemMaster.EntityKey subKey, System.Decimal dosage, UFIDA.U9.Base.UOM.UOM.EntityKey dosageUnit, System.Decimal sellNumber, UFIDA.U9.Base.UOM.UOM.EntityKey sellUnit, System.Decimal needNumber, UFIDA.U9.SM.SO.SOLine.EntityKey orderLine, UFIDA.U9.SM.SO.SO.EntityKey orderHead, System.Int32 orderLineRow, UFIDA.U9.Cust.GS.FT.AllEnumBE.SourceTypeEnum sourceType, System.String remark, UFIDA.U9.CBO.HR.Operator.Operators.EntityKey salesMan, UFIDA.U9.CBO.SCM.Customer.CustomerSupplyTypeEnum supplierType, System.String tier, UFIDA.U9.CBO.SCM.Item.ItemCategory.EntityKey subkeyType, System.Decimal loss, System.Boolean arrirmState)
 {
     this.BomMaster    = bomMaster;
     this.BomCompont   = bomCompont;
     this.ParentPart   = parentPart;
     this.SubKey       = subKey;
     this.Dosage       = dosage;
     this.DosageUnit   = dosageUnit;
     this.SellNumber   = sellNumber;
     this.SellUnit     = sellUnit;
     this.NeedNumber   = needNumber;
     this.OrderLine    = orderLine;
     this.OrderHead    = orderHead;
     this.OrderLineRow = orderLineRow;
     this.SourceType   = sourceType;
     this.Remark       = remark;
     this.SalesMan     = salesMan;
     this.SupplierType = supplierType;
     this.Tier         = tier;
     this.SubkeyType   = subkeyType;
     this.Loss         = loss;
     this.ArrirmState  = arrirmState;
 }
示例#6
0
        /// <summary>
        /// 创建销售订单折扣明细
        /// </summary>
        /// <param name="disLine">折扣行</param>
        /// <param name="solineID">销售订单行ID</param>
        /// <param name="totalMoney">折扣后金额</param>
        /// <param name="disMoney">折扣金额</param>
        /// <param name="price">外销价</param>
        /// <param name="soKey">销售订单实体Key</param>
        private void CreateSODicount(UFIDA.U9.Cust.GS.FT.DiscountBE.DiscountLine disLine, AllEnumBE.DiscountTypeEnum dicountType, decimal discountPrice, decimal discountRate, long solineID, decimal totalMoney, decimal disMoney, decimal price, UFIDA.U9.SM.SO.SO.EntityKey soKey)
        {
            UFIDA.U9.Cust.GS.FT.SODiscountBE.SODiscount soDis = UFIDA.U9.Cust.GS.FT.SODiscountBE.SODiscount.Finder.Find("SOLine=@SOLine", new OqlParam("SOLine", solineID));
            if (soDis == null)
            {
                soDis = UFIDA.U9.Cust.GS.FT.SODiscountBE.SODiscount.Create();
            }

            UFIDA.U9.SM.SO.SOLine soLineEntity = UFIDA.U9.SM.SO.SOLine.Finder.FindByID(solineID);

            if (soLineEntity != null)
            {
                soDis.SOLineKey     = soLineEntity.Key;
                soDis.DiscountType  = dicountType;
                soDis.BeforePrice   = discountPrice;
                soDis.BeforeRate    = discountRate;
                soDis.DiscountPrice = discountPrice;
                soDis.DiscountRate  = discountRate;
                soDis.DiscountMoney = totalMoney;
                soDis.CalAmount     = disMoney;
                soDis.ExportPrice   = price;
                soDis.SOKey         = soKey;
                if (disLine != null)
                {
                    soDis.DiscountLineKey = disLine.Key;
                }
            }
        }