电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

用友U9系统客开常用代码VIP免费

用友U9系统客开常用代码_第1页
1/65
用友U9系统客开常用代码_第2页
2/65
用友U9系统客开常用代码_第3页
3/65
分区常用代码的第1页U9脚本大全PO终止,后台改状态脚本updatePM_POLinesetCancel_Canceled=0,Cancel_CancelDate=null,Cancel_CancelUser=null,Cancel_CancelReason=nullwherePurchaseOrderin(selectIDfromPM_PurchaseOrderwhereDocNo='564191')updatePM_POShipLinesetCancel_Canceled=0,Cancel_CancelDate=null,Cancel_CancelUser=null,Cancel_CancelReason=nullwherePOLinein(selectIDfromPM_POLinewherePurchaseOrderin(selectIDfromPM_PurchaseOrderwhereDocNo='564191'))updatePM_PurchaseOrdersetCancel_Canceled=0,Cancel_CancelDate=null,Cancel_CancelUser=null,Cancel_CancelReason=nullwhereDocNo='564191'改系统启用状态的脚本updateUBF_SM_AppStatesetIsEnabled=0,EnableDate=null,EnableUser=nullwhereID=1001910293209585查用户操作记录select*fromUBF_Portal_OperationRecordwhereOccurrenceTime>='2014-01-0412:25:30'andOccurrenceTime<'2014-01-0412:55:57'库存在手量更新execP_InvTrans_WhQohRebuild'','1002305137407081'---料品ID,空表示全部账簿科目失效updateCBO_NaturalAccountSOBPropertysetEffective_IsEffective=0whereOrgin(selectIDfromBase_OrganizationwhereCode='015')取堆位计划数据到过磅系统中间表selectOrgCode,ShipmentNo,LWPO,a.CabinetNo,c.Code,a.DescFlexSegments_PrivateDescSeg1,d.NamefromLM_HeapBitPlanLineajoinLM_HeapBitPlanbona.HeapBitPlan=b.IDleftjoinCBO_Bincona.Bin=c.IDleftjoin(selectEValue,NamefromUBF_Sys_ExtEnumValuexjoinUBF_Sys_ExtEnumValue_Trlyonx.ID=y.IDwhereExtEnumTypeUIDin(selectUIDfromubf_sys_extenumtypewhereCode='UFIDA.U9.Cust.LM.Lit.UserPubLicBE.DisLocalEnum'))dona.DisLocalEnum=d.EValuewhereb.Org=1002106211219055andb.DocStatusEnum=2anda.PlanStatusEnumin(0,2)anda.Binisnotnullanda.CabinetNoin('')INSERTINTOU9_LOC_Interface(cmpNo,SHIPMENT_NO,PO_NO,CNTR_NO,LOC_NO,Machine_NO,CreateBy,CreateDate,unloadplate)VALUES('971','IJX1314626','34470130','CCLU7372378','0203D','28車間','Tolly','2014-02-12','1#卸貨臺')--更新实体类型值集值updateBase_ValueSetDefsetEntityType=1002703219891445,CodeAttribute=1002703219891453,NameAttribute=1002703219891454whereCode='ItemSpec'--更新枚举类型值集值updateBase_ValueSetDefsetEnumType=1002312283452368whereCode='TCEnum'--selectEntityType,CodeAttribute,*fromBase_ValueSetDefwhereCode='ItemSpec'---查找实体或枚举对应的IDselectID,*fromUBF_MD_ClasswhereFullNamelike'%ItemSpec'orderbyCreateTimedesc----查找实体下字段的IDselectName,*fromUBF_MD_AttributewhereMD_Class_ID='4FFBABAD-32EC-477C-963F-3AD6139427A9'----凭证签字加内账连接串insertintoGD_CUST_IQCParametervalues(1002706044798845,getdate(),'Tolly',getdate(),'Tolly',0,'neizhangIP','172.23.1.219:MRPRW:^M2dmin','leemanpaper',1002705253515024)----查死锁select*fromsys.sysprocesseswhereblocked<>0select*fromsys.sysprocessesorderbywaitresource---查报表词条及对应报表名selectcValue,c.cName,c.cDescriptionfromUBF_MD_ASRPT_ReportTemplate_langajoinUBF_MD_ASRPT_CategoryconA.uReportID=c.IDwherea.cKey+convert(nvarchar(500),a.uReportID)in(selectcKey+convert(nvarchar(500),uReportID)from(selectcKey,uReportID,count(*)numfromUBF_MD_ASRPT_ReportTemplate_langgroupbycKey,uReportID)aawherenum=1)anda.cCulture='zh-CN'---查U9页面、菜单词条selectr.DisplayName,t.DisplayNamefromUBF_RES_ResourceValuerjoinUBF_MD_UIRComponentuonr.ComponentID=u.UIDjoinUBF_MD_UIRComponent_trltonu.ID=t.IDandt.SysMLFlag='zh-CN'where1=1andr.[Type]notin('BEEntityStereotype','BEEventAttribute','BPEvent','BEAutoEvent','BPEventAttribute','BPOperationAttribute','BPOperationImplementsOperation','SvrOperationAttribut...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

用友U9系统客开常用代码

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部