我正在查看 Microsoft Dynamics 自定义并在采购交易输入表单上创建触发器。
当我单击删除触发器时不会执行,因为 GP 询问消息“您确定要删除此记录”
这是cde片段
局部整数 l_result;
local string strMnuAddDocs = "PaperSave - 添加文档";
local string strMnuShowDocs = "PaperSave - 显示文档";
警告“Startup_PM_Transaction_Entry Called”;
l_result = Trigger_RegisterFocus(anonymous('Delete Button' of window PM_Transaction_Entry of form PM_Transaction_Entry), TRIGGER_FOCUS_CHANGE, TRIGGER_BEFORE_ORIGINAL, script PPSTrigger_PM_Transaction_Entry_Delete);
如果 l_result <> SY_NOERR 那么
warning "Focus trigger registration on PM_Transaction_Inquiry failed.";
万一;
任何人都可以知道我如何使用它吗?