付款申请单银行账号字段,携带到付款单明细页签

栏目:云星空知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

付款申请单银行账号字段,携带到付款单明细页签

先再付款单上加基础资料字段,标识为F_QMFM_yhzh,然后再转换规则里注册插件,字段一直可直接复制一下语句!

clr.AddReference("Kingdee.BOS.DataEntity")

from Kingdee.BOS.DataEntity import *
from Kingdee.BOS.Core.Metadata.FieldElement import *
def AfterConvert(e):
    headEntity = e.Result.FindByEntityKey("FBillHead")
    for item in headEntity:
        data=item["PAYBILLENTRY"]
        src=item["PAYBILLSRCENTRY"]
        if len(data)!=len(src):
            continue
        for index in range(len(data)):
            data[index]["FACCOUNTID_ID"]=src[index]["F_QMFM_yhzh_SRC_ID"]
            data[index]["FACCOUNTID"]=src[index]["F_QMFM_yhzh_SRC"]



发生时间: 2023-08-31 14:23:33

错误来源: Microsoft.Scripting

错误信息: 'continue' not properly in loop

===================================================

调用堆栈:

   在 Microsoft.Scripting.ErrorSink.Add(SourceUnit source, String message, SourceSpan span, Int32 errorCode, Severity severity)

   在 IronPython.Compiler.Parser.ReportSyntaxError(Int32 start, Int32 end, String message, Int32 errorCode)

   在 IronPython.Compiler.Parser.ReportSyntaxError(String message)

   在 IronPython.Compiler.Parser.ParseSmallStmt()

   在 IronPython.Compiler.Parser.ParseSimpleStmt()

   在 IronPython.Compiler.Parser.ParseStmt()

   在 IronPython.Compiler.Parser.ParseSuite()

   在 IronPython.Compiler.Parser.ParseIfStmtTest()

   在 IronPython.Compiler.Parser.ParseIfStmt()

   在 IronPython.Compiler.Parser.ParseStmt()

   在 IronPython.Compiler.Parser.ParseSuite()

   在 IronPython.Compiler.Parser.ParseClassOrFuncBody()

   在 IronPython.Compiler.Parser.ParseFuncDef()

   在 IronPython.Compiler.Parser.ParseStmt()

   在 IronPython.Compiler.Parser.ParseFileWorker(Boolean makeModule, Boolean returnValue)

   在 IronPython.Compiler.Parser.ParseFile(Boolean makeModule, Boolean returnValue)

   在 Kingdee.BOS.Scripting.PythonDetection.PythonSyntaxAdaptUtil.AnalyseSyntax(String expression, SourceCodeKind codeType)

   在 Kingdee.BOS.DomainModelDesigner.PropertyEditor.frmPythonScriptEdit.ButtonItem_Click(Object sender, EventArgs e)

   在 System.Windows.Forms.Control.OnClick(EventArgs e)

   在 DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)

   在 DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)

   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   在 System.Windows.Forms.Control.WndProc(Message& m)

   在 DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)

   在 DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)

   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

错误数据: System.Collections.ListDictionaryInternal

image.webp

付款申请单银行账号字段,携带到付款单明细页签

先再付款单上加基础资料字段,标识为F_QMFM_yhzh,然后再转换规则里注册插件,字段一直可直接复制一下语句!clr.AddReference("Kingdee.BOS...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息