delete from t_bas_kingscriptlib_l where fid in (1758839554879555584,1758839821905725440,1758840084787922944,1758840374186510336,1758840609856059392,1758837717346584576,1758838019034482688,1758838337315047424,1758838658657449984,1758841002350643200,1758841239874078720,1758839113320007680)
GO
delete from t_bas_kingscriptlib where fid in (1758839554879555584,1758839821905725440,1758840084787922944,1758840374186510336,1758840609856059392,1758837717346584576,1758838019034482688,1758838337315047424,1758838658657449984,1758841002350643200,1758841239874078720,1758839113320007680)
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641664520193
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641664520193,13466739,{ts'2023-10-30  00:00:00'},4,'2',{ts'2023-10-30  00:00:00'},'plugin.onAfterCreateNewData(event => {\n    plugin.getModel().setValue("textfield", "value")\n})','新建单据后，预置文本字段值',13466739,'2-4')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621808685057
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621808685057,13466739,{ts'2023-10-30  00:00:00'},8,'1',{ts'2023-10-30  00:00:00'},' ','操作前，增加确认提示。',13466739,'1-8')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319555781951488
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319555781951488,13466739,{ts'2023-10-30  00:00:00'},0,'1',{ts'2023-10-30  00:00:00'},'plugin.onAfterAddEntryRow(enent => {\n    if (enent.getEntryProp().getName() == "entryentity") {\n        let bizDate = plugin.getModel().getValue("bizDate") as Date\n        let billingDays = plugin.getModel().getValue("billingdays") as number\n        let payDate = bizDate.setDate(bizDate.getDate() + billingDays)\n        for (let row of enent.getRowDataEntities()) {\n            plugin.getModel().setValue("paydate", new Date(payDate), row.getRowIndex())\n        }\n    }\n})','单据新增分录行后，设置付款日期。',13466739,'1-0')
GO 
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621800296448
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621800296448,13466739,{ts'2023-10-30  00:00:00'},1,'1',{ts'2023-10-30  00:00:00'},'plugin.onAfterBindData(event => {\n    let billStatus = plugin.getModel().getValue("paystatus") as string\n    let view = plugin.getView() as IBillView\n    if ("P" == billStatus) {\n        view.setBillStatus(BillOperationStatus.VIEW)\n    }\n})','单据载后，界面锁定已付款状态(不可编辑)。',13466739,'1-1')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621800296449
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621800296449,13466739,{ts'2023-10-30  00:00:00'},2,'1',{ts'2023-10-30  00:00:00'},'plugin.onAfterCopyData(enent => {\n    plugin.getModel().deleteEntryData("preentry")\n    plugin.getModel().appendEntryRow("preentry", 0, 1)\n})','复制单据数据，清除不允许复制的分录行。',13466739,'1-2')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621800296450
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621800296450,13466739,{ts'2023-10-30  00:00:00'},3,'1',{ts'2023-10-30  00:00:00'},'plugin.onAfterCreateNewData(event => {\n    plugin.getModel().batchCreateNewEntryRow("entryentity", 10)\n    for (let i = 0; i < 10; i++) {\n        plugin.getModel().setValue("entrytextfield", "value", i)\n    }\n})','新建单据后，默认创建10行分录数据。',13466739,'1-3')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621800296451
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621800296451,13466739,{ts'2023-10-30  00:00:00'},4,'1',{ts'2023-10-30  00:00:00'},'plugin.onAfterCreateNewData(event => {\n    plugin.getModel().setValue("textfield", "value")\n})','新建单据后，预置文本字段值',13466739,'1-4')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621800296452
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621800296452,13466739,{ts'2023-10-30  00:00:00'},5,'1',{ts'2023-10-30  00:00:00'},'plugin.onAfterOperation(event => {\n    if (event.getOperateKey() == "import" && event.getOperationResult() != null && event.getOperationResult().isSuccess()) {\n        let fsp = new FormShowParameter()\n        fsp.setFormId("demo_import")\n        fsp.getOpenStyle().setShowType(ShowType.Modal)\n\n        plugin.getView().showForm(fsp)\n    }\n})','执行导入操作后，打开导入界面。',13466739,'1-5')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621800296453
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621800296453,13466739,{ts'2023-10-30  00:00:00'},6,'1',{ts'2023-10-30  00:00:00'},'plugin.onAfterLoadData(event => {\n    plugin.getModel().setValue("textfield", "text")\n})','加载单据后，重算未存储的字段值。',13466739,'1-6')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621808685056
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621808685056,13466739,{ts'2023-10-30  00:00:00'},7,'1',{ts'2023-10-30  00:00:00'},'plugin.onClose(event => {\n    let fldValue = plugin.getModel().getValue("textfield")\n    plugin.getView().returnDataToParent(fldValue)\n})','关闭前，设置返回给父页面的数据。',13466739,'1-7')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297416
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297416,13466739,{ts'2023-10-30  00:00:00'},9,'3',{ts'2023-10-30  00:00:00'},'plugin.onFilterContainerInit(event => {\n    let filterColumn = new SchemeFilterColumn("combofield")\n    event.addFilterColumn(filterColumn)\n})','列表过滤面板中，添加方案过滤选项。',13466739,'3-9')
GO 
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297417
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297417,13466739,{ts'2023-10-30  00:00:00'},10,'3',{ts'2023-10-30  00:00:00'},'plugin.onFilterContainerSearchClick(event => {\n    event.addFastFilter("billno", "A")\n})','列表过滤面板中，点击查询追加快捷条件。',13466739,'3-10')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621808685058
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621808685058,13466739,{ts'2023-10-30  00:00:00'},9,'1',{ts'2023-10-30  00:00:00'},'plugin.onRegisterListener(event => {\n    let currencyEdit = plugin.getView().getControl("currency") as BasedataEdit\n    currencyEdit.addBeforeF7SelectListener({\n        beforeF7Select(e) {\n            let filter = new QFilter("number", "=", "CNY")\n            let fsp = e.getFormShowParameter() as ListShowParameter\n            fsp.getListFilterParameter().setFilter(filter)\n        }\n    })\n})','监听基础资料字段，增加F7列表过滤条件。',13466739,'1-9')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641656131586
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641656131586,13466739,{ts'2023-10-30  00:00:00'},2,'2',{ts'2023-10-30  00:00:00'},'plugin.onAfterCopyData(enent => {\n    plugin.getModel().deleteEntryData("preentry")\n    plugin.getModel().appendEntryRow("preentry", 0, 1)\n})','复制单据数据，清除不允许复制的分录行。',13466739,'2-2')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621808685059
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621808685059,13466739,{ts'2023-10-30  00:00:00'},10,'1',{ts'2023-10-30  00:00:00'},' ','监听文本框，点击选择基础资料，捕获返回值。',13466739,'1-10')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621808685060
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621808685060,13466739,{ts'2023-10-30  00:00:00'},11,'1',{ts'2023-10-30  00:00:00'},'plugin.onRegisterListener(event => {\n    let entryGrid = plugin.getView().getControl("entryentity") as EntryGrid\n    entryGrid.addRowClickListener({\n        entryRowClick(evt) {\n        },\n\n        entryRowDoubleClick(evt) {\n            let fldValue = plugin.getModel().getValue("textfield", evt.getRow()) as string\n            plugin.getView().returnDataToParent(fldValue)\n            plugin.getView().close()\n        }\n    })\n})','监听分录表格，双击返回选择行。',13466739,'1-11')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621808685061
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621808685061,13466739,{ts'2023-10-30  00:00:00'},12,'1',{ts'2023-10-30  00:00:00'},'plugin.onRegisterListener(event => {\n    let entryGrid = plugin.getView().getControl("entryentity") as EntryGrid\n    entryGrid.addHyperClickListener({\n        hyperLinkClick(evt) {\n            let fldValue = plugin.getModel().getValue(evt.getFieldName(), evt.getRowIndex())\n            plugin.getView().showMessage("Hello, " + fldValue + "!")\n        }\n    })\n})','监听分录表格，点击单据体超链接时，显示链接所在行信息。',13466739,'1-12')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621817073664
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621817073664,13466739,{ts'2023-10-30  00:00:00'},13,'1',{ts'2023-10-30  00:00:00'},'plugin.onInitialize(() => {\n    let entryGrid = plugin.getView().getControl("entryentity") as EntryGrid\n    entryGrid.addDataBindListener({\n        entryGridBindData(event) {\n            let sourceBillType = plugin.getModel().getValue("sourcebilltype") as string\n            if (sourceBillType == "demo_mybill") {\n                for (let row of event.getRows()) {\n                    plugin.getView().setEnable(false, row.getRowIndex(), ["tracenumber"])\n                }\n            }\n        },\n    })\n\n})','初始化监听分录表格绑定事件，锁定跟踪号字段。',13466739,'1-13')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621817073665
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621817073665,13466739,{ts'2023-10-30  00:00:00'},14,'1',{ts'2023-10-30  00:00:00'},'plugin.onBeforeBindData(event => {\n    let progressBar = plugin.getControl("progressbar") as ProgressBar\n    progressBar.start()\n    progressBar.setPercent(0, "开始执行...")\n    plugin.getView().getPageCache().put("demo_progress", "0")\n})\n\nplugin.onRegisterListener(event => {\n    let progressBar = plugin.getControl("progressbar") as ProgressBar\n    progressBar.addProgressListener({\n        onProgress(e) {\n            let cacheProgress = plugin.getView().getPageCache().get("demo_progress")\n            if (cacheProgress == null) {\n                cacheProgress = "0"\n            }\n            let progress = parseInt(cacheProgress) + 10\n            plugin.getView().getPageCache().put("demo_progress", progress.toString())\n            e.setProgress(progress)\n            if (progress >= 100) {\n                e.setText("进度完成")\n            } else {\n                e.setText("进行中")\n            }\n        }\n    })\n})','显示进度条示例。',13466739,'1-14')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621817073666
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621817073666,13466739,{ts'2023-10-30  00:00:00'},15,'1',{ts'2023-10-30  00:00:00'},'plugin.onOpenForm(event => {\n    event.setCancel(true)\n    event.setCancelMessage("对不起，本页面只针对固定的某个用户开放。")\n})','禁止打开本界面。',13466739,'1-15')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621817073667
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621817073667,13466739,{ts'2023-10-30  00:00:00'},16,'1',{ts'2023-10-30  00:00:00'},'plugin.onOpenForm(event => {\n    let fsp = event.getSource() as FormShowParameter\n    fsp.setCaption("新标题")\n})','修改界面标题。',13466739,'1-16')
GO 
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621817073668
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621817073668,13466739,{ts'2023-10-30  00:00:00'},17,'1',{ts'2023-10-30  00:00:00'},'plugin.onPropertyChanged(["qty", "price"], event => {\n    for (let change of event.getChangeSet()) {\n        let qty = plugin.getModel().getValue("qty", change.getRowIndex()) as BigDecimal\n        let price = plugin.getModel().getValue("price", change.getRowIndex()) as BigDecimal\n        let amount = qty.multiply(price)\n        plugin.getModel().setValue("amount", amount, change.getRowIndex())\n    }\n})','数量或单价属性改变时，重算金额。',13466739,'1-17')
GO 
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621817073669
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621817073669,13466739,{ts'2023-10-30  00:00:00'},18,'1',{ts'2023-10-30  00:00:00'},'plugin.onRegisterListener(event => {\n    let btnOK = plugin.getView().getControl("btnok") as Button\n    btnOK.addClickListener({\n        beforeClick: event => { },\n        click: event => {\n            plugin.getView().showMessage("hello! Im ok!")\n        }\n    })\n})','监听按钮点击事件。',13466739,'1-18')
GO 
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621817073670
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621817073670,13466739,{ts'2023-10-30  00:00:00'},19,'1',{ts'2023-10-30  00:00:00'},'plugin.onRegisterListener(event => {\n    let mainToolBar = plugin.getView().getControl("tbmain") as Toolbar\n    mainToolBar.addItemClickListener({\n        beforeItemClick: evt => {\n        },\n        itemClick: evt => {\n            if (evt.getItemKey() == "baritem_ok") {\n                plugin.getView().showMessage("Hello, Im OK!")\n            }\n        }\n    })\n})','监听菜单按钮点击事件。',13466739,'1-19')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908802
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908802,13466739,{ts'2023-10-30  00:00:00'},13,'2',{ts'2023-10-30  00:00:00'},'plugin.onInitialize(() => {\n    let entryGrid = plugin.getView().getControl("entryentity") as EntryGrid\n    entryGrid.addDataBindListener({\n        entryGridBindData(event) {\n            let sourceBillType = plugin.getModel().getValue("sourcebilltype") as string\n            if (sourceBillType == "demo_mybill") {\n                for (let row of event.getRows()) {\n                    plugin.getView().setEnable(false, row.getRowIndex(), ["tracenumber"])\n                }\n            }\n        },\n    })\n\n})','初始化监听分录表格绑定事件，锁定跟踪号字段。',13466739,'2-13')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319621817073671
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319621817073671,13466739,{ts'2023-10-30  00:00:00'},20,'1',{ts'2023-10-30  00:00:00'},'let treeViewKey = "treeviewap"\n\nplugin.onAfterBindData(event => {\n    initTreeNodes()\n})\n\nplugin.onRegisterListener(event => {\n    let treeView = plugin.getView().getControl(treeViewKey) as TreeView\n    treeView.addTreeNodeClickListener({\n        treeNodeClick(evt) {\n        },\n        treeNodeDoubleClick(evt) {\n            let nodeid = evt.getNodeId()\n            plugin.getView().returnDataToParent(nodeid)\n            plugin.getView().close()\n        }\n    })\n})\n\nfunction initTreeNodes() {\n    let rootNode = new TreeNode()\n    rootNode.setId("0")\n    rootNode.setText("全部")\n\n    let node = new TreeNode()\n    node.setId("0.001")\n    node.setText("第一个节点")\n\n    rootNode.addChild(node)\n\n    let treeView = plugin.getView().getControl(treeViewKey) as TreeView\n    treeView.addNode(rootNode)\n}','初始化树数据，监听树控件，双击返回选择的节点。',13466739,'1-20')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641656131584
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641656131584,13466739,{ts'2023-10-30  00:00:00'},0,'2',{ts'2023-10-30  00:00:00'},'plugin.onAfterAddEntryRow(enent => {\n    if (enent.getEntryProp().getName() == "entryentity") {\n        let bizDate = plugin.getModel().getValue("bizDate") as Date\n        let billingDays = plugin.getModel().getValue("billingdays") as number\n        let payDate = bizDate.setDate(bizDate.getDate() + billingDays)\n        for (let row of enent.getRowDataEntities()) {\n            plugin.getModel().setValue("paydate", new Date(payDate), row.getRowIndex())\n        }\n    }\n})','单据新增分录行后，设置付款日期。',13466739,'2-0')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641656131585
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641656131585,13466739,{ts'2023-10-30  00:00:00'},1,'2',{ts'2023-10-30  00:00:00'},'plugin.onAfterBindData(event => {\n    let billStatus = plugin.getModel().getValue("paystatus") as string\n    let view = plugin.getView() as IBillView\n    if ("P" == billStatus) {\n        view.setBillStatus(BillOperationStatus.VIEW)\n    }\n})','单据载后，界面锁定已付款状态(不可编辑)。',13466739,'2-1')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641664520192
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641664520192,13466739,{ts'2023-10-30  00:00:00'},3,'2',{ts'2023-10-30  00:00:00'},'plugin.onAfterCreateNewData(event => {\n    plugin.getModel().batchCreateNewEntryRow("entryentity", 10)\n    for (let i = 0; i < 10; i++) {\n        plugin.getModel().setValue("entrytextfield", "value", i)\n    }\n})','新建单据后，默认创建10行分录数据。',13466739,'2-3')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641664520194
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641664520194,13466739,{ts'2023-10-30  00:00:00'},5,'2',{ts'2023-10-30  00:00:00'},'plugin.onAfterOperation(event => {\n    if (event.getOperateKey() == "import" && event.getOperationResult() != null && event.getOperationResult().isSuccess()) {\n        let fsp = new FormShowParameter()\n        fsp.setFormId("demo_import")\n        fsp.getOpenStyle().setShowType(ShowType.Modal)\n\n        plugin.getView().showForm(fsp)\n    }\n})','执行导入操作后，打开导入界面。',13466739,'2-5')
GO 
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641664520195
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641664520195,13466739,{ts'2023-10-30  00:00:00'},6,'2',{ts'2023-10-30  00:00:00'},'plugin.onAfterLoadData(event => {\n    plugin.getModel().setValue("textfield", "text")\n})','加载单据后，重算未存储的字段值。',13466739,'2-6')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641664520196
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641664520196,13466739,{ts'2023-10-30  00:00:00'},7,'2',{ts'2023-10-30  00:00:00'},'plugin.onClose(event => {\n    let fldValue = plugin.getModel().getValue("textfield")\n    plugin.getView().returnDataToParent(fldValue)\n})','关闭前，设置返回给父页面的数据。',13466739,'2-7')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641664520197
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641664520197,13466739,{ts'2023-10-30  00:00:00'},8,'2',{ts'2023-10-30  00:00:00'},' ','操作前，增加确认提示。',13466739,'2-8')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641664520198
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641664520198,13466739,{ts'2023-10-30  00:00:00'},9,'2',{ts'2023-10-30  00:00:00'},'plugin.onRegisterListener(event => {\n    let currencyEdit = plugin.getView().getControl("currency") as BasedataEdit\n    currencyEdit.addBeforeF7SelectListener({\n        beforeF7Select(e) {\n            let filter = new QFilter("number", "=", "CNY")\n            let fsp = e.getFormShowParameter() as ListShowParameter\n            fsp.getListFilterParameter().setFilter(filter)\n        }\n    })\n})','监听基础资料字段，增加F7列表过滤条件。',13466739,'2-9')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641664520199
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641664520199,13466739,{ts'2023-10-30  00:00:00'},10,'2',{ts'2023-10-30  00:00:00'},' ','监听文本框，点击选择基础资料，捕获返回值。',13466739,'2-10')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908800
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908800,13466739,{ts'2023-10-30  00:00:00'},11,'2',{ts'2023-10-30  00:00:00'},'plugin.onRegisterListener(event => {\n    let entryGrid = plugin.getView().getControl("entryentity") as EntryGrid\n    entryGrid.addRowClickListener({\n        entryRowClick(evt) {\n        },\n\n        entryRowDoubleClick(evt) {\n            let fldValue = plugin.getModel().getValue("textfield", evt.getRow()) as string\n            plugin.getView().returnDataToParent(fldValue)\n            plugin.getView().close()\n        }\n    })\n})','监听分录表格，双击返回选择行。',13466739,'2-11')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908801
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908801,13466739,{ts'2023-10-30  00:00:00'},12,'2',{ts'2023-10-30  00:00:00'},'plugin.onRegisterListener(event => {\n    let entryGrid = plugin.getView().getControl("entryentity") as EntryGrid\n    entryGrid.addHyperClickListener({\n        hyperLinkClick(evt) {\n            let fldValue = plugin.getModel().getValue(evt.getFieldName(), evt.getRowIndex())\n            plugin.getView().showMessage("Hello, " + fldValue + "!")\n        }\n    })\n})','监听分录表格，点击单据体超链接时，显示链接所在行信息。',13466739,'2-12')
GO 
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908803
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908803,13466739,{ts'2023-10-30  00:00:00'},14,'2',{ts'2023-10-30  00:00:00'},'plugin.onBeforeBindData(event => {\n    let progressBar = plugin.getControl("progressbar") as ProgressBar\n    progressBar.start()\n    progressBar.setPercent(0, "开始执行...")\n    plugin.getView().getPageCache().put("demo_progress", "0")\n})\n\nplugin.onRegisterListener(event => {\n    let progressBar = plugin.getControl("progressbar") as ProgressBar\n    progressBar.addProgressListener({\n        onProgress(e) {\n            let cacheProgress = plugin.getView().getPageCache().get("demo_progress")\n            if (cacheProgress == null) {\n                cacheProgress = "0"\n            }\n            let progress = parseInt(cacheProgress) + 10\n            plugin.getView().getPageCache().put("demo_progress", progress.toString())\n            e.setProgress(progress)\n            if (progress >= 100) {\n                e.setText("进度完成")\n            } else {\n                e.setText("进行中")\n            }\n        }\n    })\n})','显示进度条示例。',13466739,'2-14')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908804
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908804,13466739,{ts'2023-10-30  00:00:00'},15,'2',{ts'2023-10-30  00:00:00'},'plugin.onOpenForm(event => {\n    event.setCancel(true)\n    event.setCancelMessage("对不起，本页面只针对固定的某个用户开放。")\n})','禁止打开本界面。',13466739,'2-15')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908805
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908805,13466739,{ts'2023-10-30  00:00:00'},16,'2',{ts'2023-10-30  00:00:00'},'plugin.onOpenForm(event => {\n    let fsp = event.getSource() as FormShowParameter\n    fsp.setCaption("新标题")\n})','修改界面标题。',13466739,'2-16')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908806
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908806,13466739,{ts'2023-10-30  00:00:00'},17,'2',{ts'2023-10-30  00:00:00'},'plugin.onPropertyChanged(["qty", "price"], event => {\n    for (let change of event.getChangeSet()) {\n        let qty = plugin.getModel().getValue("qty", change.getRowIndex()) as BigDecimal\n        let price = plugin.getModel().getValue("price", change.getRowIndex()) as BigDecimal\n        let amount = qty.multiply(price)\n        plugin.getModel().setValue("amount", amount, change.getRowIndex())\n    }\n})','数量或单价属性改变时，重算金额。',13466739,'2-17')
GO 
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908807
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908807,13466739,{ts'2023-10-30  00:00:00'},18,'2',{ts'2023-10-30  00:00:00'},'plugin.onRegisterListener(event => {\n    let btnOK = plugin.getView().getControl("btnok") as Button\n    btnOK.addClickListener({\n        beforeClick: event => { },\n        click: event => {\n            plugin.getView().showMessage("hello! Im ok!")\n        }\n    })\n})','监听按钮点击事件。',13466739,'2-18')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908808
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908808,13466739,{ts'2023-10-30  00:00:00'},19,'2',{ts'2023-10-30  00:00:00'},'plugin.onRegisterListener(event => {\n    let mainToolBar = plugin.getView().getControl("tbmain") as Toolbar\n    mainToolBar.addItemClickListener({\n        beforeItemClick: evt => {\n        },\n        itemClick: evt => {\n            if (evt.getItemKey() == "baritem_ok") {\n                plugin.getView().showMessage("Hello, Im OK!")\n            }\n        }\n    })\n})','监听菜单按钮点击事件。',13466739,'2-19')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908809
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908809,13466739,{ts'2023-10-30  00:00:00'},20,'2',{ts'2023-10-30  00:00:00'},'let treeViewKey = "treeviewap"\n\nplugin.onAfterBindData(event => {\n    initTreeNodes()\n})\n\nplugin.onRegisterListener(event => {\n    let treeView = plugin.getView().getControl(treeViewKey) as TreeView\n    treeView.addTreeNodeClickListener({\n        treeNodeClick(evt) {\n        },\n        treeNodeDoubleClick(evt) {\n            let nodeid = evt.getNodeId()\n            plugin.getView().returnDataToParent(nodeid)\n            plugin.getView().close()\n        }\n    })\n})\n\nfunction initTreeNodes() {\n    let rootNode = new TreeNode()\n    rootNode.setId("0")\n    rootNode.setText("全部")\n\n    let node = new TreeNode()\n    node.setId("0.001")\n    node.setText("第一个节点")\n\n    rootNode.addChild(node)\n\n    let treeView = plugin.getView().getControl(treeViewKey) as TreeView\n    treeView.addNode(rootNode)\n}','初始化树数据，监听树控件，双击返回选择的节点。',13466739,'2-20')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641672908810
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641672908810,13466739,{ts'2023-10-30  00:00:00'},0,'3',{ts'2023-10-30  00:00:00'},'plugin.onSetFilter(event => {\n    event.addCustomQFilter(new QFilter("combofield", "=", "1"))\n})','给列表增加自定义过滤条件。',13466739,'3-0')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297408
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297408,13466739,{ts'2023-10-30  00:00:00'},1,'3',{ts'2023-10-30  00:00:00'},'plugin.onSetFilter(event => {\n    event.setOrderBy("bizdate desc,billno desc")\n})','给列表设置排序字段。',13466739,'3-1')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297409
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297409,13466739,{ts'2023-10-30  00:00:00'},2,'3',{ts'2023-10-30  00:00:00'},'plugin.onBeforeCreateListColumns(event => {\n    let col = createListColumn("create.name", "创建人")\n    event.addListColumn(col)\n\n})\n\n/**\n * 创建列对象\n */\nfunction createListColumn(key: string, caption: string): IListColumn {\n    let col = new ListColumn()\n    col.setCaption(new LocaleString(caption))\n    col.setKey(key)\n    col.setListFieldKey(key) // 关联单据字段：key需与实体字段对应，否则会显示不出来\n    col.setFieldName(key)\n    return col\n}','给列表动态增加列。',13466739,'3-2')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297410
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297410,13466739,{ts'2023-10-30  00:00:00'},3,'3',{ts'2023-10-30  00:00:00'},'plugin.onBeforePackageData(event => {\n    for (let row of event.getPageData()) {\n        row.set("textfield", "text")\n    }\n})','列表打包数据前，批量调整字段值。',13466739,'3-3')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297411
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297411,13466739,{ts'2023-10-30  00:00:00'},4,'3',{ts'2023-10-30  00:00:00'},'plugin.onBeforeShowBill(event => {\n    let showParameter = event.getParameter() as BillShowParameter\n    showParameter.setCustomParam("myparam", "paramvalue")\n})','列表显示单据前，传入自定义参数。',13466739,'3-4')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297412
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297412,13466739,{ts'2023-10-30  00:00:00'},5,'3',{ts'2023-10-30  00:00:00'},'plugin.onBillListHyperLinkClick(event => {\n    let fieldKey = event.getFieldName()\n\n    if (fieldKey == "sourcebillno") {\n        event.setCancel(true)\n\n        let billLinkEvent = event.getHyperLinkClickEvent() as BillListHyperLinkClickEvent\n        let billList = billLinkEvent.getSource() as BillList\n        let entityKey = billList.getEntityId()\n        let pk = billList.getFocusRowPkId()\n\n        let billObj = BusinessDataServiceHelper.loadSingle(pk, entityKey, "sourcebilltype, sourcebillid")\n\n        if (billObj != null) {\n            let showParameter = new BillShowParameter()\n            showParameter.setFormId(billObj.getString("sourcebilltype"))\n            showParameter.setPkId(billObj.getLong("sourcebillid"))\n            showParameter.setStatus(OperationStatus.VIEW)\n            showParameter.getOpenStyle().setShowType(ShowType.MainNewTabPage)\n\n            plugin.getView().showForm(showParameter)\n        }\n    }\n})','在列表中点击超链接打开界面。',13466739,'3-5')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297413
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297413,13466739,{ts'2023-10-30  00:00:00'},6,'3',{ts'2023-10-30  00:00:00'},'import { QFilter } from "@cosmic/bos-core/kd/bos/orm/query"\n\nplugin.onFilterColumnSetFilter(event => {\n    if ("org.name" == event.getFieldName()) {\n        event.addCustomQFilter(new QFilter("number", "=", "00"))\n    }\n})','列表常用过滤面板，增加取数条件。',13466739,'3-6')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297414
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297414,13466739,{ts'2023-10-30  00:00:00'},7,'3',{ts'2023-10-30  00:00:00'},'plugin.onFilterContainerBeforeF7Select(event => {\n    let fieldName = event.getFieldName()\n    if ("org.id" == fieldName) {\n        event.getQfilters().add(new QFilter("number", "=", "00"))\n    }\n})','列表过滤面板中，给F7列表添加过滤条件。',13466739,'3-7')
GO 
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297415
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297415,13466739,{ts'2023-10-30  00:00:00'},8,'3',{ts'2023-10-30  00:00:00'},'plugin.onFilterContainerInit(event => {\n    let filterColumn = new CommonFilterColumn("billstatus")\n    event.addFilterColumn(filterColumn)\n\n})','列表过滤面板中，添加常用过滤选项。',13466739,'3-8')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297418
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297418,13466739,{ts'2023-10-30  00:00:00'},11,'3',{ts'2023-10-30  00:00:00'},'plugin.onPackageData(event => {\n    if ("textfield" == event.getColKey() && "text" == event.getFormatValue()) {\n        event.setFormatValue("格式化内容")\n    }\n})','列表打包字段到前端，调整单元格显示值。',13466739,'3-11')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297419
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297419,13466739,{ts'2023-10-30  00:00:00'},0,'4',{ts'2023-10-30  00:00:00'},'plugin.onAfterExecuteOperationTransaction(event => {\n})','操作完成后，删除影像。',13466739,'4-0')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297420
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297420,13466739,{ts'2023-10-30  00:00:00'},1,'4',{ts'2023-10-30  00:00:00'},' ','操作执行前，提示确认是否继续。',13466739,'4-1')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641681297421
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641681297421,13466739,{ts'2023-10-30  00:00:00'},2,'4',{ts'2023-10-30  00:00:00'},'plugin.onBeginOperationTransaction(event => {\n    SaveServiceHelper.save(event.getDataEntities())\n})','本单更新操作之前，提前更新关联数据。',13466739,'4-2')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641698074624
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641698074624,13466739,{ts'2023-10-30  00:00:00'},3,'4',{ts'2023-10-30  00:00:00'},'plugin.onEndOperationTransaction(event => {\n    SaveServiceHelper.save(event.getDataEntities())\n})','本单更新操作之后，同步保存关联数据。',13466739,'4-3')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641698074625
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641698074625,13466739,{ts'2023-10-30  00:00:00'},4,'4',{ts'2023-10-30  00:00:00'},' ','操作增加自定义校验器，检查单据状态。',13466739,'4-4')
GO
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641698074626
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641698074626,13466739,{ts'2023-10-30  00:00:00'},5,'4',{ts'2023-10-30  00:00:00'},'plugin.onAddValidators(event => {\n    plugin.getOption().setVariableValue(OperateOptionConst.IGNOREREFENTITYIDS, "B,C")\n})\n\nplugin.onEndOperationTransaction(event => {\n\n})','基础资料删除操作的校验，忽略部分单据的引用检查。',13466739,'4-5')
GO 
DELETE FROM t_bas_kingscriptlib WHERE FID = 1807319641698074627
GO
INSERT INTO t_bas_kingscriptlib(FID,FMODIFIER,FCREATETIME,FSEQ,FSCRIPTTYPE,FMODIFYTIME,FCODE,FCOMMENT,FCREATER,FNUMBER) VALUES (1807319641698074627,13466739,{ts'2023-10-30  00:00:00'},6,'4',{ts'2023-10-30  00:00:00'},'plugin.onPreparePropertys(event => {\n    event.getFieldKeys().add("totalamount")\n\n    event.getFieldKeys().add("amount")\n})','操作执行准备：加载单据头、单据体字段。',13466739,'4-6')
GO
