erp
YUANFG-110714192
这个作者很懒,什么都没留下…
展开
-
金蝶云星空二次开发-BOS转换规则选单条件
复选框是否勾选,需要用1和0来判断,1代表勾选,0代表不勾选,举个例子如下:FWorkShopID.F_VSO_CheckDep = 0原创 2021-03-25 18:08:27 · 1132 阅读 · 0 评论 -
金蝶云星空二次开发-操作插件中的单位转换
Kingdee.K3.Core.BD.UnitConvert baseRate = null;baseRate = AppServiceContext.BDService.GetUnitConvertRate(this.Context,new GetUnitConvertRateArgs(){...原创 2021-03-23 19:22:01 · 659 阅读 · 0 评论 -
金蝶云星空二次开发-代码新增单据
FormMetadata form = MetaDataServiceHelper.Load(ctx, formId) as FormMetadata;DynamicObject bill = new DynamicObject(form.BusinessInfo.GetDynamicObjectType());原创 2021-03-22 09:42:46 · 1241 阅读 · 0 评论 -
金蝶云星空二次开发-代码添加明细行
FormMetadata form = MetaDataServiceHelper.Load(ctx, formId) as FormMetadata;Entity entity = form.BusinessInfo.GetEntity("FEntity");DynamicObject entry = new DynamicObject(entity.DynamicObjectType);entry["Seq"] = 0;entrys.Add(entry);原创 2021-03-22 09:42:09 · 879 阅读 · 0 评论 -
金蝶云星空二次开发-代码赋值基础资料
using Kingdee.BOS.ServiceHelper;using Kingdee.K3.SCM.App.Utils;FormMetadata form = MetaDataServiceHelper.Load(this.Context, "AR_REFUNDBILL") as FormMetadata;BaseDataField FMATERIALID = form.BusinessInfo.GetField("FMATERIALID") as BaseDataField;FieldUti原创 2021-03-22 09:41:17 · 1077 阅读 · 0 评论 -
金蝶云星空二次开发-代码动态加载列
FieldAppearance fieldApp = this.View.LayoutInfo.GetFieldAppearance("FTotal");EntityAppearance entryApp = this.View.LayoutInfo.GetEntityAppearance(fieldApp.EntityKey);int tabIndex = fieldApp.Tabindex - 1;foreach (string key in dict1.Keys){ string[] ..原创 2021-03-22 09:41:40 · 804 阅读 · 0 评论 -
金蝶云星空二次开发-表单插件获取明细选择行
int[] rows = this.View.GetControl<EntryGrid>("FEntity").GetSelectedRows();if (rows == null || rows.Length < 1) return;原创 2021-03-20 16:07:25 · 1139 阅读 · 1 评论 -
金蝶云星空二次开发-交互式弹框
this.View.ShowMessage(msg, MessageBoxOptions.YesNo, new Action<MessageBoxResult>(result =>{ if (result == MessageBoxResult.Yes) { e.Cancel = false; } else { e.Cancel = true; }}));原创 2021-03-20 16:05:00 · 511 阅读 · 0 评论 -
金蝶云星空二次开发-热部署及弹窗
代码获取新IDlong[] entryIds = Kingdee.BOS.ServiceHelper.DBServiceHelper.GetSequenceInt64(this.Context, "T_PM_ContractWorkEntry", 1).ToArray();显示隐藏字段this.View.GetControl("FManageUnitName").Visible = false;代码调用明细字段值更新this.View.InvokeFieldUpdateService("FMate原创 2021-03-20 16:02:18 · 1219 阅读 · 0 评论 -
金蝶云星空二次开发-BOS条件判断
K/3 Cloud,很多地方允许设置条件,根据条件解析结果,决定功能是否处理,如实体服务规则执行条件、操作校验条件、反写规则执行条件、工作流连线跳转条件等。条件中,允许使用单据上的字段,与常量值进行比较。但不同的字段类型,允许比较的常量值会有很大不同,本帖尝试对此介绍一二。例1:普通文本字段,与之比较的字符串,需要使用单引号括起F_JD_Text1 = '文本内容'搜索字段中是否包含某段文本F_JD_Text1.find('文本内容') >= 0例2:多语言文本字段多语言文本字段,在原创 2021-03-20 15:58:50 · 2542 阅读 · 0 评论 -
金蝶云星空二次开发-插件参考
\BOS\Common\Src\Kingdee.BOS.Core\Bill\BillShowParameter.cs(21): public class BillShowParameter: DynamicFormShowParameter\BOS\Common\Src\Kingdee.BOS.Core\CommonFilter\FilterShowParameter.cs(17): public class FilterShowParameter: DynamicFormShowParame...原创 2021-03-20 15:53:55 · 1988 阅读 · 0 评论 -
金蝶云星空二次开发-物料控制
物料辅助属性启用,辅助属性不能为空!FMaterialId != null and FAuxPropId == null and len(filter(lambda x:x.IsEnable1 == true, FMaterialId.MaterialAuxPty)) > 0物料启用BOM版本管理,BOM版本不能为空!FMaterialid != null and FBOMId = null and len(filter(lambda x:x.IsEnable == true and x.Inv原创 2021-03-20 15:50:11 · 1640 阅读 · 0 评论 -
金蝶云星空二次开发-上下游记录表
select * from T_BF_Instance where FFirstFormID='PUR_PurchaseOrder'select * from T_BF_InstanceEntry where FSTABLENAME='t_PUR_POOrderEntry'select * from T_BF_InstanceSnap where fcid like '%100121%' or fcid like '%100165%'原创 2021-03-20 15:46:25 · 599 阅读 · 0 评论 -
金蝶云星空二次开发-存储成本的数据表
T_HS_OUTINSTOCKSEQ:存储成本(当前期间)T_HS_OUTINSTOCKSEQ_H:存储成本(历史期间)T_HS_STOCKDIMENSION:物料核算维度T_HS_INIVSTOCKDIMENSION:物料库存维度T_HS_STOCKDIMENSION.fentryid=T_HS_INIVSTOCKDIMENSION.FDIMEENTRYIDt_hs_balance、t_hs_balanceentry:核算维度余额表t_hs_balanceexp、t_hs_balanceexp原创 2021-03-20 15:44:02 · 2000 阅读 · 1 评论 -
金蝶云星空二次开发-数据库生成表主键
declare @id intinsert into z_bas_item (column1) values (1)select @id = id from z_bas_itemdelete from z_bas_itemselect @id原创 2021-03-20 15:41:01 · 755 阅读 · 0 评论 -
金蝶云星空二次开发-数据库存查询
枚举:select b1.FID,n1.FName,b2.FSeq,b2.FValue,n2.FCaption from T_META_Formenum b1 inner join T_META_Formenum_L n1 on b1.FID=n1.FID and (n1.FName like '%年%' or n1.FName like '%月%') and n1.FLocaleID=2052 inner join T_META_FormenumItem b2 on b1.FID=b2.FID inner原创 2021-03-20 12:14:13 · 3042 阅读 · 1 评论