Пример #1
0
        //BtnReset_Click...
        private void BtnReset_Click_Extend(object sender, EventArgs e)
        {
            //调用模版提供的默认实现.--默认实现可能会调用相应的Action.

            ReturnUpDownBrokerageDTOData dto = CurrentState["DTO"] as ReturnUpDownBrokerageDTOData;

            //调用模版提供的默认实现.--默认实现可能会调用相应的Action.
            if (dto != null)
            {
                List <long> solineList = new List <long>();
                solineList.Add(dto.SoLineID);

                UFIDA.U9.Cust.GS.FT.SoBomBP.Proxy.DeleteSoLineBomProxy deleteBp = new SoBomBP.Proxy.DeleteSoLineBomProxy();
                deleteBp.SoLineListKey = solineList;
                deleteBp.Do();

                UFIDA.U9.Cust.GS.FT.SoBomBP.Proxy.CreateSOBomBPProxy bp = new SoBomBP.Proxy.CreateSOBomBPProxy();
                bp.SOLineKeyList = solineList;
                bp.Do();
                OnRefresh();
            }
            BtnReset_Click_DefaultImpl(sender, e);
        }
Пример #2
0
 /// <summary>
 /// 创建销售订单随单BOM
 /// </summary>
 /// <param name="solineList"></param>
 public static void CreateSOBom(List <long> solineList)
 {
     UFIDA.U9.Cust.GS.FT.SoBomBP.Proxy.CreateSOBomBPProxy bp = new SoBomBP.Proxy.CreateSOBomBPProxy();
     bp.SOLineKeyList = solineList;
     bp.Do();
 }