金蝶云星空二次开发-热部署及弹窗

代码获取新ID
long[] entryIds = Kingdee.BOS.ServiceHelper.DBServiceHelper.GetSequenceInt64(this.Context, "T_PM_ContractWorkEntry", 1).ToArray();
显示隐藏字段
this.View.GetControl("FManageUnitName").Visible = false;
代码调用明细字段值更新
this.View.InvokeFieldUpdateService("FMaterialId", 0);
移动单据插件调试CMD
c:\windows\system32\inetsrv\appcmd list wp
sc query was
sc query w3svc
配置支持热部署
...\Kingdee\K3Cloud\WebSite\App_Data\Common.config

    ......
   

获取当前选中分录行
int[] rows = this.View.GetControl("FEntity").GetSelectedRows();
返回参数给父界面并关闭当前界面
this.View.ReturnToParentWindow(new FormResult(""));
this.View.Close();
接收父界面传过来的参数
FBillNo = this.View.OpenParameter.GetCustomParameter("FBillNo").ToString();

你可能感兴趣的:(erp,c#)